修改字典的bug
This commit is contained in:
parent
962dc514cc
commit
76f0e9f34c
|
|
@ -516,7 +516,8 @@
|
||||||
}
|
}
|
||||||
const getsecondmenu = (data) => {
|
const getsecondmenu = (data) => {
|
||||||
getManyDictItems(data).then((element) => {
|
getManyDictItems(data).then((element) => {
|
||||||
showlevellist.value = element[data]
|
console.log("啥啊啊啊啊",element)
|
||||||
|
showlevellist.value = element[data]
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
const next = () => {
|
const next = () => {
|
||||||
|
|
@ -814,7 +815,7 @@
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
getManyDictItems(
|
getManyDictItems(
|
||||||
`dictCodeList=syb_reimbursement_type&dictCodeList=zgyb_reimbursement_type&dictCodeList=jmyb_reimbursement_type`
|
`syb_reimbursement_type&dictCodeList=zgyb_reimbursement_type&dictCodeList=jmyb_reimbursement_type`
|
||||||
).then((res => {
|
).then((res => {
|
||||||
if (data.disabilityReimbursementType) {
|
if (data.disabilityReimbursementType) {
|
||||||
form.disabilityReimbursementType = data.disabilityReimbursementType
|
form.disabilityReimbursementType = data.disabilityReimbursementType
|
||||||
|
|
@ -822,12 +823,17 @@
|
||||||
switch (form.medicalType) {
|
switch (form.medicalType) {
|
||||||
case 'syb':
|
case 'syb':
|
||||||
name = 'syb_reimbursement_type'
|
name = 'syb_reimbursement_type'
|
||||||
|
break
|
||||||
case 'zgyb':
|
case 'zgyb':
|
||||||
name = 'zgyb_reimbursement_type'
|
name = 'zgyb_reimbursement_type'
|
||||||
|
break
|
||||||
case 'jmyb':
|
case 'jmyb':
|
||||||
name = 'jmyb_reimbursement_type'
|
name = 'jmyb_reimbursement_type'
|
||||||
|
break
|
||||||
default:
|
default:
|
||||||
}
|
}
|
||||||
|
// console.log("啥啊",res)
|
||||||
|
// return
|
||||||
showlevellist.value = res[name]
|
showlevellist.value = res[name]
|
||||||
res[name].forEach(res => {
|
res[name].forEach(res => {
|
||||||
if (form.disabilityReimbursementType === res.value) {
|
if (form.disabilityReimbursementType === res.value) {
|
||||||
|
|
|
||||||
|
|
@ -205,19 +205,28 @@
|
||||||
switch (data.medicalType) {
|
switch (data.medicalType) {
|
||||||
case 'syb':
|
case 'syb':
|
||||||
name = 'syb_reimbursement_type'
|
name = 'syb_reimbursement_type'
|
||||||
|
break
|
||||||
case 'zgyb':
|
case 'zgyb':
|
||||||
name = 'zgyb_reimbursement_type'
|
name = 'zgyb_reimbursement_type'
|
||||||
|
break
|
||||||
case 'jmyb':
|
case 'jmyb':
|
||||||
name = 'jmyb_reimbursement_type'
|
name = 'jmyb_reimbursement_type'
|
||||||
|
break
|
||||||
default:
|
default:
|
||||||
}
|
}
|
||||||
res[name].forEach(res => {
|
console.log("wc",data.medicalType)
|
||||||
if (data.disabilityReimbursementType === res.value) {
|
textArray[9] = "无";
|
||||||
textArray[9] = res.text;
|
console.log("ssssssssss",data.disabilityReimbursementType,res[name])
|
||||||
}else{
|
setTimeout(()=>{
|
||||||
textArray[9] = "无";
|
console.log("wocao",name)
|
||||||
}
|
res[name].forEach(res => {
|
||||||
})
|
if (data.disabilityReimbursementType == res.value) {
|
||||||
|
|
||||||
|
textArray[9] = res.text;
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},30)
|
||||||
|
|
||||||
}
|
}
|
||||||
}))
|
}))
|
||||||
|
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -7052,7 +7052,7 @@ function isConsoleWritable() {
|
||||||
function initRuntimeSocketService() {
|
function initRuntimeSocketService() {
|
||||||
const hosts = "192.168.2.38,127.0.0.1";
|
const hosts = "192.168.2.38,127.0.0.1";
|
||||||
const port = "8090";
|
const port = "8090";
|
||||||
const id = "mp-weixin_HDo_hv";
|
const id = "mp-weixin_Rtfdsq";
|
||||||
const lazy = typeof swan !== "undefined";
|
const lazy = typeof swan !== "undefined";
|
||||||
let restoreError = lazy ? () => {
|
let restoreError = lazy ? () => {
|
||||||
} : initOnError();
|
} : initOnError();
|
||||||
|
|
|
||||||
|
|
@ -316,6 +316,7 @@ const _sfc_main = {
|
||||||
};
|
};
|
||||||
const getsecondmenu = (data) => {
|
const getsecondmenu = (data) => {
|
||||||
pages_addoldman_api_api.getManyDictItems(data).then((element) => {
|
pages_addoldman_api_api.getManyDictItems(data).then((element) => {
|
||||||
|
common_vendor.index.__f__("log", "at pages/addoldman/oldIDcard.vue:519", "啥啊啊啊啊", element);
|
||||||
showlevellist.value = element[data];
|
showlevellist.value = element[data];
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
@ -469,7 +470,7 @@ const _sfc_main = {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
fail: (e) => {
|
fail: (e) => {
|
||||||
common_vendor.index.__f__("log", "at pages/addoldman/oldIDcard.vue:689", "????", e);
|
common_vendor.index.__f__("log", "at pages/addoldman/oldIDcard.vue:690", "????", e);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|
@ -570,7 +571,7 @@ const _sfc_main = {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
pages_addoldman_api_api.getManyDictItems(
|
pages_addoldman_api_api.getManyDictItems(
|
||||||
`dictCodeList=syb_reimbursement_type&dictCodeList=zgyb_reimbursement_type&dictCodeList=jmyb_reimbursement_type`
|
`syb_reimbursement_type&dictCodeList=zgyb_reimbursement_type&dictCodeList=jmyb_reimbursement_type`
|
||||||
).then((res) => {
|
).then((res) => {
|
||||||
if (data.disabilityReimbursementType) {
|
if (data.disabilityReimbursementType) {
|
||||||
form.disabilityReimbursementType = data.disabilityReimbursementType;
|
form.disabilityReimbursementType = data.disabilityReimbursementType;
|
||||||
|
|
@ -578,10 +579,13 @@ const _sfc_main = {
|
||||||
switch (form.medicalType) {
|
switch (form.medicalType) {
|
||||||
case "syb":
|
case "syb":
|
||||||
name = "syb_reimbursement_type";
|
name = "syb_reimbursement_type";
|
||||||
|
break;
|
||||||
case "zgyb":
|
case "zgyb":
|
||||||
name = "zgyb_reimbursement_type";
|
name = "zgyb_reimbursement_type";
|
||||||
|
break;
|
||||||
case "jmyb":
|
case "jmyb":
|
||||||
name = "jmyb_reimbursement_type";
|
name = "jmyb_reimbursement_type";
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
showlevellist.value = res[name];
|
showlevellist.value = res[name];
|
||||||
res[name].forEach((res2) => {
|
res[name].forEach((res2) => {
|
||||||
|
|
|
||||||
|
|
@ -101,23 +101,30 @@ const _sfc_main = {
|
||||||
switch (data.medicalType) {
|
switch (data.medicalType) {
|
||||||
case "syb":
|
case "syb":
|
||||||
name = "syb_reimbursement_type";
|
name = "syb_reimbursement_type";
|
||||||
|
break;
|
||||||
case "zgyb":
|
case "zgyb":
|
||||||
name = "zgyb_reimbursement_type";
|
name = "zgyb_reimbursement_type";
|
||||||
|
break;
|
||||||
case "jmyb":
|
case "jmyb":
|
||||||
name = "jmyb_reimbursement_type";
|
name = "jmyb_reimbursement_type";
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
res[name].forEach((res2) => {
|
common_vendor.index.__f__("log", "at pages/addoldman/oldmanall.vue:217", "wc", data.medicalType);
|
||||||
if (data.disabilityReimbursementType === res2.value) {
|
textArray[9] = "无";
|
||||||
textArray[9] = res2.text;
|
common_vendor.index.__f__("log", "at pages/addoldman/oldmanall.vue:219", "ssssssssss", data.disabilityReimbursementType, res[name]);
|
||||||
} else {
|
setTimeout(() => {
|
||||||
textArray[9] = "无";
|
common_vendor.index.__f__("log", "at pages/addoldman/oldmanall.vue:221", "wocao", name);
|
||||||
}
|
res[name].forEach((res2) => {
|
||||||
});
|
if (data.disabilityReimbursementType == res2.value) {
|
||||||
|
textArray[9] = res2.text;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}, 30);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
const changeMessage = () => {
|
const changeMessage = () => {
|
||||||
common_vendor.index.__f__("log", "at pages/addoldman/oldmanall.vue:227", "看看啊", alldata.value);
|
common_vendor.index.__f__("log", "at pages/addoldman/oldmanall.vue:236", "看看啊", alldata.value);
|
||||||
if (alldata.value.elderModifyStatus == "1") {
|
if (alldata.value.elderModifyStatus == "1") {
|
||||||
openLook("该长者信息正在审核中,请等待");
|
openLook("该长者信息正在审核中,请等待");
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue