From 13c253f4de635d9ea7ee369b6c74be244bc83a85 Mon Sep 17 00:00:00 2001
From: zhuo <2089219845@qq.com>
Date: 星期四, 13 三月 2025 14:31:21 +0800
Subject: [PATCH] 人员组织树查询修改, 成品下单导出修改
---
src/views/CNAS/systemManagement/documentRecords/approvalRecord.vue | 51 +--------------------------------------------------
1 files changed, 1 insertions(+), 50 deletions(-)
diff --git a/src/views/CNAS/systemManagement/documentRecords/approvalRecord.vue b/src/views/CNAS/systemManagement/documentRecords/approvalRecord.vue
index 1f13e97..2b0c02c 100644
--- a/src/views/CNAS/systemManagement/documentRecords/approvalRecord.vue
+++ b/src/views/CNAS/systemManagement/documentRecords/approvalRecord.vue
@@ -193,50 +193,6 @@
this.getAuthorizedPerson()
},
methods: {
- getPower() {
- let power = JSON.parse(sessionStorage.getItem('power'))
- let add = false
- let del = false
- let up = false;
- let out = false;
- let check = false
- let ratify = false
- for (var i = 0; i < power.length; i++) {
- if (power[i].menuMethod == 'addManageRecordCheck') {
- add = true
- }
- if (power[i].menuMethod == 'delManageRecordCheck') {
- del = true
- }
- if (power[i].menuMethod == 'exportInManageRecordCheck') {
- up = true
- }
- if (power[i].menuMethod == 'checkManageRecordCheck') {
- check = true
- }
- if (power[i].menuMethod == 'ratifyManageRecordCheck') {
- ratify = true
- }
- if (power[i].menuMethod == 'exportOutManageRecordCheck') {
- out = true
- }
- }
- if (!ratify) {
- this.componentData.do.splice(3, 1)
- }
- if (!check) {
- this.componentData.do.splice(2, 1)
- }
- if (!add) {
- this.componentData.do.splice(1, 1)
- }
- if (!del) {
- this.componentData.do.splice(0, 1)
- }
- this.addPower = add
- this.outPower = out
- this.upPower = up
- },
getList() {
this.tableLoading = true;
let param = { ...this.queryParams, ...this.page };
@@ -283,7 +239,7 @@
// queryParams
exportOutManageRecordCheck(this.queryParams).then(res => {
this.outLoading = false
- this.$download.downloadFileFromUrl(res.data, '鏂囦欢瀹℃壒璁板綍')
+ this.$download.saveAs(res.data, '鏂囦欢瀹℃壒璁板綍')
})
},
getAuthorizedPerson() {
@@ -311,7 +267,6 @@
if (action === 'confirm') {
// 鐐瑰嚮鈥滅‘瀹氣�濇寜閽紝鍏佽鍏抽棴
checkManageRecordCheck({ id: row.id, checkState: '閫氳繃' }).then(res => {
- if (res.code === 201) return
this.refreshTable()
done();
this.$message({
@@ -325,7 +280,6 @@
} else if (action === 'cancel') {
// 鐐瑰嚮鈥滃彇娑堚�濇寜閽紝涓嶅厑璁稿叧闂�
checkManageRecordCheck({ id: row.id, checkState: '涓嶉�氳繃' }).then(res => {
- if (res.code === 201) return
this.refreshTable()
done();
this.$message({
@@ -357,7 +311,6 @@
if (action === 'confirm') {
// 鐐瑰嚮鈥滅‘瀹氣�濇寜閽紝鍏佽鍏抽棴
ratifyManageRecordCheck({ id: row.id, ratifyState: '閫氳繃' }).then(res => {
- if (res.code === 201) return
this.refreshTable()
done();
this.$message({
@@ -371,7 +324,6 @@
} else if (action === 'cancel') {
// 鐐瑰嚮鈥滃彇娑堚�濇寜閽紝涓嶅厑璁稿叧闂�
ratifyManageRecordCheck({ id: row.id, ratifyState: '涓嶉�氳繃' }).then(res => {
- if (res.code === 201) return
this.refreshTable()
done();
this.$message({
@@ -460,7 +412,6 @@
})
.then(() => {
delManageRecordCheck({ id: row.id }).then((res) => {
- if (res.code == 201) return;
this.$message.success("鍒犻櫎鎴愬姛");
this.refresh();
});
--
Gitblit v1.9.3