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
| | |
| | | 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', |
| | |
| | | @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" |
| | |
| | | } 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' |
| | |
| | | |
| | | // 模板参数的选中结果返回 |
| | | 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, |
| | |
| | | </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"> |