|
|
@@ -208,32 +208,40 @@ export default {
|
|
|
},
|
|
|
selectDep(val) {
|
|
|
this.person = ''
|
|
|
+ this.isDep = true
|
|
|
this.dataid = val[val.length -1]
|
|
|
this.dataParam.content.type = 1
|
|
|
this.dataParam.content.dataid = this.dataid
|
|
|
this.tableParam.content.type = 1
|
|
|
this.tableParam.content.dataid = this.dataid
|
|
|
- this.$refs.assignment.queryList()
|
|
|
- this.$refs.sales.queryList()
|
|
|
- this.$refs.performance.queryList()
|
|
|
- this.$refs.clue.queryAdd()
|
|
|
- this.$refs.clue.queryUpdate()
|
|
|
- this.$refs.clue.queryFollow()
|
|
|
+ this.$nextTick(()=>{
|
|
|
+ this.$refs.assignment.queryList()
|
|
|
+ this.$refs.sales.queryList()
|
|
|
+ this.$refs.performance.queryList()
|
|
|
+ this.$refs.clue.queryAdd()
|
|
|
+ this.$refs.clue.queryUpdate()
|
|
|
+ this.$refs.clue.queryFollow()
|
|
|
+ })
|
|
|
+
|
|
|
/*this.$refs.selectPerson.clearCheckedNodes()*/
|
|
|
},
|
|
|
selectPerson(val){
|
|
|
this.depment = ''
|
|
|
this.dataid = val
|
|
|
+ this.isDep = false
|
|
|
this.dataParam.content.type = 0
|
|
|
this.dataParam.content.dataid = this.dataid
|
|
|
this.tableParam.content.type = 0
|
|
|
this.tableParam.content.dataid = this.dataid
|
|
|
- this.$refs.assignment.queryList()
|
|
|
- this.$refs.sales.queryList()
|
|
|
- this.$refs.performance.queryList()
|
|
|
- this.$refs.clue.queryAdd()
|
|
|
- this.$refs.clue.queryUpdate()
|
|
|
- this.$refs.clue.queryFollow()
|
|
|
+ this.$nextTick(()=>{
|
|
|
+ this.$refs.assignment.queryList()
|
|
|
+ this.$refs.sales.queryList()
|
|
|
+ this.$refs.performance.queryList()
|
|
|
+ this.$refs.clue.queryAdd()
|
|
|
+ this.$refs.clue.queryUpdate()
|
|
|
+ this.$refs.clue.queryFollow()
|
|
|
+ })
|
|
|
+
|
|
|
/*this.$refs.selectdep.clearCheckedNodes()*/
|
|
|
},
|
|
|
async personData(){
|