|
@@ -1258,6 +1258,7 @@ export default {
|
|
if (this.filterText) {
|
|
if (this.filterText) {
|
|
this.defaultExpanded = [data.id]
|
|
this.defaultExpanded = [data.id]
|
|
}
|
|
}
|
|
|
|
+ this.form.contractLogTypes = []
|
|
this.treeTap = true
|
|
this.treeTap = true
|
|
},
|
|
},
|
|
async edittree (data,node) {//编辑树
|
|
async edittree (data,node) {//编辑树
|
|
@@ -1274,7 +1275,7 @@ export default {
|
|
this.form.id = data.id
|
|
this.form.id = data.id
|
|
this.form.parentId = ''
|
|
this.form.parentId = ''
|
|
this.treeNode = data
|
|
this.treeNode = data
|
|
- this.treeParent=node.parent.data
|
|
|
|
|
|
+ this.treeParent = node.parent.data
|
|
this.treeTap = true
|
|
this.treeTap = true
|
|
},
|
|
},
|
|
deletetree (node) {//删除树
|
|
deletetree (node) {//删除树
|
|
@@ -1336,6 +1337,14 @@ export default {
|
|
}else{
|
|
}else{
|
|
this.form.majorDataType = [];
|
|
this.form.majorDataType = [];
|
|
}
|
|
}
|
|
|
|
+ //日志类型
|
|
|
|
+ let str
|
|
|
|
+ if (res.data.contractLogType) {
|
|
|
|
+ str = res.data.contractLogType
|
|
|
|
+ } else {
|
|
|
|
+ str = ''
|
|
|
|
+ }
|
|
|
|
+ this.form.contractLogTypes = str.split(',')
|
|
}
|
|
}
|
|
},
|
|
},
|
|
async archiveTreetree4 () {//全加载左侧树
|
|
async archiveTreetree4 () {//全加载左侧树
|