修复bug

pull/3/head
zhangqihang 2024-02-28 09:02:04 +08:00
parent 4bce1b3a71
commit 3c7c37d7f2
5 changed files with 41 additions and 3 deletions

View File

@ -252,6 +252,39 @@
</el-descriptions>
</template>
</template>
<template v-if="(data.info.SOURCE === '4' || data.info.SOURCE === '5') && data.info.FINAL_CHECK">
<el-divider content-position="left">安全环保验收信息</el-divider>
<el-descriptions :column="1" border class="mt-10">
<el-descriptions-item label="验收描述">
{{ data.info.FINAL_CHECKDESCR }}
</el-descriptions-item>
<el-descriptions-item label="是否合格">
<span v-if="data.info.FINAL_CHECK === '1'"> </span>
<span v-else-if="data.info.FINAL_CHECK === '0'"> </span>
</el-descriptions-item>
<el-descriptions-item label="验收部门">
{{ data.info.FINAL_CHECKOR_NDEPTNAME }}
</el-descriptions-item>
<el-descriptions-item label="验收人">
{{ data.info.FINAL_CHECKOR_NAME }}
</el-descriptions-item>
<el-descriptions-item label="验收时间">
{{ data.info.FINAL_CHECKTIME }}
</el-descriptions-item>
<el-descriptions-item label="验收图片">
<img
v-for="item1 in data.yImgs"
:key="item1.IMGFILES_ID"
v-viewer
:src="VITE_FILE_URL + item1.FILEPATH"
alt=""
width="100"
height="100"
class="ml-10"
/>
</el-descriptions-item>
</el-descriptions>
</template>
</div>
</template>
@ -288,6 +321,7 @@ const data = reactive({
rImgs: [],
sImgs: [],
pImgs: [],
yImgs: [],
checkList: [],
videoDialog: {
src: "",
@ -315,6 +349,7 @@ const fnGetData = async () => {
data.rImgs = resData.rImgs;
data.sImgs = resData.sImgs;
data.pImgs = resData.pImgs;
data.yImgs = resData.yImgs;
emits("throw-data", data.info);
};
watchEffect(() => {

View File

@ -205,6 +205,7 @@ const { list, pagination, searchForm, fnGetData, fnResetPagination, tableRef } =
HIDDENLEVEL: "hiddenLevel0001",
DISPOSESTATE: "-1",
IS_SELF: "0",
STATE: 100,
},
defaultSearchForm: { STATE },
});

View File

@ -429,8 +429,8 @@ const fnGetData = async () => {
data.form.DEPARTMENT_NAME = resData.deppd.NAME;
data.form.USER_NAME = resData.userpd.USERNAME;
await fnInspectDepartmentChange(data.defaultDepartmentId, 0);
data.form.acceptanceList[0].DEPARTMENT_ID = data.defaultDepartmentId;
data.form.acceptanceList[0].USER_ID = data.defaultUserId;
// data.form.acceptanceList[0].DEPARTMENT_ID = data.defaultDepartmentId;
// data.form.acceptanceList[0].USER_ID = data.defaultUserId;
};
fnGetData();
const fnAddInspectedList = () => {

View File

@ -87,9 +87,10 @@ const stateList = [
{ ID: "101", NAME: "待指派整改人" },
{ ID: "1", NAME: "待整改" },
{ ID: "2", NAME: "待验收" },
{ ID: "3", NAME: "隐患待验收" },
{ ID: "10", NAME: "验收打回" },
{ ID: "4", NAME: "已验收" },
{ ID: "-2", NAME: "已指派确认人" },
{ ID: "-2", NAME: "已指派整改人" },
{ ID: "8", NAME: "特殊处置通过" },
{ ID: "16", NAME: "确认打回" },
];

View File

@ -161,6 +161,7 @@ const hiddenStatusList = [
{ ID: "-2", NAME: "待确认" },
{ ID: "1", NAME: "未整改" },
{ ID: "2", NAME: "已整改" },
{ ID: "3", NAME: "隐患待验收" },
{ ID: "4", NAME: "已验收" },
{ ID: "10", NAME: "验收打回" },
{ ID: "7", NAME: "待处理的特殊隐患" },