|
|
@@ -39,7 +39,7 @@
|
|
|
<el-card class="box-card">
|
|
|
<div slot="header">
|
|
|
<span class="myTitle">业绩</span>
|
|
|
- <myRadio :value1="param1.content" key1="type" @clickBtn="getPerformance" :btnOptions="[{label:'本年',value:3},{label:'本季',value:2},{label:'本月',value:1}]">
|
|
|
+ <myRadio :value1="param1.content" :value2="param1.content.where" key1="type" @clickBtn="getPerformance" :btnOptions="[{label:'全部',value:0},{label:'本年',value:1},{label:'本季',value:2},{label:'本月',value:3}]">
|
|
|
</myRadio>
|
|
|
</div>
|
|
|
<myNewCard
|
|
|
@@ -84,7 +84,7 @@
|
|
|
<el-card class="box-card">
|
|
|
<div slot="header">
|
|
|
<span class="myTitle">订单</span>
|
|
|
- <myRadio :value1="param2.content" key1="isAll" @clickBtn="refreshTable('param2','dingdan')" :btnOptions="[{label:'全部',value:1},{label:'本年',value:0}]">
|
|
|
+ <myRadio :value1="param2.content" :value2="param2.content.where" key1="type" @clickBtn="refreshTable('param2','dingdan')" :btnOptions="[{label:'全部',value:0},{label:'本年',value:1},{label:'本季',value:2},{label:'本月',value:3}]">
|
|
|
</myRadio>
|
|
|
<el-select style="margin-left:24px" v-model="param2.content.where.type" clearable size="mini" placeholder="请选择订单类型" @change="typeChange('param2','dingdan')">
|
|
|
<el-option label="全部" value=""></el-option>
|
|
|
@@ -153,7 +153,7 @@
|
|
|
<el-card class="box-card">
|
|
|
<div slot="header">
|
|
|
<span class="myTitle">销售线索</span>
|
|
|
- <myRadio :value1="param3.content" key1="type" @clickBtn="refreshTable('param3','xiansuo');param8.content.type=param3.content.type;refreshTable('param8','fllow')" :btnOptions="[{label:'本年',value:3},{label:'本季',value:2},{label:'本月',value:1}]">
|
|
|
+ <myRadio :value1="param3.content" :value2="param3.content.where" key1="type" @clickBtn="refreshTable('param3','xiansuo');param8.content.type=param3.content.type;refreshTable('param8','fllow')" :btnOptions="[{label:'全部',value:0},{label:'本年',value:1},{label:'本季',value:2},{label:'本月',value:3}]">
|
|
|
</myRadio>
|
|
|
</div>
|
|
|
<myCard
|
|
|
@@ -210,7 +210,7 @@
|
|
|
<el-card class="box-card">
|
|
|
<div slot="header">
|
|
|
<span class="myTitle">客户</span>
|
|
|
- <myRadio :value1="param4.content" key1="type" @clickBtn="refreshTable('param4','kehu');param9.content.type=param4.content.type;refreshTable('param9','fllowkehu')" :btnOptions="[{label:'本年',value:3},{label:'本季',value:2},{label:'本月',value:1}]">
|
|
|
+ <myRadio :value1="param4.content" :value2="param4.content.where" key1="type" @clickBtn="refreshTable('param4','kehu');param9.content.type=param4.content.type;refreshTable('param9','fllowkehu')" :btnOptions="[{label:'全部',value:0},{label:'本年',value:1},{label:'本季',value:2},{label:'本月',value:3}]">
|
|
|
</myRadio>
|
|
|
</div>
|
|
|
<myCard
|
|
|
@@ -279,7 +279,7 @@
|
|
|
<el-card class="box-card">
|
|
|
<div slot="header">
|
|
|
<span class="myTitle">项目</span>
|
|
|
- <myRadio :value1="param5.content" key1="type" @clickBtn="refreshTable('param5','project');param10.content.type=param5.content.type;refreshTable('param10','projectfllow')" :btnOptions="[{label:'本年',value:3},{label:'本季',value:2},{label:'本月',value:1}]">
|
|
|
+ <myRadio :value1="param5.content" :value2="param5.content.where" key1="type" @clickBtn="refreshTable('param5','project');param10.content.type=param5.content.type;refreshTable('param10','projectfllow')" :btnOptions="[{label:'全部',value:0},{label:'本年',value:1},{label:'本季',value:2},{label:'本月',value:3}]">
|
|
|
</myRadio>
|
|
|
</div>
|
|
|
<myCard
|
|
|
@@ -353,7 +353,7 @@
|
|
|
<el-card class="box-card">
|
|
|
<div slot="header">
|
|
|
<span class="myTitle">报价单</span>
|
|
|
- <myRadio :value1="param6.content" key1="isAll" @clickBtn="refreshTable('param6','baojiadan')" :btnOptions="[{label:'全部',value:1},{label:'本年',value:0}]">
|
|
|
+ <myRadio :value1="param6.content" :value2="param6.content.where" key1="type" @clickBtn="refreshTable('param6','baojiadan')" :btnOptions="[{label:'全部',value:0},{label:'本年',value:1},{label:'本季',value:2},{label:'本月',value:3}]">
|
|
|
</myRadio>
|
|
|
</div>
|
|
|
<myCard
|
|
|
@@ -396,7 +396,7 @@
|
|
|
<el-card class="box-card">
|
|
|
<div slot="header">
|
|
|
<span class="myTitle">合同</span>
|
|
|
- <myRadio :value1="param7.content" key1="isAll" @clickBtn="refreshTable('param7','hetong')" :btnOptions="[{label:'全部',value:1},{label:'本年',value:0}]">
|
|
|
+ <myRadio :value1="param7.content" :value2="param7.content.where" key1="type" @clickBtn="refreshTable('param7','hetong')" :btnOptions="[{label:'全部',value:0},{label:'本年',value:1},{label:'本季',value:2},{label:'本月',value:3}]">
|
|
|
</myRadio>
|
|
|
<el-select style="margin-left:24px" v-model="param7.content.where.type" clearable size="mini" placeholder="请选择合同类型" @change="typeChange('param7','hetong')">
|
|
|
<el-option label="全部" value=""></el-option>
|
|
|
@@ -463,7 +463,11 @@ export default {
|
|
|
"id": 20230717100404,
|
|
|
"content": {
|
|
|
"type":3,
|
|
|
- "hrid":this.$route.query.id
|
|
|
+ "hrid":this.$route.query.id,
|
|
|
+ "where":{
|
|
|
+ "begdate":'',
|
|
|
+ "enddate":''
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
//订单
|
|
|
@@ -472,10 +476,12 @@ export default {
|
|
|
"content": {
|
|
|
"pageNumber": 1,
|
|
|
"pageSize": 20,
|
|
|
- "isAll":1,
|
|
|
+ "type":1,
|
|
|
"hrid":this.$route.query.id,
|
|
|
"where": {
|
|
|
- "type":''
|
|
|
+ "type":'',
|
|
|
+ "begdate":'',
|
|
|
+ "enddate":''
|
|
|
},
|
|
|
"sort":[{
|
|
|
"reversed": 1,//1降序,0升序
|
|
|
@@ -492,6 +498,10 @@ export default {
|
|
|
"pageSize": 20,
|
|
|
"type":3,
|
|
|
"hrid":this.$route.query.id,
|
|
|
+ "where":{
|
|
|
+ "begdate":'',
|
|
|
+ "enddate":''
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
//线索跟进
|
|
|
@@ -502,7 +512,12 @@ export default {
|
|
|
"pageSize": 20,
|
|
|
"type":3,
|
|
|
"hrid":this.$route.query.id,
|
|
|
- }
|
|
|
+ "where":{
|
|
|
+ "begdate":'',
|
|
|
+ "enddate":''
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
},
|
|
|
//客户
|
|
|
param4: {
|
|
|
@@ -512,6 +527,10 @@ export default {
|
|
|
"pageSize": 20,
|
|
|
"type":3,
|
|
|
"hrid":this.$route.query.id,
|
|
|
+ "where":{
|
|
|
+ "begdate":'',
|
|
|
+ "enddate":''
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
//客户跟进
|
|
|
@@ -522,6 +541,10 @@ export default {
|
|
|
"pageSize": 20,
|
|
|
"type":3,
|
|
|
"hrid":this.$route.query.id,
|
|
|
+ "where":{
|
|
|
+ "begdate":'',
|
|
|
+ "enddate":''
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
//项目
|
|
|
@@ -531,7 +554,11 @@ export default {
|
|
|
"pageNumber": 1,
|
|
|
"pageSize": 20,
|
|
|
"type":3,
|
|
|
- "hrid":this.$route.query.id
|
|
|
+ "hrid":this.$route.query.id,
|
|
|
+ "where":{
|
|
|
+ "begdate":'',
|
|
|
+ "enddate":''
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
//项目跟进
|
|
|
@@ -541,7 +568,11 @@ export default {
|
|
|
"pageNumber": 1,
|
|
|
"pageSize": 20,
|
|
|
"type":3,
|
|
|
- "hrid":this.$route.query.id
|
|
|
+ "hrid":this.$route.query.id,
|
|
|
+ "where":{
|
|
|
+ "begdate":'',
|
|
|
+ "enddate":''
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
//报价单
|
|
|
@@ -550,10 +581,12 @@ export default {
|
|
|
"content": {
|
|
|
"pageNumber": 1,
|
|
|
"pageSize": 20,
|
|
|
- "isAll":1,
|
|
|
+ "type":1,
|
|
|
"hrid":this.$route.query.id,
|
|
|
"where":{
|
|
|
- "type":""
|
|
|
+ "type":"",
|
|
|
+ "begdate":'',
|
|
|
+ "enddate":''
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -563,10 +596,12 @@ export default {
|
|
|
"content": {
|
|
|
"pageNumber": 1,
|
|
|
"pageSize": 20,
|
|
|
- "isAll":1,
|
|
|
+ "type":1,
|
|
|
"hrid":this.$route.query.id,
|
|
|
"where":{
|
|
|
- "type":""
|
|
|
+ "type":"",
|
|
|
+ "begdate":'',
|
|
|
+ "enddate":''
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -617,6 +652,16 @@ export default {
|
|
|
this.stageList = res3.data
|
|
|
},
|
|
|
refreshTable (param,el) {
|
|
|
+ if (param === 'param8'){
|
|
|
+ this.param8.content.where.begdate = this.param3.content.where.begdate
|
|
|
+ this.param8.content.where.enddate = this.param3.content.where.enddate
|
|
|
+ }else if (param === 'param9'){
|
|
|
+ this.param9.content.where.begdate = this.param4.content.where.begdate
|
|
|
+ this.param9.content.where.enddate = this.param4.content.where.enddate
|
|
|
+ }else if (param === 'param10'){
|
|
|
+ this.param10.content.where.begdate = this.param5.content.where.begdate
|
|
|
+ this.param10.content.where.enddate = this.param5.content.where.enddate
|
|
|
+ }
|
|
|
this[param].content.pageNumber = 1
|
|
|
this.$refs[el] && this.$refs[el].listData()
|
|
|
},
|