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-periodic-document-review-records.vue | 21 ++++++++++++++++-----
1 files changed, 16 insertions(+), 5 deletions(-)
diff --git a/src/components/view/a8-periodic-document-review-records.vue b/src/components/view/a8-periodic-document-review-records.vue
index bf5816e..d7a0a46 100644
--- a/src/components/view/a8-periodic-document-review-records.vue
+++ b/src/components/view/a8-periodic-document-review-records.vue
@@ -161,7 +161,7 @@
},
data() {
return {
- activeName:'濉啓',
+ activeName:'鍘嗗彶璁板綍',
title0:'鏂板',
addPower:true,
outPower:true,
@@ -188,13 +188,13 @@
id: 'delete',
font: '鍒犻櫎',
type: 'text',
- method: 'doDiy',
+ method: 'doDiy'
}, {
id: 'handleEdit',
font: '淇敼',
type: 'text',
method: 'handleEdit',
- field:[],
+ field:[]
}],
tagField: {
// documentType:{
@@ -295,6 +295,17 @@
return this.javaApi +this.$api.manageRecordIntervals.exportInManageRecordIntervals
}
},
+ watch: {
+ 'activeName' (val1, val2) {
+ if(val1=='濉啓'){
+ this.componentData.do.forEach((item)=>{
+ item.disabFun = (row, index) => {
+ return !this.addPower||!!this.currentInfo.ratifyUserName
+ }
+ })
+ }
+ }
+ },
mounted() {
this.entityCopy = this.HaveJson(this.componentData.entity);
this.entityCopy0 = this.HaveJson(this.componentData0.entity);
@@ -361,7 +372,7 @@
this.outLoading = false
if(res.code==201) return this.$message.error('瀵煎嚭澶辫触')
this.$message.success('瀵煎嚭鎴愬姛')
- let url = this.javaApi+'word/'+res.message
+ let url = this.javaApi+'/word/'+res.message
const link = document.createElement('a');
link.href = url;
link.download = '鏂囦欢瀹氭湡瀹℃煡璁板綍';
@@ -511,7 +522,7 @@
}
},
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+' 鎵�鏈夋枃浠跺畾鏈熸鏌ヨ褰�';
--
Gitblit v1.9.3