mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-16 06:26:44 +08:00
fix: 个险业绩修改点
1. 外勤排名+姓名两栏固定;机构排名+机构固定
This commit is contained in:
@@ -64,12 +64,12 @@
|
||||
<div class="pcenter-list">
|
||||
<table class="myTable" style="min-width: 160vw;" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<th v-for="(thead, index) in theads" :key="index">{{ thead }}</th>
|
||||
<th v-for="(thead, index) in theads" :class="{ 'sticky-col': index <= 1 }" :key="index">{{ thead }}</th>
|
||||
</tr>
|
||||
<template v-if="isInner">
|
||||
<tr v-for="(org, i) in organizationData" :key="i" :class="{ hidden: i >= 5 && !idMoreDataShow }">
|
||||
<td>{{ i + 1 }}</td>
|
||||
<td class="org-name">{{ org.name | blankFilter }}</td>
|
||||
<td class="sticky-col">{{ i + 1 }}</td>
|
||||
<td class="org-name sticky-col">{{ org.name | blankFilter }}</td>
|
||||
<td>{{ org.ysbfDay | blankFilter }}</td>
|
||||
<td>{{ org.ysbfMon | blankFilter }}</td>
|
||||
<td>{{ org.cbbfDay | blankFilter }}</td>
|
||||
@@ -84,8 +84,8 @@
|
||||
</template>
|
||||
<template v-else>
|
||||
<tr v-for="(org, i) in performanceData" :key="i" :class="{ hidden: i >= 5 && !idMoreDataShow }">
|
||||
<td>{{ org.rank | blankFilter }}</td>
|
||||
<td>{{ org.name | blankFilter }}</td>
|
||||
<td class="sticky-col">{{ org.rank | blankFilter }}</td>
|
||||
<td class="sticky-col">{{ org.name | blankFilter }}</td>
|
||||
<td class="org-name">{{ org.comName | blankFilter }}</td>
|
||||
<td>{{ org.ysbb | blankFilter }}</td>
|
||||
<td>{{ org.bzbf | blankFilter }}</td>
|
||||
@@ -147,7 +147,7 @@ export default {
|
||||
isGoodStart: true,
|
||||
isInner: false,
|
||||
organizationTheads: ['排名', '机构', '当日预收(标保)', '月预收标保', '日承保标保', '月承保标保'],
|
||||
performanceTheads: ['排名', '姓名', '营销服务部', '预收标保', '承保标保'],
|
||||
performanceTheads: ['排名', '姓名', '营销服务部', '预收规保', '承保标保'],
|
||||
organizationData: [],
|
||||
performanceData: []
|
||||
}
|
||||
@@ -273,6 +273,19 @@ export default {
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
th.sticky-col:nth-of-type(1),
|
||||
td.sticky-col:nth-of-type(1) {
|
||||
width: 50px;
|
||||
position: sticky;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
th.sticky-col:nth-of-type(2),
|
||||
td.sticky-col:nth-of-type(2) {
|
||||
position: sticky;
|
||||
left: 59px;
|
||||
}
|
||||
|
||||
.home-product-container {
|
||||
background-color: #ffffff;
|
||||
.home-product-selected-item {
|
||||
@@ -328,6 +341,7 @@ export default {
|
||||
padding: 10px 5px;
|
||||
background-color: #fff3f1;
|
||||
color: #d84535;
|
||||
font-size: 14px;
|
||||
}
|
||||
th {
|
||||
border: none;
|
||||
|
||||
Reference in New Issue
Block a user