From fc98e676332302c4b835f8fa4ed42d72e177801f Mon Sep 17 00:00:00 2001
From: fei <791364011@qq.com>
Date: 星期二, 14 十月 2025 16:57:02 +0800
Subject: [PATCH] 增加了对应的代码

---
 src/views/archiveManager/index.vue |   16 +++++++++-------
 1 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/src/views/archiveManager/index.vue b/src/views/archiveManager/index.vue
index ee1f128..3db1b54 100644
--- a/src/views/archiveManager/index.vue
+++ b/src/views/archiveManager/index.vue
@@ -231,7 +231,7 @@
         >瀵煎嚭</el-button>
       </el-col>
 
-          <el-col :span="1.5">
+          <el-col v-if="userId!=1" :span="1.5">
         <el-button
           type="warning"
           plain
@@ -314,7 +314,7 @@
       <el-table-column label="澶囨敞" align="center" prop="remarks" />
       <el-table-column label="鍘嗗彶鐩稿叧鍙戞枃鍙�" align="center" prop="historicalReferenceNumber" />
      
-           <el-table-column label="鐘舵��" align="center" prop="recordStatus">
+           <el-table-column label="鐘舵��" align="center" width="105" prop="recordStatus">
   <template slot-scope="scope">
     <el-button :type="scope.row.recordStatus === '鏈綍鍏�' ? 'danger' : 'success'" size="mini">
       {{ scope.row.recordStatus }}
@@ -342,7 +342,7 @@
             @click="handleCheck(scope.row)"
           >鏌ョ湅</el-button>
     <el-button
-          v-if="userId!==1&&scope.row.ownData"
+          v-if="userId!==1&&scope.row.ownData&&scope.row.recordStatus!=='褰曞叆瀹屾垚'"
 
             size="mini"
             type="text"
@@ -1008,7 +1008,8 @@
     {
    //   alert(row.id)
       var id = row.id
-      updateStatusById(id).then(response=>{
+      var status = '褰曞叆瀹屾垚'
+      updateStatusById(status, id).then(response=>{
         this.$modal.msgSuccess("鎻愪氦鎴愬姛")
         this.getList()
       })
@@ -1028,7 +1029,7 @@
   if(this.recordTypeOptions.length > 0) {
       const recordParts = response.data.recordId.split('-')
       this.$set(this.form, 'recordType', recordParts[0])
-      if(this.recordTypeOptions.length==4)
+      if(recordParts.length==4)
       {
         this.$set(this.form, 'recordZone', recordParts[1])
 
@@ -1085,7 +1086,7 @@
   if(this.recordTypeOptions.length > 0) {
       const recordParts = response.data.recordId.split('-')
       this.$set(this.form, 'recordType', recordParts[0])
-      if(this.recordTypeOptions.length==4)
+      if(recordParts.length==4)
       {
             this.$set(this.form, 'recordZone', recordParts[1])
 
@@ -1150,7 +1151,8 @@
     /** 鍒嗛厤鐢ㄦ埛鎿嶄綔 */
     handleAuthUser: function(row) {
       const roleId = 2
-      var archiveRecordsId = row.recordId
+     // row.i
+      var archiveRecordsId = row.id
    //   alert(roleId)
       this.$router.push("/archiveManager/infoManagerAu/user/" + roleId+"/"+archiveRecordsId)
     },

--
Gitblit v1.9.1