|
|
|
|
@ -244,11 +244,11 @@ export default { |
|
|
|
|
} |
|
|
|
|
vaildInterfacefn("cgstjyyxuwxt", "qdsgajjtjczdhqfhlb", JSON.stringify(val), "2", "https://" + this.GlobalConfig.urlCreatesign, "https://" + this.GlobalConfig.urlGateway) |
|
|
|
|
.then((value) => { |
|
|
|
|
this.$toast.clear(); |
|
|
|
|
let retData = JSON.parse(value) |
|
|
|
|
console.log(retData.data) |
|
|
|
|
if (retData.data.length == 0) { |
|
|
|
|
this.examData = retData.data |
|
|
|
|
this.$toast.clear(); |
|
|
|
|
// lightAppJssdk.notification.alert({ |
|
|
|
|
// message: "当前时间无体检项目", |
|
|
|
|
// title: "提示",//可传空 |
|
|
|
|
@ -263,7 +263,6 @@ export default { |
|
|
|
|
// }) |
|
|
|
|
} else { |
|
|
|
|
this.examData = retData.data; |
|
|
|
|
this.$toast.clear(); |
|
|
|
|
this.examData.map(item => { |
|
|
|
|
item.detailList.map(item1 => { |
|
|
|
|
item1.isSelect = false |
|
|
|
|
@ -272,8 +271,8 @@ export default { |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
console.log('data ===>', this.examData) |
|
|
|
|
|
|
|
|
|
// this.$toast.clear(); |
|
|
|
|
}, err => { |
|
|
|
|
this.$toast.clear(); |
|
|
|
|
}) |
|
|
|
|
} else { |
|
|
|
|
queryList( |
|
|
|
|
@ -283,21 +282,9 @@ export default { |
|
|
|
|
cupCardNo: this.Base64.encode(this.cupCardNo) |
|
|
|
|
} |
|
|
|
|
).then(res => { |
|
|
|
|
this.$toast.clear(); |
|
|
|
|
if (res.data.length == 0) { |
|
|
|
|
this.examData = res.data; |
|
|
|
|
this.$toast.clear(); |
|
|
|
|
// lightAppJssdk.notification.alert({ |
|
|
|
|
// message: "当前时间无体检项目", |
|
|
|
|
// title: "提示",//可传空 |
|
|
|
|
// buttonName: "收到", |
|
|
|
|
// success: (data) => { |
|
|
|
|
// this.$toast.clear(); |
|
|
|
|
// // console.log(this.examData) |
|
|
|
|
// }, |
|
|
|
|
// fail: function (data) { //错误返回 |
|
|
|
|
// console.log('data') |
|
|
|
|
// } |
|
|
|
|
// }) |
|
|
|
|
} else { |
|
|
|
|
this.examData = res.data; |
|
|
|
|
this.examData.map(item => { |
|
|
|
|
@ -305,11 +292,11 @@ export default { |
|
|
|
|
item1.isSelect = false |
|
|
|
|
}) |
|
|
|
|
}) |
|
|
|
|
this.$toast.clear(); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
console.log(this.examData) |
|
|
|
|
|
|
|
|
|
}, err => { |
|
|
|
|
this.$toast.clear(); |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
|