隐患记录bug修复

dev
wangpeng 2024-07-14 12:37:20 +08:00
parent 8108ffa15a
commit a6e3c41498
3 changed files with 7 additions and 8 deletions

View File

@ -2,16 +2,16 @@
<view> <view>
<cu-custom bgColor="bg-gradual-blueness" :isBack="true"> <cu-custom bgColor="bg-gradual-blueness" :isBack="true">
<block slot="backText">返回</block> <block slot="backText">返回</block>
<block slot="content">检查记录详情</block> <block slot="content">风险检查记录详情</block>
</cu-custom> </cu-custom>
<view class="bu-title"> <view class="bu-title">
内容 内容
</view> </view>
<view class="table-box" style="padding: 0 30upx;"> <view class="table-box" style="padding: 0 30upx;">
<uni-table name='varlist' border stripe emptyText="暂无更多数据"> <uni-table name='varlist' border stripe emptyText="暂无更多数据">
<!-- 表头行 --> <!-- 表头行 -->
<uni-tr> <uni-tr>
<uni-th align="center" style="font-weight: bold;">内容</uni-th> <uni-th align="center" style="font-weight: bold;">内容</uni-th>
<uni-th align="center" style="font-weight: bold;width:150upx">状态</uni-th> <uni-th align="center" style="font-weight: bold;width:150upx">状态</uni-th>
</uni-tr> </uni-tr>
<uni-tr v-for="item in varList" :key="item.RISKPOINT_ID"> <uni-tr v-for="item in varList" :key="item.RISKPOINT_ID">

View File

@ -2,7 +2,7 @@
<view> <view>
<cu-custom bgColor="bg-gradual-blueness" :isBack="true"> <cu-custom bgColor="bg-gradual-blueness" :isBack="true">
<block slot="backText">返回</block> <block slot="backText">返回</block>
<block slot="content">检查记录详情</block> <block slot="content">隐患检查记录详情</block>
</cu-custom> </cu-custom>
<view class="bu-title"> <view class="bu-title">
检查内容 检查内容
@ -14,7 +14,7 @@
<uni-th align="center" style="font-weight: bold;">检查内容</uni-th> <uni-th align="center" style="font-weight: bold;">检查内容</uni-th>
<uni-th align="center" style="font-weight: bold;width:150upx">状态</uni-th> <uni-th align="center" style="font-weight: bold;width:150upx">状态</uni-th>
</uni-tr> </uni-tr>
<uni-tr v-for="item in varList" :key="item.RISKPOINT_ID"> <uni-tr v-for="item in varList" :key="item.CHECK_ITEM">
<uni-td>{{item.CHECK_CONTENT}}</uni-td> <uni-td>{{item.CHECK_CONTENT}}</uni-td>
<uni-td v-if='item.ISNORMAL=="0"' align="center"> <uni-td v-if='item.ISNORMAL=="0"' align="center">
<template v-if="item.IMGCOUNT>0"> <template v-if="item.IMGCOUNT>0">
@ -205,7 +205,7 @@
// url: '/pages/basics/hidden-perils/fill-in-case/fill-in-case-detail-view?id='+e // url: '/pages/basics/hidden-perils/fill-in-case/fill-in-case-detail-view?id='+e
// }); // });
uni.navigateTo({ uni.navigateTo({
url: '/pages/application/hidden-danger-management/hidden-danger-record/hidden-danger-record-detail?id=' + url: '/pages/application/hidden-danger-management/hidden-danger-record/hidden-danger-record-standard-detail?id=' +
e, e,
}); });
}, },

View File

@ -571,8 +571,7 @@
data: { data: {
HIDDEN_ID: _this.id, HIDDEN_ID: _this.id,
CORPINFO_ID: loginUser.CORPINFO_ID, CORPINFO_ID: loginUser.CORPINFO_ID,
USER_ID: loginUser.USER_ID, USER_ID: loginUser.USER_ID
OPERATION_TYPE: "1",
}, },
success: (res) => { success: (res) => {
if ("success" == res.data.result) { if ("success" == res.data.result) {