From 3b75798cc41993f9016610296907d2338545a345 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期五, 16 八月 2024 15:43:01 +0800
Subject: [PATCH] Default Changelist

---
 src/views/newSpecialWorkSystem/workTicket/wdsq/components/jsaReportDialog.vue |   18 ++++++++++++++++--
 1 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/src/views/newSpecialWorkSystem/workTicket/wdsq/components/jsaReportDialog.vue b/src/views/newSpecialWorkSystem/workTicket/wdsq/components/jsaReportDialog.vue
index ecea5c2..8ead0fe 100644
--- a/src/views/newSpecialWorkSystem/workTicket/wdsq/components/jsaReportDialog.vue
+++ b/src/views/newSpecialWorkSystem/workTicket/wdsq/components/jsaReportDialog.vue
@@ -14,6 +14,14 @@
                       </el-form-item>
                     </el-col>
                     <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" class="mb20">
+                      <el-form-item label="报告编号">
+                        <el-input
+                            v-model="jsaForm.judgeJsaCode"
+                            placeholder="请输入报告编号"
+                        />
+                      </el-form-item>
+                    </el-col>
+                    <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" class="mb20">
                       <el-form-item label="风险研判报告记录附件">
                         <el-upload accept="image/*" :auto-upload="true" :on-exceed="showTip" :on-preview="handlePictureCardPreview" :limit='imgLimit' v-model:file-list="fileList" :http-request="upload" :action="uploadUrl" list-type="picture-card" :before-remove="beforeRemove" :before-upload="getUploadUrl">
                           <el-icon><Plus /></el-icon>
@@ -36,10 +44,14 @@
               <div class="d-tit">jsa风险研判结论</div><div class="d-cont">{{detail.judgeRecord}}</div>
             </div>
             <div class="d-row">
+              <div class="d-tit">报告编号</div><div class="d-cont">{{detail.judgeJsaCode}}</div>
+            </div>
+            <div class="d-row">
               <div class="d-tit">风险研判报告记录附件</div>
-              <div class="d-cont">
+              <div class="d-cont" v-if="detail.judgePicturePath">
                 <el-image v-for="item in detail.judgePicturePath?.split(',')" :preview-src-list="[item]" style="width: 150px; height: 150px;margin-right: 50px;margin-bottom: 20px" :src="item" fit="cover" />
               </div>
+              <div class="d-cont" v-else>暂无附件</div>
             </div>
             <div class="d-row">
               <div class="d-tit">研判人</div><div class="d-cont">{{detail.judgeUname}}</div>
@@ -67,6 +79,7 @@
     jsaForm: {
         workApplyId: number | null;
         judgeRecord: string
+        judgeJsaCode: string
         judgePicturePath: Array<string>
     };
     jsaFormRules: {};
@@ -93,6 +106,7 @@
             jsaForm: {
               workApplyId: null,
               judgeRecord: '',
+              judgeJsaCode: '',
               judgePicturePath: []
             },
             jsaFormRules: {
@@ -111,10 +125,10 @@
             if (type === '上传') {
                 state.disabled = true;
                 state.title = '上传风险研判报告';
-                console.log(value.id,'id')
                 state.jsaForm = {
                   workApplyId: value.id,
                   judgeRecord: '',
+                  judgeJsaCode: '',
                   judgePicturePath: []
                 };
             } else {

--
Gitblit v1.9.2