隐患(已验收)

pull/5/head
wangpeng 2024-02-03 16:18:00 +08:00
parent 4bf6b7876d
commit 381de3b66d
1 changed files with 17 additions and 9 deletions

View File

@ -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">
<text v-if="item.SOURCE=='1'"></text>
<text v-else-if="item.SOURCE=='2'">来源隐患排查</text>
<text v-else-if="item.SOURCE=='3'">来源隐患排查</text>
<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>
</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) {
uni.navigateTo({
url: '/pages/application/hidden-danger-management/hidden-danger-record/hidden-danger-record-detail?id='+e,
});
if (e.HIDDEN_RISKSTANDARD === '1') {
uni.navigateTo({
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) {