|
@@ -168,7 +168,7 @@
|
|
</svg>
|
|
</svg>
|
|
<div class="icon-word">财务模块</div>
|
|
<div class="icon-word">财务模块</div>
|
|
</div>
|
|
</div>
|
|
- <div class="icon-area" v-if="meunNames.includes('大中型行政审批')" @click="jumpDir('/income/major/declare/check')">
|
|
|
|
|
|
+ <div class="icon-area" v-if="meunNames.includes('行政审批')" @click="jumpDir('/administration')">
|
|
<svg t="1716175649139" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"
|
|
<svg t="1716175649139" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"
|
|
p-id="2070" width="48" height="48">
|
|
p-id="2070" width="48" height="48">
|
|
<path
|
|
<path
|
|
@@ -512,8 +512,8 @@
|
|
description="太棒了!暂无任务需要处理。"></el-empty>
|
|
description="太棒了!暂无任务需要处理。"></el-empty>
|
|
</div>
|
|
</div>
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
- <el-tab-pane name="majorCheck" v-if="meunNames.includes('大中型行政审批')">
|
|
|
|
- <span slot="label">大中型审批({{ majorDeclareCheckNum }})</span>
|
|
|
|
|
|
+ <el-tab-pane name="majorCheck" v-if="meunNames.includes('行政审批') && ifMajorDeclareCheck">
|
|
|
|
+ <span slot="label">大中型提成申报审批({{ majorDeclareCheckNum }})</span>
|
|
<div v-if="majorDeclareCheckList.length > 0">
|
|
<div v-if="majorDeclareCheckList.length > 0">
|
|
<div style="margin-top: 1%; margin-bottom: 2%;">
|
|
<div style="margin-top: 1%; margin-bottom: 2%;">
|
|
<svg t="1713513294985" class="icon" viewBox="0 0 1024 1024" version="1.1"
|
|
<svg t="1713513294985" class="icon" viewBox="0 0 1024 1024" version="1.1"
|
|
@@ -524,7 +524,7 @@
|
|
</svg>
|
|
</svg>
|
|
<span style="color: #e16531;margin-left: 3px;">您有{{ majorDeclareCheckNum }}条待处理任务</span>
|
|
<span style="color: #e16531;margin-left: 3px;">您有{{ majorDeclareCheckNum }}条待处理任务</span>
|
|
<el-button type="text" style="position: absolute; right:0.5%; top: 0;"
|
|
<el-button type="text" style="position: absolute; right:0.5%; top: 0;"
|
|
- @click="goToTodoPage('/income/major/declare/check')">查看更多<i
|
|
|
|
|
|
+ @click="goToTodoPage('/administration/major/declare/check/list')">查看更多<i
|
|
class="el-icon-arrow-right el-icon--right"></i></el-button>
|
|
class="el-icon-arrow-right el-icon--right"></i></el-button>
|
|
</div>
|
|
</div>
|
|
<div class="left-content">
|
|
<div class="left-content">
|
|
@@ -603,8 +603,8 @@
|
|
description="太棒了!暂无任务需要处理。"></el-empty>
|
|
description="太棒了!暂无任务需要处理。"></el-empty>
|
|
</div>
|
|
</div>
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
- <el-tab-pane name="assetsDeclareCheckList" v-if="meunNames.includes('资产绩效工资')">
|
|
|
|
- <span slot="label">资产绩效提成审批({{ assetsDeclareCheckNum }})</span>
|
|
|
|
|
|
+ <el-tab-pane name="assetsDeclareCheckList" v-if="meunNames.includes('行政审批') && ifAssetsDeclareCheck">
|
|
|
|
+ <span slot="label">资产提成申报审批({{ assetsDeclareCheckNum }})</span>
|
|
<div v-if="assetsDeclareCheckList.length > 0">
|
|
<div v-if="assetsDeclareCheckList.length > 0">
|
|
<div style="margin-top: 1%; margin-bottom: 2%;">
|
|
<div style="margin-top: 1%; margin-bottom: 2%;">
|
|
<svg t="1713513294985" class="icon" viewBox="0 0 1024 1024" version="1.1"
|
|
<svg t="1713513294985" class="icon" viewBox="0 0 1024 1024" version="1.1"
|
|
@@ -615,7 +615,7 @@
|
|
</svg>
|
|
</svg>
|
|
<span style="color: #e16531;margin-left: 3px;">您有{{ assetsDeclareCheckNum }}条待处理任务</span>
|
|
<span style="color: #e16531;margin-left: 3px;">您有{{ assetsDeclareCheckNum }}条待处理任务</span>
|
|
<el-button type="text" style="position: absolute; right:0.5%; top: 0;"
|
|
<el-button type="text" style="position: absolute; right:0.5%; top: 0;"
|
|
- @click="goToTodoPage('/income/assets/declare/check')">查看更多<i
|
|
|
|
|
|
+ @click="goToTodoPage('/administration/assets/declare/check/list')">查看更多<i
|
|
class="el-icon-arrow-right el-icon--right"></i></el-button>
|
|
class="el-icon-arrow-right el-icon--right"></i></el-button>
|
|
</div>
|
|
</div>
|
|
<div class="left-content">
|
|
<div class="left-content">
|
|
@@ -727,6 +727,8 @@ export default {
|
|
keyword: null,
|
|
keyword: null,
|
|
searchResults: [],
|
|
searchResults: [],
|
|
hasOpenBar: false,
|
|
hasOpenBar: false,
|
|
|
|
+ ifMajorDeclareCheck:false,
|
|
|
|
+ ifAssetsDeclareCheck:false
|
|
}
|
|
}
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
@@ -743,9 +745,21 @@ export default {
|
|
maxTodo.set("majorCheck", this.majorDeclareCheckNum);
|
|
maxTodo.set("majorCheck", this.majorDeclareCheckNum);
|
|
maxTodo.set("assetsDeclareCheckList", this.assetsDeclareCheckNum);
|
|
maxTodo.set("assetsDeclareCheckList", this.assetsDeclareCheckNum);
|
|
let maxKey = [...maxTodo.entries()].reduce((maxKey, [key, value]) => {
|
|
let maxKey = [...maxTodo.entries()].reduce((maxKey, [key, value]) => {
|
|
- return maxKey && maxTodo.get(maxKey) > value ? maxKey : key;
|
|
|
|
|
|
+ return maxKey && maxTodo.get(maxKey) > value ? maxKey : null;
|
|
}, 0);
|
|
}, 0);
|
|
- return maxKey;
|
|
|
|
|
|
+ if(maxKey){
|
|
|
|
+ return maxKey;
|
|
|
|
+ }
|
|
|
|
+ if (this.meunNames.includes('大中型业务')){
|
|
|
|
+ return "major";
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if (this.meunNames.includes('个贷业务')){
|
|
|
|
+ return "personal"; }
|
|
|
|
+
|
|
|
|
+ if (this.meunNames.includes('资产业务')){
|
|
|
|
+ return "assets";
|
|
|
|
+ }
|
|
},
|
|
},
|
|
set() { }
|
|
set() { }
|
|
|
|
|
|
@@ -758,8 +772,23 @@ export default {
|
|
deep: true,
|
|
deep: true,
|
|
handler(newv) {
|
|
handler(newv) {
|
|
this.meunNames = this.permission_menus.map(item => item.name);
|
|
this.meunNames = this.permission_menus.map(item => item.name);
|
|
|
|
+ const admin = this.permission_menus.filter(item => item.pcUrl === '/administration');
|
|
|
|
+ if (admin.length > 0) {
|
|
|
|
+ const adminType =admin[0].children.map(item => {
|
|
|
|
+ return item.menuCode;
|
|
|
|
+ });
|
|
|
|
+ console.log(adminType)
|
|
|
|
+
|
|
|
|
+ if (adminType.includes('_views_administration_major_declare_check_list')) {
|
|
|
|
+ this.ifMajorDeclareCheck = true;
|
|
|
|
+ }
|
|
|
|
+ if (adminType.includes('_views_administration_assets_declare_check_list')) {
|
|
|
|
+ this.ifAssetsDeclareCheck = true;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+
|
|
keyword: {
|
|
keyword: {
|
|
handler(newv) {
|
|
handler(newv) {
|
|
if (newv) {
|
|
if (newv) {
|
|
@@ -802,6 +831,10 @@ export default {
|
|
},
|
|
},
|
|
|
|
|
|
jumpDir(path) {
|
|
jumpDir(path) {
|
|
|
|
+ if (path==='/administration'){
|
|
|
|
+ const admin = this.permission_menus.filter(item => item.pcUrl === path);
|
|
|
|
+ path = admin[0].children[0].pcUrl;
|
|
|
|
+ }
|
|
this.$router.push({ path: path, query: {} });
|
|
this.$router.push({ path: path, query: {} });
|
|
},
|
|
},
|
|
getMajorTodoList() {
|
|
getMajorTodoList() {
|