From 840de9662167b1d7758208b9c88adda806ed8fec Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期一, 03 三月 2025 16:47:25 +0800
Subject: [PATCH] 删除导出成功提示,统一提示了

---
 src/views/business/reportPreparation/index.vue |  232 ++++++++++++++++++++++++++++-----------------------------
 1 files changed, 115 insertions(+), 117 deletions(-)

diff --git a/src/views/business/reportPreparation/index.vue b/src/views/business/reportPreparation/index.vue
index 50e0e16..a64b543 100644
--- a/src/views/business/reportPreparation/index.vue
+++ b/src/views/business/reportPreparation/index.vue
@@ -3,8 +3,8 @@
     <div>
       <el-form :model="entity" ref="entity" size="small" :inline="true">
         <el-form-item label="鎶ュ憡缂栧彿" prop="code">
-          <el-input v-model="entity.code" clearable placeholder="璇疯緭鍏�"
-                    size="small" @keyup.enter.native="refreshTable()"></el-input>
+          <el-input v-model="entity.code" clearable placeholder="璇疯緭鍏�" size="small"
+            @keyup.enter.native="refreshTable()"></el-input>
         </el-form-item>
         <el-form-item label="鐘舵��" prop="queryStatus">
           <el-select v-model="entity.queryStatus" clearable size="small" @change="refreshTable()">
@@ -30,26 +30,28 @@
     </div>
     <div>
       <lims-table :tableData="valueTableData" :column="column" :page="page" :tableLoading="tableLoading"
-                  :isSelection="true" :handleSelectionChange="handleChange"
-                  :height="'calc(100vh - 290px)'" @pagination="pagination" key="valueTableData">
+        :isSelection="true" :handleSelectionChange="handleChange" :height="'calc(100vh - 290px)'"
+        @pagination="pagination" key="valueTableData">
         <div slot="action" slot-scope="scope">
           <el-button size="small" type="text" @click="viewIssued(scope.row)">鏌ョ湅鎶ュ憡</el-button>
-          <el-upload ref='upload1'
-                     style="display: inline;margin: 0 6px"
-                     :action="fileAction1 +'?id='+ scope.row.id"
-                     :auto-upload="true"
-                     :before-upload="fileBeforeUpload1"
-                     :headers="uploadHeader" :on-error="onError1"
-                     :on-success="handleSuccessUp1"
-                     :show-file-list="false"
-                     accept='.doc,.docx'>
-            <el-button size="small" type="text" :disabled="scope.row.state != 0 || nickName !== scope.row.writeUserName">涓婁紶</el-button>
+          <el-upload ref='upload1' style="display: inline;margin: 0 6px" :action="fileAction1 + '?id=' + scope.row.id"
+            :auto-upload="true" :before-upload="fileBeforeUpload1" :headers="uploadHeader" :on-error="onError1"
+            :on-success="handleSuccessUp1" :show-file-list="false" accept='.doc,.docx'>
+            <el-button size="small" type="text"
+              :disabled="scope.row.state != 0 || nickName !== scope.row.writeUserName">涓婁紶</el-button>
           </el-upload>
