Merge remote-tracking branch 'remotes/origin/feature/【机构人力排名】' into dev

This commit is contained in:
na.guo
2020-08-07 14:41:37 +08:00
9 changed files with 120 additions and 218 deletions

View File

@@ -80,13 +80,13 @@
<th>操作</th>
</tr>
<tr>
<th class="white td-1" style="width:4.3em">1</th>
<th class="td-2">合计</th>
<th>{{ ysbbTotal.toFixed(2) }}</th>
<th>{{ bzbfTotol.toFixed(2) }}</th>
<th>{{ cbbfTotal.toFixed(2) }}</th>
<th>{{ ysjsTotal }}</th>
<th>{{ cbjsTotal }}</th>
<td class="td-1 white" style="width:3em">1</td>
<td class="td-2">合计</td>
<td>{{ ysbbTotal.toFixed(2) }}</td>
<td>{{ bzbfTotol.toFixed(2) }}</td>
<td>{{ cbbfTotal.toFixed(2) }}</td>
<td>{{ ysjsTotal }}</td>
<td>{{ cbjsTotal }}</td>
</tr>
<tr v-for="(item, index) in tableData" :key="index">
<td class="td-1">{{ index + 1 }}</td>
@@ -115,6 +115,7 @@ import refreshLogo from '@/assets/images/ebiz/refresh.png'
import calendar from '@/assets/images/ebiz/calendar.png'
import point from '@/assets/images/ebiz/point.png'
import { Tabs, Tab } from 'vant'
import MinXin from '@/views/ebiz/institutionalPerform/InstitutionalManpower/components/js/mixins'
export default {
name: 'districtOffice',
components: {
@@ -357,24 +358,7 @@ export default {
.catch(err => {})
}
},
created() {
setTimeout(() => {
// eslint-disable-next-line no-undef
EWebBridge.webCallAppInJs('webview_right_button', {
btns: [
{
img: this.$assetsUrl + 'images/ebiz/refresh.png',
route: {
flag: '',
extra: {
url: location.origin + '/#/institutionalPerform/BranchOffice'
}
}
}
]
})
}, 1000)
},
mounted() {
setInterval(this.getCurrentDate(), 1000 * 60)
this.timeVal = this.$route.query.timeVal || ''
@@ -428,7 +412,7 @@ export default {
border-right: 0;
}
table td {
text-align: center;
text-align: right;
border-width: 1px;
padding: 8px;
// border-style: solid;
@@ -437,6 +421,9 @@ export default {
border-top: 0;
border-left: 0;
border-right: 0;
&:nth-child(2) {
text-align: center;
}
}
table {
border: 0;

View File

@@ -77,13 +77,13 @@
<th>操作</th>
</tr>
<tr>
<th class="td-1 white" style="width:4.3em">1</th>
<th class="td-2">合计</th>
<th>{{ ysbbTotal.toFixed(2) }}</th>
<th>{{ bzbfTotol.toFixed(2) }}</th>
<th>{{ cbbfTotal.toFixed(2) }}</th>
<th>{{ ysjsTotal }}</th>
<th>{{ cbjsTotal }}</th>
<td class="td-1 white" style="width:3em">1</td>
<td class="td-2">合计</td>
<td>{{ ysbbTotal.toFixed(2) }}</td>
<td>{{ bzbfTotol.toFixed(2) }}</td>
<td>{{ cbbfTotal.toFixed(2) }}</td>
<td>{{ ysjsTotal }}</td>
<td>{{ cbjsTotal }}</td>
</tr>
<tr v-for="(item, index) in tableData" :key="index">
<td class="td-1">{{ index + 1 }}</td>
@@ -112,6 +112,7 @@ import refreshLogo from '@/assets/images/ebiz/refresh.png'
import calendar from '@/assets/images/ebiz/calendar.png'
import point from '@/assets/images/ebiz/point.png'
import { Tabs, Tab } from 'vant'
import MinXin from '@/views/ebiz/institutionalPerform/InstitutionalManpower/components/js/mixins'
export default {
name: 'districtOffice',
components: {
@@ -353,24 +354,7 @@ export default {
.catch(err => {})
}
},
created() {
setTimeout(() => {
// eslint-disable-next-line no-undef
EWebBridge.webCallAppInJs('webview_right_button', {
btns: [
{
img: this.$assetsUrl + 'images/ebiz/refresh.png',
route: {
flag: '',
extra: {
url: location.origin + '/#/institutionalPerform/BranchOffice'
}
}
}
]
})
}, 1000)
},
mounted() {
setInterval(this.getCurrentDate(), 1000 * 60)
this.getlComPremDetil()
@@ -426,7 +410,7 @@ export default {
border-right: 0;
}
table td {
text-align: center;
text-align: right;
border-width: 1px;
padding: 8px;
// border-style: solid;
@@ -435,6 +419,9 @@ export default {
border-top: 0;
border-left: 0;
border-right: 0;
&:nth-child(2) {
text-align: center;
}
}
table {
border: 0;

View File

@@ -77,13 +77,13 @@
<th>操作</th>
</tr>
<tr>
<th class="td-1 white" style="width:4.3em">1</th>
<th class="td-2">合计</th>
<th>{{ ysbbTotal.toFixed(2) }}</th>
<th>{{ bzbfTotol.toFixed(2) }}</th>
<th>{{ cbbfTotal.toFixed(2) }}</th>
<th>{{ ysjsTotal }}</th>
<th>{{ cbjsTotal }}</th>
<td class="td-1 white" style="width:3em">1</td>
<td class="td-2">合计</td>
<td>{{ ysbbTotal.toFixed(2) }}</td>
<td>{{ bzbfTotol.toFixed(2) }}</td>
<td>{{ cbbfTotal.toFixed(2) }}</td>
<td>{{ ysjsTotal }}</td>
<td>{{ cbjsTotal }}</td>
</tr>
<tr v-for="(item, index) in tableData" :key="index">
<td class="td-1">{{ index + 1 }}</td>
@@ -112,6 +112,7 @@ import refreshLogo from '@/assets/images/ebiz/refresh.png'
import calendar from '@/assets/images/ebiz/calendar.png'
import point from '@/assets/images/ebiz/point.png'
import { Tabs, Tab } from 'vant'
import MinXin from '@/views/ebiz/institutionalPerform/InstitutionalManpower/components/js/mixins'
export default {
name: 'districtOffice',
components: {
@@ -354,24 +355,7 @@ export default {
.catch(err => {})
}
},
created() {
setTimeout(() => {
// eslint-disable-next-line no-undef
EWebBridge.webCallAppInJs('webview_right_button', {
btns: [
{
img: this.$assetsUrl + 'images/ebiz/refresh.png',
route: {
flag: '',
extra: {
url: location.origin + '/#/institutionalPerform/BranchOffice'
}
}
}
]
})
}, 1000)
},
mounted() {
setInterval(this.getCurrentDate(), 1000 * 60)
this.timeVal = this.$route.query.timeVal || ''
@@ -425,7 +409,7 @@ export default {
border-right: 0;
}
table td {
text-align: center;
text-align: right;
border-width: 1px;
padding: 8px;
// border-style: solid;
@@ -434,6 +418,9 @@ export default {
border-top: 0;
border-left: 0;
border-right: 0;
&:nth-child(2) {
text-align: center;
}
}
table {
border: 0;

View File

@@ -0,0 +1,20 @@
import getApp from '@/assets/js/utils/getApp'
const myMixin = {
methods: {
//页面返回服务页
appCallBack(data) {
if (data.trigger == 'right_button_click') {
this.$jump({
flag: 'service'
})
}
}
},
created() {
var that = this
getApp.closeBtn(that)
window.appCallBack = this.appCallBack
}
}
export default myMixin

View File

@@ -56,7 +56,8 @@
import Selectors from '@/views/ebiz/institutionalPerform/InstitutionalManpower/components/Selectors'
import util from '@/views/ebiz/institutionalPerform/InstitutionalManpower/components/js/util'
import { branchOfficeApi } from '@/api/ebiz/branchOffice/branchOffice'
import getApp from '@/assets/js/utils/getApp'
import MinXin from '@/views/ebiz/institutionalPerform/InstitutionalManpower/components/js/mixins';
import { Tabs, Tab } from 'vant'
export default {
name: 'InstitutionalManpower',
@@ -65,6 +66,7 @@ export default {
[Tabs.name]: Tabs,
[Tab.name]: Tab
},
mixins: [MinXin],
data() {
return {
sortType: '1',
@@ -107,7 +109,7 @@ export default {
this.items = [sum1, sum2, sum3, sum4]
})
this.items = this.items.map(item => {
return item.toFixed(2)
return item
})
}
}
@@ -209,40 +211,9 @@ export default {
})
.catch(err => {})
},
//页面返回服务页
appCallBack(data) {
if (data.trigger == 'right_button_click') {
this.$jump({
flag: 'service'
})
}
}
},
created() {
var that=this
getApp.closeBtn(that)
window.appCallBack=this.appCallBack
// setTimeout(() => {
// // eslint-disable-next-line no-undef
// EWebBridge.webCallAppInJs('webview_right_button', {
// btns: [
// {
// img: 'images/refresh.png',
// route: {
// flag: '',
// extra: {
// url: location.origin + '/#/institutionalPerform/BranchOffice'
// }
// }
// }
// ]
// })
// }, 1000)
},
mounted() {
// this.timeVal=this.$route.query.timeVal||""
// this.showText=this.$route.query.showText
@@ -304,7 +275,9 @@ export default {
table td {
text-align: right;
padding:8px;
&:nth-child(2){
text-align: center;
}
}
table .title th {

View File

@@ -76,13 +76,13 @@
<th>承保件数</th>
</tr>
<tr>
<th class="td-1 white" style="width:4.3em">1</th>
<th class="td-2">合计</th>
<th>{{ ysbbTotal.toFixed(2) }}</th>
<th>{{ bzbfTotol.toFixed(2) }}</th>
<th>{{ cbbfTotal.toFixed(2) }}</th>
<th>{{ ysjsTotal }}</th>
<th>{{ cbjsTotal }}</th>
<td class="td-1 white" style="width:3em">1</td>
<td class="td-2">合计</td>
<td>{{ ysbbTotal.toFixed(2) }}</td>
<td>{{ bzbfTotol.toFixed(2) }}</td>
<td>{{ cbbfTotal.toFixed(2) }}</td>
<td>{{ ysjsTotal }}</td>
<td>{{ cbjsTotal }}</td>
</tr>
<tr v-for="(item, index) in tableData" :key="index">
<td class="td-1">{{ index + 1 }}</td>
@@ -108,6 +108,7 @@ import refreshLogo from '@/assets/images/ebiz/refresh.png'
import calendar from '@/assets/images/ebiz/calendar.png'
import point from '@/assets/images/ebiz/point.png'
import { Tabs, Tab } from 'vant'
import MinXin from '@/views/ebiz/institutionalPerform/InstitutionalManpower/components/js/mixins'
export default {
name: 'districtOffice',
components: {
@@ -339,24 +340,7 @@ export default {
.catch(err => {})
}
},
created() {
setTimeout(() => {
// eslint-disable-next-line no-undef
EWebBridge.webCallAppInJs('webview_right_button', {
btns: [
{
img: this.$assetsUrl + 'images/ebiz/refresh.png',
route: {
flag: '',
extra: {
url: location.origin + '/#/institutionalPerform/BranchOffice'
}
}
}
]
})
}, 1000)
},
mounted() {
setInterval(this.getCurrentDate(), 1000 * 60)
this.timeVal = this.$route.query.timeVal || ''
@@ -410,7 +394,7 @@ export default {
border-right: 0;
}
table td {
text-align: center;
text-align: right;
border-width: 1px;
padding: 8px;
// border-style: solid;
@@ -419,6 +403,9 @@ export default {
border-top: 0;
border-left: 0;
border-right: 0;
&:nth-child(2) {
text-align: center;
}
}
table {
border: 0;

View File

@@ -77,13 +77,13 @@
<th>操作</th>
</tr>
<tr>
<th class="td-1 white" style="width:4.3em">1</th>
<th class="td-2">合计</th>
<th>{{ ysbbTotal.toFixed(2) }}</th>
<th>{{ bzbfTotol.toFixed(2) }}</th>
<th>{{ cbbfTotal.toFixed(2) }}</th>
<th>{{ ysjsTotal }}</th>
<th>{{ cbjsTotal }}</th>
<td class="td-1 white" style="width:3em">1</td>
<td class="td-2">合计</td>
<td>{{ ysbbTotal.toFixed(2) }}</td>
<td>{{ bzbfTotol.toFixed(2) }}</td>
<td>{{ cbbfTotal.toFixed(2) }}</td>
<td>{{ ysjsTotal }}</td>
<td>{{ cbjsTotal }}</td>
</tr>
<tr v-for="(item, index) in tableData" :key="index">
<td class="td-1">{{ index + 1 }}</td>
@@ -112,6 +112,7 @@ import refreshLogo from '@/assets/images/ebiz/refresh.png'
import calendar from '@/assets/images/ebiz/calendar.png'
import point from '@/assets/images/ebiz/point.png'
import { Tabs, Tab } from 'vant'
import MinXin from '@/views/ebiz/institutionalPerform/InstitutionalManpower/components/js/mixins'
export default {
name: 'districtOffice',
components: {
@@ -354,24 +355,7 @@ export default {
.catch(err => {})
}
},
created() {
setTimeout(() => {
// eslint-disable-next-line no-undef
EWebBridge.webCallAppInJs('webview_right_button', {
btns: [
{
img: this.$assetsUrl + 'images/ebiz/refresh.png',
route: {
flag: '',
extra: {
url: location.origin + '/#/institutionalPerform/BranchOffice'
}
}
}
]
})
}, 1000)
},
mounted() {
setInterval(this.getCurrentDate(), 1000 * 60)
this.timeVal = this.$route.query.timeVal || ''
@@ -425,7 +409,7 @@ export default {
border-right: 0;
}
table td {
text-align: center;
text-align: right;
border-width: 1px;
padding: 8px;
// border-style: solid;
@@ -434,6 +418,9 @@ export default {
border-top: 0;
border-left: 0;
border-right: 0;
&:nth-child(2) {
text-align: center;
}
}
table {
border: 0;

View File

@@ -77,13 +77,13 @@
<th>操作</th>
</tr>
<tr>
<th class="td-1 white" style="width:4.3em">1</th>
<th class="td-2">合计</th>
<th>{{ ysbbTotal.toFixed(2) }}</th>
<th>{{ bzbfTotol.toFixed(2) }}</th>
<th>{{ cbbfTotal.toFixed(2) }}</th>
<th>{{ ysjsTotal }}</th>
<th>{{ cbjsTotal }}</th>
<td class="td-1 white" style="width:3em">1</td>
<td class="td-2">合计</td>
<td>{{ ysbbTotal.toFixed(2) }}</td>
<td>{{ bzbfTotol.toFixed(2) }}</td>
<td>{{ cbbfTotal.toFixed(2) }}</td>
<td>{{ ysjsTotal }}</td>
<td>{{ cbjsTotal }}</td>
</tr>
<tr v-for="(item, index) in tableData" :key="index">
<td class="td-1">{{ index + 1 }}</td>
@@ -112,6 +112,7 @@ import refreshLogo from '@/assets/images/ebiz/refresh.png'
import calendar from '@/assets/images/ebiz/calendar.png'
import point from '@/assets/images/ebiz/point.png'
import { Tabs, Tab } from 'vant'
import MinXin from '@/views/ebiz/institutionalPerform/InstitutionalManpower/components/js/mixins'
export default {
name: 'districtOffice',
components: {
@@ -352,24 +353,7 @@ export default {
.catch(err => {})
}
},
created() {
setTimeout(() => {
// eslint-disable-next-line no-undef
EWebBridge.webCallAppInJs('webview_right_button', {
btns: [
{
img: this.$assetsUrl + 'images/ebiz/refresh.png',
route: {
flag: '',
extra: {
url: location.origin + '/#/institutionalPerform/BranchOffice'
}
}
}
]
})
}, 1000)
},
mounted() {
setInterval(this.getCurrentDate(), 1000 * 60)
this.timeVal = this.$route.query.timeVal || ''
@@ -423,7 +407,7 @@ export default {
border-right: 0;
}
table td {
text-align: center;
text-align: right;
border-width: 1px;
padding: 8px;
// border-style: solid;
@@ -432,6 +416,9 @@ export default {
border-top: 0;
border-left: 0;
border-right: 0;
&:nth-child(2) {
text-align: center;
}
}
table {
border: 0;

View File

@@ -77,13 +77,13 @@
<th>操作</th>
</tr>
<tr>
<th class="td-1 white" style="width:3em">1</th>
<th class="td-2">合计</th>
<th>{{ ysbbTotal.toFixed(2) }}</th>
<th>{{ bzbfTotol.toFixed(2) }}</th>
<th>{{ cbbfTotal.toFixed(2) }}</th>
<th>{{ ysjsTotal }}</th>
<th>{{ cbjsTotal }}</th>
<td class="td-1 white" style="width:3em">1</td>
<td class="td-2">合计</td>
<td>{{ ysbbTotal.toFixed(2) }}</td>
<td>{{ bzbfTotol.toFixed(2) }}</td>
<td>{{ cbbfTotal.toFixed(2) }}</td>
<td>{{ ysjsTotal }}</td>
<td>{{ cbjsTotal }}</td>
</tr>
<tr v-for="(item, index) in tableData" :key="index">
<td class="td-1">{{ index + 1 }}</td>
@@ -112,6 +112,7 @@ import refreshLogo from '@/assets/images/ebiz/refresh.png'
import calendar from '@/assets/images/ebiz/calendar.png'
import point from '@/assets/images/ebiz/point.png'
import { Tabs, Tab } from 'vant'
import MinXin from '@/views/ebiz/institutionalPerform/InstitutionalManpower/components/js/mixins'
export default {
name: 'districtOffice',
components: {
@@ -119,6 +120,7 @@ export default {
[Tabs.name]: Tabs,
[Tab.name]: Tab
},
mixins: [MinXin],
data() {
return {
showText: true,
@@ -354,24 +356,6 @@ export default {
.catch(err => {})
}
},
created() {
setTimeout(() => {
// eslint-disable-next-line no-undef
EWebBridge.webCallAppInJs('webview_right_button', {
btns: [
{
img: this.$assetsUrl + 'images/ebiz/refresh.png',
route: {
flag: '',
extra: {
url: location.origin + '/#/institutionalPerform/BranchOffice'
}
}
}
]
})
}, 1000)
},
mounted() {
// this.timeVal=this.$route.query.timeVal||""
// this.showText=this.$route.query.showText
@@ -434,7 +418,7 @@ export default {
border-right: 0;
}
table td {
text-align: center;
text-align: right;
border-width: 1px;
padding: 8px;
// border-style: solid;
@@ -443,6 +427,9 @@ export default {
border-top: 0;
border-left: 0;
border-right: 0;
&:nth-child(2) {
text-align: center;
}
}
table {
border: 0;