Commit ec8fdba4 authored by wangxl's avatar wangxl

qqq

parent 7221c91d
...@@ -75,7 +75,7 @@ export default { ...@@ -75,7 +75,7 @@ export default {
if (data) { if (data) {
this.checkedKeys = data.spec this.checkedKeys = data.spec
this.defaultExpandedKeys = data.expanded this.defaultExpandedKeys = data.expanded
this.seachExpert(this.checkedKeys) this.seachExpert()
} }
this.loading = false this.loading = false
}).catch(() => { }).catch(() => {
...@@ -86,7 +86,8 @@ export default { ...@@ -86,7 +86,8 @@ export default {
onClick (value, info) { onClick (value, info) {
}, },
onCheck (value, info) { onCheck (value, info) {
this.seachExpert(value) this.checkedKeys = value
this.seachExpert()
}, },
onExpand (value) { onExpand (value) {
this.defaultExpandedKeys = value this.defaultExpandedKeys = value
...@@ -103,11 +104,11 @@ export default { ...@@ -103,11 +104,11 @@ export default {
}).catch(() => { this.loading = true }); }).catch(() => { this.loading = true });
}, },
changePersonName () { changePersonName () {
this.seachExpert(null, null, null,) this.seachExpert()
}, },
seachExpert (specId) { seachExpert () {
this.loading = true this.loading = true
this.$api.expertSpec.getExpertListByExpertSpecIds({ specIds: specId, groupIds: this.projGroupSelectedRowKeys, personName: this.personName }).then(({ data = {} }) => { this.$api.expertSpec.getExpertListByExpertSpecIds({ specIds: this.checkedKeys, groupIds: this.projGroupSelectedRowKeys, personName: this.personName }).then(({ data = {} }) => {
if (data) { if (data) {
this.dataList = data this.dataList = data
this.expertFilter(this.expertSelectKeys, this.dataList) this.expertFilter(this.expertSelectKeys, this.dataList)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment