| @@ -122,7 +122,10 @@ | |||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| <div :style="{'margin-top':role != 3?'150px':'110px'}" v-if="consultantlistid"> | |||||
| <div | |||||
| :style="{ 'margin-top': role != 3 ? '150px' : '110px' }" | |||||
| v-if="consultantlistid" | |||||
| > | |||||
| <div class="app-box-san"> | <div class="app-box-san"> | ||||
| <div class="zuo"> | <div class="zuo"> | ||||
| <div class="title"> | <div class="title"> | ||||
| @@ -333,29 +336,40 @@ | |||||
| > | > | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| <div style="padding:10px;background: #fff;"> | |||||
| <el-table :header-cell-style="{background:'#F5F7FA',color:'#333333'}" :data="tableData" stripe style="width: 100%"> | |||||
| <el-table-column prop="statDate" label="日期" align="center"> | |||||
| <template slot-scope="scope"> | |||||
| {{ | |||||
| scope.$index == tableData.length - 1 | |||||
| ? "合计/平均" | |||||
| : scope.row.statDate.substring(0, 10) | |||||
| }} | |||||
| <!-- {{scope.$index}} --> | |||||
| </template> | |||||
| </el-table-column> | |||||
| <el-table-column prop="activeCustomer" label="接待量" align="center"> | |||||
| <template slot-scope="{ row }"> | |||||
| {{ row.activeCustomer }}次 | |||||
| </template> | |||||
| </el-table-column> | |||||
| <el-table-column | |||||
| v-if="tabFlag == 1" | |||||
| prop="prohibitedCustomer" | |||||
| label="违禁接待次数" | |||||
| align="center" | |||||
| <div style="padding: 10px; background: #fff"> | |||||
| <el-table | |||||
| :header-cell-style="{ background: '#F5F7FA', color: '#333333' }" | |||||
| :data="tableData" | |||||
| stripe | |||||
| style="width: 100%" | |||||
| > | > | ||||
| <el-table-column prop="statDate" label="日期" align="center"> | |||||
| <template slot-scope="scope"> | |||||
| {{ | |||||
| scope.$index == tableData.length - 1 | |||||
| ? "合计/平均" | |||||
| : scope.row.statDate.substring(0, 10) | |||||
| }} | |||||
| <!-- {{scope.$index}} --> | |||||
| </template> | |||||
| </el-table-column> | |||||
| <el-table-column | |||||
| prop="activeCustomer" | |||||
| label="接待量" | |||||
| align="center" | |||||
| > | |||||
| <template slot-scope="{ row }"> | |||||
| {{ row.activeCustomer }}次 | |||||
| </template> | |||||
| </el-table-column> | |||||
| <el-table-column | |||||
| v-if="tabFlag == 1" | |||||
| prop="prohibitedCustomer" | |||||
| label="违禁接待次数" | |||||
| align="center" | |||||
| > | |||||
| </el-table-column | |||||
| >> | |||||
| <el-table-column prop="statDate" label="日期" align="center"> | <el-table-column prop="statDate" label="日期" align="center"> | ||||
| <template slot-scope="scope"> | <template slot-scope="scope"> | ||||
| {{ | {{ | ||||