feat():安全监测功能开发

master
李神峰 2026-04-17 16:39:36 +08:00
parent c8a6ae71e1
commit b79c02aa4c
2 changed files with 9 additions and 5 deletions

View File

@ -10,8 +10,8 @@
></image> ></image>
</div> </div>
<div class="user"> <div class="user">
<div class="username">{{this.userList.userName}}</div> <div class="username">{{userList.userName}}</div>
<div class="userresponse">{{this.userList.orgList[0].orgName}}</div> <div class="userresponse">{{deptName}}</div>
</div> </div>
</view> </view>
<view class="funcBar"> <view class="funcBar">
@ -64,6 +64,12 @@
func: func, func: func,
default_src: uni.getStorageSync('avatar'), default_src: uni.getStorageSync('avatar'),
} }
},
computed: {
deptName() {
const d = this.userList && this.userList.orgList[0]
return (d && d.orgName) || ''
}
}, },
onShow() { onShow() {
this.setInsert() this.setInsert()

View File

@ -6,9 +6,7 @@
@click="tabsClick" @click="tabsClick"
:scrollable="false" :scrollable="false"
:activeStyle="{ :activeStyle="{
color: '#34a4fe', color: '#34a4fe'}"></u-tabs>
}"
></u-tabs>
</view> </view>
<view class="aqjc-content"> <view class="aqjc-content">
<Wyjc v-if = "status == 0" :tableData="wyTable"/> <Wyjc v-if = "status == 0" :tableData="wyTable"/>