Commit 259a2bbd authored by yf's avatar yf

修改bug

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