From 97f22c456a6860f58a9a709b2c193c40c4a9f8e4 Mon Sep 17 00:00:00 2001
From: Crunchy <3114200645@qq.com>
Date: 星期四, 23 五月 2024 18:04:24 +0800
Subject: [PATCH] 2024-5-23 原始记录模板优化完成
---
src/components/view/b2-standard-template.vue | 7 +++++--
src/assets/api/controller.js | 1 +
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/assets/api/controller.js b/src/assets/api/controller.js
index e378506..a0b4cfb 100644
--- a/src/assets/api/controller.js
+++ b/src/assets/api/controller.js
@@ -206,6 +206,7 @@
upStandardTemplate: "/StandardTemplate/upStandardTemplate", //淇敼妫�楠屾ā鏉�
delStandardTemplate: "/StandardTemplate/delStandardTemplate", //鍒犻櫎妫�楠屾ā鏉�
getStandardTemplate: "/StandardTemplate/getStandardTemplate", //鏌ヨ鍘熷璁板綍妯℃澘鏋氫妇
+ getEditTemplatePreparation: "/StandardTemplate/getEditTemplatePreparation"
}
const insReport = {
diff --git a/src/components/view/b2-standard-template.vue b/src/components/view/b2-standard-template.vue
index 60cd463..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
--
Gitblit v1.9.3