|
@ -44,6 +44,7 @@ top.handleVue=new Vue({
|
|
|
el: "#app",
|
|
|
data: {
|
|
|
renewFlag: httpData.renewFlag, // 2 改签
|
|
|
applyDate: decodeURI(httpData.applyDate) || "",
|
|
|
justDoc: null,
|
|
|
justHDoc: null,
|
|
|
doctorType: doctorInfo.doctorType,
|
|
@ -169,7 +170,7 @@ top.handleVue=new Vue({
|
|
|
var vm =this,
|
|
|
params = {
|
|
|
sender: httpData.patientCode,
|
|
|
signStatus: httpData.status == 0 ? 1 : 8
|
|
|
signStatus: httpData.status == 0 ? 1 : (vm.renewFlag == 1 ? 8 : 9)
|
|
|
},
|
|
|
loadding = layer.load(0, {shade: false});
|
|
|
signAPI.findMsgId(params).then(function(res) {
|
|
@ -392,10 +393,10 @@ top.handleVue=new Vue({
|
|
|
var judge = false
|
|
|
$.each(res.data, function(i, v) {
|
|
|
if(v.available) {
|
|
|
if(v.code == vm.signInfo.doctor && vm.doctorType == 3) {
|
|
|
if((vm.renewFlag == 1 && (vm.signInfo.doctor || vm.justDoc)) || v.code == vm.signInfo.doctor && vm.doctorType == 3) {
|
|
|
judge = true
|
|
|
}
|
|
|
if(v.code == vm.signInfo.healthDoctor && vm.doctorType == 2) {
|
|
|
if((vm.renewFlag == 1 && (vm.signInfo.healthDoctor || vm.justHDoc)) || v.code == vm.signInfo.healthDoctor && vm.doctorType == 2) {
|
|
|
judge = true
|
|
|
}
|
|
|
}
|