From 0aaab439f2fb9ba320ca7c9c87b862ed91294460 Mon Sep 17 00:00:00 2001
From: Fixiaobai <fixiaobai@163.com>
Date: 星期四, 09 十一月 2023 13:54:13 +0800
Subject: [PATCH] 	modified:   src/api/basic/param.js 	modified:   src/views/basic/template/index.vue 	modified:   src/views/technology/routing/routing-form.vue 	modified:   src/views/technology/structure/single-structure-form.vue

---
 src/views/basic/template/index.vue                       |    4 ++--
 src/views/technology/routing/routing-form.vue            |   12 ++++++++++++
 src/views/technology/structure/single-structure-form.vue |    2 +-
 src/api/basic/param.js                                   |    8 ++++++++
 4 files changed, 23 insertions(+), 3 deletions(-)

diff --git a/src/api/basic/param.js b/src/api/basic/param.js
index c131ace..e076afe 100644
--- a/src/api/basic/param.js
+++ b/src/api/basic/param.js
@@ -24,6 +24,14 @@
     params: query
   })
 }
+export function fetchListByFather(obj) {
+  return request({
+    url: '/mes/param/pageInId',
+    method: 'post',
+    data: obj
+  })
+}
+
 export function pageInModel(query) {
   return request({
     url: '/mes/param/pageInModel',
diff --git a/src/views/basic/template/index.vue b/src/views/basic/template/index.vue
index 1fbaccb..d6fc5da 100644
--- a/src/views/basic/template/index.vue
+++ b/src/views/basic/template/index.vue
@@ -116,13 +116,13 @@
                     @click="saveSample(scope.$index, scope.row)"
                     >淇濆瓨
                   </el-button>
-                  <el-button
+                  <!-- <el-button
                     type="text"
                     v-if="!scope.row.isUpdate"
                     size="mini"
                     @click="editSample(scope.$index, scope.row)"
                     >缂栬緫
-                  </el-button>
+                  </el-button> -->
                   <el-button
                     type="text"
                     size="mini"
diff --git a/src/views/technology/routing/routing-form.vue b/src/views/technology/routing/routing-form.vue
index 5aa9cf5..3665130 100644
--- a/src/views/technology/routing/routing-form.vue
+++ b/src/views/technology/routing/routing-form.vue
@@ -659,6 +659,7 @@
 } from '@/api/technology/routing'
 import { fetchList as getBomList } from '@/api/technology/completeproductstructure'
 import { getByOperation } from '@/api/aps/capability'
+import { fetchListByFather} from '@/api/basic/param'
 import { remote } from '@/api/admin/dict'
 import diagram from './diagram'
 import operationDialog from '@/views/common/operation.vue'
@@ -1376,6 +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);
+      })
       if (param.length > 0) {
         const paramrrs = {
           id: this.dataForm.id,
diff --git a/src/views/technology/structure/single-structure-form.vue b/src/views/technology/structure/single-structure-form.vue
index cf210af..515a641 100644
--- a/src/views/technology/structure/single-structure-form.vue
+++ b/src/views/technology/structure/single-structure-form.vue
@@ -24,7 +24,7 @@
                 </el-input>
               </el-form-item>
               <el-form-item label="瀹㈡埛鍚嶇О" prop="custom">
-                <el-input v-model="dataForm.custom" placeholder="瀹㈡埛鍚嶇О" :readonly="true">
+                <el-input v-model="dataForm.custom" placeholder="瀹㈡埛鍚嶇О">
                 </el-input>
               </el-form-item>
               <el-form-item label="缁撴瀯绫诲瀷" prop="bomTypeDb">

--
Gitblit v1.9.3