|
@@ -9,7 +9,7 @@
|
|
<view class="over">潜山</view>
|
|
<view class="over">潜山</view>
|
|
</view>
|
|
</view>
|
|
</block>
|
|
</block>
|
|
- <view class="topc flexc">
|
|
+ <view class="topc flexc" v-if="checkPermi(['idcard:idcard:list'])">
|
|
<image :src="secimg"></image>
|
|
<image :src="secimg"></image>
|
|
<input placeholder="请输入您要找的客户名称" confirm-type="search" v-model="usename" @confirm="getConfirm"/>
|
|
<input placeholder="请输入您要找的客户名称" confirm-type="search" v-model="usename" @confirm="getConfirm"/>
|
|
</view>
|
|
</view>
|
|
@@ -25,8 +25,8 @@
|
|
<view class="banbox mb12" v-if="bannerlist.length">
|
|
<view class="banbox mb12" v-if="bannerlist.length">
|
|
<banner :bannerlist="bannerlist"></banner>
|
|
<banner :bannerlist="bannerlist"></banner>
|
|
</view>
|
|
</view>
|
|
- <view class="grid">
|
|
+ <view class="grid" v-if="checkPermi(['system:system:user'])">
|
|
- <view class="grid-item-box" @click="getBusListFn(2)" v-if="checkPermi(['system:application:list'])">
|
|
+ <view class="grid-item-box" @click="getBusListFn(1)" v-if="checkPermi(['system:application:list'])">
|
|
<view class="img"><image :src="topaimg" class="imga"></image></view>
|
|
<view class="img"><image :src="topaimg" class="imga"></image></view>
|
|
<view>申报审核</view>
|
|
<view>申报审核</view>
|
|
</view>
|
|
</view>
|
|
@@ -65,29 +65,29 @@
|
|
<h-notice :noticelist="noticelist" :autoplay='autoplay' @getNoticeDet="getNoticeDet"></h-notice>
|
|
<h-notice :noticelist="noticelist" :autoplay='autoplay' @getNoticeDet="getNoticeDet"></h-notice>
|
|
</view>
|
|
</view>
|
|
<view class="addbox mb26">
|
|
<view class="addbox mb26">
|
|
- <view class="adda bga" v-if="checkPermi(['system:application:add'])" @click="getProveFn">
|
|
+ <view class="adda bga" v-if="checkPermi(['system:application:add'])&&checkPermi(['system:registered:user'])" @click="getProveFn">
|
|
<image :src="haddaimg"></image>
|
|
<image :src="haddaimg"></image>
|
|
<view class="tit">业务申报</view>
|
|
<view class="tit">业务申报</view>
|
|
<view class="txt">在线填写</view>
|
|
<view class="txt">在线填写</view>
|
|
</view>
|
|
</view>
|
|
- <view class="adda bgb" @click="getBuszcListFn" v-if="checkPermi(['system:application:list'])">
|
|
+ <view class="adda bgb" @click="getBuszcListFn" v-if="checkPermi(['system:application:list'])&&checkPermi(['system:registered:user'])">
|
|
<image :src="haddbimg"></image>
|
|
<image :src="haddbimg"></image>
|
|
<view class="tit">暂存申报</view>
|
|
<view class="tit">暂存申报</view>
|
|
<view class="txt">继续填报</view>
|
|
<view class="txt">继续填报</view>
|
|
</view>
|
|
</view>
|
|
<!-- 普通客户 -->
|
|
<!-- 普通客户 -->
|
|
- <view class="adda bgc" @click="getBusListFn(0,'my')" v-if="checkPermi(['system:application:list'])">
|
|
+ <view class="adda bgc" @click="getBusListFn(0,'my')" v-if="checkPermi(['system:application:list'])&&checkPermi(['system:registered:user'])">
|
|
<image :src="haddcimg"></image>
|
|
<image :src="haddcimg"></image>
|
|
<view class="tit">我的申报</view>
|
|
<view class="tit">我的申报</view>
|
|
<view class="txt">查看进度</view>
|
|
<view class="txt">查看进度</view>
|
|
</view>
|
|
</view>
|
|
- <view class="adda bgd" @click="getBushszListFn">
|
|
+ <view class="adda bgd" @click="getBushszListFn" v-if="checkPermi(['system:system:user'])">
|
|
<image :src="hadddimg"></image>
|
|
<image :src="hadddimg"></image>
|
|
<view class="tit">回收站</view>
|
|
<view class="tit">回收站</view>
|
|
<view class="txt">一键找回</view>
|
|
<view class="txt">一键找回</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="flexcj tabt pb12">
|
|
+ <view class="flexcj tabt pb12" v-if="checkPermi(['system:remind:list'])">
|
|
<view class="left">待办提醒(<text>{{total}}</text>)</view>
|
|
<view class="left">待办提醒(<text>{{total}}</text>)</view>
|
|
<view class="right flexc" @click="getBusListFn(0)" v-if="checkPermi(['system:application:list'])">更多<image :src="rimg"></image></view>
|
|
<view class="right flexc" @click="getBusListFn(0)" v-if="checkPermi(['system:application:list'])">更多<image :src="rimg"></image></view>
|
|
</view>
|
|
</view>
|
|
@@ -95,7 +95,7 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<!-- 代办提醒 -->
|
|
<!-- 代办提醒 -->
|
|
- <view class="hnbox">
|
|
+ <view class="hnbox" v-if="checkPermi(['system:remind:list'])">
|
|
<view class="hntabs flexc" :class="fixedflag?'tabfix':''" :style="fixedflag?'top:'+nvaHeight+'px;':''">
|
|
<view class="hntabs flexc" :class="fixedflag?'tabfix':''" :style="fixedflag?'top:'+nvaHeight+'px;':''">
|
|
<block v-for="(ite,idx) in tabList" :key="idx">
|
|
<block v-for="(ite,idx) in tabList" :key="idx">
|
|
<!-- v-if="checkPermi([ite.limit])" -->
|
|
<!-- v-if="checkPermi([ite.limit])" -->
|
|
@@ -118,7 +118,7 @@
|
|
import waitList from "@/components/wait/list.vue"
|
|
import waitList from "@/components/wait/list.vue"
|
|
let { calendar } = require("@/components/lunc-calendar/calendar.js");
|
|
let { calendar } = require("@/components/lunc-calendar/calendar.js");
|
|
import {getRemindList,getNoticeList,getbannerList} from "@/api/common.js"
|
|
import {getRemindList,getNoticeList,getbannerList} from "@/api/common.js"
|
|
- import {getOcrFn,getChangeFace} from "@/api/mine/card.js"
|
|
+ import {getChangeFace} from "@/api/mine/card.js"
|
|
import {getDictionaryFn} from "@/api/mine/register.js"
|
|
import {getDictionaryFn} from "@/api/mine/register.js"
|
|
import popUp from "@/components/popup/popup.vue"
|
|
import popUp from "@/components/popup/popup.vue"
|
|
import banner from "@/components/toptab/banner.vue"
|
|
import banner from "@/components/toptab/banner.vue"
|
|
@@ -193,7 +193,9 @@
|
|
uni.$off('refreshdatalist')
|
|
uni.$off('refreshdatalist')
|
|
},
|
|
},
|
|
onShow() {
|
|
onShow() {
|
|
- this.initFace=this.$store.state.user.initFace;
|
|
+ if(checkPermi(['system:registered:user'])&&!checkPermi(['system:system:user'])){
|
|
|
|
+ this.initFace=this.$store.state.user.initFace;
|
|
|
|
+ }
|
|
},
|
|
},
|
|
onLoad: function() {
|
|
onLoad: function() {
|
|
// uni.$on('refreshdatalist',(e) => {
|
|
// uni.$on('refreshdatalist',(e) => {
|
|
@@ -204,7 +206,9 @@
|
|
// })
|
|
// })
|
|
|
|
|
|
// this.init()
|
|
// this.init()
|
|
- this.getDataFn()
|
|
+ if(checkPermi(['system:remind:list'])){
|
|
|
|
+ this.getDataFn()
|
|
|
|
+ }
|
|
this.getNoticeFn()
|
|
this.getNoticeFn()
|
|
this.getbannerList()
|
|
this.getbannerList()
|
|
uni.getSystemInfo({
|
|
uni.getSystemInfo({
|