From 3b16f4f2553c97642d813122ca8cc47a86d4f214 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 13 三月 2025 15:43:40 +0800
Subject: [PATCH] 供应商列表分页查询修改
---
src/views/CNAS/systemManagement/documentControl/components/DistributionCollectionRecord.vue | 36 ++----------------------------------
1 files changed, 2 insertions(+), 34 deletions(-)
diff --git a/src/views/CNAS/systemManagement/documentControl/components/DistributionCollectionRecord.vue b/src/views/CNAS/systemManagement/documentControl/components/DistributionCollectionRecord.vue
index ae46af0..647782b 100644
--- a/src/views/CNAS/systemManagement/documentControl/components/DistributionCollectionRecord.vue
+++ b/src/views/CNAS/systemManagement/documentControl/components/DistributionCollectionRecord.vue
@@ -18,7 +18,7 @@
</div>
<div class="btns" style="padding-left: 30px;">
<el-button v-if="addPower" size="small" type="primary"
- @click="addDialogVisible = true, addInfo = {}, radio = '鍙戞斁'">娣诲姞鍙戞斁璁板綍</el-button>
+ @click="addDialogVisible = true, addInfo = {}, radio = '鍙戞斁', file = null">娣诲姞鍙戞斁璁板綍</el-button>
<el-button v-if="outPower" :loading="outLoading" size="small" type="primary" @click="handleOut">瀵煎嚭</el-button>
</div>
</div>
@@ -288,38 +288,6 @@
this.selectEnumByCategory()
},
methods: {
- getPower() {
- let power = JSON.parse(sessionStorage.getItem('power'))
- let out = false
- let del = false
- let add = false
- // let check = false
- for (var i = 0; i < power.length; i++) {
- if (power[i].menuMethod == 'exportManageDocumentIssueRecycle') {
- out = true
- }
- if (power[i].menuMethod == 'addManageDocumentIssueRecycle') {
- add = true
- }
- if (power[i].menuMethod == 'delManageDocumentIssueRecycle') {
- del = true
- }
- // if (power[i].menuMethod == 'checkManageDocumentControlled') {
- // check = true
- // }
- }
- // if (!check) {
- // this.componentData.do.splice(2, 1)
- // }
- if (!del) {
- this.componentData.do.splice(1, 1)
- }
- if (!add) {
- this.componentData.do.splice(0, 1)
- }
- this.addPower = add
- this.outPower = out
- },
getList() {
this.tableLoading = true;
let param = { ...this.queryParams, ...this.page };
@@ -479,6 +447,7 @@
handleUpdate(row) {
this.addInfo = this.HaveJson(row)
this.radio = '鍥炴敹'
+ this.file = null
this.addDialogVisible = true
},
// 瀹℃牳
@@ -541,7 +510,6 @@
})
.then(() => {
delManageDocumentIssueRecycle({ id: row.id }).then((res) => {
- if (res.code == 201) return;
this.$message.success("鍒犻櫎鎴愬姛");
this.refresh();
});
--
Gitblit v1.9.3