Browse Source

init

newStyle
lancer 2 years ago
parent
commit
df27ecba1d
4 changed files with 18 additions and 18 deletions
  1. +2
    -2
      src/views/Statistics/dataScreeAge.vue
  2. +2
    -2
      src/views/Statistics/dataScreeSys.vue
  3. +11
    -11
      src/views/Statistics/trend.vue
  4. +3
    -3
      src/views/building/Count.vue

+ 2
- 2
src/views/Statistics/dataScreeAge.vue View File

@@ -28,9 +28,9 @@
>
<el-option
v-for="item in houseList"
:key="item.id"
:key="item.orgCode"
:label="item.name"
:value="item.id"
:value="item.orgCode"
>
</el-option>
</el-select>


+ 2
- 2
src/views/Statistics/dataScreeSys.vue View File

@@ -27,9 +27,9 @@
>
<el-option
v-for="item in houseList"
:key="item.id"
:key="item.orgCode"
:label="item.name"
:value="item.id"
:value="item.orgCode"
>
</el-option>
</el-select>


+ 11
- 11
src/views/Statistics/trend.vue View File

@@ -145,7 +145,7 @@
<div class="container">
<div
class="grid-content"
@click="secondChange('receptionCount')"
@click="secondChange('receptionCount','接待客户/个')"
style="height: auto; padding-bottom: 10px"
>
<div
@@ -178,7 +178,7 @@
</div>
<div
class="grid-content"
@click="secondChange('avgDuration')"
@click="secondChange('avgDuration','平均接待时长/分钟')"
style="height: auto"
>
<div class="text1" :class="{ tophovese: secindex == 'avgDuration' }">
@@ -203,7 +203,7 @@
</div>
<div
class="grid-content"
@click="secondChange('prohibitedCustomer')"
@click="secondChange('prohibitedCustomer','违禁接待次数/次')"
style="height: auto; padding-bottom: 10px"
>
<div
@@ -236,7 +236,7 @@
</div>
<div
class="grid-content"
@click="secondChange('activeCustomer')"
@click="secondChange('activeCustomer','有效接待/次')"
style="height: auto; padding-bottom: 10px"
>
<div
@@ -269,7 +269,7 @@
</div>
<div
class="grid-content"
@click="secondChange('activeCustomerRate')"
@click="secondChange('activeCustomerRate','有效接待占比/%')"
style="height: auto; padding-bottom: 10px"
>
<div
@@ -302,7 +302,7 @@
</div>
<div
class="grid-content"
@click="secondChange('fraction')"
@click="secondChange('fraction','平均执行率/%')"
style="height: auto; padding-bottom: 10px"
>
<div class="text1" :class="{ tophovese: secindex == 'fraction' }">
@@ -443,10 +443,10 @@ export default {
// 将得到的三者的数据进行组装为一个数组
this.compare2 = res.data.thirdData;
}
this.getChars("receptionCount");
this.getChars("receptionCount",'接待客户/个');
});
},
async getChars(str) {
async getChars(str,str1) {
let obj = {
startDate: this.dateType ? "" : this.customtime[0],
endDate: this.dateType ? "" : this.customtime[1],
@@ -462,7 +462,7 @@ export default {
// console.log(res, str);
// return
// console.log(idx);
let Strname = ["时段一"];
let Strname = [str1];
let timeDate = [];
let arr1 = [];
// 判断是第几个然后对数据进行渲染
@@ -624,9 +624,9 @@ export default {
});
}
},
secondChange(i) {
secondChange(i,str) {
this.secindex = i;
this.getChars(i);
this.getChars(i,str);
},
confirmtime(e) {
this.dateType = null;


+ 3
- 3
src/views/building/Count.vue View File

@@ -86,7 +86,7 @@
@change="selChange"
>
<el-option label="公司名称" value="1"></el-option>
<el-option v-if="orgType==0" label="代理商名称" value="2"></el-option>
<el-option v-if="orgType==0&&activeTotal != 2" label="代理商名称" value="2"></el-option>
<el-option label="楼盘名称" value="3"></el-option>
</el-select>
</el-input>
@@ -181,8 +181,8 @@
<el-table v-if="activeTotal==2" :data="tableData" stripe style="width: 100%">
<el-table-column prop="orgName" label="公司名称" align="center">
</el-table-column>
<el-table-column prop="agentName" label="代理商" align="center">
</el-table-column>
<!-- <el-table-column prop="agentName" label="代理商" align="center">
</el-table-column> -->
<el-table-column prop="area" label="服务器内楼盘" align="center">
</el-table-column>
<el-table-column prop="onlineQuantity" label="在线设备" align="center">


Loading…
Cancel
Save