|
|
@@ -214,6 +214,7 @@ export default {
|
|
|
this.person = ''
|
|
|
const dataid = type == '0'?-1:this.departmentid
|
|
|
this.personData()
|
|
|
+ this.queryAllAgainData(dataid)
|
|
|
},
|
|
|
/*获取新的业务员列表*/
|
|
|
async personData(){
|
|
|
@@ -323,10 +324,22 @@ export default {
|
|
|
this.$refs.panelRef.param.content.dataid = id
|
|
|
this.$refs.panelRef.param.content.type = this.departmentid !== ''?1:0
|
|
|
this.$refs.panelRef.param.content.where.isleave = this.isleave
|
|
|
+ let year = new Date().getFullYear()
|
|
|
this.$refs.panelRef.paramChart.content.dataid = id
|
|
|
this.$refs.panelRef.paramChart.content.type = this.departmentid !== ''?1:0
|
|
|
this.$refs.panelRef.paramChart.content.where.isleave = this.isleave
|
|
|
- let year = new Date().getFullYear()
|
|
|
+ this.$refs.panelRef.paramChart.content.year = year
|
|
|
+ this.$refs.panelRef.paramShipmentChart.content.dataid = id
|
|
|
+ this.$refs.panelRef.paramShipmentChart.content.type = this.departmentid !== ''?1:0
|
|
|
+ this.$refs.panelRef.paramShipmentChart.content.where.isleave = this.isleave
|
|
|
+ this.$refs.panelRef.paramShipmentChart.content.year = year
|
|
|
+ this.$refs.panelRef.paramInvoiceChart.content.dataid = id
|
|
|
+ this.$refs.panelRef.paramInvoiceChart.content.type = this.departmentid !== ''?1:0
|
|
|
+ this.$refs.panelRef.paramInvoiceChart.content.where.isleave = this.isleave
|
|
|
+ this.$refs.panelRef.paramInvoiceChart.content.year = year
|
|
|
+ this.$refs.panelRef.paramRefundChart.content.dataid = id
|
|
|
+ this.$refs.panelRef.paramRefundChart.content.type = this.departmentid !== ''?1:0
|
|
|
+ this.$refs.panelRef.paramRefundChart.content.where.isleave = this.isleave
|
|
|
this.$refs.panelRef.$refs.pickerRef.value = String(year)
|
|
|
this.$refs.panelRef.listData(true)
|
|
|
|
|
|
@@ -363,6 +376,12 @@ export default {
|
|
|
this.$refs.profileRef.$refs.proTypRef.param.content.dataid = id
|
|
|
this.$refs.profileRef.$refs.proTypRef.param.content.type = this.departmentid !== ''?1:0
|
|
|
this.$refs.profileRef.$refs.proTypRef.param.content.where.isleave = this.isleave
|
|
|
+ this.$refs.profileRef.$refs.proFowRef.param.content.dataid = id
|
|
|
+ this.$refs.profileRef.$refs.proFowRef.param.content.type = this.departmentid !== ''?1:0
|
|
|
+ this.$refs.profileRef.$refs.proFowRef.param.content.where.isleave = this.isleave
|
|
|
+ this.$refs.profileRef.$refs.cusFowRef.param.content.dataid = id
|
|
|
+ this.$refs.profileRef.$refs.cusFowRef.param.content.type = this.departmentid !== ''?1:0
|
|
|
+ this.$refs.profileRef.$refs.cusFowRef.param.content.where.isleave = this.isleave
|
|
|
let currentDate = new Date(); // 获取当前日期
|
|
|
let startDate = new Date(currentDate.getFullYear(), currentDate.getMonth() ) // 计算起始日期
|
|
|
let endDate = currentDate.getFullYear() +'-' + 12 // 计算起始日期
|
|
|
@@ -394,10 +413,22 @@ export default {
|
|
|
this.$refs.panelRef.param.content.dataid = id
|
|
|
this.$refs.panelRef.param.content.type = this.departmentid !== ''?1:0
|
|
|
this.$refs.panelRef.param.content.where.isleave = this.isleave
|
|
|
+ let year = new Date().getFullYear()
|
|
|
this.$refs.panelRef.paramChart.content.dataid = id
|
|
|
this.$refs.panelRef.paramChart.content.type = this.departmentid !== ''?1:0
|
|
|
this.$refs.panelRef.paramChart.content.where.isleave = this.isleave
|
|
|
- let year = new Date().getFullYear()
|
|
|
+ this.$refs.panelRef.paramChart.content.year = year
|
|
|
+ this.$refs.panelRef.paramShipmentChart.content.dataid = id
|
|
|
+ this.$refs.panelRef.paramShipmentChart.content.type = this.departmentid !== ''?1:0
|
|
|
+ this.$refs.panelRef.paramShipmentChart.content.where.isleave = this.isleave
|
|
|
+ this.$refs.panelRef.paramShipmentChart.content.year = year
|
|
|
+ this.$refs.panelRef.paramInvoiceChart.content.dataid = id
|
|
|
+ this.$refs.panelRef.paramInvoiceChart.content.type = this.departmentid !== ''?1:0
|
|
|
+ this.$refs.panelRef.paramInvoiceChart.content.where.isleave = this.isleave
|
|
|
+ this.$refs.panelRef.paramInvoiceChart.content.year = year
|
|
|
+ this.$refs.panelRef.paramRefundChart.content.dataid = id
|
|
|
+ this.$refs.panelRef.paramRefundChart.content.type = this.departmentid !== ''?1:0
|
|
|
+ this.$refs.panelRef.paramRefundChart.content.where.isleave = this.isleave
|
|
|
this.$refs.panelRef.$refs.pickerRef.value = String(year)
|
|
|
this.$refs.panelRef.listData(false)
|
|
|
|
|
|
@@ -434,6 +465,12 @@ export default {
|
|
|
this.$refs.profileRef.$refs.proTypRef.param.content.dataid = id
|
|
|
this.$refs.profileRef.$refs.proTypRef.param.content.type = this.departmentid !== ''?1:0
|
|
|
this.$refs.profileRef.$refs.proTypRef.param.content.where.isleave = this.isleave
|
|
|
+ this.$refs.profileRef.$refs.proFowRef.param.content.dataid = id
|
|
|
+ this.$refs.profileRef.$refs.proFowRef.param.content.type = this.departmentid !== ''?1:0
|
|
|
+ this.$refs.profileRef.$refs.proFowRef.param.content.where.isleave = this.isleave
|
|
|
+ this.$refs.profileRef.$refs.cusFowRef.param.content.dataid = id
|
|
|
+ this.$refs.profileRef.$refs.cusFowRef.param.content.type = this.departmentid !== ''?1:0
|
|
|
+ this.$refs.profileRef.$refs.cusFowRef.param.content.where.isleave = this.isleave
|
|
|
let currentDate = new Date(); // 获取当前日期
|
|
|
let startDate = new Date(currentDate.getFullYear(), currentDate.getMonth() ) // 计算起始日期
|
|
|
let endDate = currentDate.getFullYear() +'-' + 12 // 计算起始日期
|
|
|
@@ -530,9 +567,9 @@ export default {
|
|
|
}
|
|
|
/deep/ .el-input {
|
|
|
position: relative;
|
|
|
- font-size: 14px;
|
|
|
+ font-size: 0.729vw;
|
|
|
display: inline-block;
|
|
|
- width: 140px;
|
|
|
+ width: 6.292vw;
|
|
|
}
|
|
|
/deep/ .el-input__inner {
|
|
|
-webkit-appearance: none;
|
|
|
@@ -542,14 +579,14 @@ export default {
|
|
|
color: #c6d6e4;
|
|
|
display: inline-block;
|
|
|
font-size: inherit;
|
|
|
- height: 40px;
|
|
|
- line-height: 40px;
|
|
|
+ height: 1.583vw;
|
|
|
+ line-height: 1.583vw;
|
|
|
outline: 0;
|
|
|
- padding: 0 15px;
|
|
|
+ padding: 0 0.781vw;
|
|
|
transition: border-color .2s cubic-bezier(.645, .045, .355, 1);
|
|
|
width: 100%;
|
|
|
- box-shadow: 0px 3px 6px 1px rgba(0,0,0,0.16);
|
|
|
- border-radius: 6px 6px 6px 6px;
|
|
|
- border: 1px solid #CFDCE5;
|
|
|
+ box-shadow: 0.000vw 0.156vw 0.313vw 0.052vw rgba(0,0,0,0.16);
|
|
|
+ border-radius: 0.313vw 0.313vw 0.313vw 0.313vw;
|
|
|
+ border: 0.052vw solid #CFDCE5;
|
|
|
}
|
|
|
</style>
|