-          <el-button type="text" size="small" :disabled="scope.row.state != 0 || nickName !== scope.row.writeUserName" @click="handleRestore(scope.row)">杩樺師</el-button>
-          <el-button type="text" size="small" :disabled="scope.row.state != 0 || nickName !== scope.row.writeUserName" @click="sendBackTask(scope.row)">閫�鍥炰换鍔�</el-button>
-          <el-button type="text" size="small" :disabled="scope.row.state != 0 || nickName !== scope.row.writeUserName" @click="handle(scope.row)">鎻愪氦</el-button>
-          <el-button type="text" size="small" :disabled="scope.row.state == null || scope.row.state == 0 ||scope.row.isExamine == 1 || nickName !== scope.row.examineUser" @click="handleIssued(scope.row)">瀹℃牳</el-button>
-          <el-button type="text" size="small" :disabled="scope.row.state == null || scope.row.state == 0 || scope.row.isExamine == 0 || scope.row.isExamine == null || scope.row.isRatify == 1 || nickName !== scope.row.ratifyUser" @click="handleApprove(scope.row)">鎵瑰噯</el-button>
+          <el-button type="text" size="small" :disabled="scope.row.state != 0 || nickName !== scope.row.writeUserName"
+            @click="handleRestore(scope.row)">杩樺師</el-button>
+          <el-button type="text" size="small" :disabled="scope.row.state != 0 || nickName !== scope.row.writeUserName"
+            @click="sendBackTask(scope.row)">閫�鍥炰换鍔�</el-button>
+          <el-button type="text" size="small" :disabled="scope.row.state != 0 || nickName !== scope.row.writeUserName"
+            @click="handle(scope.row)">鎻愪氦</el-button>
+          <el-button type="text" size="small"
+            :disabled="scope.row.state == null || scope.row.state == 0 || scope.row.isExamine == 1 || nickName !== scope.row.examineUser"
+            @click="handleIssued(scope.row)">瀹℃牳</el-button>
+          <el-button type="text" size="small"
+            :disabled="scope.row.state == null || scope.row.state == 0 || scope.row.isExamine == 0 || scope.row.isExamine == null || scope.row.isRatify == 1 || nickName !== scope.row.ratifyUser"
+            @click="handleApprove(scope.row)">鎵瑰噯</el-button>
           <el-popover placement="bottom" trigger="hover" style="margin-left: 6px">
             <template #reference>
               <el-button link type="text" size="small">鏇村</el-button>
@@ -64,31 +66,32 @@
       </lims-table>
     </div>
     <el-dialog :fullscreen="fullscreen" :modal-append-to-body="false" :visible.sync="claimVisible" title="鍦ㄧ嚎缂栧埗"
-               width="22cm">
+      width="22cm">
       <div class="full-screen">
         <i v-if="!fullscreen" class="el-icon-full-screen" style="cursor: pointer;font-size: 18px"
-           @click="fullscreen=true;"></i>
-        <img v-else alt="" src="@/assets/images/no-full.svg" style="cursor: pointer;" @click="fullscreen=false;">
+          @click="fullscreen = true;"></i>
+        <img v-else alt="" src="@/assets/images/no-full.svg" style="cursor: pointer;" @click="fullscreen = false;">
       </div>
-      <Word v-if="claimVisible" ref="Word" :class="{fullscreen:fullscreen}" :value="value" style="height:70vh" />
+      <Word v-if="claimVisible" ref="Word" :class="{ fullscreen: fullscreen }" :value="value" style="height:70vh" />
       <span slot="footer" class="dialog-footer">
         <el-button @click="claimVisible = false">鍙� 娑�</el-button>
         <el-button type="primary" @click="confirmClaim">纭� 瀹�</el-button>
       </span>
     </el-dialog>
     <el-dialog :fullscreen="fullscreen" :modal-append-to-body="false" :visible.sync="issuedVisible" title="鎶ュ憡瀹℃牳"
-               width="80vw">
+      width="80vw">
       <div class="full-screen">
-        <i v-if="!fullscreen" class="el-icon-full-screen" style="cursor: pointer;font-size: 18px" @click="fullscreen=true;"></i>
-        <img v-else alt="" src="@/assets/images/no-full.svg" style="cursor: pointer;" @click="fullscreen=false;" >
+        <i v-if="!fullscreen" class="el-icon-full-screen" style="cursor: pointer;font-size: 18px"
+          @click="fullscreen = true;"></i>
+        <img v-else alt="" src="@/assets/images/no-full.svg" style="cursor: pointer;" @click="fullscreen = false;">
       </div>
       <div v-if="issuedVisible" style="height: 80vh;">
         <onlyoffice ref="onlyoffice" :options="option" style="width: 100%;height: 100%;" />
       </div>
       <span slot="footer" class="dialog-footer">
-				<el-button :disabled="loadingIssued" @click="issuedReasonVisible=true">涓嶉�氳繃</el-button>
-				<el-button type="primary" @click="subIssued">閫� 杩�</el-button>
-			</span>
+        <el-button :disabled="loadingIssued" @click="issuedReasonVisible = true">涓嶉�氳繃</el-button>
+        <el-button type="primary" @click="subIssued">閫� 杩�</el-button>
+      </span>
     </el-dialog>
     <el-dialog :modal-append-to-body="false" :visible.sync="issuedReasonVisible" title="涓嶉�氳繃鍘熷洜" width="400px">
       <div class="search_thing">
