Commit efba5d09 by Kyle_Li

fix: 显示错误

parent 89ea3192
.list-content .el-input[data-v-74822357]{width:180px;margin-right:10px}.list-content .el-select[data-v-74822357]{width:148px;margin-right:10px}.list-content .el-date-picker[data-v-74822357]{margin-right:10px}.content-search[data-v-74822357]{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:20px}.content-data[data-v-74822357],.content-first[data-v-74822357],.content-search[data-v-74822357]{display:-webkit-box;display:-ms-flexbox;display:flex}.content-data[data-v-74822357]{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:20px}.color1[data-v-74822357]{color:#303133;font-size:16px;padding-right:15px;font-weight:500}.color2[data-v-74822357]{position:relative;color:#606266;font-size:14px;font-weight:400}.color2[data-v-74822357]:not(:first-of-type){padding-left:16px}.color2[data-v-74822357]:not(:first-of-type):before{content:"|";position:absolute;top:0;left:0;color:#dcdfe6}
\ No newline at end of file
.list-content .el-input[data-v-5880b990]{width:180px;margin-right:10px}.list-content .el-select[data-v-5880b990]{width:148px;margin-right:10px}.list-content .el-date-picker[data-v-5880b990]{margin-right:10px}.content-search[data-v-5880b990]{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:20px}.content-data[data-v-5880b990],.content-first[data-v-5880b990],.content-search[data-v-5880b990]{display:-webkit-box;display:-ms-flexbox;display:flex}.content-data[data-v-5880b990]{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:20px}.color1[data-v-5880b990]{color:#303133;font-size:16px;padding-right:15px;font-weight:500}.color2[data-v-5880b990]{position:relative;color:#606266;font-size:14px;font-weight:400}.color2[data-v-5880b990]:not(:first-of-type){padding-left:16px}.color2[data-v-5880b990]:not(:first-of-type):before{content:"|";position:absolute;top:0;left:0;color:#dcdfe6}
\ No newline at end of file
......@@ -22,8 +22,8 @@
</el-input>
<el-select v-model="search.performanceSubType" placeholder="全部指标类型" @change="searchChange">
<el-option :label="`${[ '业绩', '新增会员' ][tab - 1]}指标日权重`" value="1"></el-option>
<el-option :label="`${[ '业绩', '新增会员' ][tab - 1]}指标日指标`" value="2"></el-option>
<el-option :label="`${[ '业绩', '新增会员' ][activeName - 1]}指标日权重`" value="1"></el-option>
<el-option :label="`${[ '业绩', '新增会员' ][activeName - 1]}指标日指标`" value="2"></el-option>
</el-select>
<el-select v-model="search.flag" placeholder="全部状态" clearable @change="searchChange">
......@@ -91,8 +91,8 @@
</template>
</el-table-column>
<el-table-column label="业绩指标" show-overflow-tooltip>
<template slot="label">
{{ [ '业绩', '新增会员' ][tab - 1] }}指标
<template slot="header">
{{ [ '业绩', '新增会员' ][activeName - 1] }}指标
</template>
<template slot-scope="{row}">
{{ row.performanceValue ? `¥${row.performanceValue}` : '--' }}
......@@ -240,7 +240,7 @@ export default {
},
created() {
const { tab, applicationId, performanceYm } = this.$route.query;
// this.activeName = tab || '0';
this.activeName = tab || '0';
this.applicationId = applicationId;
const { staffId, wxEnterpriseId } = JSON.parse(localStorage.getItem('haoBanUser'));
this.haoban = { staffId, wxEnterpriseId, performanceType: tab, performanceYm };
......
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