From 336dcb70c156c947530eab0f0a96ee17de477929 Mon Sep 17 00:00:00 2001
From: qushaowei <qushaowei@163.com>
Date: 星期五, 12 七月 2024 18:04:33 +0800
Subject: [PATCH] 设备管理修改

---
 src/views/eam/OperationCertificateApplyList.vue |  132 ++++++++++++-------------------------------
 1 files changed, 37 insertions(+), 95 deletions(-)

diff --git a/src/views/eam/OperationCertificateApplyList.vue b/src/views/eam/OperationCertificateApplyList.vue
index 19720e2..2cd226f 100644
--- a/src/views/eam/OperationCertificateApplyList.vue
+++ b/src/views/eam/OperationCertificateApplyList.vue
@@ -37,22 +37,22 @@
               />
             </a-form-item>
           </a-col>
-          <template v-if="toggleSearchStatus">
-            <a-col
-              :xl="6"
-              :lg="7"
-              :md="8"
-              :sm="24"
-            >
-              <a-form-item label="瀹℃牳鐘舵��">
-                <j-dict-select-tag
-                  placeholder="璇烽�夋嫨瀹℃牳鐘舵��"
-                  v-model="queryParam.auditStatus"
-                  dictCode="certificate_apply_status"
-                />
-              </a-form-item>
-            </a-col>
-          </template>
+          <!-- <template v-if="toggleSearchStatus"> -->
+          <a-col
+            :xl="6"
+            :lg="7"
+            :md="8"
+            :sm="24"
+          >
+            <a-form-item label="瀹℃牳鐘舵��">
+              <j-dict-select-tag
+                placeholder="璇烽�夋嫨瀹℃牳鐘舵��"
+                v-model="queryParam.auditStatus"
+                dictCode="certificate_apply_status"
+              />
+            </a-form-item>
+          </a-col>
+          <!-- </template> -->
           <a-col
             :xl="6"
             :lg="7"
@@ -74,13 +74,13 @@
                 icon="reload"
                 style="margin-left: 8px"
               >閲嶇疆</a-button>
-              <a
+              <!-- <a
                 @click="handleToggleSearch"
                 style="margin-left: 8px"
               >
                 {{ toggleSearchStatus ? '鏀惰捣' : '灞曞紑' }}
                 <a-icon :type="toggleSearchStatus ? 'up' : 'down'" />
-              </a>
+              </a> -->
             </span>
           </a-col>
         </a-row>
@@ -100,7 +100,7 @@
         icon="download"
         @click="handleExportXls('鎿嶄綔璇佺敵璇疯〃')"
       >瀵煎嚭</a-button>
-      <a-upload
+      <!-- <a-upload
         name="file"
         :showUploadList="false"
         :multiple="false"
@@ -112,7 +112,7 @@
           type="primary"
           icon="import"
         >瀵煎叆</a-button>
-      </a-upload>
+      </a-upload> -->
       <a-button
         @click="handleAchievement"
         type="primary"
@@ -159,50 +159,6 @@
         :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
         @change="handleTableChange"
       >
-
-        <template
-          slot="htmlSlot"
-          slot-scope="text"
-        >
-          <div v-html="text"></div>
-        </template>
-        <template
-          slot="imgSlot"
-          slot-scope="text,record"
-        >
-          <span
-            v-if="!text"
-            style="font-size: 12px;font-style: italic;"
-          >鏃犲浘鐗�</span>
-          <img
-            v-else
-            :src="getImgView(text)"
-            :preview="record.id"
-            height="25px"
-            alt=""
-            style="max-width:80px;font-size: 12px;font-style: italic;"
-          />
-        </template>
-        <template
-          slot="fileSlot"
-          slot-scope="text"
-        >
-          <span
-            v-if="!text"
-            style="font-size: 12px;font-style: italic;"
-          >鏃犳枃浠�</span>
-          <a-button
-            v-else
-            :ghost="true"
-            type="primary"
-            icon="download"
-            size="small"
-            @click="downloadFile(text)"
-          >
-            涓嬭浇
-          </a-button>
-        </template>
-
         <span
           slot="action"
           slot-scope="text, record"