@@ -96,22 +99,24 @@
         <div class="search_input"><el-input v-model="reason" clearable placeholder="璇疯緭鍏�" size="small"></el-input></div>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button :disabled="loadingIssuedReason" @click="issuedReasonVisible=false">鍙栨秷</el-button>
-				<el-button :loading="loadingIssuedReason" type="primary" @click="handleIssuedReason">纭畾</el-button>
-			</span>
+        <el-button :disabled="loadingIssuedReason" @click="issuedReasonVisible = false">鍙栨秷</el-button>
+        <el-button :loading="loadingIssuedReason" type="primary" @click="handleIssuedReason">纭畾</el-button>
+      </span>
     </el-dialog>
-    <el-dialog :fullscreen="fullscreen" :modal-append-to-body="false" :visible.sync="approveVisible" title="鎶ュ憡鎵瑰噯" width="80vw">
+    <el-dialog :fullscreen="fullscreen" :modal-append-to-body="false" :visible.sync="approveVisible" title="鎶ュ憡鎵瑰噯"
+      width="80vw">
       <div class="full-screen">
-        <i v-if="!fullscreen" class="el-icon-full-screen" style="cursor: pointer;font-size: 18px" @click="fullscreen=true;"></i>
-        <img v-else alt="" src="@/assets/images/no-full.svg" style="cursor: pointer;" @click="fullscreen=false;" >
+        <i v-if="!fullscreen" class="el-icon-full-screen" style="cursor: pointer;font-size: 18px"
+          @click="fullscreen = true;"></i>
+        <img v-else alt="" src="@/assets/images/no-full.svg" style="cursor: pointer;" @click="fullscreen = false;">
       </div>
       <div v-if="approveVisible" style="height: 80vh;">
         <onlyoffice ref="onlyoffice" :options="option" style="width: 100%;height: 100%;" />
       </div>
       <span slot="footer" class="dialog-footer">
-				<el-button :disabled="loadingApprove" @click="approveReasonVisible=true">涓嶆壒鍑�</el-button>
-				<el-button :loading="loadingApprove" type="primary" @click="subApprove">鎵� 鍑�</el-button>
-			</span>
+        <el-button :disabled="loadingApprove" @click="approveReasonVisible = true">涓嶆壒鍑�</el-button>
+        <el-button :loading="loadingApprove" type="primary" @click="subApprove">鎵� 鍑�</el-button>
+      </span>
     </el-dialog>
     <el-dialog :modal-append-to-body="false" :visible.sync="approveReasonVisible" title="涓嶆壒鍑嗗師鍥�" width="400px">
       <div class="search_thing">
@@ -119,18 +124,17 @@
         <div class="search_input"><el-input v-model="reason" clearable placeholder="璇疯緭鍏�" size="small"></el-input></div>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button :disabled="loadingApproveReason" @click="approveReasonVisible=false">鍙栨秷</el-button>
-				<el-button :loading="loadingApproveReason" type="primary" @click="handleApproveReason">纭畾</el-button>
-			</span>
+        <el-button :disabled="loadingApproveReason" @click="approveReasonVisible = false">鍙栨秷</el-button>
+        <el-button :loading="loadingApproveReason" type="primary" @click="handleApproveReason">纭畾</el-button>
+      </span>
     </el-dialog>
-    <el-dialog :close-on-click-modal="false" :visible.sync="addApproverDia" title="鎸囧畾鎵瑰噯浜哄憳"
-               width="400px"
-               @close="closeAddApproverDia">
+    <el-dialog :close-on-click-modal="false" :visible.sync="addApproverDia" title="鎸囧畾鎵瑰噯浜哄憳" width="400px"
+      @close="closeAddApproverDia">
       <div class="body" style="display: flex;padding: 10px;align-items: center;">
         <div class="search_label" style="width: 150px;"><span class="required-span">*</span>鎵瑰噯浜猴細</div>
         <div class="search_input" style="width: 100%;">
           <el-select v-model="approver" clearable filterable placeholder="璇烽�夋嫨" size="small" style="width: 100%;">
