Browse Source

合并冲突

langfang-test
liwei 3 years ago
parent
commit
592e3e329e
9 changed files with 66 additions and 17 deletions
  1. +10
    -6
      src/views/plant/processData/basicCommunication/addOrEdit.vue
  2. +6
    -2
      src/views/plant/processData/communicationRules/addOrEdit.vue
  3. +6
    -2
      src/views/plant/processData/mappingRules/addOrEdit.vue
  4. +6
    -2
      src/views/plant/processData/operationType/addOrEdit.vue
  5. +7
    -3
      src/views/plant/processData/technology/addOrEdit.vue
  6. +16
    -2
      src/views/plant/processData/technology/index.vue
  7. +3
    -0
      src/views/plant/resource/operationDefinition/addOrEdit.vue
  8. +4
    -0
      src/views/plant/resource/operationDefinition/index.vue
  9. +8
    -0
      src/views/productplan/workbench/insertOrder/index.vue

+ 10
- 6
src/views/plant/processData/basicCommunication/addOrEdit.vue View File

@ -386,11 +386,13 @@ export default {
...this.formData
}).then(({code, data})=>{
this.loading=false;
if(code==200){
this.msgSuccess('添加成功');
this.handleClose();
}
})
if(code==200){
this.msgSuccess('添加成功');
this.handleClose();
}
}).catch(()=>{
this.loading=false;
})
},
//
edit(){
@ -403,7 +405,9 @@ export default {
this.msgSuccess('编辑成功');
this.handleClose();
}
})
}).catch(()=>{
this.loading=false;
})
},
//
getOperationList(){


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

@ -220,7 +220,9 @@ export default {
this.msgSuccess('添加成功');
this.handleClose();
}
})
}).catch(()=>{
this.loading=false;
})
},
//
edit(){
@ -232,7 +234,9 @@ export default {
this.msgSuccess('编辑成功');
this.handleClose();
}
})
}).catch(()=>{
this.loading=false;
})
},
//
getBasiccomInfo(){


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

@ -202,7 +202,9 @@ export default {
this.msgSuccess('添加成功');
this.handleClose();
}
})
}).catch(()=>{
this.loading=false;
})
},
//
edit(){
@ -214,7 +216,9 @@ export default {
this.msgSuccess('编辑成功');
this.handleClose();
}
})
}).catch(()=>{
this.loading=false;
})
},
//
getOpccomrule(){


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

@ -85,7 +85,9 @@ export default {
this.msgSuccess('添加成功');
this.handleClose();
}
})
}).catch(()=>{
this.loading=false;
})
},
//
edit(){
@ -96,7 +98,9 @@ export default {
this.msgSuccess('编辑成功');
this.handleClose();
}
})
}).catch(()=>{
this.loading=false;
})
}
}
}

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

@ -247,7 +247,9 @@ export default {
this.msgSuccess('添加成功');
this.handleClose();
}
})
}).catch(()=>{
this.loading=false;
})
},
//
edit(){
@ -270,7 +272,7 @@ export default {
this.attributeList=data;
})
},
// Attr
//
setAttributeValue(value){
getAttributeValue(value).then(({data:{Valst=[]}})=>{
this.attrValueList=Valst;
@ -282,7 +284,7 @@ export default {
this.stepTypeList = data;
})
},
//
//
getProjectList(){
getProjectList().then(({data=[]})=>{
this.projectList=data;
@ -290,6 +292,8 @@ export default {
},
},
created(){
this.item['Operation-ActivateInStation']=this.item['Operation-ActivateInStation']?this.item['Operation-ActivateInStation']:false;
this.item['Operation-ActivateWhenRepair']=this.item['Operation-ActivateWhenRepair']?this.item['Operation-ActivateWhenRepair']:false;
this.getWorkLineList();
this.getAttribute();
this.getSteptype();


+ 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();


+ 3
- 0
src/views/plant/resource/operationDefinition/addOrEdit.vue View File

@ -275,6 +275,9 @@ export default {
})
}
}
this.item['Process-HasDependOn']=this.item['Process-HasDependOn']?this.item['Process-HasDependOn']:false;
this.item['Process-IsLastPO']=this.item['Process-IsLastPO']?this.item['Process-IsLastPO']:false;
this.item['Process-IsFirstPO']=this.item['Process-IsFirstPO']?this.item['Process-IsFirstPO']:false;
this.getWorkLineList();
}
}

+ 4
- 0
src/views/plant/resource/operationDefinition/index.vue View File

@ -220,6 +220,10 @@ export default {
this.loading=false
this.queryParams.total=count;
this.tableData=records;
}).catch(()=>{
this.loading=false
this.queryParams.total=0;
this.tableData=[];
})
},
//


+ 8
- 0
src/views/productplan/workbench/insertOrder/index.vue View File

@ -0,0 +1,8 @@
<template>
<div>
插单
1OPC开放协议两个页面不要工艺添加配置opc通信规则和开放协议弹窗要对应操作类型才要添加相应数据
2工艺属性值和属性编码中文映射
3零件关联关系
</div>
</template>

Loading…
Cancel
Save