|
@@ -175,6 +175,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="ztit">安徽中新云计算有限公司提供支持</view>
|
|
|
+ <pop-up :initFace="initFace" @getClose="getClose" @getXxwsFn="getXxwsFn"></pop-up>
|
|
|
<footers v-if="isfootflag" :footerindex="footerindex" :isHomeIndex="false"></footers>
|
|
|
|
|
|
</view>
|
|
@@ -183,6 +184,7 @@
|
|
|
<script>
|
|
|
import storage from '@/utils/storage'
|
|
|
import footers from '@/components/footer/footer.vue'
|
|
|
+ import popUp from "@/components/popup/popup.vue"
|
|
|
import {getCount} from "@/api/common.js"
|
|
|
import {updateUserProfile,findVersion} from "@/api/system/user.js"
|
|
|
import {checkPermi,checkRole} from "@/utils/permission"; // 权限判断函数
|
|
@@ -233,10 +235,11 @@
|
|
|
monthtime:'',//月份
|
|
|
yearcont:{},
|
|
|
monthcont:{},
|
|
|
+ initFace:'Y',//initFace Y不需要,N需要人脸认证
|
|
|
}
|
|
|
},
|
|
|
components: {
|
|
|
- footers
|
|
|
+ footers,popUp
|
|
|
},
|
|
|
computed: {
|
|
|
avatar() {
|
|
@@ -267,7 +270,9 @@
|
|
|
}
|
|
|
// #ifdef APP-PLUS
|
|
|
plus.runtime.getProperty(plus.runtime.appid, function(widgetInfo) {
|
|
|
- that.$store.dispatch('SetwgtFn', widgetInfo.version).then(() => {})
|
|
|
+ that.$store.dispatch('SetwgtFn', widgetInfo.version).then(() => {
|
|
|
+ that.wgtcode=widgetInfo.version
|
|
|
+ })
|
|
|
});
|
|
|
// #endif
|
|
|
},
|
|
@@ -333,9 +338,28 @@
|
|
|
}
|
|
|
}).exec();
|
|
|
},
|
|
|
+ getClose(){
|
|
|
+ this.initFace='Y';
|
|
|
+ this.$store.dispatch('checkInitFace', this.initFace).then(() => {
|
|
|
+
|
|
|
+ })
|
|
|
+ },
|
|
|
+ getXxwsFn(){
|
|
|
+ this.$tab.navigateTo(`/work/pages/prove/index`)
|
|
|
+ },
|
|
|
//业务申报
|
|
|
handleToAddYwsb(){
|
|
|
- this.$tab.navigateTo("/work/pages/prove/zctype")
|
|
|
+ if(checkPermi(['system:registered:user'])&&!checkPermi(['system:system:user'])){
|
|
|
+ this.$store.dispatch('GetInfo').then(vres => {
|
|
|
+ this.initFace=this.$store.state.user.initFace;
|
|
|
+ if(this.initFace=='Y'){
|
|
|
+ this.$tab.navigateTo("/work/pages/prove/zctype")
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }else{
|
|
|
+ this.$tab.navigateTo("/work/pages/prove/zctype")
|
|
|
+ }
|
|
|
+
|
|
|
},
|
|
|
//我的申报
|
|
|
handleToMysb(){
|
|
@@ -388,7 +412,9 @@
|
|
|
onlineWgt() {
|
|
|
let that = this;
|
|
|
plus.runtime.getProperty(plus.runtime.appid, function(widgetInfo) {
|
|
|
- that.$store.dispatch('SetwgtFn', widgetInfo.version).then(() => {})
|
|
|
+ that.$store.dispatch('SetwgtFn', widgetInfo.version).then(() => {
|
|
|
+ that.wgtcode=widgetInfo.version
|
|
|
+ })
|
|
|
that.comparisonVersionNo(widgetInfo.versionCode);
|
|
|
});
|
|
|
// that.comparisonVersionNo()
|