Commit e83a0046 authored by 杨帆's avatar 杨帆

Dev yf'

parent 068d8e84
......@@ -177,73 +177,72 @@
@click="toRiskDetail(item)"
>
<!-- <van-col span="20"> -->
<van-col>
<van-image
<van-col>
<van-image
style="vertical-align: middle;margin-right: 15px;margin-left: 10px;"
width="58"
height="58"
:src="
item.level == '重大风险'
? require('@/assets/imgs/redInherent.png')
: item.level == '较大风险'
? require('@/assets/imgs/inherentOrange.png')
: item.level === '一般风险'
? require('@/assets/imgs/yellowInherent.png')
: require('@/assets/imgs/blueInherent.png')
"
/>
<!-- <van-image width="46" height="46" :src="item.avatar" /> -->
</van-col>
<van-col span="17">
<van-row gutter="0">
<van-col
span="10"
style="font-weight: bold;color:#000;font-size: 16px;"
>风险名称:</van-col
>
<van-col span="14" style="color: #000;font-size: 16px;">{{
item.name
}}</van-col>
</van-row>
<van-row gutter="0">
<van-col
span="9"
style="font-weight: bold;color:#666666;font-size: 12px;"
>风险等级:</van-col
>
<van-col
span="15"
style="color: #9d9d9d;font-size: 12px;"
>{{ item.level }}</van-col
>
</van-row>
<van-row gutter="0">
<van-col
span="9"
style="font-weight: bold;color:#666666;font-size: 12px;"
>上报时间:</van-col
>
<van-col
span="15"
style="color: #9d9d9d;font-size: 12px;"
>{{ timestampToTimes(item.createTime, "DT2") }}</van-col
>
</van-row>
<van-row gutter="0">
<van-col
span="9"
style="font-weight: bold;color:#666666;font-size: 12px;"
>所属房间:</van-col
>
<van-col
span="15"
style="color: #9d9d9d;font-size: 12px;"
>{{
item.buildingName + item.floorName + item.roomName
}}</van-col
>
</van-row>
</van-col>
width="58"
height="58"
:src="
item.level == '重大风险'
? require('@/assets/imgs/redInherent.png')
: item.level == '较大风险'
? require('@/assets/imgs/inherentOrange.png')
: item.level === '一般风险'
? require('@/assets/imgs/yellowInherent.png')
: require('@/assets/imgs/blueInherent.png')
"
/>
<!-- <van-image width="46" height="46" :src="item.avatar" /> -->
</van-col>
<van-col span="17">
<van-row gutter="0">
<van-col
span="10"
style="font-weight: bold;color:#000;font-size: 16px;"
>风险名称:</van-col
>
<van-col span="14" style="color: #000;font-size: 16px;">{{
item.name
}}</van-col>
</van-row>
<van-row gutter="0">
<van-col
span="9"
style="font-weight: bold;color:#666666;font-size: 12px;"
>风险等级:</van-col
>
<van-col
span="15"
style="color: #9d9d9d;font-size: 12px;"
>{{ item.level }}</van-col
>
</van-row>
<van-row gutter="0">
<van-col
span="9"
style="font-weight: bold;color:#666666;font-size: 12px;"
>上报时间:</van-col
>
<van-col
span="15"
style="color: #9d9d9d;font-size: 12px;"
>{{ timestampToTimes(item.createTime, "DT2") }}</van-col
>
</van-row>
<van-row gutter="0">
<van-col
span="9"
style="font-weight: bold;color:#666666;font-size: 12px;"
>所属房间:</van-col
>
<van-col
span="15"
style="color: #9d9d9d;font-size: 12px;"
>{{
item.buildingName + item.floorName + item.roomName
}}</van-col
>
</van-row>
</van-col>
<van-col span="4" class="list-right">
<van-tag plain type="primary"
......@@ -901,9 +900,9 @@ p {
font-weight: none;
z-index: 99;
}
.item-prop{
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
.item-prop {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
</style>
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