fix: 测试问题修改

dev_531
xiangcongshuai 11 months ago
parent c460436aae
commit 03d6e2209e

@ -125,7 +125,7 @@ const save = async data => {
if (res.code === 200) {
sessionStorage.setItem("inspectSatus", "1");
useConsultationStoreHooks().changeInspectSatus("1");
message("提交成功", { type: "success" });
message("请配置处置计划", { type: "success" });
emit("save");
}
};

@ -11,6 +11,7 @@ defineOptions({
name: "ConfirmInspect"
});
const route = useRoute();
const processId = ref();
const IdentificationBasisRef = ref();
const PreliminaryDiagnosisRef = ref();
const completed = () => {
@ -35,6 +36,7 @@ const saveOk = () => {
emit("saveOk");
};
onMounted(() => {
processId.value = route.query.processId;
useConsultationStoreHooks().getAskPrimaryList(route.query.processId);
});
//
@ -44,9 +46,10 @@ onBeforeUnmount(async () => {
if (list.length === 0) return;
const params = {
primaryConfirmList: list,
processId: route.query.processId,
processId: route.query.processId ? route.query.processId : processId.value,
tempSaveFlag: 1
};
await confirmPrimaryByAskEnd(params);
});
</script>

@ -56,7 +56,12 @@ const getData = async () => {
processId: route.query.processId
});
dataList.value = res.data.qaList;
formData.evaluateLevel = res.data.evaluateLevel || "";
if (res.data.evaluateLevel !== null && res.data.evaluateLevel !== undefined) {
formData.evaluateLevel = res.data.evaluateLevel;
} else {
formData.evaluateLevel = "";
}
formData.evaluateRemark = res.data.evaluateRemark;
};
const reset = () => {
@ -191,7 +196,7 @@ onMounted(() => {
</div>
<el-input
v-model="item.feedbackRemark"
maxlength="20"
maxlength="100"
placeholder="请输入"
show-word-limit
type="textarea"

Loading…
Cancel
Save