风险管控排查问题修复
parent
ea5511557e
commit
e00f386f42
|
@ -19,30 +19,26 @@
|
|||
<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="gotRectify(item)">
|
||||
<view class="dy-subtitle-flex">
|
||||
<text v-if="item.SOURCE=='1'">隐患来源:隐患快报</text>
|
||||
<text>{{ '隐患描述:' + (item.HIDDENDESCR ? (item.HIDDENDESCR.length > 15 ? item.HIDDENDESCR.substr(0, 15) + '...' : item.HIDDENDESCR) : '暂无') }}</text>
|
||||
</view>
|
||||
<view class="dy-subtitle">
|
||||
<text>隐患级别:</text>
|
||||
<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>
|
||||
<text v-if="item.HIDDENLEVEL=='hiddenLevel0002'&&item.ISCONFIRM=='0'" class="cu-tag radius bg-grey light">未确认</text>
|
||||
<text v-if="item.HIDDENLEVEL=='hiddenLevel0002'&&item.ISCONFIRM=='1'" class="cu-tag radius bg-green light">已确认</text>
|
||||
</view>
|
||||
<view class="dy-subtitle">
|
||||
<view class="dy-subtitle-flex">
|
||||
<text v-if="item.SOURCE=='4' || item.SOURCE=='5'">安全环保检查</text>
|
||||
<text v-else-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=='4'">隐患来源:安全环保检查</text>
|
||||
<text v-else-if="item.SOURCE=='5'">隐患来源:安全环保检查</text>
|
||||
</view>
|
||||
<view class="dy-subtitle-flex">
|
||||
<text>整改人:{{item.RECTIFICATIONORNAME?item.RECTIFICATIONORNAME:'暂无'}}</text>
|
||||
</view>
|
||||
<view class="dy-subtitle-flex">
|
||||
<text>整改时间: {{item.RECTIFICATIONTIME}}</text>
|
||||
<text class="text-gray f20">{{item.RECTIFICATIONTIME}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
@ -189,7 +185,11 @@
|
|||
},
|
||||
//跳转事件
|
||||
gotRectify(e) {
|
||||
if (e.HIDDEN_RISKSTANDARD === '1') {
|
||||
if (e.SOURCE === '4' || e.SOURCE === '5') {
|
||||
uni.navigateTo({
|
||||
url: '/pages/application/hidden-danger-management/hidden-danger-check/hidden-danger-check-detail?id='+e.HIDDEN_ID,
|
||||
});
|
||||
} else if (e.HIDDEN_RISKSTANDARD === '1') {
|
||||
uni.navigateTo({
|
||||
url: '/pages/application/hidden-danger-management/hidden-danger-check/hidden-danger-check-risk-detail?id='+e.HIDDEN_ID,
|
||||
});
|
||||
|
|
|
@ -19,35 +19,25 @@
|
|||
<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="gotRectify(item)">
|
||||
<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">
|
||||
<view class="dy-subtitle-flex">
|
||||
<text>隐患描述:</text>
|
||||
<text v-if="item.HIDDENDESCR" class="hidden-desc-text">{{item.HIDDENDESCR.length>15?item.HIDDENDESCR.substr(0,15)+'...':item.HIDDENDESCR}}</text>
|
||||
<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>
|
||||
<view class="dy-subtitle">
|
||||
<view class="dy-subtitle-flex">
|
||||
<text v-if="item.SOURCE=='4' || item.SOURCE=='5'">安全环保检查</text>
|
||||
<text v-else-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=='4'">隐患来源:安全环保检查</text>
|
||||
<text v-else-if="item.SOURCE=='5'">隐患来源:安全环保检查</text>
|
||||
</view>
|
||||
<view class="dy-subtitle">
|
||||
<text>隐患级别:</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>
|
||||
<text v-if="item.HIDDENLEVEL=='hiddenLevel0002'&&item.ISCONFIRM=='0'" class="cu-tag radius bg-grey light">未确认</text>
|
||||
<text v-if="item.HIDDENLEVEL=='hiddenLevel0002'&&item.ISCONFIRM=='1'" class="cu-tag radius bg-green light">已确认</text>
|
||||
</view>
|
||||
|
||||
<view class="dy-subtitle-flex">
|
||||
<text>整改人:{{item.RECTIFICATIONORNAME?item.RECTIFICATIONORNAME:'暂无'}}</text>
|
||||
</view>
|
||||
<view class="dy-subtitle-flex">
|
||||
<text>整改时间: {{item.RECTIFICATIONTIME}}</text>
|
||||
<text class="text-gray f20">{{item.RECTIFICATIONTIME}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
@ -199,7 +189,11 @@
|
|||
},
|
||||
//跳转事件
|
||||
gotRectify(e) {
|
||||
if (e.HIDDEN_RISKSTANDARD === '1') {
|
||||
if (e.SOURCE === '4' || e.SOURCE === '5') {
|
||||
uni.navigateTo({
|
||||
url: '/pages/application/hidden-danger-management/hidden-danger-record/hidden-danger-record-detail?id='+e.HIDDEN_ID,
|
||||
});
|
||||
} else 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,
|
||||
});
|
||||
|
|
|
@ -21,22 +21,23 @@
|
|||
<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">
|
||||
<view>
|
||||
<view class="dy-subtitle">
|
||||
<text>{{ '隐患描述:' + (item.HIDDENDESCR ? (item.HIDDENDESCR.length > 15 ? item.HIDDENDESCR.substr(0, 15) + '...' : item.HIDDENDESCR) : '暂无') }}</text>
|
||||
<text v-if="item.HIDDENDESCR">{{item.HIDDENDESCR.length>15?item.HIDDENDESCR.substr(0,15)+'...':item.HIDDENDESCR}}</text>
|
||||
<text v-else>暂无</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="dy-subtitle">
|
||||
<text>隐患级别:</text>
|
||||
<view>
|
||||
<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>
|
||||
<text v-if="item.HIDDENLEVEL=='hiddenLevel0002'" class="cu-tag radius bg-red light">{{item.HIDDENLEVELNAME}}</text>
|
||||
<text v-if="item.HIDDENLEVEL=='hiddenLevel0002'&&item.ISCONFIRM=='0'" class="cu-tag radius bg-grey light">未确认</text>
|
||||
<text v-if="item.HIDDENLEVEL=='hiddenLevel0002'&&item.ISCONFIRM=='1'" class="cu-tag radius bg-green light">已确认</text>
|
||||
</view>
|
||||
<view class="dy-subtitle">
|
||||
</view>
|
||||
<view class="dy-subtitle-flex">
|
||||
<text v-if="item.SOURCE=='4' || item.SOURCE=='5'">安全环保检查</text>
|
||||
<text v-else-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=='4'">隐患来源:安全环保检查</text>
|
||||
<text v-else-if="item.SOURCE=='5'">隐患来源:安全环保检查</text>
|
||||
</view>
|
||||
<view class="dy-subtitle-flex">
|
||||
<text>整改人:{{item.RECTIFICATIONORNAME?item.RECTIFICATIONORNAME:'暂无'}}</text>
|
||||
|
@ -198,7 +199,11 @@
|
|||
icon:'none'
|
||||
});
|
||||
}else{
|
||||
if (e.HIDDEN_RISKSTANDARD === '1') {
|
||||
if (e.SOURCE === '4' || e.SOURCE === '5') {
|
||||
uni.navigateTo({
|
||||
url: '/pages/application/hidden-danger-management/hidden-danger-no-change/hidden-danger-no-change-detail?id='+e.HIDDEN_ID,
|
||||
});
|
||||
} else if (e.HIDDEN_RISKSTANDARD === '1') {
|
||||
uni.navigateTo({
|
||||
url: '/pages/application/hidden-danger-management/hidden-danger-no-change/hidden-danger-no-change-risk-detail?id='+e.HIDDEN_ID,
|
||||
});
|
||||
|
|
|
@ -18,27 +18,26 @@
|
|||
</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">
|
||||
<view class="dy-subtitle-flex">
|
||||
<text>隐患描述:</text>
|
||||
<text v-if="item.HIDDENDESCR" class="hidden-desc-text">{{item.HIDDENDESCR.length>15?item.HIDDENDESCR.substr(0,15)+'...':item.HIDDENDESCR}}</text>
|
||||
<view>
|
||||
<text v-if="item.HIDDENDESCR">{{item.HIDDENDESCR.length>15?item.HIDDENDESCR.substr(0,15)+'...':item.HIDDENDESCR}}</text>
|
||||
<text v-else>暂无</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="dy-subtitle">
|
||||
<text>隐患级别:</text>
|
||||
<view>
|
||||
<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>
|
||||
<text v-if="item.HIDDENLEVEL=='hiddenLevel0002'" class="cu-tag radius bg-red light">{{item.HIDDENLEVELNAME}}</text>
|
||||
<text v-if="item.HIDDENLEVEL=='hiddenLevel0002'&&item.ISCONFIRM=='0'" class="cu-tag radius bg-grey light">未确认</text>
|
||||
<text v-if="item.HIDDENLEVEL=='hiddenLevel0002'&&item.ISCONFIRM=='1'" class="cu-tag radius bg-green light">已确认</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="dy-subtitle">
|
||||
<text v-if="item.SOURCE=='4' || item.SOURCE=='5'">安全环保检查</text>
|
||||
<text v-else-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=='4'">隐患来源:安全环保检查</text>
|
||||
<text v-else-if="item.SOURCE=='5'">隐患来源:安全环保检查</text>
|
||||
</view>
|
||||
<view class="dy-subtitle-flex">
|
||||
<text>整改人:{{item.RECTIFICATIONORNAME?item.RECTIFICATIONORNAME:'暂无'}}</text>
|
||||
|
@ -194,7 +193,11 @@
|
|||
},
|
||||
//跳转事件
|
||||
gotRectify(e) {
|
||||
if (e.HIDDEN_RISKSTANDARD === '1') {
|
||||
if (e.SOURCE === '4' || e.SOURCE === '5') {
|
||||
uni.navigateTo({
|
||||
url: '/pages/application/hidden-danger-management/hidden-danger-overdue/hidden-danger-overdue-detail?id='+e.HIDDEN_ID,
|
||||
});
|
||||
} else if (e.HIDDEN_RISKSTANDARD === '1') {
|
||||
uni.navigateTo({
|
||||
url: '/pages/application/hidden-danger-management/hidden-danger-overdue/hidden-danger-overdue-risk-detail?id='+e.HIDDEN_ID,
|
||||
});
|
||||
|
|
|
@ -44,8 +44,8 @@
|
|||
隐患级别
|
||||
</view>
|
||||
<view class="flex margin-top-xs sr-s">
|
||||
<view class="cu-btn radiued margin-xs" :class="HIDDENLEVEL=='hiddenLevel0001'?'bg-blue':'line-blue'" @click="changeLevel('hiddenLevel0001')">一般隐患</view>
|
||||
<view class="cu-btn radiued margin-xs" :class="HIDDENLEVEL=='hiddenLevel0002'?'bg-blue':'line-blue'" @click="changeLevel('hiddenLevel0002')">重大隐患</view>
|
||||
<view class="cu-btn radiued margin-xs" :class="HIDDEN_RISKSTANDARD=='1'?'bg-blue':'line-blue'" @click="changeRiskStandard('1')">风险排查隐患</view>
|
||||
<view class="cu-btn radiued margin-xs" :class="HIDDEN_RISKSTANDARD=='2'?'bg-blue':'line-blue'" @click="changeRiskStandard('2')">隐患排查隐患</view>
|
||||
</view>
|
||||
<view class="padding-sm bb-default">
|
||||
隐患级别
|
||||
|
@ -110,31 +110,24 @@
|
|||
<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="gotRectify(item)">
|
||||
<view class="dy-item-flex">
|
||||
<view class="dy-subtitle">
|
||||
<text>隐患描述:</text>
|
||||
<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>
|
||||
</view>
|
||||
<view class="dy-subtitle">
|
||||
<text>隐患级别:</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>
|
||||
<text v-else-if="item.HIDDENLEVEL=='hiddenLevel0002'" class="cu-tag radius bg-red light" >{{item.HIDDENLEVELNAME}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="dy-subtitle">
|
||||
<view class="dy-subtitle-flex">
|
||||
<text v-if="item.SOURCE=='4' || item.SOURCE=='5'">安全环保检查</text>
|
||||
<text v-else-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=='4'">隐患来源:安全环保检查</text>
|
||||
<text v-else-if="item.SOURCE=='5'">隐患来源:安全环保检查</text>
|
||||
</view>
|
||||
<view class="dy-subtitle-flex">
|
||||
<text>整改人:{{item.RECTIFICATIONORNAME?item.RECTIFICATIONORNAME:'暂无'}}</text>
|
||||
</view>
|
||||
<view class="dy-subtitle-flex">
|
||||
<text>整改时间:{{item.RECTIFICATIONTIME}}</text>
|
||||
<text v-if="item.RECTIFICATIONTIME">{{item.RECTIFICATIONTIME}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
@ -372,7 +365,11 @@
|
|||
},
|
||||
//跳转事件
|
||||
gotRectify(e) {
|
||||
if (e.HIDDEN_RISKSTANDARD === '1') {
|
||||
if (e.SOURCE === '4' || e.SOURCE === '5') {
|
||||
uni.navigateTo({
|
||||
url: '/pages/application/hidden-danger-management/hidden-danger-record/hidden-danger-record-detail?id='+e.HIDDEN_ID,
|
||||
});
|
||||
} else 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,
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue