|
|
@@ -41,6 +41,7 @@
|
|
|
:options="options">
|
|
|
<div slot="custom-right">
|
|
|
<el-checkbox v-model="selectResult" :false-label="1" :true-label="0" @change="selectChange">当前部门</el-checkbox>
|
|
|
+ <el-checkbox v-model="issale" :false-label="0" :true-label="1" @change="selectChange">业务员</el-checkbox>
|
|
|
</div>
|
|
|
<template v-slot:tbList="scope">
|
|
|
<div>
|
|
|
@@ -86,14 +87,17 @@ export default {
|
|
|
return {
|
|
|
options:[],
|
|
|
areaInfo:{},
|
|
|
- selectResult:1
|
|
|
+ selectResult:1,
|
|
|
+ issale:0
|
|
|
}
|
|
|
},
|
|
|
methods:{
|
|
|
onClick (data) {
|
|
|
this.areaInfo = data
|
|
|
this.$refs['basicLayout'].param.content.departmentids = [data.departmentid]
|
|
|
- this.$refs['basicLayout'].param.content.containssub = 1
|
|
|
+ this.$refs['basicLayout'].param.content.containssub = this.selectResult
|
|
|
+ this.$refs.basicLayout.param.content.where.issale = this.issale
|
|
|
+ this.$refs.basicLayout.param.content.pageNumber = 1
|
|
|
this.$refs['basicLayout'].listData()
|
|
|
this.$store.dispatch('sendDataToForm',data)
|
|
|
},
|
|
|
@@ -104,6 +108,8 @@ export default {
|
|
|
},
|
|
|
selectChange () {
|
|
|
this.$refs.basicLayout.param.content.containssub = this.selectResult
|
|
|
+ this.$refs.basicLayout.param.content.where.issale = this.issale
|
|
|
+ this.$refs.basicLayout.param.content.pageNumber = 1
|
|
|
this.$refs['basicLayout'].listData()
|
|
|
}
|
|
|
}
|