-            <el-option v-for="(item,i) in approverList" :key="i" :label="item.label" :value="item.value">
+            <el-option v-for="(item, i) in approverList" :key="i" :label="item.label" :value="item.value">
             </el-option>
           </el-select>
         </div>
@@ -140,15 +144,13 @@
         <el-button :loading="loadingIssued" type="primary" @click="submitAddApprover">纭� 瀹�</el-button>
       </span>
     </el-dialog>
-    <el-dialog :close-on-click-modal="false" :visible.sync="addVerifyDia"
-               title="鎸囧畾瀹℃牳浜哄憳"
-               width="400px"
-               @close="closeAddVerifyDia">
+    <el-dialog :close-on-click-modal="false" :visible.sync="addVerifyDia" title="鎸囧畾瀹℃牳浜哄憳" width="400px"
+      @close="closeAddVerifyDia">
       <div class="body" style="display: flex;padding: 10px;align-items: center;">
         <div class="search_label" style="width: 150px;"><span class="required-span">*</span>瀹℃牳浜猴細</div>
         <div class="search_input" style="width: 100%;">
           <el-select v-model="verifyUser" clearable filterable placeholder="璇烽�夋嫨" size="small" style="width: 100%;">
-            <el-option v-for="(item,i) in approverList" :key="i" :label="item.label" :value="item.value">
+            <el-option v-for="(item, i) in approverList" :key="i" :label="item.label" :value="item.value">
             </el-option>
           </el-select>
         </div>
@@ -159,13 +161,14 @@
       </span>
     </el-dialog>
     <!--浜т笟閾句俊鎭煡鐪�-->
-<!--    <ShowInfo v-if="showInfoDialog" ref="showInfoDialog" :showInfoDialog="showInfoDialog"></ShowInfo>-->
+    <!--    <ShowInfo v-if="showInfoDialog" ref="showInfoDialog" :showInfoDialog="showInfoDialog"></ShowInfo>-->
     <!--鎶ュ憡鏌ョ湅-->
     <el-dialog :fullscreen="fullscreen" :modal-append-to-body="false" :visible.sync="viewIssuedVisible" title="鎶ュ憡鏌ョ湅"
-               width="80vw">
+      width="80vw">
       <div class="full-screen">
-        <i v-if="!fullscreen" class="el-icon-full-screen" style="cursor: pointer;font-size: 18px" @click="fullscreen=true;"></i>
-        <img v-else alt="" src="@/assets/images/no-full.svg" style="cursor: pointer;" @click="fullscreen=false;" >
+        <i v-if="!fullscreen" class="el-icon-full-screen" style="cursor: pointer;font-size: 18px"
+          @click="fullscreen = true;"></i>
+        <img v-else alt="" src="@/assets/images/no-full.svg" style="cursor: pointer;" @click="fullscreen = false;">
       </div>
       <div v-if="viewIssuedVisible" style="height: 80vh;">
         <onlyoffice ref="onlyoffice" :options="option" style="width: 100%;height: 100%;" />
@@ -174,19 +177,15 @@
     <!--闄勪欢鏌ョ湅-->
     <el-dialog :visible.sync="filesDialogVisible" title="闄勪欢鏌ョ湅" width="80%" @closed="closeFilesLook">
       <div style="margin-bottom: 10px">
-        <el-upload ref='upload'
-                   :action="fileAction"
-                   :auto-upload="true"
-                   :before-upload="fileBeforeUpload" :data="{orderId: filesLookInfo.insOrderId}"
-                   :headers="uploadHeader" :on-error="onError"
-                   :on-success="handleSuccessUp"
-                   :show-file-list="false"
-                   accept='.jpg,.jpeg,.png,.gif,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.pdf,.zip,.rar' style="width: 80px !important;">
+        <el-upload ref='upload' :action="fileAction" :auto-upload="true" :before-upload="fileBeforeUpload"
+          :data="{ orderId: filesLookInfo.insOrderId }" :headers="uploadHeader" :on-error="onError"
+          :on-success="handleSuccessUp" :show-file-list="false"
+          accept='.jpg,.jpeg,.png,.gif,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.pdf,.zip,.rar' style="width: 80px !important;">
           <el-button size="small" style="height: 38px" type="primary">闄勪欢涓婁紶</el-button>
         </el-upload>
       </div>
       <lims-table :tableData="tableDataFile" :column="columnFile" @pagination="paginationFile" height="500px"
