正在显示
2 个修改的文件
包含
11 行增加
和
9 行删除
| ... | ... | @@ -150,8 +150,8 @@ App({ |
| 150 | 150 | // baseUrl: "http://192.144.144.220:20000/", |
| 151 | 151 | // baseUrl: "http://154.8.229.55:20000/", |
| 152 | 152 | // baseUrl: "http://47.110.250.177:20000/", |
| 153 | - // baseUrl: "http://47.110.158.110:20000/", | |
| 154 | - baseUrl: "https://api.workai.com.cn/", | |
| 153 | + baseUrl: "http://47.110.158.110:20000/", | |
| 154 | + // baseUrl: "https://api.workai.com.cn/", | |
| 155 | 155 | OSSUrl: "", //"https://oss.workai.com.cn/", |
| 156 | 156 | userInfo: null, |
| 157 | 157 | hostInfo:null, | ... | ... |
| ... | ... | @@ -6,7 +6,7 @@ Page({ |
| 6 | 6 | * 页面的初始数据 |
| 7 | 7 | */ |
| 8 | 8 | data: { |
| 9 | - isshow:false | |
| 9 | + isshow: false | |
| 10 | 10 | }, |
| 11 | 11 | |
| 12 | 12 | /** |
| ... | ... | @@ -43,10 +43,12 @@ Page({ |
| 43 | 43 | }, |
| 44 | 44 | success: function(res) { |
| 45 | 45 | console.log("taxconfirm", res) |
| 46 | - if (res.statusCode==200 && (res.data.status == '1' || res.data.status == '2')) { //未完善 | |
| 47 | - if (!that.data.isshow){ | |
| 48 | - that.showModal(res.data) | |
| 49 | - } | |
| 46 | + if (res.statusCode == 200 && !that.data.isshow && res.data.status != '0' ) { //未完善 | |
| 47 | + that.showModal(res.data) | |
| 48 | + } else { | |
| 49 | + that.setData({ | |
| 50 | + isshow: false | |
| 51 | + }) | |
| 50 | 52 | } |
| 51 | 53 | } |
| 52 | 54 | }) |
| ... | ... | @@ -65,10 +67,10 @@ Page({ |
| 65 | 67 | showCancel: false, |
| 66 | 68 | confirmColor: '#357aeb', |
| 67 | 69 | success(res) { |
| 68 | - console.log("showModal",res) | |
| 70 | + console.log("showModal", res) | |
| 69 | 71 | if (res.confirm) { |
| 70 | 72 | that.setData({ |
| 71 | - isshow:false | |
| 73 | + isshow: false | |
| 72 | 74 | }) |
| 73 | 75 | that.gotaxPerson() |
| 74 | 76 | } | ... | ... |
请
注册
或
登录
后发表评论