From 2417a23dc04d04bd422d6f978958e10bf1633548 Mon Sep 17 00:00:00 2001
From: fei <791364011@qq.com>
Date: 星期六, 15 十一月 2025 23:44:56 +0800
Subject: [PATCH] 修改代码
---
src/views/archiveManager/arMAutoUser.vue | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/views/archiveManager/arMAutoUser.vue b/src/views/archiveManager/arMAutoUser.vue
index c55c7e6..d7eb9ef 100644
--- a/src/views/archiveManager/arMAutoUser.vue
+++ b/src/views/archiveManager/arMAutoUser.vue
@@ -48,7 +48,7 @@
v-hasPermi="['system:role:remove']"
>鎵归噺鍙栨秷鎺堟潈</el-button>
</el-col> -->
- <el-col :span="1.5">
+ <!-- <el-col :span="1.5">
<el-button
type="warning"
plain
@@ -56,7 +56,7 @@
size="mini"
@click="handleClose"
>鍏抽棴</el-button>
- </el-col>
+ </el-col> -->
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
@@ -148,7 +148,7 @@
created() {
const roleId = this.$route.params && this.$route.params.roleId
const recordId = this.$route.params && this.$route.params.archiveRecordsId
-
+
if (roleId && recordId) {
this.queryParams.roleId = roleId
// 杩涜绫诲瀷杞崲
@@ -164,7 +164,7 @@
// 鍒涘缓涓�涓柊瀵硅薄锛屽皢瀛楃涓茬被鍨嬬殑archiveRecordsId杞崲涓烘暟瀛楃被鍨�
const params = {
...this.queryParams,
- archiveRecordsId: !isNaN(Number(this.queryParams.archiveRecordsId)) ?
+ archiveRecordsId: !isNaN(Number(this.queryParams.archiveRecordsId)) ?
Number(this.queryParams.archiveRecordsId) : 0
}
listArchiverecordstouser(params).then(response => {
@@ -176,8 +176,9 @@
/** 鎵撳紑鎺堟潈鐢ㄦ埛琛ㄥ脊绐� */
openSelectUser() {
// 纭繚浼犻�掔粰select缁勪欢鐨剅ecordId鏄暟瀛楃被鍨�
- const recordId = !isNaN(Number(this.queryParams.archiveRecordsId)) ?
+ const recordId = !isNaN(Number(this.queryParams.archiveRecordsId)) ?
Number(this.queryParams.archiveRecordsId) : 0
+
this.$refs.select.show(recordId)
},
// 杩斿洖鎸夐挳
--
Gitblit v1.9.1