|
@@ -295,7 +295,7 @@
|
|
|
v-model="form.postType"
|
|
|
placeholder="请选择岗位"
|
|
|
style="width:400px;"
|
|
|
- disabled
|
|
|
+
|
|
|
>
|
|
|
<el-option
|
|
|
v-for="item in JobTypeList"
|
|
@@ -1307,7 +1307,7 @@ export default {
|
|
|
this.form.isInterfaceNode = res.data.isInterfaceNode //是否接口节点
|
|
|
this.form.interfaceType = res.data.interfaceType //选择接口类型
|
|
|
this.form.associationType = res.data.associationType //关联类型
|
|
|
- this.form.majorDataType = res.data.majorDataType.split(',') //内业资料类型
|
|
|
+ // this.form.majorDataType = res.data.majorDataType.split(',') //内业资料类型
|
|
|
this.form.displayHierarchy = res.data.displayHierarchy //显示层级
|
|
|
|
|
|
this.form.projectType = res.data.projectType //工程类型
|
|
@@ -1318,6 +1318,11 @@ export default {
|
|
|
}else{
|
|
|
this.form.expDataType = [];
|
|
|
}
|
|
|
+ if(res.data.majorDataType){
|
|
|
+ this.form.majorDataType = res.data.majorDataType.split(',') //文件类型
|
|
|
+ }else{
|
|
|
+ this.form.majorDataType = [];
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
async archiveTreetree4 () {//全加载左侧树
|
|
@@ -1396,6 +1401,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
saveTree () {//保存按钮
|
|
|
+ console.log(this.form.postType,'this.form.postType');
|
|
|
this.$refs.form.validate(val => {
|
|
|
if (val) {
|
|
|
if (this.form.nodeType == 2) {
|