|
@@ -222,24 +222,21 @@ export default {
|
|
|
showTree: {
|
|
showTree: {
|
|
|
handler: function(val, oldVal) {
|
|
handler: function(val, oldVal) {
|
|
|
this.lazyTree = this.partyType === 'org'
|
|
this.lazyTree = this.partyType === 'org'
|
|
|
- /* if (val === false) { */
|
|
|
|
|
- this.listConfig.searchForm.forms = [
|
|
|
|
|
- { prop: 'name', label: '姓名' }
|
|
|
|
|
- ]
|
|
|
|
|
- this.listConfig.columns = [
|
|
|
|
|
- { prop: 'name', label: '姓名'},
|
|
|
|
|
- { prop: 'createTime', label: '创建时间' ,width:200}
|
|
|
|
|
- ]
|
|
|
|
|
- /* } else {
|
|
|
|
|
- this.listConfig.searchForm.forms = [
|
|
|
|
|
- { prop: 'Q^NAME_^SL', label: '姓名', itemWidth: '200' },
|
|
|
|
|
- { prop: 'Q^ACCOUNT_^SL', label: '帐号', itemWidth: '200' }
|
|
|
|
|
- ]
|
|
|
|
|
- this.listConfig.columns = [
|
|
|
|
|
- { prop: 'name', label: '姓名' },
|
|
|
|
|
- { prop: 'status', label: '状态' }
|
|
|
|
|
- ]
|
|
|
|
|
- } */
|
|
|
|
|
|
|
+ if (val === false) {
|
|
|
|
|
+ this.listConfig.searchForm.forms = [
|
|
|
|
|
+ { prop: 'name', label: '姓名' }
|
|
|
|
|
+ ]
|
|
|
|
|
+ this.listConfig.columns = [
|
|
|
|
|
+ { prop: 'name', label: '姓名'},
|
|
|
|
|
+ ]
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.listConfig.searchForm.forms = [
|
|
|
|
|
+ { prop: 'Q^NAME_^SL', label: '姓名', itemWidth: '200' }
|
|
|
|
|
+ ]
|
|
|
|
|
+ this.listConfig.columns = [
|
|
|
|
|
+ { prop: 'name', label: '姓名' }
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
immediate: true
|
|
immediate: true
|
|
|
},
|
|
},
|