Commit ec8fdba4 authored by wangxl's avatar wangxl

qqq

parent 7221c91d
......@@ -75,7 +75,7 @@ export default {
if (data) {
this.checkedKeys = data.spec
this.defaultExpandedKeys = data.expanded
this.seachExpert(this.checkedKeys)
this.seachExpert()
}
this.loading = false
}).catch(() => {
......@@ -86,7 +86,8 @@ export default {
onClick (value, info) {
},
onCheck (value, info) {
this.seachExpert(value)
this.checkedKeys = value
this.seachExpert()
},
onExpand (value) {
this.defaultExpandedKeys = value
......@@ -103,11 +104,11 @@ export default {
}).catch(() => { this.loading = true });
},
changePersonName () {
this.seachExpert(null, null, null,)
this.seachExpert()
},
seachExpert (specId) {
seachExpert () {
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) {
this.dataList = data
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