From 16b090506aa605407735317ddd6e63e425a879ba Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期五, 26 四月 2024 10:32:08 +0800
Subject: [PATCH] 合同积分新增、查询、修改、审核、删除、导出

---
 src/views/system/score/default/index.vue |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/views/system/score/default/index.vue b/src/views/system/score/default/index.vue
index 2a2670e..d62817e 100644
--- a/src/views/system/score/default/index.vue
+++ b/src/views/system/score/default/index.vue
@@ -117,6 +117,7 @@
            type="text"
            icon="el-icon-edit"
            @click="handleUpdate(scope.row)"
+           v-if="scope.row.auditingStatus === '寰呭鏍�'"
            v-hasPermi="['system:auditing:edit']"
          >淇敼</el-button>
           <el-button
@@ -456,6 +457,10 @@
     handleUpdate(row) {
       this.reset();
       const id = row.id || this.ids
+      if (row.auditingStatus != '寰呭鏍�') {
+        this.$message.warning("璇ヨ褰曞凡瀹℃牳锛屼笉鑳戒慨鏀�");
+        return;
+      }
       getAuditing(id).then(response => {
         this.form = response.data;
         this.open = true;

--
Gitblit v1.8.0