Commit 59bb8b9c authored by wei's avatar wei

update

parent 3369fe2a
......@@ -179,7 +179,7 @@
<van-col span="5">
<van-image
width="46"
height="46"
height="76"
src="http://rongtongpc.censoft.com.cn/dev-api/profile/upload/2023/07/08/guyou.png"
/>
<!-- <van-image width="46" height="46" :src="item.avatar" /> -->
......@@ -189,6 +189,14 @@
<van-col span="9">风险名称:</van-col>
<van-col span="15">{{ item.name }}</van-col>
</van-row>
<van-row gutter="">
<van-col span="9">风险等级:</van-col>
<van-col span="15">{{ item.level}}</van-col>
</van-row>
<van-row gutter="">
<van-col span="9">上报时间:</van-col>
<van-col span="15">{{timestampToTimes(item.createTime, 'DT2') }}</van-col>
</van-row>
</van-col>
</van-col>
<van-col span="4">
......
......@@ -10,7 +10,7 @@
<van-field readonly required :value="InherentRisk.projectName" label="所属项目" placeholder="请输入" />
<van-field readonly required :value="InherentRisk.buildingName" label="所属建筑物" placeholder="请输入" />
<van-field required clickable name="floorId" :value="InherentRisk.floorId" label="所属楼层" placeholder="请选择"
<van-field required clickable name="floorId" :value="InherentRisk.floorName" label="所属楼层" placeholder="请选择"
:rules="[{ required: true, message: '所属楼层不能为空' }]" />
<div style="display: flex;">
<van-field readonly required name="roomName" :value="InherentRisk.roomName" label="所属房间" placeholder="请输入"
......
......@@ -104,13 +104,13 @@ export default {
return timestampToTime(new Date(time), "DT1", true);
},
goDetail(item){
sessionStorage.setItem('inherntId',this.inherentId)
this.$router.push({
name:'presentDetail',
params:{
isView:false,
}
})
// sessionStorage.setItem('inherntId',this.inherentId)
// this.$router.push({
// name:'presentDetail',
// params:{
// isView:false,
// }
// })
},
onClick(name){
if(name==='a'){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment