|
@@ -8,6 +8,23 @@
|
|
<el-button type="primary" @click="isUnDoStatisticShow=true" style="height: 40px;width: 110px;padding:0;text-align:center;line-height:40px;">未完成TO-DO</el-button>
|
|
<el-button type="primary" @click="isUnDoStatisticShow=true" style="height: 40px;width: 110px;padding:0;text-align:center;line-height:40px;">未完成TO-DO</el-button>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div>
|
|
|
|
+ <el-cascader
|
|
|
|
+ v-model="sales"
|
|
|
|
+ placeholder="请选择销售"
|
|
|
|
+ :options="salesArr"
|
|
|
|
+ :props="{
|
|
|
|
+ emitPath:false,
|
|
|
|
+ multiple: true,
|
|
|
|
+ label:'RealName',
|
|
|
|
+ children:'ChildrenList',
|
|
|
|
+ value:'AdminId'
|
|
|
|
+ }"
|
|
|
|
+ :show-all-levels="false"
|
|
|
|
+ collapse-tags
|
|
|
|
+ clearable
|
|
|
|
+ filterable
|
|
|
|
+ @change="getList('search')">
|
|
|
|
+ </el-cascader>
|
|
<el-cascader
|
|
<el-cascader
|
|
v-model="varietyVal"
|
|
v-model="varietyVal"
|
|
:options="varietyOpt"
|
|
:options="varietyOpt"
|
|
@@ -21,6 +38,7 @@
|
|
}"
|
|
}"
|
|
placeholder="请选择阅读权限"
|
|
placeholder="请选择阅读权限"
|
|
@change="handleChangeVariety"
|
|
@change="handleChangeVariety"
|
|
|
|
+ style="margin-left:20px"
|
|
/>
|
|
/>
|
|
<el-input
|
|
<el-input
|
|
v-model="searchParams.Keywords"
|
|
v-model="searchParams.Keywords"
|
|
@@ -250,12 +268,17 @@ import reportVarietyEnSet from '@/components/reportVarietyEnSet.vue'
|
|
showSetVariety:false,
|
|
showSetVariety:false,
|
|
checkedVariety:[],
|
|
checkedVariety:[],
|
|
activeItem:{},//当前编辑权限的客户信息
|
|
activeItem:{},//当前编辑权限的客户信息
|
|
|
|
+
|
|
|
|
+ //销售筛选
|
|
|
|
+ sales:[],
|
|
|
|
+ salesArr:[]
|
|
}
|
|
}
|
|
},
|
|
},
|
|
created(){
|
|
created(){
|
|
this.getList()
|
|
this.getList()
|
|
this.getSellerList()
|
|
this.getSellerList()
|
|
this.getENReportVarietyOpts()
|
|
this.getENReportVarietyOpts()
|
|
|
|
+ this.getSale()
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
handleSaveVariety(){
|
|
handleSaveVariety(){
|
|
@@ -327,7 +350,11 @@ import reportVarietyEnSet from '@/components/reportVarietyEnSet.vue'
|
|
this.varietyVal&&this.varietyVal.forEach(_e => {
|
|
this.varietyVal&&this.varietyVal.forEach(_e => {
|
|
arr.push(_e[1])
|
|
arr.push(_e[1])
|
|
});
|
|
});
|
|
- customInterence.getCustomListEn({...this.searchParams,EnPermissionIds:arr.join(',')}).then(res=>{
|
|
|
|
|
|
+ customInterence.getCustomListEn({
|
|
|
|
+ ...this.searchParams,
|
|
|
|
+ EnPermissionIds:arr.join(','),
|
|
|
|
+ Sales:this.sales.join(',')
|
|
|
|
+ }).then(res=>{
|
|
// console.log(res);
|
|
// console.log(res);
|
|
if(res.Ret == 200){
|
|
if(res.Ret == 200){
|
|
this.dataList = res.Data.List || []
|
|
this.dataList = res.Data.List || []
|
|
@@ -508,7 +535,15 @@ import reportVarietyEnSet from '@/components/reportVarietyEnSet.vue'
|
|
this.$message.success(`${Enabled===1?'禁用':'启用'}成功`)
|
|
this.$message.success(`${Enabled===1?'禁用':'启用'}成功`)
|
|
this.getList()
|
|
this.getList()
|
|
})
|
|
})
|
|
- }
|
|
|
|
|
|
+ },
|
|
|
|
+ /* 获取销售 */
|
|
|
|
+ getSale() {
|
|
|
|
+ customInterence.getSale({Status:0}).then(res => {
|
|
|
|
+ if(res.Ret === 200) {
|
|
|
|
+ this.salesArr = res.Data.List||[];
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ },
|
|
},
|
|
},
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|