修复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"> <div id="printContent">
<el-divider content-position="left">检查信息</el-divider> <el-divider content-position="left">检查信息</el-divider>
<el-descriptions border :column="2"> <el-descriptions border :column="2">
<el-descriptions-item label="隐患照片 "> <el-descriptions-item label="隐患照片">
<img <img
v-for="item in data.hiddenImgs" v-for="item in data.hiddenImgs"
:key="item.IMGFILES_ID" :key="item.IMGFILES_ID"

View File

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

View File

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

View File

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

View File

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