From b19fe76e0ef3c9bf95d677822b8f4eab44f1ef7a Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 07 三月 2025 15:32:29 +0800
Subject: [PATCH] 删除无用文件

---
 src/views/CNAS/process/sampleDisposal/index.vue |   49 ++++++-------------------------------------------
 1 files changed, 6 insertions(+), 43 deletions(-)

diff --git a/src/views/CNAS/process/sampleDisposal/index.vue b/src/views/CNAS/process/sampleDisposal/index.vue
index 8759567..e446687 100644
--- a/src/views/CNAS/process/sampleDisposal/index.vue
+++ b/src/views/CNAS/process/sampleDisposal/index.vue
@@ -1,5 +1,5 @@
 <template>
-  <div class="sample-disposal">
+  <div class="capacity-scope">
     <el-tabs type="border-card" v-model="activeName" style="height: 100%;" @tab-click="queryParams.totaldealId = ''">
       <el-tab-pane label="濉啓" name="濉啓" style="height: 100%;" :key="1">
         <el-button size="small" type="primary" @click="handleAdd0" style="margin-left: 20px;">鏂板</el-button>
@@ -249,51 +249,11 @@
     };
   },
   mounted() {
-    // this.entityCopy = this.HaveJson(this.componentData.entity);
     this.getCustomPageList()
     this.getList()
     this.getList0()
   },
   methods: {
-    getPower() {
-      let power = JSON.parse(sessionStorage.getItem('power'))
-      let add = false
-      let out = false
-      let submitProcessTotaldeal = false
-      let checkProcessTotaldeal = false
-      let ratifyProcessTotaldeal = false
-      for (var i = 0; i < power.length; i++) {
-        if (power[i].menuMethod == 'addProcessDeal') {
-          add = true
-        }
-        // if (power[i].menuMethod == 'exportProcessEvaluate') {
-        //   out = true
-        // }
-        if (power[i].menuMethod == 'submitProcessTotaldeal') {
-          submitProcessTotaldeal = true
-        }
-        if (power[i].menuMethod == 'checkProcessTotaldeal') {
-          checkProcessTotaldeal = true
-        }
-        if (power[i].menuMethod == 'ratifyProcessTotaldeal') {
-          ratifyProcessTotaldeal = true
-        }
-      }
-      if (!ratifyProcessTotaldeal) {
-        this.componentData.do.splice(4, 1)
-      }
-      if (!checkProcessTotaldeal) {
-        this.componentData.do.splice(3, 1)
-      }
-      if (!submitProcessTotaldeal) {
-        this.componentData.do.splice(2, 1)
-      }
-      if (!add) {
-        this.componentData0.do.splice(1, 1)
-        this.componentData0.do.splice(0, 1)
-      }
-      this.addPower = add
-    },
     // 鑾峰彇閫佹牱鍗曚綅鍒楄〃
     getCustomPageList() {
       selectCustomPageList({
@@ -505,9 +465,12 @@
     },
     // 瀵煎嚭璇︽儏
     handleDown0(row) {
+      if (!row.url) {
+        this.$message.warning('鏆傛棤鏂囦欢')
+        return
+      }
       // 鍚庣涓嬭浇
-      let url = this.javaApi + '/word/' + row.url
-      this.$download.saveAs(url, row.month + ' 鏍峰搧澶勭悊鐢宠琛�');
+      this.$download.saveAs(row.url, row.month + ' 鏍峰搧澶勭悊鐢宠琛�');
     },
     handleDelete(row) {
       this.$confirm("鏄惁鍒犻櫎璇ユ潯鏁版嵁?", "鎻愮ず", {

--
Gitblit v1.9.3