修复bug

pull/1/head
zhangqihang 2024-02-23 18:03:26 +08:00
parent ff65a74e6d
commit 626c1a4bb9
5 changed files with 6 additions and 3 deletions

View File

@ -4,7 +4,7 @@
<div id="printContent">
<el-divider content-position="left">检查信息</el-divider>
<el-descriptions border :column="2">
<el-descriptions-item label="隐患照片 ">
<el-descriptions-item label="隐患照片">
<img
v-for="item in data.hiddenImgs"
:key="item.IMGFILES_ID"

View File

@ -84,7 +84,7 @@ import ViewHidden from "../safety_environmental/components/view_hidden.vue";
import { reactive } from "vue";
const stateList = [
{ ID: "101", NAME: "待整改" },
{ ID: "101", NAME: "待指派整改" },
{ ID: "1", NAME: "待整改" },
{ ID: "2", NAME: "待验收" },
{ ID: "10", NAME: "验收打回" },

View File

@ -108,7 +108,7 @@ const fnSubmit = debounce(
async () => {
await useFormValidate(formRef);
if (form.INSPECTION_STATUS === "3") {
await setSafetyEnvironmentalDefense({ ...props.info, ...form.value });
await setSafetyEnvironmentalDefense({ ...props.info, ...form });
ElMessage.success("申辩处理成功");
fnClose();
emits("get-data");

View File

@ -65,6 +65,7 @@
详情
</el-button>
<el-button
v-if="row.SIGNATURES === 0"
type="primary"
text
link

View File

@ -43,6 +43,7 @@
<img
v-for="(item, index) in data.form.file"
:key="index"
v-viewer
:src="item.url"
style="width: 200px; height: 200px"
/>
@ -63,6 +64,7 @@
<template #default="{ row }">
<img
v-if="row.FILEPATH"
v-viewer
:src="FILE_URL + row.FILEPATH"
style="width: 100px; height: 100px"
/>