From 6ef9e5189ac1888b8c4c504d5c5d3f431807ff56 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期六, 15 三月 2025 11:57:40 +0800
Subject: [PATCH] 修改电路试验单位
---
src/components/view/a8-external-document-confirmation-records.vue | 21 ++++++++++++++++-----
1 files changed, 16 insertions(+), 5 deletions(-)
diff --git a/src/components/view/a8-external-document-confirmation-records.vue b/src/components/view/a8-external-document-confirmation-records.vue
index c0564b3..af466c7 100644
--- a/src/components/view/a8-external-document-confirmation-records.vue
+++ b/src/components/view/a8-external-document-confirmation-records.vue
@@ -69,7 +69,7 @@
data(){
return{
title0:'鏌ョ湅',
- activeName:'濉啓',
+ activeName:'鍘嗗彶璁板綍',
lookDialogVisible:false,
noCheckLoading:false,
checkLoading:false,
@@ -141,12 +141,12 @@
id: 'update',
font: '淇敼',
type: 'text',
- method: 'doDiy'
+ method: 'doDiy',
},{
id: 'delete',
font: '鍒犻櫎',
type: 'text',
- method: 'doDiy'
+ method: 'doDiy',
}],
tagField: {},
selectField: {},
@@ -174,6 +174,17 @@
},
action() {
return this.javaApi +this.$api.manageRecordTotal.exportManageRecordVerify
+ }
+ },
+ watch: {
+ 'activeName' (val1, val2) {
+ if(val1=='濉啓'){
+ this.componentData0.do.forEach((item)=>{
+ item.disabFun = (row, index) => {
+ return !this.addPower||!!this.currentInfo.ratifyUserName
+ }
+ })
+ }
}
},
mounted() {
@@ -281,10 +292,10 @@
}).catch(err=>{});
},
handleDown0(row){
- let url = this.javaApi+'word/'+row.url
+ let url = this.javaApi+'/word/'+row.url
const link = document.createElement('a');
link.href = url;
- link.download = row.month+' 澶栨潵鏂囦欢纭璁板綍';
+ link.download = row.month+' 澶栨潵鏂囦欢纭璁板綍.docx';
link.click();
},
// 鎻愪氦
--
Gitblit v1.9.3