forked from integrated_whb/integrated_whb_vue
修复bug
parent
4bce1b3a71
commit
3c7c37d7f2
|
@ -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(() => {
|
||||
|
|
|
@ -205,6 +205,7 @@ const { list, pagination, searchForm, fnGetData, fnResetPagination, tableRef } =
|
|||
HIDDENLEVEL: "hiddenLevel0001",
|
||||
DISPOSESTATE: "-1",
|
||||
IS_SELF: "0",
|
||||
STATE: 100,
|
||||
},
|
||||
defaultSearchForm: { STATE },
|
||||
});
|
||||
|
|
|
@ -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 = () => {
|
||||
|
|
|
@ -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: "确认打回" },
|
||||
];
|
||||
|
|
|
@ -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: "待处理的特殊隐患" },
|
||||
|
|
Loading…
Reference in New Issue