diff --git a/main.js b/main.js index 5c6251d4..9aa0bcbe 100644 --- a/main.js +++ b/main.js @@ -36,17 +36,17 @@ if (process.env.NODE_ENV === 'development') { // 开发环境 console.log('开发环境') // Vue.prototype.url_config = 'http://47.93.215.234:9809/' // 鞍钢正式地址(弃用) - Vue.prototype.url_config = 'http://42.180.188.17:9809/' // 鞍钢正式地址 + // Vue.prototype.url_config = 'http://42.180.188.17:9809/' // 鞍钢正式地址 // Vue.prototype.url_config = 'http://42.180.188.17:11211/' // 鞍钢测试地址 // Vue.prototype.url_config = 'http://182.90.224.237:51234/' //雄哥内网穿透地址 // Vue.prototype.url_config = 'http://jxj.zhgdyun.com:61212/' //杰哥内网穿透地址 // Vue.prototype.url_config = ' http://192.168.34.221:28888/' //郭圣雄本地 // Vue.prototype.url_config = 'http://192.168.34.221:9111/' //郭圣雄本地 - // Vue.prototype.url_config = 'http://192.168.34.155:19111/' //彭洁本地 + Vue.prototype.url_config = 'http://192.168.34.155:19111/' //彭洁本地 // Vue.prototype.work_url = 'http://47.93.215.234:19997' // 工作流线上地址(弃用) - Vue.prototype.work_url = 'http://42.180.188.17:19997' // 工作流线上地址 + // Vue.prototype.work_url = 'http://42.180.188.17:19997' // 工作流线上地址 // Vue.prototype.work_url = 'http://42.180.188.17:19097' // 工作流测试地址 - // Vue.prototype.work_url = 'http://192.168.34.138:5173' // 工作流地址 + Vue.prototype.work_url = 'http://192.168.34.138:5173' // 工作流地址 // Vue.prototype.work_url = 'http://139.9.66.234:5173' // 工作流地址 // Vue.prototype.work_url = 'http://192.168.34.126:5173' // 工作流地址 // Vue.prototype.url_config = 'http://8.142.139.165:7080/' // 湖里 diff --git a/pages/projectEnd/projectIndex/projectIndex.vue b/pages/projectEnd/projectIndex/projectIndex.vue index 444949ec..cddb9adc 100644 --- a/pages/projectEnd/projectIndex/projectIndex.vue +++ b/pages/projectEnd/projectIndex/projectIndex.vue @@ -359,20 +359,20 @@ let jxjAppVersionNo = res2.result.versionNo if (res2.result && jxjAppVersionNo !== that.versionNo) { - - let name=res2.result.versionName;//新版本名称 - let code=res2.result.versionNo;//新版本号(数字) - let content=res2.result.versionDescribe;//更新内容 - let url=JSON.parse(res2.result.downloadUrl)[0].url;//app下载链接,(演示请换成真正在下载链接) - let forceUpdate=false;//是否强制更新 - checkVersion({ - name,//最新版本名称 - code,//最新版本号 - content,//更新内容 - url,//下载链接 - forceUpdate//是否强制升级 - }) - + + let name = res2.result.versionName; //新版本名称 + let code = res2.result.versionNo; //新版本号(数字) + let content = res2.result.versionDescribe; //更新内容 + let url = JSON.parse(res2.result.downloadUrl)[0].url; //app下载链接,(演示请换成真正在下载链接) + let forceUpdate = false; //是否强制更新 + checkVersion({ + name, //最新版本名称 + code, //最新版本号 + content, //更新内容 + url, //下载链接 + forceUpdate //是否强制升级 + }) + // uni.showModal({ // title: '版本更新', // content: '更新内容:' + res2.result.versionDescribe, @@ -690,11 +690,11 @@ url: '../progressManagement/index' }) break - // case 'dangerBroadcast': - // uni.navigateTo({ - // url: '../../alarmPage/index' - // }) - // break + // case 'dangerBroadcast': + // uni.navigateTo({ + // url: '../../alarmPage/index' + // }) + // break case 'dangerBroadcast': // uni.navigateTo({ // url: '../../alarmPage/indexTwo' @@ -792,6 +792,14 @@ method: 'POST', success(res) { if (res.success) { + console.log(uni.getStorageSync("userInfo"),777888) + uni.setStorageSync("userInfo", JSON.stringify({ + ...JSON.parse(uni.getStorageSync("userInfo")), + menuAuthority: { + menuList: res.result.menuList, + moduleList: res.result.moduleList + } + })) var all = res.result.moduleList; console.log("all", all); all.forEach((element, index) => { diff --git a/pages/projectEnd/visitorsManage/visitorsDetails.vue b/pages/projectEnd/visitorsManage/visitorsDetails.vue index 32357304..c58021c4 100644 --- a/pages/projectEnd/visitorsManage/visitorsDetails.vue +++ b/pages/projectEnd/visitorsManage/visitorsDetails.vue @@ -14,6 +14,18 @@ 访客身份证号 {{result.idCard}} + + 访问事由 + {{result.reason}} + + + 访问区域 + {{result.local}} + + + 车牌号 + {{result.carNumber}} + 预约人姓名 {{result.appointmentName}} @@ -118,7 +130,7 @@ .details { margin: 10px; background-color: #fff; - height: 380px; + height: auto; border-radius: 4px; .details-item { @@ -128,8 +140,13 @@ align-items: center; justify-content: space-between; padding: 0 15px; - - + span:nth-child(2){ + width: 65%; + text-align: right; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } } }