隐患(已验收)
parent
4bf6b7876d
commit
381de3b66d
|
@ -18,17 +18,19 @@
|
|||
</view>
|
||||
<scroll-view class="dy-scroll" @scrolltolower="scrolltolower" scroll-y :style="'top:'+sTop+'px;height:calc(100vh - '+totalHeight+'px)'">
|
||||
<view v-if="total>0" class="dy-list">
|
||||
<view v-for="(item,index) of list" :key="index" :data-id="item.HIDDEN_ID" class="dy-list-item p201 arrow" @click="$noMultipleClicks(gotRectify,item.HIDDEN_ID)">
|
||||
<view v-for="(item,index) of list" :key="index" :data-id="item.HIDDEN_ID" class="dy-list-item p201 arrow" @click="$noMultipleClicks(gotRectify,item)">
|
||||
<view class="dy-title-flex">
|
||||
<text v-if="item.HIDDENDESCR">{{item.HIDDENDESCR.length>15?item.HIDDENDESCR.substr(0,15)+'...':item.HIDDENDESCR}}</text>
|
||||
<text v-else>暂无</text>
|
||||
<text v-if="item.HIDDENLEVEL=='hiddenLevel0001'" class="cu-tag radius bg-yellow light">{{item.HIDDENLEVELNAME}}</text>
|
||||
<text v-else-if="item.HIDDENLEVEL=='hiddenLevel0002'" class="cu-tag radius bg-red light">{{item.HIDDENLEVELNAME}}</text>
|
||||
</view>
|
||||
<view class="dy-subtitle">
|
||||
<view class="dy-subtitle-flex">
|
||||
<text v-if="item.HIDDEN_RISKSTANDARD=='1'">风险排查清单检查</text>
|
||||
<text v-else-if="item.HIDDEN_RISKSTANDARD=='2'">隐患排查清单检查</text>
|
||||
<text v-if="item.SOURCE=='1'">来源:隐患快报</text>
|
||||
<text v-else-if="item.SOURCE=='2'">来源:隐患排查</text>
|
||||
<text v-else-if="item.SOURCE=='3'">来源:隐患排查</text>
|
||||
<text v-else-if="item.SOURCE=='2'">来源:清单排查</text>
|
||||
<text v-else-if="item.SOURCE=='3'">来源:清单排查</text>
|
||||
</view>
|
||||
<view class="dy-subtitle-flex">
|
||||
<text>整改人:{{item.RECTIFICATIONORNAME?item.RECTIFICATIONORNAME:'暂无'}}</text>
|
||||
|
@ -111,7 +113,7 @@
|
|||
});
|
||||
let DISPOSESTATE = 4;
|
||||
uni.request({
|
||||
url: basePath + '/app/hidden/list',
|
||||
url: basePath + '/app/hidden/listRiskStandard', // /app/hidden/list
|
||||
method: 'POST',
|
||||
dataType: 'json',
|
||||
header:{
|
||||
|
@ -184,9 +186,15 @@
|
|||
},
|
||||
//跳转事件
|
||||
gotRectify(e) {
|
||||
if (e.HIDDEN_RISKSTANDARD === '1') {
|
||||
uni.navigateTo({
|
||||
url: '/pages/application/hidden-danger-management/hidden-danger-record/hidden-danger-record-detail?id='+e,
|
||||
url: '/pages/application/hidden-danger-management/hidden-danger-record/hidden-danger-record-risk-detail?id='+e.HIDDEN_ID,
|
||||
});
|
||||
} else if (e.HIDDEN_RISKSTANDARD === '2') {
|
||||
uni.navigateTo({
|
||||
url: '/pages/application/hidden-danger-management/hidden-danger-record/hidden-danger-record-standard-detail?id='+e.HIDDEN_ID,
|
||||
});
|
||||
}
|
||||
},
|
||||
//跳转事件
|
||||
gotReview(e) {
|
||||
|
|
Loading…
Reference in New Issue