-                  key="tableDataFile" :page="pageFile" :tableLoading="tableLoadingFile"></lims-table>
+        key="tableDataFile" :page="pageFile" :tableLoading="tableLoadingFile"></lims-table>
     </el-dialog>
   </div>
 </template>
@@ -204,12 +203,12 @@
   upReportUrl,
   writeReport
 } from "@/api/business/insReport";
-import {mapGetters} from "vuex";
-import {selectUserCondition} from "@/api/business/inspectionTask";
+import { mapGetters } from "vuex";
+import { selectUserCondition } from "@/api/business/inspectionTask";
 import limsTable from "@/components/Table/lims-table.vue";
-import {delfile, downFile, getFileList} from "@/api/business/rawMaterialOrder";
+import { delfile, downFile, getFileList } from "@/api/business/rawMaterialOrder";
 export default {
-  components: {limsTable, onlyoffice},
+  components: { limsTable, onlyoffice },
   data() {
     return {
       entity: {
@@ -237,10 +236,10 @@
       value: ``,
       reason: '',
       currentInfo: null,
-      option:null,
-      mutiList:[],
-      outLoading:false,
-      inLoading:false,
+      option: null,
+      mutiList: [],
+      outLoading: false,
+      inLoading: false,
       addApproverDia: false, // 鎸囧畾瀹℃壒浜哄憳寮规
       approver: '', // 瀹℃壒浜哄憳
       approverId: '', // 瀹℃壒浜哄憳
@@ -249,14 +248,14 @@
       verifyUser: null, // 瀹℃牳浜哄憳
       loadingVerify: false, // 瀹℃牳浜哄憳
       typeSourceList: [
-        {label: '鎴愬搧涓嬪崟', value: 0},
-        {label: '鍘熸潗鏂欎笅鍗�', value: 1},
+        { label: '鎴愬搧涓嬪崟', value: 0 },
+        { label: '鍘熸潗鏂欎笅鍗�', value: 1 },
       ],
       orderTypeList: [
-        {label: '濮旀墭璇曢獙', value: 'Customer-ordered test'},
-        {label: '鎶芥', value: '鎶芥'},
-        {label: '杩涘巶妫�楠�', value: '杩涘巶妫�楠�'},
-        {label: '瀛e害妫�楠�', value: 'Quarterly inspection'},
+        { label: '濮旀墭璇曢獙', value: 'Customer-ordered test' },
+        { label: '鎶芥', value: '鎶芥' },
+        { label: '杩涘巶妫�楠�', value: '杩涘巶妫�楠�' },
+        { label: '瀛e害妫�楠�', value: 'Quarterly inspection' },
       ],
       showInfoDialog: false, // 浜т笟閾句俊鎭煡鐪�
       isReport: 1,
@@ -266,9 +265,9 @@
       examine: null,
       viewIssuedVisible: false,
       queryStatusList: [
-        {label: '寰呮彁浜�', value: 0},
-        {label: '寰呭鏍�', value: 1},
-        {label: '寰呮壒鍑�', value: 2},
+        { label: '寰呮彁浜�', value: 0 },
+        { label: '寰呭鏍�', value: 1 },
+        { label: '寰呮壒鍑�', value: 2 },
       ],
       state: 0,
       orderId: 0,
@@ -470,7 +469,7 @@
     refreshTable() {
       this.tableLoading = true
       pageInsReport({
-        ...this.page,...this.entity
+        ...this.page, ...this.entity
       }).then(res => {
         this.tableLoading = false
         this.page.total = res.data.body.total
@@ -486,14 +485,14 @@
       this.resetForm('entity')
       this.refreshTable();
     },
-    handleChange(arr){
+    handleChange(arr) {
       this.mutiList = arr
     },
     // 鏌ョ湅妫�楠屾暟鎹�
-    viewInspectInfo (row) {
+    viewInspectInfo(row) {
       //褰撳墠妫�楠屼换鍔$殑妫�楠屼汉鍒楄〃
       let inspectorList = []
-      if(row.userName){
+      if (row.userName) {
         inspectorList = row.userName.split(',')
       }
       inspectorList.push(this.nickName)
@@ -509,7 +508,7 @@
       })
     },
     // 鎵撳紑鏌ョ湅闄勪欢寮规
-    handleFileLook (row) {
+    handleFileLook(row) {
       this.filesLookInfo = row
       this.filesDialogVisible = true
       this.getFileList()
@@ -517,7 +516,7 @@
     // 鏌ヨ闄勪欢鏌ョ湅鍒楄〃鍥炶皟
     getFileList() {
       this.tableLoadingFile = true
-      getFileList({insOrderId: this.filesLookInfo.insOrderId}).then(res => {
+      getFileList({ insOrderId: this.filesLookInfo.insOrderId }).then(res => {
         this.tableLoadingFile = false
         if (res.code === 200) {
           this.tableDataFile = res.data.records
@@ -531,33 +530,33 @@
       this.pageFile.size = page.limit
       this.getFileList()
     },
-    closeFilesLook () {
+    closeFilesLook() {
       this.filesDialogVisible = false
     },
-    handleSuccessUp(response, ) {
+    handleSuccessUp(response,) {
       this.upLoading = false;
       if (response.code == 200) {
         this.$message.success('涓婁紶鎴愬姛');
         this.getFileList()
       }
     },
-    handleSuccessUp1(response, ) {
+    handleSuccessUp1(response,) {
       if (response.code == 200) {
         this.$message.success('涓婁紶鎴愬姛');
       }
     },
     // 涓嬭浇闄勪欢鐨勬枃浠�
-    handleDown(row){
+    handleDown(row) {
       downFile({
         id: row.id,
       }).then(res => {
         if (res.code === 200) {
           let url = '';
-          if(res.data.type==1){
-            url = this.javaApi+'/img/'+res.data.fileUrl
+          if (res.data.type == 1) {
+            url = this.javaApi + '/img/' + res.data.fileUrl
             this.$download.saveAs(url, row.fileName);
-          }else{
-            url = this.javaApi+'/word/'+res.data.fileUrl
+          } else {
+            url = this.javaApi + '/word/' + res.data.fileUrl
             this.$download.saveAs(url, row.fileName);
           }
         }
@@ -584,31 +583,30 @@
       }).catch(() => { })
     },
     // 鏌ョ湅浜т笟閾句俊鎭�
-    openInfoDialog (row) {
+    openInfoDialog(row) {
       this.showInfoDialog = true
       this.$nextTick(() => {
         this.$refs.showInfoDialog.getInfo(row.ifsInventoryId)
       })
     },
-    handleDowns(){
-      if(this.mutiList.length==0){
+    handleDowns() {
+      if (this.mutiList.length == 0) {
         this.$message.error('璇烽�夋嫨鎶ュ憡')
         return
       }
-      let str = this.mutiList.map(m=>m.id).join(',')
+      let str = this.mutiList.map(m => m.id).join(',')
       this.outLoading = true
-      downAll({ids: str}).then(res => {
+      downAll({ ids: str }).then(res => {
         this.outLoading = false
-        this.$message.success('瀵煎嚭鎴愬姛')
         this.$download.saveAs(this.javaApi + res.message, row.fileName);
       })
     },
-    beforeUpload(file){
+    beforeUpload(file) {
       const isZip = file.type === 'application/zip' || file.name.endsWith('.zip');
       if (!isZip) {
         this.$message.error('涓婁紶鏂囦欢鍙兘鏄� ZIP 鏍煎紡!');
       }
-      if(isZip){
+      if (isZip) {
         this.inLoading = true;
       }
       return isZip;
@@ -635,20 +633,20 @@
         return Promise.reject(flag); //姝g‘鐨勭粓姝�
       }
     },
-    handleSuccess(response,){
+    handleSuccess(response,) {
       this.inLoading = false;
       if (response.code == 200) {
         this.$message.success('瀵煎叆鎴愬姛')
         this.refreshTable()
-      }else{
+      } else {
         this.$message.error(response.message)
       }
     },
-    onError(err, file, fileList,type) {
+    onError(err, file, fileList, type) {
       this.$message.error('涓婁紶澶辫触')
       this.$refs.upload.clearFiles()
     },
-    onError1(err, file, fileList,type) {
+    onError1(err, file, fileList, type) {
       this.$message.error('涓婁紶澶辫触')
       this.$refs.upload1.clearFiles()
     },
@@ -717,13 +715,13 @@
     // 瀹℃牳鎸夐挳
     handleIssued(row) {
       this.currentInfo = row;
-      let fileName = (row.urlS===null||row.urlS==='')?row.url:row.urlS
+      let fileName = (row.urlS === null || row.urlS === '') ? row.url : row.urlS
       let fileType = "docx"
       if (row.tempUrlPdf != null || row.tempUrlPdf === '') {
         fileName = row.tempUrlPdf
         fileType = "pdf"
       }
-      fileName = fileName.replace('/word/','')
+      fileName = fileName.replace('/word/', '')
       const userName = this.nickName
       this.option = {
         url: this.javaApi + "/word/" + fileName,
@@ -741,13 +739,13 @@
     // 鏌ョ湅鎶ュ憡
     viewIssued(row) {
       this.currentInfo = row;
-      let fileName = (row.urlS===null||row.urlS==='')?row.url:row.urlS
+      let fileName = (row.urlS === null || row.urlS === '') ? row.url : row.urlS
       let fileType = "docx"
       if (row.tempUrlPdf != null || row.tempUrlPdf === '') {
         fileName = row.tempUrlPdf
         fileType = "pdf"
       }
-      fileName = fileName.replace('/word/','')
+      fileName = fileName.replace('/word/', '')
       const userName = this.nickName
       this.option = {
         url: this.javaApi + "/word/" + fileName,
@@ -770,7 +768,7 @@
         type: 'warning'
       }).then(() => {
         this.upLoad = true
-        sendBackTask({id: row.id}).then(res => {
+        sendBackTask({ id: row.id }).then(res => {
           this.upLoad = false
           this.$message.success('閫�鍥炴垚鍔燂紒')
           this.refreshTable('page')
@@ -785,7 +783,7 @@
       });
     },
     // 瀹℃牳閫氳繃
-    submitAddApprover () {
+    submitAddApprover() {
       if (!this.approver) {
         this.$message.error('璇烽�夋嫨瀹℃壒浜�')
         return
@@ -807,7 +805,7 @@
         this.loadingIssued = false;
       })
     },
-    closeAddApproverDia () {
+    closeAddApproverDia() {
       this.addApproverDia = false
       this.approver = ''
     },
@@ -832,13 +830,13 @@
     // 鎵瑰噯鎸夐挳
     handleApprove(row) {
       this.currentInfo = row;
-      let fileName = (row.urlS===null||row.urlS==='')?row.url:row.urlS
+      let fileName = (row.urlS === null || row.urlS === '') ? row.url : row.urlS
       let fileType = "docx"
       if (row.tempUrlPdf != null || row.tempUrlPdf === '') {
         fileName = row.tempUrlPdf
         fileType = "pdf"
       }
-      fileName = fileName.replace('/word/','')
+      fileName = fileName.replace('/word/', '')
       const userName = this.nickName
       this.option = {
         url: this.javaApi + "/word/" + fileName,
@@ -867,7 +865,7 @@
         this.approveVisible = false;
       })
     },
-    handle (row) {
+    handle(row) {
       this.getAuthorizedPerson()
       this.currentInfo = row;
       this.addVerifyDia = true
@@ -888,7 +886,7 @@
         this.$message.error('鎻愪氦澶辫触')
       })
     },
-    closeAddVerifyDia () {
+    closeAddVerifyDia() {
       this.addVerifyDia = false
       this.verifyUser = ''
     },

--
Gitblit v1.9.3