Browse Source

工艺调整

langfang-develop
liwei 3 years ago
parent
commit
ef32cf6be3
2 changed files with 18 additions and 4 deletions
  1. +2
    -2
      src/views/plant/processData/technology/addOrEdit.vue
  2. +16
    -2
      src/views/plant/processData/technology/index.vue

+ 2
- 2
src/views/plant/processData/technology/addOrEdit.vue View File

@ -272,7 +272,7 @@ export default {
this.attributeList=data;
})
},
// Attr
//
setAttributeValue(value){
getAttributeValue(value).then(({data:{Valst=[]}})=>{
this.attrValueList=Valst;
@ -284,7 +284,7 @@ export default {
this.stepTypeList = data;
})
},
//
//
getProjectList(){
getProjectList().then(({data=[]})=>{
this.projectList=data;


+ 16
- 2
src/views/plant/processData/technology/index.vue View File

@ -81,7 +81,7 @@
import AddOrEdit from './addOrEdit.vue';
import ScanRule from './scanRule.vue';
import OperationGuide from './operationGuide.vue'
import {getTableList, delParser} from '@/api/plant/processData/technology'
import {getTableList, delParser, getAttribute, getAttributeValue} from '@/api/plant/processData/technology'
export default {
components:{
AddOrEdit,
@ -99,6 +99,8 @@ export default {
tableData:[], // table
isAddOrEdit: '', // add-edit-
item:{}, //
attributeList:[], //
}
},
methods:{
@ -162,7 +164,19 @@ export default {
this.queryParams.total=count;
this.tableData=records;
})
}
},
//
getAttribute(){
getAttribute().then(({data=[]})=>{
this.attributeList=data;
})
},
//
getAttributeValue(value){
getAttributeValue(value).then(({data:{Valst=[]}})=>{
this.attrValueList=Valst;
})
},
},
mounted(){
this.getTableList();


Loading…
Cancel
Save