From 714d96dce918a093ffe046a9526e8cb723cb9481 Mon Sep 17 00:00:00 2001
From: Fixiaobai <fixiaobai@163.com>
Date: 星期四, 09 十一月 2023 14:36:48 +0800
Subject: [PATCH] modified: src/views/technology/routing/routing-form.vue
---
src/views/technology/routing/routing-form.vue | 26 ++++++++++++--------------
1 files changed, 12 insertions(+), 14 deletions(-)
diff --git a/src/views/technology/routing/routing-form.vue b/src/views/technology/routing/routing-form.vue
index 3665130..0293a09 100644
--- a/src/views/technology/routing/routing-form.vue
+++ b/src/views/technology/routing/routing-form.vue
@@ -1377,17 +1377,17 @@
// 妯℃澘鍙傛暟鐨勯�変腑缁撴灉杩斿洖
selectTemplateParam(param) {
- console.log(param);
- let idList=[]
- param.forEach(item=>{
- idList.push(item.id)
- })
- console.log(idList);
- let formData=new FormData()
- formData.append("idList",idList)
- fetchListByFather(formData).then((res) => {
- console.log(res);
- })
+ // console.log(param);
+ // let idList=[]
+ // param.forEach(item=>{
+ // idList.push(item.id)
+ // })
+ // console.log(idList);
+ // let formData=new FormData()
+ // formData.append("idList",idList)
+ // fetchListByFather(formData).then((res) => {
+ // console.log(res);
+ // })
if (param.length > 0) {
const paramrrs = {
id: this.dataForm.id,
@@ -1399,9 +1399,7 @@
const data = response.data
if (data.code == 0) {
const newParams = response.data.data
- for (let i = 0; i < newParams.length; i++) {
- this.paramData.push(newParams[i])
- }
+ console.log(newParams);
this.$message.success('娣诲姞鎴愬姛')
} else {
this.$message.error('娣诲姞澶辫触')
--
Gitblit v1.9.3