Commit 11c9b048 authored by 吴春's avatar 吴春

1

parent 097110fb
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
range-separator="至" range-separator="至"
start-placeholder="开始日期" start-placeholder="开始日期"
end-placeholder="结束日期" end-placeholder="结束日期"
value-format="yyyy/MM/dd" value-format="yyyy-MM-dd"
:clearable="false" :clearable="false"
:picker-options="pickerOptions" :picker-options="pickerOptions"
> >
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
{{ x.title }} {{ x.title }}
</div> </div>
</div> </div>
<div class="sub-title q-my-md">今日实时数据</div> <div class="sub-title q-my-md">今日实时数据 </div>
<div class="card rounded big"> <div class="card rounded big">
<div style="margin: 0 12px;"> <div style="margin: 0 12px;">
<div class="sub-title">今日客户数据</div> <div class="sub-title">今日客户数据</div>
...@@ -79,11 +79,12 @@ ...@@ -79,11 +79,12 @@
<div class="data-items col NumCursorP" @click="goUrl(1)"> <div class="data-items col NumCursorP" @click="goUrl(1)">
<div>客户总数</div> <div>客户总数</div>
<div class="num" style="margin: 6px 0;"> <div class="num" style="margin: 6px 0;">
<span class="datanum"> <span class="datanum" style="">
<template v-if="customerObj"> <template v-if="customerObj">
{{ customerObj.TotalCustomerCount }} {{ customerObj.TotalCustomerCount }}
</template> </template>
</span> </span>
<span ></span>
<span></span> <span></span>
</div> </div>
<div class="text-info">&nbsp;</div> <div class="text-info">&nbsp;</div>
...@@ -889,17 +890,39 @@ export default { ...@@ -889,17 +890,39 @@ export default {
mounted() {}, mounted() {},
methods: { methods: {
goUrl(type) { goUrl(type) {
let query= { if(this.parameters.CusType==1&&(type==1||type==2)) {
CStartDate: this.parameters.dateRange[0],
CEndDate: this.parameters.dateRange[1], var CStartTime="";
BranchId: this.parameters.branchId, var CEndDate="";
RB_Department_Id:this.parameters.RB_Department_Id, if(type==2){
EmployeeId:this.parameters.empId, var CStartTime=this.parameters.dateRange[0];
blank: "y", var CEndDate=this.parameters.dateRange[1];
}
if(this.parameters.CusType==0){
this.OpenNewPage('/salesVolumeRank',query);
} }
let query= {
CStartTime: CStartTime,
CEndDate: CEndDate,
// EnterTime:this.parameters,
BranchId: this.parameters.branchId+"",
// RB_Department_Id:this.parameters.RB_Department_Id,
EnterID:this.parameters.empId,
blank: "y",
}
this.OpenNewPage('/directCustomerList',query);
}
else{
let query= {
CStartDate: this.parameters.dateRange[0],
CEndDate: this.parameters.dateRange[1],
BranchId: this.parameters.branchId,
RB_Department_Id:this.parameters.RB_Department_Id,
EmployeeId:this.parameters.empId,
blank: "y",
}
if(this.parameters.CusType==0){
this.OpenNewPage('/salesVolumeRank',query);
}
}
}, },
changeDepart(node, instanceId){ changeDepart(node, instanceId){
this.parameters.RB_Department_Id=node.DepartmentId; this.parameters.RB_Department_Id=node.DepartmentId;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment