From d4d65c814113e47b6dd61fe39dd0a09ec737bc10 Mon Sep 17 00:00:00 2001
From: Crunchy <3114200645@qq.com>
Date: 星期日, 26 五月 2024 23:05:38 +0800
Subject: [PATCH] 2024-5-24 需求小调整
---
src/components/view/b2-standard-template.vue | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/src/components/view/b2-standard-template.vue b/src/components/view/b2-standard-template.vue
index da8c28e..d42a770 100644
--- a/src/components/view/b2-standard-template.vue
+++ b/src/components/view/b2-standard-template.vue
@@ -167,8 +167,11 @@
this.addPower = add
},
templateWrite(row) {
- this.isShow = true
- this.row = row
+ this.$axios.get(this.$api.StandardTemplate.getEditTemplatePreparation + '?id=' + row.id).then(res => {
+ this.row = row
+ this.row.thing = res.data
+ this.isShow = true
+ })
},
closed() {
this.loading = true
@@ -195,6 +198,13 @@
}
}
}
+ data.data[0].celldata.forEach(a=>{
+ if(a.v.ps!=undefined&&(a.v.ps.value==='妫�楠屽��' || a.v.ps.value==='璁惧鍚嶇О' || a.v.ps.value==='璁惧缂栫爜' || a.v.ps.value==='缁撹')){
+ if(a.v.v === undefined){
+ a.v.v = ""
+ }
+ }
+ })
this.$axios.post(this.$api.StandardTemplate.upStandardTemplate, {
id: this.row.id,
thing: JSON.stringify(data),
--
Gitblit v1.9.3