diff --git a/src/router/ebiz/institutionalPerform.js b/src/router/ebiz/institutionalPerform.js index d6f75f023..00093131d 100644 --- a/src/router/ebiz/institutionalPerform.js +++ b/src/router/ebiz/institutionalPerform.js @@ -9,6 +9,7 @@ const ServiceDepartOffice = () => import('@/views/ebiz/institutionalPerform/Serv const RegionalOffice = () => import('@/views/ebiz/institutionalPerform/RegionalOffice') const InstitutionalManpower = () => import('@/views/ebiz/institutionalPerform/InstitutionalManpower') +const institutionalPerform = () => import('@/views/ebiz/institutionalPerform/institutionalPerform') export default [ // 分公司 { @@ -91,20 +92,21 @@ export default [ } }, { - //活动人力 - path: '/institutionalPerform/institutionalManpower/:manageLv/:manageCode', + path: '/institutionalPerform/InstitutionalManpower/:manageLv/:manageCode', name: 'InstitutionalManpower', component: InstitutionalManpower, meta: { title: '机构业绩', index: 1 } - // children: [ - // { - // path: '/:manageCode', - // component: InstitutionalManpower, - // name: 'InstitutionalManpower1' - // } - // ] + }, + { + path: '/institutionalPerform/InstitutionalPerform/:manageLv/:manageCode', + name: 'institutionalPerform', + component: institutionalPerform, + meta: { + title: '机构业绩', + index: 1 + } } ] diff --git a/src/views/ebiz/institutionalPerform/InstitutionalManpower/index.vue b/src/views/ebiz/institutionalPerform/InstitutionalManpower/index.vue index 8c00cfa2b..b9b8c4e79 100644 --- a/src/views/ebiz/institutionalPerform/InstitutionalManpower/index.vue +++ b/src/views/ebiz/institutionalPerform/InstitutionalManpower/index.vue @@ -124,7 +124,10 @@ export default { reload () { this.manageLv=this.$route.params.manageLv; this.manageCode=this.$route.params.manageCode - + this.queryColumns.forEach(() => { + + this.items.push('0') + }) this.getlComPremDetil() }, formatterYear(type, val) { @@ -138,7 +141,7 @@ export default { if (name == 0) { //this.curMainType = '02' this.$router.push({ - path: '/institutionalPerform/UnderOffice' + path: '/institutionalPerform/InstitutionalPerform/02/8645' }) } diff --git a/src/views/ebiz/institutionalPerform/institutionalPerform/components/Selectors.vue b/src/views/ebiz/institutionalPerform/institutionalPerform/components/Selectors.vue new file mode 100644 index 000000000..d8abc55db --- /dev/null +++ b/src/views/ebiz/institutionalPerform/institutionalPerform/components/Selectors.vue @@ -0,0 +1,199 @@ + + + + diff --git a/src/views/ebiz/institutionalPerform/institutionalPerform/components/js/util.js b/src/views/ebiz/institutionalPerform/institutionalPerform/components/js/util.js new file mode 100644 index 000000000..c9ad87785 --- /dev/null +++ b/src/views/ebiz/institutionalPerform/institutionalPerform/components/js/util.js @@ -0,0 +1,15 @@ +export default { + add0(m) { + return m < 10 ? '0' + m : m + }, + getLastDay(y, m) { + y = y || new Date().getFullYear() + m = m || new Date().getMonth() + return new Date(y, m + 1, 0).getDate() + }, + getMonthLastDay(y, m) { + y = y || new Date().getFullYear() + m = m || new Date().getMonth() + return y + '-' + this.add0(m + 1) + '-' + new Date(y, m + 1, 0).getDate() + } +} diff --git a/src/views/ebiz/institutionalPerform/institutionalPerform/css/InstitutionalManpower.scss b/src/views/ebiz/institutionalPerform/institutionalPerform/css/InstitutionalManpower.scss new file mode 100644 index 000000000..0d9c95f28 --- /dev/null +++ b/src/views/ebiz/institutionalPerform/institutionalPerform/css/InstitutionalManpower.scss @@ -0,0 +1,8 @@ +.van-row { + line-height: 1.6rem; +} +.van-tabs__nav--card .van-tab { + &:last-child { + border-right: none !important; + } +} diff --git a/src/views/ebiz/institutionalPerform/institutionalPerform/index.vue b/src/views/ebiz/institutionalPerform/institutionalPerform/index.vue new file mode 100644 index 000000000..5fdfe4c6e --- /dev/null +++ b/src/views/ebiz/institutionalPerform/institutionalPerform/index.vue @@ -0,0 +1,378 @@ + + + +