修改字典的bug

This commit is contained in:
Teng 2026-01-09 15:30:44 +08:00
parent 962dc514cc
commit 76f0e9f34c
7 changed files with 48 additions and 22 deletions

View File

@ -516,6 +516,7 @@
}
const getsecondmenu = (data) => {
getManyDictItems(data).then((element) => {
console.log("啥啊啊啊啊",element)
showlevellist.value = element[data]
})
}
@ -814,7 +815,7 @@
}
})
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 => {
if (data.disabilityReimbursementType) {
form.disabilityReimbursementType = data.disabilityReimbursementType
@ -822,12 +823,17 @@
switch (form.medicalType) {
case 'syb':
name = 'syb_reimbursement_type'
break
case 'zgyb':
name = 'zgyb_reimbursement_type'
break
case 'jmyb':
name = 'jmyb_reimbursement_type'
break
default:
}
// console.log("",res)
// return
showlevellist.value = res[name]
res[name].forEach(res => {
if (form.disabilityReimbursementType === res.value) {

View File

@ -205,19 +205,28 @@
switch (data.medicalType) {
case 'syb':
name = 'syb_reimbursement_type'
break
case 'zgyb':
name = 'zgyb_reimbursement_type'
break
case 'jmyb':
name = 'jmyb_reimbursement_type'
break
default:
}
res[name].forEach(res => {
if (data.disabilityReimbursementType === res.value) {
textArray[9] = res.text;
}else{
console.log("wc",data.medicalType)
textArray[9] = "无";
console.log("ssssssssss",data.disabilityReimbursementType,res[name])
setTimeout(()=>{
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

View File

@ -7052,7 +7052,7 @@ function isConsoleWritable() {
function initRuntimeSocketService() {
const hosts = "192.168.2.38,127.0.0.1";
const port = "8090";
const id = "mp-weixin_HDo_hv";
const id = "mp-weixin_Rtfdsq";
const lazy = typeof swan !== "undefined";
let restoreError = lazy ? () => {
} : initOnError();

View File

@ -316,6 +316,7 @@ const _sfc_main = {
};
const getsecondmenu = (data) => {
pages_addoldman_api_api.getManyDictItems(data).then((element) => {
common_vendor.index.__f__("log", "at pages/addoldman/oldIDcard.vue:519", "啥啊啊啊啊", element);
showlevellist.value = element[data];
});
};
@ -469,7 +470,7 @@ const _sfc_main = {
});
},
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 {
@ -570,7 +571,7 @@ const _sfc_main = {
}
});
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) => {
if (data.disabilityReimbursementType) {
form.disabilityReimbursementType = data.disabilityReimbursementType;
@ -578,10 +579,13 @@ const _sfc_main = {
switch (form.medicalType) {
case "syb":
name = "syb_reimbursement_type";
break;
case "zgyb":
name = "zgyb_reimbursement_type";
break;
case "jmyb":
name = "jmyb_reimbursement_type";
break;
}
showlevellist.value = res[name];
res[name].forEach((res2) => {

View File

@ -101,23 +101,30 @@ const _sfc_main = {
switch (data.medicalType) {
case "syb":
name = "syb_reimbursement_type";
break;
case "zgyb":
name = "zgyb_reimbursement_type";
break;
case "jmyb":
name = "jmyb_reimbursement_type";
break;
}
res[name].forEach((res2) => {
if (data.disabilityReimbursementType === res2.value) {
textArray[9] = res2.text;
} else {
common_vendor.index.__f__("log", "at pages/addoldman/oldmanall.vue:217", "wc", data.medicalType);
textArray[9] = "无";
common_vendor.index.__f__("log", "at pages/addoldman/oldmanall.vue:219", "ssssssssss", data.disabilityReimbursementType, res[name]);
setTimeout(() => {
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 = () => {
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") {
openLook("该长者信息正在审核中,请等待");
} else {