更新sn显示异常

This commit is contained in:
moleier 2024-04-23 18:32:00 +08:00
parent 570432c388
commit 20d7674bca

View File

@ -12,7 +12,7 @@
自定义隐患
</view>
</view> -->
<view class="dangerLibrary-content flex" id="scroll-panel">
<view class="dangerLibrary-nav">
<scroll-view class="smallHeight" :scroll-into-view="leftIntoView" scroll-y>
@ -43,7 +43,7 @@
<view class="pre-btn" @tap="previewRule(item)">
检查依据
</view>
<uni-icons type="arrowdown" style="transition: all 0.3s linear;" :class="{'down': !item.isShow, 'up': item.isShow}" color="#6C7178" @tap="showCard(item)"/>
</view>
</view>
@ -59,7 +59,7 @@
</view>
</view>
</view>
<!-- <view class="others-list">
<view class="others-item" :class="{'b-bottom': item !== 10}" v-for="item in 10" :key="item">
<view class="others-detail flex">
@ -84,7 +84,7 @@
</view>
</template>
</dialogs>
<dialogs ref="dialogs2">
<template v-slot:content>
<view class="dialog-title">
@ -178,9 +178,9 @@
this.moduleType = val.moduleType
},
onShow(val){
this.statusBarHeight=uni.getStorageSync('systemInfo').statusBarHeight;
this.headquartersSn = JSON.parse(uni.getStorageSync('userInfo')).headquartersSn
this.headquartersSn = uni.getStorageSync('company').headquartersSn
this.initData()
console.log(JSON.parse(uni.getStorageSync('userInfo')))
},
@ -230,11 +230,11 @@
checkNav(val){
console.log('点击事件触发了吗',val);
this.leftIndex = val
if(this.navList[val].children && this.navList[val].children.length >= 1) {
this.rightNavList = this.navList[val].children
console.log('列表数据',this.rightNavLis);
console.log(this.navList[val].children, '-----分类列表数据')
this.navList[val].children.forEach(item=>{
item.isShow = false
@ -243,7 +243,7 @@
this.rightNavList = []
}
},
checkNavChildren(val) {
console.log('子类调用参数',val);
@ -253,7 +253,7 @@
url: './addExamine?type='+this.type+'&taskId=' + this.taskId + '&itemId=' + this.itemId + '&engineeringId=' + this.engineeringId + '&moduleType=' + this.moduleType
})
},
previewRule(e){
previewRule(e){
console.log('列表数据 点击数据:',e);
this.sendRequest({
url: 'xmgl/inspectHiddenDangerItemRecord/selectHiddenDangerItemRecordList',
@ -267,7 +267,7 @@
console.log(res.result, '-----分类子项详情')
}
})
},
addDanger(e){
this.$refs.dialogs2.showFn()
@ -417,7 +417,7 @@
width: 140rpx;
}
}
}
}
.others-list{
@ -445,7 +445,7 @@
line-height: 40px;
border-bottom: 1px solid #ccc;
}
.add-form{
margin-bottom: 48rpx;
.form-item{