@@ -251,20 +207,6 @@
             @click="handleFinish(record)"
             v-has="'OperationCertificateApply:equipmentAdmin'"
           >瀹℃牳</a>
-          <!-- <a-popconfirm
-            v-if="record.auditStatus == 'submitted'"
-            title="纭閫氳繃瀹℃壒鍚�?"
-            @confirm="() =>handleCommit(record, 'approved')"
-          >
-            <a>瀹℃壒</a>
-          </a-popconfirm>
-          <a-popconfirm
-            v-if="record.auditStatus == 'approved'"
-            title="纭閫氳繃瀹℃牳鍚�?"
-            @confirm="() =>handleCommit(record, 'audited')"
-          >
-            <a>瀹℃牳</a>
-          </a-popconfirm> -->
           <a-divider
             type="vertical"
             v-if="record.auditStatus == 'created' || record.auditStatus == 'submitted' || record.auditStatus == 'approved'"
@@ -387,9 +329,9 @@
           dataIndex: 'handlePerson_dictText'
         },
         {
-          title: '澶囨敞',
+          title: '鍔炵悊鏃堕棿',
           align: "center",
-          dataIndex: 'remark'
+          dataIndex: 'createTime'
         },
         {
           title: '鎿嶄綔',
@@ -409,11 +351,11 @@
         approve: "/eam/operationCertificateApply/approve"
       },
       dictOptions: {},
-      superFieldList: [],
+      // superFieldList: [],
     }
   },
   created() {
-    this.getSuperFieldList();
+    // this.getSuperFieldList();
   },
   computed: {
     importExcelUrl: function () {
@@ -421,19 +363,19 @@
     }
   },
   methods: {
-    initDictConfig() {
-    },
-    getSuperFieldList() {
-      let fieldList = [];
-      fieldList.push({ type: 'string', value: 'num', text: '鐢宠鍗曠紪鍙�', dictCode: '' })
-      fieldList.push({ type: 'string', value: 'type', text: '绫诲瀷', dictCode: 'apply_type' })
-      fieldList.push({ type: 'sel_depart', value: 'departId', text: '鎵�鍦ㄥ崟浣�' })
-      fieldList.push({ type: 'string', value: 'contactNumber', text: '鐢宠鍗曚綅鑱旂郴鐢佃瘽', dictCode: '' })
-      fieldList.push({ type: 'string', value: 'applicant', text: '鐢宠浜�', dictCode: "sys_user,realname,id" })
-      fieldList.push({ type: 'string', value: 'auditStatus', text: '瀹℃牳鐘舵��', dictCode: 'certificate_apply_status' })
-      fieldList.push({ type: 'string', value: 'remark', text: '澶囨敞', dictCode: '' })
-      this.superFieldList = fieldList
-    },
+    // initDictConfig() {
+    // },
+    // getSuperFieldList() {
+    //   let fieldList = [];
+    //   fieldList.push({ type: 'string', value: 'num', text: '鐢宠鍗曠紪鍙�', dictCode: '' })
+    //   fieldList.push({ type: 'string', value: 'type', text: '绫诲瀷', dictCode: 'apply_type' })
+    //   fieldList.push({ type: 'sel_depart', value: 'departId', text: '鎵�鍦ㄥ崟浣�' })
+    //   fieldList.push({ type: 'string', value: 'contactNumber', text: '鐢宠鍗曚綅鑱旂郴鐢佃瘽', dictCode: '' })
+    //   fieldList.push({ type: 'string', value: 'applicant', text: '鐢宠浜�', dictCode: "sys_user,realname,id" })
+    //   fieldList.push({ type: 'string', value: 'auditStatus', text: '瀹℃牳鐘舵��', dictCode: 'certificate_apply_status' })
+    //   fieldList.push({ type: 'string', value: 'remark', text: '澶囨敞', dictCode: '' })
+    //   this.superFieldList = fieldList
+    // },
     handleCommit(record, type) {
       if (type == 'commit') {
         record.auditStatus = 'submitted'

--
Gitblit v1.9.3