Browse Source

Merge branch 'test' into prod

shibei_master
jiangyy 4 years ago
parent
commit
7c29b56c1a
  1. 29
      src/views/modules/visual/heart/index.vue

29
src/views/modules/visual/heart/index.vue

@ -2,14 +2,12 @@
<div>
<div class="m-sizer">
<span>时间</span>
<el-date-picker
v-model="monthId"
<el-date-picker v-model="monthId"
type="month"
:clearable="false"
prefix-icon="el-icon-caret-bottom"
placeholder="选择日期"
value-format="yyyyMM"
>
value-format="yyyyMM">
</el-date-picker>
</div>
@ -22,13 +20,11 @@
</div>
<div class="tb">
<cpt-tb
:highlight-top3="true"
<cpt-tb :highlight-top3="true"
:col-list="tb3.colList"
:loading="tb3.loading"
:header="tb3.header"
:list="tb3.list"
></cpt-tb>
:list="tb3.list"></cpt-tb>
</div>
</cpt-card>
</div>
@ -41,13 +37,11 @@
</div>
<div class="tb">
<cpt-tb
:highlight-top3="true"
<cpt-tb :highlight-top3="true"
:col-list="tb2.colList"
:loading="tb2.loading"
:header="tb2.header"
:list="tb2.list"
></cpt-tb>
:list="tb2.list"></cpt-tb>
</div>
</cpt-card>
</div>
@ -60,13 +54,11 @@
</div>
<div class="tb">
<cpt-tb
:highlight-top3="true"
<cpt-tb :highlight-top3="true"
:col-list="tb1.colList"
:loading="tb1.loading"
:header="tb1.header"
:list="tb1.list"
></cpt-tb>
:list="tb1.list"></cpt-tb>
</div>
</cpt-card>
</div>
@ -229,8 +221,7 @@ export default {
//
async getTb1 () {
const { agencyId, areaCode } = this;
//const url = "/data/report/screen/index/advancedbranchrank";
const url = "/data/report/screen/index/advancedbranchrank-shibei";
const url = "/data/report/screen/index/advancedbranchrank";
let params = {
agencyId,
areaCode,
@ -244,7 +235,7 @@ export default {
if (code === 0) {
this.tb1.list = data.map((item) => {
return [{ type: "index" }, item.name, item.score];
return [{ type: "index" }, item.name, item.scroe];
});
this.tb1.srcList = data;
} else {

Loading…
Cancel
Save