fix: BUG修改

This commit is contained in:
kun 2024-05-19 19:17:58 +08:00
parent 1712ddc49f
commit 3c7f065acc
3 changed files with 51 additions and 26 deletions

View File

@ -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/' // 湖里

View File

@ -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) => {

View File

@ -14,6 +14,18 @@
<span>访客身份证号</span>
<span>{{result.idCard}}</span>
</view>
<view class="details-item">
<span>访问事由</span>
<span>{{result.reason}}</span>
</view>
<view class="details-item">
<span>访问区域</span>
<span>{{result.local}}</span>
</view>
<view class="details-item">
<span>车牌号</span>
<span>{{result.carNumber}}</span>
</view>
<view class="details-item">
<span>预约人姓名</span>
<span>{{result.appointmentName}}</span>
@ -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;
}
}
}