@@ -150,9 +150,6 @@
methods: {
getList(ids) {
this.$api.doRequest('get', '/identityAuthenticationInfo/api/getIdentityAuthenticationInfo', this.parameter, 'application/json;charset=UTF-8').then(res => {
- console.log("成功连接")
- // this.procurementPlanInfos = res.data.data
-
this.deptList = res.data.data
if(this.deptList.businessLicenseAddressUrl != ""){
@@ -354,10 +354,28 @@
return;
}
- if (item.url) {
- uni.navigateTo({
- url: item.url + `?companyId=${that.companyId}`
+ if (!this.hasLogin) {
+ uni.showModal({
+ title: '登录提示',
+ content: '您尚未登录,是否立即登录?',
+ showCancel: true,
+ confirmText: '登录',
+ success: (e) => {
+ if (e.confirm) {
+ uni.navigateTo({
+ url: '/pages/public/login'
+ })
+ }
+ },
+ fail: () => {},
+ complete: () => {}
})
+ }else {
+ if (item.url) {
+ url: item.url + `?companyId=${that.companyId}`
},
toLogin() {