From 368b525db5f3f4f82b13c074341708a46b9a4111 Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期二, 11 三月 2025 09:11:29 +0800 Subject: [PATCH] Merge branch 'dev' of http://114.132.189.42:9002/r/lims-ruoyi-before into dev --- src/views/CNAS/systemManagement/documentRecords/outDocumenRecordt.vue | 41 +---------------------------------------- 1 files changed, 1 insertions(+), 40 deletions(-) diff --git a/src/views/CNAS/systemManagement/documentRecords/outDocumenRecordt.vue b/src/views/CNAS/systemManagement/documentRecords/outDocumenRecordt.vue index cc13d08..b00e8cb 100644 --- a/src/views/CNAS/systemManagement/documentRecords/outDocumenRecordt.vue +++ b/src/views/CNAS/systemManagement/documentRecords/outDocumenRecordt.vue @@ -249,45 +249,6 @@ this.getList0() }, methods: { - getPower() { - let power = JSON.parse(sessionStorage.getItem('power')) - let add = false - let del = false - let up = false; - let sub = false - let ratify = false - for (var i = 0; i < power.length; i++) { - if (power[i].menuMethod == 'addManageRecordVerify') { - add = true - } - if (power[i].menuMethod == 'delManageRecordVerify') { - del = true - } - if (power[i].menuMethod == 'exportManageRecordVerify') { - up = true - } - if (power[i].menuMethod == 'submitManageRecordTotal') { - sub = true - } - if (power[i].menuMethod == 'ratifyManageRecordTotal') { - ratify = true - } - } - if (!ratify) { - this.componentData.do.splice(3, 1) - } - if (!sub) { - this.componentData.do.splice(2, 1) - } - if (!del) { - this.componentData0.do.splice(1, 1) - } - if (!add) { - this.componentData0.do.splice(0, 1) - } - this.addPower = add - this.upPower = up - }, openAdd(title, row) { this.title = title; if (row) { @@ -393,7 +354,7 @@ }).catch(err => { }); }, handleDown0(row) { - this.$download.downloadFileFromUrl(row.url, '澶栨潵鏂囦欢纭璁板綍') + this.$download.saveAs(row.url, '澶栨潵鏂囦欢纭璁板綍') }, // 鎻愪氦 handleSubmit(row) { -- Gitblit v1.9.3