高危作业申请提交后,下一步的操作人员账号中在主界面和高危作业界面中都没有相应的提示。
parent
fcc5d47399
commit
f4f91b834c
|
@ -181,7 +181,6 @@
|
||||||
if ("success" == res.data.result) {
|
if ("success" == res.data.result) {
|
||||||
_this.count = res.data.count;
|
_this.count = res.data.count;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
|
@ -10,6 +10,12 @@
|
||||||
<navigator class="a" hover-class="none" :url="item.url">
|
<navigator class="a" hover-class="none" :url="item.url">
|
||||||
<view class="image">
|
<view class="image">
|
||||||
<image :src="item.image" mode=""></image>
|
<image :src="item.image" mode=""></image>
|
||||||
|
<view v-if="item.hotWorkCount > 0" class="badge">{{ item.hotWorkCount }}</view>
|
||||||
|
<view v-if="item.hightWorkCount > 0" class="badge">{{ item.hightWorkCount }}</view>
|
||||||
|
<view v-if="item.blindBoardCount > 0" class="badge">{{ item.blindBoardCount }}</view>
|
||||||
|
<view v-if="item.HoistingCount > 0" class="badge">{{ item.HoistingCount }}</view>
|
||||||
|
<view v-if="item.confinedSpaceCount > 0" class="badge">{{ item.confinedSpaceCount }}</view>
|
||||||
|
<view v-if="item.electricityCount > 0" class="badge">{{ item.electricityCount }}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="title">
|
<view class="title">
|
||||||
<text>{{ item.title }}</text>
|
<text>{{ item.title }}</text>
|
||||||
|
@ -22,6 +28,8 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { basePath, loginUser } from '@/common/tool.js';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
@ -30,43 +38,116 @@ export default {
|
||||||
title: '动火作业',
|
title: '动火作业',
|
||||||
url: '/pages/application/eight-assignments/index',
|
url: '/pages/application/eight-assignments/index',
|
||||||
image: require('../../../static/new_images/i1.png'),
|
image: require('../../../static/new_images/i1.png'),
|
||||||
|
hotWorkCount: 0,
|
||||||
},
|
},
|
||||||
// {
|
|
||||||
// title: '新动火作业',
|
|
||||||
// url:'/pages/application/hotwork_cfd/home',
|
|
||||||
// image:require('../../../static/new_images/i1.png'),
|
|
||||||
// },
|
|
||||||
{
|
{
|
||||||
title: '高处作业',
|
title: '高处作业',
|
||||||
url: '/pages/application/gf-eight-work/high-work/home',
|
url: '/pages/application/gf-eight-work/high-work/home',
|
||||||
image: require('../../../static/new_images/i2.png'),
|
image: require('../../../static/new_images/i2.png'),
|
||||||
|
hightWorkCount: 0,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '盲板作业',
|
title: '盲板作业',
|
||||||
url: '/pages/application/gf-eight-work/blind-board/home',
|
url: '/pages/application/gf-eight-work/blind-board/home',
|
||||||
image: require('../../../static/new_images/i3.png'),
|
image: require('../../../static/new_images/i3.png'),
|
||||||
|
blindBoardCount: 0,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '吊装作业',
|
title: '吊装作业',
|
||||||
url: '/pages/application/gf-eight-work/hoisting/home',
|
url: '/pages/application/gf-eight-work/hoisting/home',
|
||||||
image: require('../../../static/new_images/i4.png'),
|
image: require('../../../static/new_images/i4.png'),
|
||||||
|
HoistingCount: 0,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '有限空间安全作业',
|
title: '有限空间安全作业',
|
||||||
url: '/pages/application/gf-eight-work/confinedspace/home',
|
url: '/pages/application/gf-eight-work/confinedspace/home',
|
||||||
image: require('../../../static/new_images/i5.png'),
|
image: require('../../../static/new_images/i5.png'),
|
||||||
|
confinedSpaceCount: 0,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '临时用电安全作业',
|
title: '临时用电安全作业',
|
||||||
url: '/pages/application/gf-eight-work/electricity/home',
|
url: '/pages/application/gf-eight-work/electricity/home',
|
||||||
image: require('../../../static/new_images/i6.png'),
|
image: require('../../../static/new_images/i6.png'),
|
||||||
|
electricityCount: 0,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
}
|
};
|
||||||
},
|
},
|
||||||
|
onShow() {
|
||||||
|
this.updateWorkCounts('/app/hotwork/cfd/countCheck', '动火作业', 'hotWorkCount');
|
||||||
|
this.updateWorkCounts('/app/gfHighwork/countCheck', '高处作业', 'hightWorkCount');
|
||||||
|
this.updateWorkCounts('/app/gfBlindBoard/countCheck', '盲板作业', 'blindBoardCount');
|
||||||
|
this.updateWorkCounts('/app/gfHoisting/countCheck', '吊装作业', 'blindBoardCount');
|
||||||
|
this.updateWorkCounts('/app/gfConfinedSpace/countCheck', '有限空间安全作业', 'blindBoardCount');
|
||||||
|
this.updateWorkCounts('//app/gfElectricity/countCheck', '临时用电安全作业', 'electricityCount');
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
updateWorkCounts(url, title, countKey) {
|
||||||
|
uni.showLoading({ title: "加载中..." }); // 加载中动画
|
||||||
|
uni.request({
|
||||||
|
url: basePath + url,
|
||||||
|
method: 'POST',
|
||||||
|
dataType: 'json',
|
||||||
|
header: { 'Content-type': 'application/x-www-form-urlencoded' },
|
||||||
|
data: {
|
||||||
|
tm: new Date().getTime(),
|
||||||
|
CORPINFO_ID: loginUser.CORPINFO_ID,
|
||||||
|
USER_ID: loginUser.USER_ID,
|
||||||
|
},
|
||||||
|
success: (res) => {
|
||||||
|
uni.hideLoading(); // 结束加载中动画
|
||||||
|
if (res.data.result === "success") {
|
||||||
|
let totalCount = res.data.count.SUMCOUNT;
|
||||||
|
this.highRiskList = this.highRiskList.map(item => {
|
||||||
|
if (item.title === title) {
|
||||||
|
return { ...item, [countKey]: totalCount };
|
||||||
}
|
}
|
||||||
|
return item;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
.new-apps-box {
|
||||||
|
padding: 20upx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.new-apps-warp {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
|
||||||
|
.new-apps-item {
|
||||||
|
position: relative;
|
||||||
|
width: 30%;
|
||||||
|
margin-bottom: 20upx;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.new-apps-item .image {
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
height: 100upx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.new-apps-item .badge {
|
||||||
|
position: absolute;
|
||||||
|
top: -10px;
|
||||||
|
right: 0;
|
||||||
|
background-color: #dd514c;
|
||||||
|
color: white;
|
||||||
|
border-radius: 50%;
|
||||||
|
padding: 2px 5px;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.new-apps-item .title {
|
||||||
|
margin-top: -5upx;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -454,7 +454,7 @@
|
||||||
<!-- <view class="title">监护人</view>-->
|
<!-- <view class="title">监护人</view>-->
|
||||||
<!-- {{pd.GUARDIAN_USER_NAME}} {{pd.GUARDIAN_USER_SIGNER_TIME}}-->
|
<!-- {{pd.GUARDIAN_USER_NAME}} {{pd.GUARDIAN_USER_SIGNER_TIME}}-->
|
||||||
<!-- </view>-->
|
<!-- </view>-->
|
||||||
<view v-if="pd.APPROVAL_SIGNATURE">
|
<view v-if="pd.EXAMINE_APPROVAL_SIGNATURE">
|
||||||
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
||||||
<view class="cu-form-textarea" style="border: none;">
|
<view class="cu-form-textarea" style="border: none;">
|
||||||
<view class="cu-form-title">项目主管部门负责意见</view>
|
<view class="cu-form-title">项目主管部门负责意见</view>
|
||||||
|
|
|
@ -101,10 +101,12 @@
|
||||||
<uni-table name='measuresList' border stripe emptyText="暂无更多数据" >
|
<uni-table name='measuresList' 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;">主要安全措施</uni-th>
|
||||||
<uni-th align="center" style="font-weight: bold;width: 100px">操作</uni-th>
|
<uni-th align="center" style="font-weight: bold;width: 100px">操作</uni-th>
|
||||||
</uni-tr>
|
</uni-tr>
|
||||||
<uni-tr v-for="(item,index) in measuresList" :key="item.BUS_HOTWORK_MEASURES_ID">
|
<uni-tr v-for="(item,index) in measuresList" :key="item.BUS_HOTWORK_MEASURES_ID">
|
||||||
|
<uni-td align="center">{{ index + 1 }}</uni-td>
|
||||||
<uni-td>
|
<uni-td>
|
||||||
<view style="margin-bottom: 20upx;">
|
<view style="margin-bottom: 20upx;">
|
||||||
{{item.PROTECTIVE_MEASURES}}
|
{{item.PROTECTIVE_MEASURES}}
|
||||||
|
@ -253,10 +255,10 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="wui-form-list">
|
<view class="wui-form-list">
|
||||||
|
|
||||||
|
<view v-if="pd.CONFIRM_USER_SIGNER_PATH">
|
||||||
<view class="cu-form-textarea" style="border: none;">
|
<view class="cu-form-textarea" style="border: none;">
|
||||||
<view class="cu-form-title">作业负责人意见</view>
|
<view class="cu-form-title">作业负责人意见</view>
|
||||||
<textarea maxlength="255" disabled="disabled" v-model="pd.CONFIRM_CONTENT"></textarea>
|
<textarea maxlength="255" disabled="disabled" v-model="formattedConfirmContent"></textarea>
|
||||||
</view>
|
</view>
|
||||||
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
||||||
<view class="cu-form-group" >
|
<view class="cu-form-group" >
|
||||||
|
@ -267,10 +269,11 @@
|
||||||
<image :src="baseImgPath + pd.CONFIRM_USER_SIGNER_PATH" mode="aspectFill" @click="previewImage(baseImgPath + pd.CONFIRM_USER_SIGNER_PATH)" style="height: 100%;"></image>
|
<image :src="baseImgPath + pd.CONFIRM_USER_SIGNER_PATH" mode="aspectFill" @click="previewImage(baseImgPath + pd.CONFIRM_USER_SIGNER_PATH)" style="height: 100%;"></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
</view>
|
||||||
|
<view v-if="pd.EXAMINE_APPROVAL_SIGNATURE">
|
||||||
<view class="cu-form-textarea" style="border: none;">
|
<view class="cu-form-textarea" style="border: none;">
|
||||||
<view class="cu-form-title">项目主管部门负责人意见</view>
|
<view class="cu-form-title">项目主管部门负责意见</view>
|
||||||
<textarea maxlength="255" disabled="disabled" v-model="pd.BELONGING_OPINIONS"></textarea>
|
<textarea maxlength="255" disabled="disabled" v-model="formattedExamineApprovalOpinions"></textarea>
|
||||||
</view>
|
</view>
|
||||||
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
||||||
<view class="cu-form-group" >
|
<view class="cu-form-group" >
|
||||||
|
@ -281,11 +284,11 @@
|
||||||
<image :src="baseImgPath + pd.BELONGING_SIGNATURE" mode="aspectFill" @click="previewImage(baseImgPath + pd.BELONGING_SIGNATURE)" style="height: 100%;"></image>
|
<image :src="baseImgPath + pd.BELONGING_SIGNATURE" mode="aspectFill" @click="previewImage(baseImgPath + pd.BELONGING_SIGNATURE)" style="height: 100%;"></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
</view>
|
||||||
|
<view v-if="pd.LEADER_CONTENT && pd.LEADER_CONTENT !== '无'">
|
||||||
<view class="cu-form-textarea" style="border: none;">
|
<view class="cu-form-textarea" style="border: none;">
|
||||||
<view class="cu-form-title">属地监管单位意见</view>
|
<view class="cu-form-title">属地监管单位意见</view>
|
||||||
<textarea maxlength="255" disabled="disabled" v-model="pd.LEADER_CONTENT"></textarea>
|
<textarea maxlength="255" disabled="disabled" v-model="formattedLeaderContent"></textarea>
|
||||||
</view>
|
</view>
|
||||||
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
||||||
<view class="cu-form-group" >
|
<view class="cu-form-group" >
|
||||||
|
@ -295,11 +298,12 @@
|
||||||
<view style="width: 400upx; height: 200upx; margin: 30upx;margin-top: 0upx;margin-bottom: 20upx;" >
|
<view style="width: 400upx; height: 200upx; margin: 30upx;margin-top: 0upx;margin-bottom: 20upx;" >
|
||||||
<image :src="baseImgPath + pd.LEADER_USER_SIGNER_PATH" mode="aspectFill" @click="previewImage(baseImgPath + pd.LEADER_USER_SIGNER_PATH)" style="height: 100%;"></image>
|
<image :src="baseImgPath + pd.LEADER_USER_SIGNER_PATH" mode="aspectFill" @click="previewImage(baseImgPath + pd.LEADER_USER_SIGNER_PATH)" style="height: 100%;"></image>
|
||||||
</view>
|
</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="pd.AUDIT_USER_SIGNER_PATH">
|
<view v-if="pd.AUDIT_USER_SIGNER_PATH">
|
||||||
<view class="cu-form-textarea" style="border: none;">
|
<view class="cu-form-textarea" style="border: none;">
|
||||||
<view class="cu-form-title">安全管理部门意见</view>
|
<view class="cu-form-title">安全管理部门意见</view>
|
||||||
<textarea maxlength="255" disabled="disabled" v-model="pd.AUDIT_CONTENT"></textarea>
|
<textarea maxlength="255" disabled="disabled" v-model="formattedAuditContent"></textarea>
|
||||||
</view>
|
</view>
|
||||||
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
||||||
<view class="cu-form-group" >
|
<view class="cu-form-group" >
|
||||||
|
@ -314,7 +318,7 @@
|
||||||
<view v-if="pd.APPROVE_USER_SIGNER_PATH">
|
<view v-if="pd.APPROVE_USER_SIGNER_PATH">
|
||||||
<view class="cu-form-textarea" style="border: none;">
|
<view class="cu-form-textarea" style="border: none;">
|
||||||
<view class="cu-form-title">动火审批人意见</view>
|
<view class="cu-form-title">动火审批人意见</view>
|
||||||
<textarea maxlength="255" disabled="disabled" v-model="pd.APPROVE_CONTENT"></textarea>
|
<textarea maxlength="255" disabled="disabled" v-model="formattedApproveContent"></textarea>
|
||||||
</view>
|
</view>
|
||||||
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
||||||
<view class="cu-form-group" >
|
<view class="cu-form-group" >
|
||||||
|
@ -328,7 +332,7 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-textarea" style="border: none;">
|
<view class="cu-form-textarea" style="border: none;">
|
||||||
<view class="cu-form-title">动火前验票负责人意见</view>
|
<view class="cu-form-title">动火前验票负责人意见</view>
|
||||||
<textarea maxlength="255" disabled="disabled" v-model="pd.MONITOR_CONTENT"></textarea>
|
<textarea maxlength="255" disabled="disabled" v-model="formattedMonitorContent"></textarea>
|
||||||
</view>
|
</view>
|
||||||
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
||||||
<view class="cu-form-group" >
|
<view class="cu-form-group" >
|
||||||
|
@ -340,6 +344,27 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
<view class="cu-form-group">
|
||||||
|
<view class="title">动火已完成:</view>
|
||||||
|
<radio-group @change="updateRadioValue('FIRE_COMPLETED', $event)">
|
||||||
|
<radio value="0" :checked="pd.FIRE_COMPLETED === '0'">否</radio>
|
||||||
|
<radio value="1" :checked="pd.FIRE_COMPLETED === '1'">是</radio>
|
||||||
|
</radio-group>
|
||||||
|
</view>
|
||||||
|
<view class="cu-form-group">
|
||||||
|
<view class="title">作业现场已清理:</view>
|
||||||
|
<radio-group @change="updateRadioValue('SITE_CLEANED', $event)">
|
||||||
|
<radio value="0" :checked="pd.SITE_CLEANED === '0'">否</radio>
|
||||||
|
<radio value="1" :checked="pd.SITE_CLEANED === '1'">是</radio>
|
||||||
|
</radio-group>
|
||||||
|
</view>
|
||||||
|
<view class="cu-form-group">
|
||||||
|
<view class="title">无遗留火种:</view>
|
||||||
|
<radio-group @change="updateRadioValue('NO_REMAINING_EMBERS', $event)">
|
||||||
|
<radio value="0" :checked="pd.NO_REMAINING_EMBERS === '0'">否</radio>
|
||||||
|
<radio value="1" :checked="pd.NO_REMAINING_EMBERS === '1'">是</radio>
|
||||||
|
</radio-group>
|
||||||
|
</view>
|
||||||
|
|
||||||
<view class="cu-form-textarea" style="border-bottom: 1px dashed #eee;">
|
<view class="cu-form-textarea" style="border-bottom: 1px dashed #eee;">
|
||||||
<view class="cu-form-title">完工验收</view>
|
<view class="cu-form-title">完工验收</view>
|
||||||
|
@ -385,10 +410,10 @@
|
||||||
import {
|
import {
|
||||||
basePath, corpinfoId, deptId, loginUser, formatDate, loginSession, baseImgPath
|
basePath, corpinfoId, deptId, loginUser, formatDate, loginSession, baseImgPath
|
||||||
} from '@/common/tool.js';
|
} from '@/common/tool.js';
|
||||||
import tkiTree from "@/components/select-tree/select-tree.vue"
|
import tkiTree from "@/components/select-tree/select-tree.vue";
|
||||||
import writingBoard from "@/components/writing-board/writing-board.vue"
|
import writingBoard from "@/components/writing-board/writing-board.vue";
|
||||||
import gcoord from '@/common/gcoord.js'
|
|
||||||
import ruiDatePicker from '@/components/rattenking-dtpicker/rattenking-dtpicker.vue';
|
import ruiDatePicker from '@/components/rattenking-dtpicker/rattenking-dtpicker.vue';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
tkiTree, ruiDatePicker, writingBoard
|
tkiTree, ruiDatePicker, writingBoard
|
||||||
|
@ -398,18 +423,17 @@
|
||||||
baseImgPath: baseImgPath,
|
baseImgPath: baseImgPath,
|
||||||
buttonloading: false,
|
buttonloading: false,
|
||||||
isUps: false,
|
isUps: false,
|
||||||
forbidEdit:true,// 禁止修改
|
forbidEdit: true,
|
||||||
msg: 'add',
|
msg: 'add',
|
||||||
files: [],
|
files: [],
|
||||||
noClick: true,
|
noClick: true,
|
||||||
treeNode:[],//部门下拉数据
|
treeNode: [],
|
||||||
levelList: [
|
levelList: [
|
||||||
{ id: '特级', name: '特级' },
|
{ id: '特级', name: '特级' },
|
||||||
{ id: '一级', name: '一级' },
|
{ id: '一级', name: '一级' },
|
||||||
{ id: '二级', name: '二级' },
|
{ id: '二级', name: '二级' },
|
||||||
],
|
],
|
||||||
levelindex: -1,
|
levelindex: -1,
|
||||||
|
|
||||||
analyzeUserList: [],
|
analyzeUserList: [],
|
||||||
analyzeindex: -1,
|
analyzeindex: -1,
|
||||||
confirmUserList: [],
|
confirmUserList: [],
|
||||||
|
@ -427,8 +451,11 @@
|
||||||
acceptUserList: [],
|
acceptUserList: [],
|
||||||
acceptindex: -1,
|
acceptindex: -1,
|
||||||
pd: {
|
pd: {
|
||||||
|
FIRE_COMPLETED: '0',
|
||||||
|
SITE_CLEANED: '0',
|
||||||
|
NO_REMAINING_EMBERS: '0',
|
||||||
OTHER_PROTECTIVE_MEASURES: ';_;;_;;_;;_;;_;;_;;_;'
|
OTHER_PROTECTIVE_MEASURES: ';_;;_;;_;;_;;_;;_;;_;'
|
||||||
},// 数据
|
},
|
||||||
measuresList: [],
|
measuresList: [],
|
||||||
gasList: [],
|
gasList: [],
|
||||||
rules: [
|
rules: [
|
||||||
|
@ -462,6 +489,26 @@
|
||||||
imgList: [],
|
imgList: [],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
computed: {
|
||||||
|
formattedConfirmContent() {
|
||||||
|
return this.pd.CONFIRM_CONTENT && this.pd.CONFIRM_CONTENT !== '无' ? this.pd.CONFIRM_CONTENT : '同意';
|
||||||
|
},
|
||||||
|
formattedExamineApprovalOpinions() {
|
||||||
|
return this.pd.EXAMINE_APPROVAL_OPINIONS && this.pd.EXAMINE_APPROVAL_OPINIONS !== '' ? this.pd.EXAMINE_APPROVAL_OPINIONS : '同意';
|
||||||
|
},
|
||||||
|
formattedLeaderContent() {
|
||||||
|
return this.pd.LEADER_CONTENT && this.pd.LEADER_CONTENT !== '无' ? this.pd.LEADER_CONTENT : '同意';
|
||||||
|
},
|
||||||
|
formattedAuditContent() {
|
||||||
|
return this.pd.AUDIT_CONTENT && this.pd.AUDIT_CONTENT !== '无' ? this.pd.AUDIT_CONTENT : '同意';
|
||||||
|
},
|
||||||
|
formattedApproveContent() {
|
||||||
|
return this.pd.APPROVE_CONTENT && this.pd.APPROVE_CONTENT !== '无' ? this.pd.APPROVE_CONTENT : '同意';
|
||||||
|
},
|
||||||
|
formattedMonitorContent() {
|
||||||
|
return this.pd.MONITOR_CONTENT && this.pd.MONITOR_CONTENT !== '无' ? this.pd.MONITOR_CONTENT : '同意';
|
||||||
|
}
|
||||||
|
},
|
||||||
onLoad(event) {
|
onLoad(event) {
|
||||||
this.todayDate = formatDate(new Date(), 'yyyy-MM-dd hh:mm');
|
this.todayDate = formatDate(new Date(), 'yyyy-MM-dd hh:mm');
|
||||||
this.pd.HOTWORK_ID = event.HOTWORK_ID;
|
this.pd.HOTWORK_ID = event.HOTWORK_ID;
|
||||||
|
@ -480,10 +527,11 @@
|
||||||
this.getDept();
|
this.getDept();
|
||||||
this.getLimitSpace();
|
this.getLimitSpace();
|
||||||
loginSession();
|
loginSession();
|
||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//跳转事件
|
updateRadioValue(key, event) {
|
||||||
|
this.pd[key] = event.detail.value;
|
||||||
|
},
|
||||||
goToDetail(e) {
|
goToDetail(e) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/application/hotwork_cfd/hotwork-gas/gas-list?HOTWORK_ID=' + e
|
url: '/pages/application/hotwork_cfd/hotwork-gas/gas-list?HOTWORK_ID=' + e
|
||||||
|
@ -550,33 +598,72 @@
|
||||||
},
|
},
|
||||||
async goSubmit(STATUS) {
|
async goSubmit(STATUS) {
|
||||||
var _this = this;
|
var _this = this;
|
||||||
let required = true
|
let required = true;
|
||||||
uni.showLoading({
|
uni.showLoading({
|
||||||
title: '请稍候'
|
title: '请稍候'
|
||||||
})
|
});
|
||||||
|
this.buttonloading = true; // 开始加载
|
||||||
|
|
||||||
if (STATUS == 8) {
|
if (STATUS == 8) {
|
||||||
|
if (_this.pd.FIRE_COMPLETED === "0") {
|
||||||
|
uni.showModal({
|
||||||
|
title: "提示",
|
||||||
|
content: "动火已完成为“否”,不允许通过。",
|
||||||
|
showCancel: false,
|
||||||
|
confirmText: "知道了"
|
||||||
|
});
|
||||||
|
this.buttonloading = false; // 重置加载状态
|
||||||
|
uni.hideLoading(); // 隐藏加载动画
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (_this.pd.SITE_CLEANED === "0") {
|
||||||
|
uni.showModal({
|
||||||
|
title: "提示",
|
||||||
|
content: "作业现场已清理为“否”,不允许通过。",
|
||||||
|
showCancel: false,
|
||||||
|
confirmText: "知道了"
|
||||||
|
});
|
||||||
|
this.buttonloading = false; // 重置加载状态
|
||||||
|
uni.hideLoading(); // 隐藏加载动画
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (_this.pd.NO_REMAINING_EMBERS === "0") {
|
||||||
|
uni.showModal({
|
||||||
|
title: "提示",
|
||||||
|
content: "无遗留火种为“否”,不允许通过。",
|
||||||
|
showCancel: false,
|
||||||
|
confirmText: "知道了"
|
||||||
|
});
|
||||||
|
this.buttonloading = false; // 重置加载状态
|
||||||
|
uni.hideLoading(); // 隐藏加载动画
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (_this.imgList.length <= 0) {
|
if (_this.imgList.length <= 0) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
icon: 'none',
|
icon: 'none',
|
||||||
title: '请签字',
|
title: '请签字',
|
||||||
duration: 1500
|
duration: 1500
|
||||||
});
|
});
|
||||||
|
this.buttonloading = false; // 重置加载状态
|
||||||
|
uni.hideLoading(); // 隐藏加载动画
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var fileList = [];
|
var fileList = [];
|
||||||
var signtime = [];
|
var signtime = [];
|
||||||
const formData = {}
|
const formData = {}
|
||||||
Object.keys(this.pd).map(key => {
|
Object.keys(this.pd).map(key => {
|
||||||
formData[key] = this.pd[key]
|
formData[key] = this.pd[key]
|
||||||
})
|
});
|
||||||
this.uploadImgFaults(fileList, signtime)
|
this.uploadImgFaults(fileList, signtime);
|
||||||
formData.SIGNTIME = signtime.join(",")
|
formData.SIGNTIME = signtime.join(",");
|
||||||
formData.CORPINFO_ID = corpinfoId
|
formData.CORPINFO_ID = corpinfoId;
|
||||||
formData.CREATOR = loginUser.USER_ID
|
formData.CREATOR = loginUser.USER_ID;
|
||||||
formData.OPERATOR = loginUser.USER_ID
|
formData.OPERATOR = loginUser.USER_ID;
|
||||||
formData.ACTION_USER = loginUser.NAME
|
formData.ACTION_USER = loginUser.NAME;
|
||||||
formData.APPLY_STATUS = STATUS
|
formData.APPLY_STATUS = STATUS;
|
||||||
|
|
||||||
if (STATUS == 8) {
|
if (STATUS == 8) {
|
||||||
if (new Date(this.pd.WORK_START_DATE).getTime() - new Date().getTime() > 0) {
|
if (new Date(this.pd.WORK_START_DATE).getTime() - new Date().getTime() > 0) {
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
|
@ -586,13 +673,13 @@
|
||||||
cancelText: '取消',
|
cancelText: '取消',
|
||||||
confirmText: '确定',
|
confirmText: '确定',
|
||||||
success: res => {
|
success: res => {
|
||||||
this.buttonloading = false
|
this.buttonloading = false; // 重置加载状态
|
||||||
_this.goback()
|
this.goback();
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
} else {
|
} else {
|
||||||
formData.STATUS = STATUS
|
formData.STATUS = STATUS;
|
||||||
this.buttonloading = true
|
this.buttonloading = true;
|
||||||
uni.uploadFile({
|
uni.uploadFile({
|
||||||
url: basePath + '/app/hotwork/cfd/editAcceptStatus',
|
url: basePath + '/app/hotwork/cfd/editAcceptStatus',
|
||||||
files: fileList,
|
files: fileList,
|
||||||
|
@ -603,21 +690,23 @@
|
||||||
title: '保存成功',
|
title: '保存成功',
|
||||||
duration: 2000
|
duration: 2000
|
||||||
});
|
});
|
||||||
_this.goback()
|
this.goback();
|
||||||
this.buttonloading = false
|
this.buttonloading = false; // 重置加载状态
|
||||||
|
uni.hideLoading(); // 隐藏加载动画
|
||||||
},
|
},
|
||||||
fail: (err) => {
|
fail: (err) => {
|
||||||
uni.hideLoading();
|
uni.hideLoading(); // 隐藏加载动画
|
||||||
|
this.buttonloading = false; // 重置加载状态
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
content: err.errMsg,
|
content: err.errMsg,
|
||||||
showCancel: false
|
showCancel: false
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
formData.STATUS = STATUS
|
formData.STATUS = STATUS;
|
||||||
this.buttonloading = true
|
this.buttonloading = true;
|
||||||
uni.request({
|
uni.request({
|
||||||
url: basePath + "/app/hotwork/cfd/editStatus",
|
url: basePath + "/app/hotwork/cfd/editStatus",
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
|
@ -632,17 +721,19 @@
|
||||||
title: '保存成功',
|
title: '保存成功',
|
||||||
duration: 2000
|
duration: 2000
|
||||||
});
|
});
|
||||||
_this.goback()
|
this.goback();
|
||||||
this.buttonloading = false
|
this.buttonloading = false; // 重置加载状态
|
||||||
|
uni.hideLoading(); // 隐藏加载动画
|
||||||
},
|
},
|
||||||
fail: (err) => {
|
fail: (err) => {
|
||||||
uni.hideLoading();
|
uni.hideLoading(); // 隐藏加载动画
|
||||||
|
this.buttonloading = false; // 重置加载状态
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
content: err.errMsg,
|
content: err.errMsg,
|
||||||
showCancel: false
|
showCancel: false
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
getGasFlag() {
|
getGasFlag() {
|
||||||
|
@ -747,7 +838,6 @@
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 获取动火列表
|
|
||||||
getLimitSpace() {
|
getLimitSpace() {
|
||||||
var _this = this;
|
var _this = this;
|
||||||
uni.request({
|
uni.request({
|
||||||
|
@ -792,7 +882,6 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
//获取人员列表
|
|
||||||
getUserList(dept, list, i) {
|
getUserList(dept, list, i) {
|
||||||
//发送 post 请求
|
//发送 post 请求
|
||||||
var _this = this
|
var _this = this
|
||||||
|
@ -822,10 +911,7 @@
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
//手写板
|
||||||
/*
|
|
||||||
*手写板
|
|
||||||
*/
|
|
||||||
showModal(ISSELF) {
|
showModal(ISSELF) {
|
||||||
this.ISSELF = ISSELF
|
this.ISSELF = ISSELF
|
||||||
this.modalName = 'Modal'
|
this.modalName = 'Modal'
|
||||||
|
@ -834,7 +920,6 @@
|
||||||
this.modalName = null
|
this.modalName = null
|
||||||
},
|
},
|
||||||
//完成
|
//完成
|
||||||
|
|
||||||
subCanvas(e) {
|
subCanvas(e) {
|
||||||
e.SIGNER_TIME = formatDate(new Date(), 'yyyy-MM-dd hh:mm')
|
e.SIGNER_TIME = formatDate(new Date(), 'yyyy-MM-dd hh:mm')
|
||||||
this.imgList.push(e);
|
this.imgList.push(e);
|
||||||
|
@ -852,9 +937,7 @@
|
||||||
DelImg(index) {
|
DelImg(index) {
|
||||||
this.imgList.splice(index, 1)
|
this.imgList.splice(index, 1)
|
||||||
},
|
},
|
||||||
/*
|
//分析人
|
||||||
*分析人
|
|
||||||
*/
|
|
||||||
// 确定回调事件
|
// 确定回调事件
|
||||||
analyzetreeConfirm(e) {
|
analyzetreeConfirm(e) {
|
||||||
this.isUps = false;
|
this.isUps = false;
|
||||||
|
@ -878,10 +961,7 @@
|
||||||
this.pd.ANALYZE_USER_NAME = this.analyzeUserList[this.analyzeindex].NAME;
|
this.pd.ANALYZE_USER_NAME = this.analyzeUserList[this.analyzeindex].NAME;
|
||||||
this.$forceUpdate();//强制刷新
|
this.$forceUpdate();//强制刷新
|
||||||
},
|
},
|
||||||
|
//确认人
|
||||||
/*
|
|
||||||
*确认人
|
|
||||||
*/
|
|
||||||
// 确定回调事件
|
// 确定回调事件
|
||||||
confirmtreeConfirm(e) {
|
confirmtreeConfirm(e) {
|
||||||
this.isUps = false;
|
this.isUps = false;
|
||||||
|
@ -905,10 +985,7 @@
|
||||||
this.pd.CONFIRM_USER_NAME = this.confirmUserList[this.confirmindex].NAME;
|
this.pd.CONFIRM_USER_NAME = this.confirmUserList[this.confirmindex].NAME;
|
||||||
this.$forceUpdate();//强制刷新
|
this.$forceUpdate();//强制刷新
|
||||||
},
|
},
|
||||||
|
//监护人
|
||||||
/*
|
|
||||||
*监护人
|
|
||||||
*/
|
|
||||||
// 确定回调事件
|
// 确定回调事件
|
||||||
guardiantreeConfirm(e) {
|
guardiantreeConfirm(e) {
|
||||||
this.isUps = false;
|
this.isUps = false;
|
||||||
|
@ -932,11 +1009,7 @@
|
||||||
this.pd.GUARDIAN_USER_NAME = this.guardianUserList[this.guardianindex].NAME;
|
this.pd.GUARDIAN_USER_NAME = this.guardianUserList[this.guardianindex].NAME;
|
||||||
this.$forceUpdate();//强制刷新
|
this.$forceUpdate();//强制刷新
|
||||||
},
|
},
|
||||||
|
//单位领导
|
||||||
|
|
||||||
/*
|
|
||||||
*单位领导
|
|
||||||
*/
|
|
||||||
// 确定回调事件
|
// 确定回调事件
|
||||||
leadertreeConfirm(e) {
|
leadertreeConfirm(e) {
|
||||||
this.isUps = false;
|
this.isUps = false;
|
||||||
|
@ -960,10 +1033,7 @@
|
||||||
this.pd.LEADER_USER_NAME = this.leaderUserList[this.leaderindex].NAME;
|
this.pd.LEADER_USER_NAME = this.leaderUserList[this.leaderindex].NAME;
|
||||||
this.$forceUpdate();//强制刷新
|
this.$forceUpdate();//强制刷新
|
||||||
},
|
},
|
||||||
|
//安全管理部门负责人
|
||||||
/*
|
|
||||||
*安全管理部门负责人
|
|
||||||
*/
|
|
||||||
// 确定回调事件
|
// 确定回调事件
|
||||||
audittreeConfirm(e) {
|
audittreeConfirm(e) {
|
||||||
this.isUps = false;
|
this.isUps = false;
|
||||||
|
@ -987,10 +1057,7 @@
|
||||||
this.pd.AUDIT_USER_NAME = this.auditUserList[this.auditindex].NAME;
|
this.pd.AUDIT_USER_NAME = this.auditUserList[this.auditindex].NAME;
|
||||||
this.$forceUpdate();//强制刷新
|
this.$forceUpdate();//强制刷新
|
||||||
},
|
},
|
||||||
|
//审批人
|
||||||
/*
|
|
||||||
*审批人
|
|
||||||
*/
|
|
||||||
// 确定回调事件
|
// 确定回调事件
|
||||||
approvetreeConfirm(e) {
|
approvetreeConfirm(e) {
|
||||||
this.isUps = false;
|
this.isUps = false;
|
||||||
|
@ -1014,10 +1081,7 @@
|
||||||
this.pd.APPROVE_USER_NAME = this.approveUserList[this.approveindex].NAME;
|
this.pd.APPROVE_USER_NAME = this.approveUserList[this.approveindex].NAME;
|
||||||
this.$forceUpdate();//强制刷新
|
this.$forceUpdate();//强制刷新
|
||||||
},
|
},
|
||||||
|
//在岗班长
|
||||||
/*
|
|
||||||
*在岗班长
|
|
||||||
*/
|
|
||||||
// 确定回调事件
|
// 确定回调事件
|
||||||
monitortreeConfirm(e) {
|
monitortreeConfirm(e) {
|
||||||
this.isUps = false;
|
this.isUps = false;
|
||||||
|
@ -1041,9 +1105,7 @@
|
||||||
this.pd.MONITOR_USER_NAME = this.monitorUserList[this.monitorindex].NAME;
|
this.pd.MONITOR_USER_NAME = this.monitorUserList[this.monitorindex].NAME;
|
||||||
this.$forceUpdate();//强制刷新
|
this.$forceUpdate();//强制刷新
|
||||||
},
|
},
|
||||||
/*
|
//验收部门
|
||||||
*验收部门
|
|
||||||
*/
|
|
||||||
// 确定回调事件
|
// 确定回调事件
|
||||||
accepttreeConfirm(e) {
|
accepttreeConfirm(e) {
|
||||||
this.isUps = false;
|
this.isUps = false;
|
||||||
|
@ -1067,7 +1129,6 @@
|
||||||
this.pd.ACCEPT_USER_NAME = this.acceptUserList[this.acceptindex].NAME;
|
this.pd.ACCEPT_USER_NAME = this.acceptUserList[this.acceptindex].NAME;
|
||||||
this.$forceUpdate();//强制刷新
|
this.$forceUpdate();//强制刷新
|
||||||
},
|
},
|
||||||
|
|
||||||
changeStartDate(e) {
|
changeStartDate(e) {
|
||||||
this.pd.WORK_START_DATE = e
|
this.pd.WORK_START_DATE = e
|
||||||
this.$forceUpdate();//强制刷新
|
this.$forceUpdate();//强制刷新
|
||||||
|
@ -1076,11 +1137,9 @@
|
||||||
this.pd.WORK_END_DATE = e
|
this.pd.WORK_END_DATE = e
|
||||||
this.$forceUpdate();//强制刷新
|
this.$forceUpdate();//强制刷新
|
||||||
},
|
},
|
||||||
|
|
||||||
changeRadio(i, value) {
|
changeRadio(i, value) {
|
||||||
this.measuresList[i].STATUS = value
|
this.measuresList[i].STATUS = value
|
||||||
},
|
},
|
||||||
|
|
||||||
goback() {
|
goback() {
|
||||||
var pages = getCurrentPages(); // 获取当前页面栈
|
var pages = getCurrentPages(); // 获取当前页面栈
|
||||||
var prePage = pages[pages.length - 2]; // 上二级页面
|
var prePage = pages[pages.length - 2]; // 上二级页面
|
||||||
|
|
|
@ -88,10 +88,12 @@
|
||||||
<uni-table name='measuresList' border stripe emptyText="暂无更多数据" >
|
<uni-table name='measuresList' 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;">主要安全措施</uni-th>
|
||||||
<uni-th align="center" style="font-weight: bold;width: 100px">操作</uni-th>
|
<uni-th align="center" style="font-weight: bold;width: 100px">操作</uni-th>
|
||||||
</uni-tr>
|
</uni-tr>
|
||||||
<uni-tr v-for="(item,index) in measuresList" :key="item.BUS_HOTWORK_MEASURES_ID">
|
<uni-tr v-for="(item,index) in measuresList" :key="item.BUS_HOTWORK_MEASURES_ID">
|
||||||
|
<uni-td align="center">{{ index + 1 }}</uni-td>
|
||||||
<uni-td>
|
<uni-td>
|
||||||
<view style="margin-bottom: 20upx;">
|
<view style="margin-bottom: 20upx;">
|
||||||
{{item.PROTECTIVE_MEASURES}}
|
{{item.PROTECTIVE_MEASURES}}
|
||||||
|
|
|
@ -446,7 +446,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="pd.APPROVAL_SIGNATURE">
|
<view v-if="pd.EXAMINE_APPROVAL_SIGNATURE">
|
||||||
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
||||||
<view class="cu-form-textarea" style="border: none;">
|
<view class="cu-form-textarea" style="border: none;">
|
||||||
<view class="cu-form-title">项目主管部门负责意见</view>
|
<view class="cu-form-title">项目主管部门负责意见</view>
|
||||||
|
|
|
@ -107,10 +107,12 @@
|
||||||
<uni-table name='measuresList' border stripe emptyText="暂无更多数据" >
|
<uni-table name='measuresList' 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;">主要安全措施</uni-th>
|
||||||
<uni-th align="center" style="font-weight: bold;width: 100px">操作</uni-th>
|
<uni-th align="center" style="font-weight: bold;width: 100px">操作</uni-th>
|
||||||
</uni-tr>
|
</uni-tr>
|
||||||
<uni-tr v-for="(item,index) in measuresList" :key="item.BUS_HOTWORK_MEASURES_ID">
|
<uni-tr v-for="(item,index) in measuresList" :key="item.BUS_HOTWORK_MEASURES_ID">
|
||||||
|
<uni-td align="center">{{ index + 1 }}</uni-td>
|
||||||
<uni-td>
|
<uni-td>
|
||||||
<view style="margin-bottom: 20upx;">
|
<view style="margin-bottom: 20upx;">
|
||||||
{{item.PROTECTIVE_MEASURES}}
|
{{item.PROTECTIVE_MEASURES}}
|
||||||
|
@ -249,7 +251,7 @@
|
||||||
<view class="wui-form-list">
|
<view class="wui-form-list">
|
||||||
<view class="cu-form-textarea" style="border: none;">
|
<view class="cu-form-textarea" style="border: none;">
|
||||||
<view class="cu-form-title">作业负责人意见</view>
|
<view class="cu-form-title">作业负责人意见</view>
|
||||||
<textarea maxlength="255" disabled="disabled" v-model="pd.CONFIRM_CONTENT"></textarea>
|
<textarea maxlength="255" disabled="disabled" v-model="formattedConfirmContent"></textarea>
|
||||||
</view>
|
</view>
|
||||||
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
||||||
<view class="cu-form-group" >
|
<view class="cu-form-group" >
|
||||||
|
@ -260,10 +262,21 @@
|
||||||
<image :src="baseImgPath + pd.CONFIRM_USER_SIGNER_PATH" mode="aspectFill" @click="previewImage(baseImgPath + pd.CONFIRM_USER_SIGNER_PATH)" style="height: 100%;"></image>
|
<image :src="baseImgPath + pd.CONFIRM_USER_SIGNER_PATH" mode="aspectFill" @click="previewImage(baseImgPath + pd.CONFIRM_USER_SIGNER_PATH)" style="height: 100%;"></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view>
|
||||||
|
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
||||||
|
<view class="cu-form-textarea" style="border: none;">
|
||||||
|
<view class="cu-form-title">项目主管部门负责意见</view>
|
||||||
|
<textarea maxlength="255" disabled="disabled" v-model="formattedExamineApprovalOpinions"></textarea>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="cu-form-group" >
|
||||||
|
<view class="title">项目主管部门负责人</view>
|
||||||
|
{{pd.EXAMINE_USER_NAME}} {{pd.EXAMINE_APPROVAL_CREATE_TIME}}
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
<view class="cu-form-textarea" style="border: none;">
|
<view class="cu-form-textarea" style="border: none;">
|
||||||
<view class="cu-form-title">属地监管单位意见</view>
|
<view class="cu-form-title">属地监管单位意见</view>
|
||||||
<textarea maxlength="255" disabled="disabled" v-model="pd.LEADER_CONTENT"></textarea>
|
<textarea maxlength="255" disabled="disabled" v-model="formattedLeaderContent"></textarea>
|
||||||
</view>
|
</view>
|
||||||
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
||||||
<view class="cu-form-group" >
|
<view class="cu-form-group" >
|
||||||
|
@ -277,7 +290,7 @@
|
||||||
<view v-if="pd.AUDIT_USER_SIGNER_PATH">
|
<view v-if="pd.AUDIT_USER_SIGNER_PATH">
|
||||||
<view class="cu-form-textarea" style="border: none;">
|
<view class="cu-form-textarea" style="border: none;">
|
||||||
<view class="cu-form-title">安全管理部门意见</view>
|
<view class="cu-form-title">安全管理部门意见</view>
|
||||||
<textarea maxlength="255" disabled="disabled" v-model="pd.AUDIT_CONTENT"></textarea>
|
<textarea maxlength="255" disabled="disabled" v-model="formattedAuditContent"></textarea>
|
||||||
</view>
|
</view>
|
||||||
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
||||||
<view class="cu-form-group" >
|
<view class="cu-form-group" >
|
||||||
|
@ -409,6 +422,20 @@
|
||||||
imgList:[],
|
imgList:[],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
computed: {
|
||||||
|
formattedConfirmContent() {
|
||||||
|
return this.pd.CONFIRM_CONTENT && this.pd.CONFIRM_CONTENT !== '无' ? this.pd.CONFIRM_CONTENT : '同意';
|
||||||
|
},
|
||||||
|
formattedExamineApprovalOpinions() {
|
||||||
|
return this.pd.EXAMINE_APPROVAL_OPINIONS && this.pd.EXAMINE_APPROVAL_OPINIONS !== '' ? this.pd.EXAMINE_APPROVAL_OPINIONS : '同意';
|
||||||
|
},
|
||||||
|
formattedLeaderContent() {
|
||||||
|
return this.pd.LEADER_CONTENT && this.pd.LEADER_CONTENT !== '无' ? this.pd.LEADER_CONTENT : '同意';
|
||||||
|
},
|
||||||
|
formattedAuditContent() {
|
||||||
|
return this.pd.AUDIT_CONTENT && this.pd.AUDIT_CONTENT !== '无' ? this.pd.AUDIT_CONTENT : '同意';
|
||||||
|
}
|
||||||
|
},
|
||||||
onLoad(event){
|
onLoad(event){
|
||||||
this.todayDate = formatDate(new Date(), 'yyyy-MM-dd hh:mm');
|
this.todayDate = formatDate(new Date(), 'yyyy-MM-dd hh:mm');
|
||||||
this.pd.HOTWORK_ID = event.HOTWORK_ID;
|
this.pd.HOTWORK_ID = event.HOTWORK_ID;
|
||||||
|
|
|
@ -454,7 +454,7 @@
|
||||||
<!-- <view class="title">监护人</view>-->
|
<!-- <view class="title">监护人</view>-->
|
||||||
<!-- {{pd.GUARDIAN_USER_NAME}} {{pd.GUARDIAN_USER_SIGNER_TIME}}-->
|
<!-- {{pd.GUARDIAN_USER_NAME}} {{pd.GUARDIAN_USER_SIGNER_TIME}}-->
|
||||||
<!-- </view>-->
|
<!-- </view>-->
|
||||||
<view v-if="pd.APPROVAL_SIGNATURE">
|
<view v-if="pd.EXAMINE_APPROVAL_SIGNATURE">
|
||||||
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
||||||
<view class="cu-form-textarea" style="border: none;">
|
<view class="cu-form-textarea" style="border: none;">
|
||||||
<view class="cu-form-title">项目主管部门负责意见</view>
|
<view class="cu-form-title">项目主管部门负责意见</view>
|
||||||
|
|
|
@ -131,10 +131,12 @@
|
||||||
<uni-table name='measuresList' border stripe emptyText="暂无更多数据" >
|
<uni-table name='measuresList' 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;">主要安全措施</uni-th>
|
||||||
<uni-th align="center" style="font-weight: bold;width: 100px">操作</uni-th>
|
<uni-th align="center" style="font-weight: bold;width: 100px">操作</uni-th>
|
||||||
</uni-tr>
|
</uni-tr>
|
||||||
<uni-tr v-for="(item,index) in measuresList" :key="item.BUS_HOTWORK_MEASURES_ID">
|
<uni-tr v-for="(item,index) in measuresList" :key="item.BUS_HOTWORK_MEASURES_ID">
|
||||||
|
<uni-td align="center">{{ index + 1 }}</uni-td>
|
||||||
<uni-td>
|
<uni-td>
|
||||||
<view style="margin-bottom: 20upx;">
|
<view style="margin-bottom: 20upx;">
|
||||||
{{item.PROTECTIVE_MEASURES}}
|
{{item.PROTECTIVE_MEASURES}}
|
||||||
|
@ -271,7 +273,7 @@
|
||||||
<view class="wui-form-list">
|
<view class="wui-form-list">
|
||||||
<view class="cu-form-textarea" style="border: none;">
|
<view class="cu-form-textarea" style="border: none;">
|
||||||
<view class="cu-form-title">作业负责人意见</view>
|
<view class="cu-form-title">作业负责人意见</view>
|
||||||
<textarea maxlength="255" disabled="disabled" v-model="pd.CONFIRM_CONTENT"></textarea>
|
<textarea maxlength="255" disabled="disabled" v-model="formattedConfirmContent"></textarea>
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="cu-form-group" style="border-bottom: 1px solid #eee;border-top: 1px dashed #eee;;">-->
|
<!-- <view class="cu-form-group" style="border-bottom: 1px solid #eee;border-top: 1px dashed #eee;;">-->
|
||||||
<!-- <view class="title">作业负责人</view>-->
|
<!-- <view class="title">作业负责人</view>-->
|
||||||
|
@ -295,10 +297,22 @@
|
||||||
<!-- <view class="title">监护人</view>-->
|
<!-- <view class="title">监护人</view>-->
|
||||||
<!-- {{pd.GUARDIAN_USER_NAME}} {{pd.GUARDIAN_USER_SIGNER_TIME}}-->
|
<!-- {{pd.GUARDIAN_USER_NAME}} {{pd.GUARDIAN_USER_SIGNER_TIME}}-->
|
||||||
<!-- </view>-->
|
<!-- </view>-->
|
||||||
|
<view>
|
||||||
|
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
||||||
|
<view class="cu-form-textarea" style="border: none;">
|
||||||
|
<view class="cu-form-title">项目主管部门负责意见</view>
|
||||||
|
<textarea maxlength="255" disabled="disabled" v-model="formattedExamineApprovalOpinions"></textarea>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="cu-form-group" >
|
||||||
|
<view class="title">项目主管部门负责人</view>
|
||||||
|
{{pd.EXAMINE_USER_NAME}} {{pd.EXAMINE_APPROVAL_CREATE_TIME}}
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view>
|
||||||
<view class="cu-form-textarea" style="border: none;">
|
<view class="cu-form-textarea" style="border: none;">
|
||||||
<view class="cu-form-title">属地监管单位意见</view>
|
<view class="cu-form-title">属地监管单位意见</view>
|
||||||
<textarea maxlength="255" disabled="disabled" v-model="pd.LEADER_CONTENT"></textarea>
|
<textarea maxlength="255" disabled="disabled" v-model="formattedLeaderContent"></textarea>
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="cu-form-group" style="border-bottom: 1px solid #eee;border-top: 1px dashed #eee;;">-->
|
<!-- <view class="cu-form-group" style="border-bottom: 1px solid #eee;border-top: 1px dashed #eee;;">-->
|
||||||
<!-- <view class="title">动火点属地监管单位负责人</view>-->
|
<!-- <view class="title">动火点属地监管单位负责人</view>-->
|
||||||
|
@ -313,7 +327,7 @@
|
||||||
<image :src="baseImgPath + pd.LEADER_USER_SIGNER_PATH" mode="aspectFill" @click="previewImage(baseImgPath + pd.LEADER_USER_SIGNER_PATH)" style="height: 100%;"></image>
|
<image :src="baseImgPath + pd.LEADER_USER_SIGNER_PATH" mode="aspectFill" @click="previewImage(baseImgPath + pd.LEADER_USER_SIGNER_PATH)" style="height: 100%;"></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
</view>
|
||||||
<view class="cu-form-textarea" style="border-bottom: 1px dashed #eee;">
|
<view class="cu-form-textarea" style="border-bottom: 1px dashed #eee;">
|
||||||
<view class="cu-form-title">安全管理部门意见</view>
|
<view class="cu-form-title">安全管理部门意见</view>
|
||||||
<textarea maxlength="255" v-model="pd.CONTENT" placeholder="请输入意见"></textarea>
|
<textarea maxlength="255" v-model="pd.CONTENT" placeholder="请输入意见"></textarea>
|
||||||
|
@ -432,6 +446,17 @@
|
||||||
imgList:[],
|
imgList:[],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
computed: {
|
||||||
|
formattedConfirmContent() {
|
||||||
|
return this.pd.CONFIRM_CONTENT && this.pd.CONFIRM_CONTENT !== '无' ? this.pd.CONFIRM_CONTENT : '同意';
|
||||||
|
},
|
||||||
|
formattedExamineApprovalOpinions() {
|
||||||
|
return this.pd.EXAMINE_APPROVAL_OPINIONS && this.pd.EXAMINE_APPROVAL_OPINIONS !== '' ? this.pd.EXAMINE_APPROVAL_OPINIONS : '同意';
|
||||||
|
},
|
||||||
|
formattedLeaderContent() {
|
||||||
|
return this.pd.LEADER_CONTENT && this.pd.LEADER_CONTENT !== '无' ? this.pd.LEADER_CONTENT : '同意';
|
||||||
|
}
|
||||||
|
},
|
||||||
onLoad(event){
|
onLoad(event){
|
||||||
this.todayDate = formatDate(new Date(), 'yyyy-MM-dd hh:mm');
|
this.todayDate = formatDate(new Date(), 'yyyy-MM-dd hh:mm');
|
||||||
this.pd.HOTWORK_ID = event.HOTWORK_ID;
|
this.pd.HOTWORK_ID = event.HOTWORK_ID;
|
||||||
|
|
|
@ -131,10 +131,12 @@
|
||||||
<uni-table name='measuresList' border stripe emptyText="暂无更多数据" >
|
<uni-table name='measuresList' 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;">主要安全措施</uni-th>
|
||||||
<uni-th align="center" style="font-weight: bold;width: 100px">操作</uni-th>
|
<uni-th align="center" style="font-weight: bold;width: 100px">操作</uni-th>
|
||||||
</uni-tr>
|
</uni-tr>
|
||||||
<uni-tr v-for="(item,index) in measuresList" :key="item.BUS_HOTWORK_MEASURES_ID">
|
<uni-tr v-for="(item,index) in measuresList" :key="item.BUS_HOTWORK_MEASURES_ID">
|
||||||
|
<uni-td align="center">{{ index + 1 }}</uni-td>
|
||||||
<uni-td>
|
<uni-td>
|
||||||
<view style="margin-bottom: 20upx;">
|
<view style="margin-bottom: 20upx;">
|
||||||
{{item.PROTECTIVE_MEASURES}}
|
{{item.PROTECTIVE_MEASURES}}
|
||||||
|
|
|
@ -442,7 +442,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="pd.APPROVAL_SIGNATURE">
|
<view v-if="pd.EXAMINE_APPROVAL_SIGNATURE">
|
||||||
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
||||||
<view class="cu-form-textarea" style="border: none;">
|
<view class="cu-form-textarea" style="border: none;">
|
||||||
<view class="cu-form-title">项目主管部门负责意见</view>
|
<view class="cu-form-title">项目主管部门负责意见</view>
|
||||||
|
|
|
@ -102,10 +102,12 @@
|
||||||
<uni-table name='measuresList' border stripe emptyText="暂无更多数据" >
|
<uni-table name='measuresList' 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;">主要安全措施</uni-th>
|
||||||
<uni-th align="center" style="font-weight: bold;width: 80px">操作</uni-th>
|
<uni-th align="center" style="font-weight: bold;width: 80px">操作</uni-th>
|
||||||
</uni-tr>
|
</uni-tr>
|
||||||
<uni-tr v-for="(item,index) in measuresList" :key="item.BUS_HOTWORK_MEASURES_ID">
|
<uni-tr v-for="(item,index) in measuresList" :key="item.BUS_HOTWORK_MEASURES_ID">
|
||||||
|
<uni-td align="center">{{ index + 1 }}</uni-td>
|
||||||
<uni-td>
|
<uni-td>
|
||||||
<view style="margin-bottom: 20upx;">
|
<view style="margin-bottom: 20upx;">
|
||||||
{{item.PROTECTIVE_MEASURES}}
|
{{item.PROTECTIVE_MEASURES}}
|
||||||
|
|
|
@ -107,10 +107,12 @@
|
||||||
<uni-table name='measuresList' border stripe emptyText="暂无更多数据" >
|
<uni-table name='measuresList' 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;">主要安全措施</uni-th>
|
||||||
<uni-th align="center" style="font-weight: bold;width: 100px">操作</uni-th>
|
<uni-th align="center" style="font-weight: bold;width: 100px">操作</uni-th>
|
||||||
</uni-tr>
|
</uni-tr>
|
||||||
<uni-tr v-for="(item,index) in measuresList" :key="item.BUS_HOTWORK_MEASURES_ID">
|
<uni-tr v-for="(item,index) in measuresList" :key="item.BUS_HOTWORK_MEASURES_ID">
|
||||||
|
<uni-td align="center">{{ index + 1 }}</uni-td>
|
||||||
<uni-td>
|
<uni-td>
|
||||||
<view style="margin-bottom: 20upx;">
|
<view style="margin-bottom: 20upx;">
|
||||||
{{item.PROTECTIVE_MEASURES}}
|
{{item.PROTECTIVE_MEASURES}}
|
||||||
|
|
|
@ -659,7 +659,7 @@
|
||||||
return this.pd.LEADER_CONTENT && this.pd.LEADER_CONTENT !== '无' ? this.pd.LEADER_CONTENT : '同意';
|
return this.pd.LEADER_CONTENT && this.pd.LEADER_CONTENT !== '无' ? this.pd.LEADER_CONTENT : '同意';
|
||||||
},
|
},
|
||||||
formattedAuditContent() {
|
formattedAuditContent() {
|
||||||
return this.pd.AUDIT_CONTENT && this.pd.AUDIT_CONTENT !== '' ? this.pd.AUDIT_CONTENT : '同意';
|
return this.pd.AUDIT_CONTENT && this.pd.AUDIT_CONTENT !== '无' ? this.pd.AUDIT_CONTENT : '同意';
|
||||||
},
|
},
|
||||||
formattedApproveContent() {
|
formattedApproveContent() {
|
||||||
return this.pd.APPROVE_CONTENT && this.pd.APPROVE_CONTENT !== '无' ? this.pd.APPROVE_CONTENT : '同意';
|
return this.pd.APPROVE_CONTENT && this.pd.APPROVE_CONTENT !== '无' ? this.pd.APPROVE_CONTENT : '同意';
|
||||||
|
|
|
@ -102,10 +102,12 @@
|
||||||
<uni-table name='measuresList' border stripe emptyText="暂无更多数据" >
|
<uni-table name='measuresList' 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;">主要安全措施</uni-th>
|
||||||
<uni-th align="center" style="font-weight: bold;width: 100px">操作</uni-th>
|
<uni-th align="center" style="font-weight: bold;width: 100px">操作</uni-th>
|
||||||
</uni-tr>
|
</uni-tr>
|
||||||
<uni-tr v-for="(item,index) in measuresList" :key="item.BUS_HOTWORK_MEASURES_ID">
|
<uni-tr v-for="(item,index) in measuresList" :key="item.BUS_HOTWORK_MEASURES_ID">
|
||||||
|
<uni-td align="center">{{ index + 1 }}</uni-td>
|
||||||
<uni-td>
|
<uni-td>
|
||||||
<view style="margin-bottom: 20upx;">
|
<view style="margin-bottom: 20upx;">
|
||||||
{{item.PROTECTIVE_MEASURES}}
|
{{item.PROTECTIVE_MEASURES}}
|
||||||
|
@ -264,10 +266,9 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="wui-form-list">
|
<view class="wui-form-list">
|
||||||
|
|
||||||
<view class="cu-form-textarea" style="border: none;">
|
<view class="cu-form-textarea" style="border: none;">
|
||||||
<view class="cu-form-title">作业负责人意见</view>
|
<view class="cu-form-title">作业负责人意见</view>
|
||||||
<textarea maxlength="255" disabled="disabled" v-model="pd.CONFIRM_CONTENT"></textarea>
|
<textarea maxlength="255" disabled="disabled" v-model="formattedConfirmContent"></textarea>
|
||||||
</view>
|
</view>
|
||||||
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
||||||
<view class="cu-form-group" >
|
<view class="cu-form-group" >
|
||||||
|
@ -278,9 +279,11 @@
|
||||||
<image :src="baseImgPath + pd.CONFIRM_USER_SIGNER_PATH" mode="aspectFill" @click="previewImage(baseImgPath + pd.CONFIRM_USER_SIGNER_PATH)" style="height: 100%;"></image>
|
<image :src="baseImgPath + pd.CONFIRM_USER_SIGNER_PATH" mode="aspectFill" @click="previewImage(baseImgPath + pd.CONFIRM_USER_SIGNER_PATH)" style="height: 100%;"></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
||||||
<view class="cu-form-textarea" style="border: none;">
|
<view class="cu-form-textarea" style="border: none;">
|
||||||
<view class="cu-form-title">项目主管部门负责人意见</view>
|
<view class="cu-form-title">项目主管部门负责意见</view>
|
||||||
<textarea maxlength="255" disabled="disabled" v-model="pd.BELONGING_OPINIONS"></textarea>
|
<textarea maxlength="255" disabled="disabled" v-model="formattedExamineApprovalOpinions"></textarea>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
||||||
<view class="cu-form-group" >
|
<view class="cu-form-group" >
|
||||||
|
@ -410,6 +413,14 @@
|
||||||
imgList:[],
|
imgList:[],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
computed: {
|
||||||
|
formattedConfirmContent() {
|
||||||
|
return this.pd.CONFIRM_CONTENT && this.pd.CONFIRM_CONTENT !== '无' ? this.pd.CONFIRM_CONTENT : '同意';
|
||||||
|
},
|
||||||
|
formattedExamineApprovalOpinions() {
|
||||||
|
return this.pd.EXAMINE_APPROVAL_OPINIONS && this.pd.EXAMINE_APPROVAL_OPINIONS !== '' ? this.pd.EXAMINE_APPROVAL_OPINIONS : '同意';
|
||||||
|
}
|
||||||
|
},
|
||||||
onLoad(event){
|
onLoad(event){
|
||||||
this.todayDate = formatDate(new Date(), 'yyyy-MM-dd hh:mm');
|
this.todayDate = formatDate(new Date(), 'yyyy-MM-dd hh:mm');
|
||||||
this.pd.HOTWORK_ID = event.HOTWORK_ID;
|
this.pd.HOTWORK_ID = event.HOTWORK_ID;
|
||||||
|
|
|
@ -136,10 +136,12 @@
|
||||||
<uni-table name='measuresList' border stripe emptyText="暂无更多数据" >
|
<uni-table name='measuresList' 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;">主要安全措施</uni-th>
|
||||||
<uni-th align="center" style="font-weight: bold;width: 100px">操作</uni-th>
|
<uni-th align="center" style="font-weight: bold;width: 100px">操作</uni-th>
|
||||||
</uni-tr>
|
</uni-tr>
|
||||||
<uni-tr v-for="(item,index) in measuresList" :key="item.BUS_HOTWORK_MEASURES_ID">
|
<uni-tr v-for="(item,index) in measuresList" :key="item.BUS_HOTWORK_MEASURES_ID">
|
||||||
|
<uni-td align="center">{{ index + 1 }}</uni-td>
|
||||||
<uni-td>
|
<uni-td>
|
||||||
<view style="margin-bottom: 20upx;">
|
<view style="margin-bottom: 20upx;">
|
||||||
{{item.PROTECTIVE_MEASURES}}
|
{{item.PROTECTIVE_MEASURES}}
|
||||||
|
@ -452,7 +454,7 @@
|
||||||
<!-- <view class="title">监护人</view>-->
|
<!-- <view class="title">监护人</view>-->
|
||||||
<!-- {{pd.GUARDIAN_USER_NAME}} {{pd.GUARDIAN_USER_SIGNER_TIME}}-->
|
<!-- {{pd.GUARDIAN_USER_NAME}} {{pd.GUARDIAN_USER_SIGNER_TIME}}-->
|
||||||
<!-- </view>-->
|
<!-- </view>-->
|
||||||
<view v-if="pd.APPROVAL_SIGNATURE">
|
<view v-if="pd.EXAMINE_APPROVAL_SIGNATURE">
|
||||||
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
||||||
<view class="cu-form-textarea" style="border: none;">
|
<view class="cu-form-textarea" style="border: none;">
|
||||||
<view class="cu-form-title">项目主管部门负责意见</view>
|
<view class="cu-form-title">项目主管部门负责意见</view>
|
||||||
|
|
|
@ -264,7 +264,7 @@
|
||||||
|
|
||||||
<view class="cu-form-textarea" style="border: none;">
|
<view class="cu-form-textarea" style="border: none;">
|
||||||
<view class="cu-form-title">作业负责人意见</view>
|
<view class="cu-form-title">作业负责人意见</view>
|
||||||
<textarea maxlength="255" disabled="disabled" v-model="pd.CONFIRM_CONTENT"></textarea>
|
<textarea maxlength="255" disabled="disabled" v-model="formattedConfirmContent"></textarea>
|
||||||
</view>
|
</view>
|
||||||
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
||||||
<view class="cu-form-group" >
|
<view class="cu-form-group" >
|
||||||
|
@ -276,23 +276,22 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="cu-form-textarea" style="border: none;">
|
<view v-if="pd.EXAMINE_APPROVAL_SIGNATURE">
|
||||||
<view class="cu-form-title">项目主管部门负责人意见</view>
|
|
||||||
<textarea maxlength="255" disabled="disabled" v-model="pd.BELONGING_OPINIONS"></textarea>
|
|
||||||
</view>
|
|
||||||
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
||||||
|
<view class="cu-form-textarea" style="border: none;">
|
||||||
|
<view class="cu-form-title">项目主管部门负责意见</view>
|
||||||
|
<textarea maxlength="255" disabled="disabled" v-model="formattedExamineApprovalOpinions"></textarea>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
<view class="cu-form-group" >
|
<view class="cu-form-group" >
|
||||||
<view class="title">项目主管部门负责人</view>
|
<view class="title">项目主管部门负责人</view>
|
||||||
{{pd.BELONGING_USER_NAME}} {{pd.BELONGING_SIGNATURE_TIME}}
|
{{pd.EXAMINE_USER_NAME}} {{pd.EXAMINE_APPROVAL_CREATE_TIME}}
|
||||||
</view>
|
|
||||||
<view style="width: 400upx; height: 200upx; margin: 30upx;margin-top: 0upx;margin-bottom: 20upx;" >
|
|
||||||
<image :src="baseImgPath + pd.BELONGING_SIGNATURE" mode="aspectFill" @click="previewImage(baseImgPath + pd.BELONGING_SIGNATURE)" style="height: 100%;"></image>
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view v-if="pd.AUDIT_USER_SIGNER_PATH">
|
||||||
<view class="cu-form-textarea" style="border: none;">
|
<view class="cu-form-textarea" style="border: none;">
|
||||||
<view class="cu-form-title">属地监管单位意见</view>
|
<view class="cu-form-title">属地监管单位意见</view>
|
||||||
<textarea maxlength="255" disabled="disabled" v-model="pd.LEADER_CONTENT"></textarea>
|
<textarea maxlength="255" disabled="disabled" v-model="formattedLeaderContent"></textarea>
|
||||||
</view>
|
</view>
|
||||||
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
||||||
<view class="cu-form-group" >
|
<view class="cu-form-group" >
|
||||||
|
@ -303,10 +302,11 @@
|
||||||
<image :src="baseImgPath + pd.LEADER_USER_SIGNER_PATH" mode="aspectFill" @click="previewImage(baseImgPath + pd.LEADER_USER_SIGNER_PATH)" style="height: 100%;"></image>
|
<image :src="baseImgPath + pd.LEADER_USER_SIGNER_PATH" mode="aspectFill" @click="previewImage(baseImgPath + pd.LEADER_USER_SIGNER_PATH)" style="height: 100%;"></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
</view>
|
||||||
<view v-if="pd.AUDIT_USER_SIGNER_PATH">
|
<view v-if="pd.AUDIT_USER_SIGNER_PATH">
|
||||||
<view class="cu-form-textarea" style="border: none;">
|
<view class="cu-form-textarea" style="border: none;">
|
||||||
<view class="cu-form-title">安全管理部门意见</view>
|
<view class="cu-form-title">安全管理部门意见</view>
|
||||||
<textarea maxlength="255" disabled="disabled" v-model="pd.AUDIT_CONTENT"></textarea>
|
<textarea maxlength="255" disabled="disabled" v-model="formattedAuditContent"></textarea>
|
||||||
</view>
|
</view>
|
||||||
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
||||||
<view class="cu-form-group" >
|
<view class="cu-form-group" >
|
||||||
|
@ -320,8 +320,8 @@
|
||||||
</view>
|
</view>
|
||||||
<view v-if="pd.APPROVE_USER_SIGNER_PATH">
|
<view v-if="pd.APPROVE_USER_SIGNER_PATH">
|
||||||
<view class="cu-form-textarea" style="border: none;">
|
<view class="cu-form-textarea" style="border: none;">
|
||||||
<view class="cu-form-title">动火审批意见</view>
|
<view class="cu-form-title">动火审批人意见</view>
|
||||||
<textarea maxlength="255" disabled="disabled" v-model="pd.APPROVE_CONTENT"></textarea>
|
<textarea maxlength="255" disabled="disabled" v-model="formattedApproveContent"></textarea>
|
||||||
</view>
|
</view>
|
||||||
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
||||||
<view class="cu-form-group" >
|
<view class="cu-form-group" >
|
||||||
|
@ -453,6 +453,23 @@
|
||||||
imgList:[],
|
imgList:[],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
computed: {
|
||||||
|
formattedConfirmContent() {
|
||||||
|
return this.pd.CONFIRM_CONTENT && this.pd.CONFIRM_CONTENT !== '无' ? this.pd.CONFIRM_CONTENT : '同意';
|
||||||
|
},
|
||||||
|
formattedExamineApprovalOpinions() {
|
||||||
|
return this.pd.EXAMINE_APPROVAL_OPINIONS && this.pd.EXAMINE_APPROVAL_OPINIONS !== '' ? this.pd.EXAMINE_APPROVAL_OPINIONS : '同意';
|
||||||
|
},
|
||||||
|
formattedLeaderContent() {
|
||||||
|
return this.pd.LEADER_CONTENT && this.pd.LEADER_CONTENT !== '无' ? this.pd.LEADER_CONTENT : '同意';
|
||||||
|
},
|
||||||
|
formattedAuditContent() {
|
||||||
|
return this.pd.AUDIT_CONTENT && this.pd.AUDIT_CONTENT !== '无' ? this.pd.AUDIT_CONTENT : '同意';
|
||||||
|
},
|
||||||
|
formattedApproveContent() {
|
||||||
|
return this.pd.APPROVE_CONTENT && this.pd.APPROVE_CONTENT !== '无' ? this.pd.APPROVE_CONTENT : '同意';
|
||||||
|
}
|
||||||
|
},
|
||||||
onLoad(event){
|
onLoad(event){
|
||||||
this.todayDate = formatDate(new Date(), 'yyyy-MM-dd hh:mm');
|
this.todayDate = formatDate(new Date(), 'yyyy-MM-dd hh:mm');
|
||||||
this.pd.HOTWORK_ID = event.HOTWORK_ID;
|
this.pd.HOTWORK_ID = event.HOTWORK_ID;
|
||||||
|
|
|
@ -446,7 +446,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="pd.APPROVAL_SIGNATURE">
|
<view>
|
||||||
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
||||||
<view class="cu-form-textarea" style="border: none;">
|
<view class="cu-form-textarea" style="border: none;">
|
||||||
<view class="cu-form-title">项目主管部门负责意见</view>
|
<view class="cu-form-title">项目主管部门负责意见</view>
|
||||||
|
@ -659,7 +659,7 @@
|
||||||
return this.pd.LEADER_CONTENT && this.pd.LEADER_CONTENT !== '无' ? this.pd.LEADER_CONTENT : '同意';
|
return this.pd.LEADER_CONTENT && this.pd.LEADER_CONTENT !== '无' ? this.pd.LEADER_CONTENT : '同意';
|
||||||
},
|
},
|
||||||
formattedAuditContent() {
|
formattedAuditContent() {
|
||||||
return this.pd.AUDIT_CONTENT && this.pd.AUDIT_CONTENT !== '' ? this.pd.AUDIT_CONTENT : '同意';
|
return this.pd.AUDIT_CONTENT && this.pd.AUDIT_CONTENT !== '无' ? this.pd.AUDIT_CONTENT : '同意';
|
||||||
},
|
},
|
||||||
formattedApproveContent() {
|
formattedApproveContent() {
|
||||||
return this.pd.APPROVE_CONTENT && this.pd.APPROVE_CONTENT !== '无' ? this.pd.APPROVE_CONTENT : '同意';
|
return this.pd.APPROVE_CONTENT && this.pd.APPROVE_CONTENT !== '无' ? this.pd.APPROVE_CONTENT : '同意';
|
||||||
|
|
|
@ -102,10 +102,12 @@
|
||||||
<uni-table name='measuresList' border stripe emptyText="暂无更多数据">
|
<uni-table name='measuresList' 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;">主要安全措施</uni-th>
|
||||||
<uni-th align="center" style="font-weight: bold;width: 100px">操作</uni-th>
|
<uni-th align="center" style="font-weight: bold;width: 100px">操作</uni-th>
|
||||||
</uni-tr>
|
</uni-tr>
|
||||||
<uni-tr v-for="(item,index) in measuresList" :key="item.BUS_HOTWORK_MEASURES_ID">
|
<uni-tr v-for="(item,index) in measuresList" :key="item.BUS_HOTWORK_MEASURES_ID">
|
||||||
|
<uni-td align="center">{{ index + 1 }}</uni-td>
|
||||||
<uni-td>
|
<uni-td>
|
||||||
<view style="margin-bottom: 20upx;">
|
<view style="margin-bottom: 20upx;">
|
||||||
{{ item.PROTECTIVE_MEASURES }}
|
{{ item.PROTECTIVE_MEASURES }}
|
||||||
|
@ -274,7 +276,7 @@
|
||||||
<view class="wui-form-list">
|
<view class="wui-form-list">
|
||||||
<view class="cu-form-textarea" style="border: none;">
|
<view class="cu-form-textarea" style="border: none;">
|
||||||
<view class="cu-form-title">作业负责人意见</view>
|
<view class="cu-form-title">作业负责人意见</view>
|
||||||
<textarea maxlength="255" disabled="disabled" v-model="pd.CONFIRM_CONTENT"></textarea>
|
<textarea maxlength="255" disabled="disabled" v-model="formattedConfirmContent"></textarea>
|
||||||
</view>
|
</view>
|
||||||
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
||||||
<view class="cu-form-group">
|
<view class="cu-form-group">
|
||||||
|
@ -409,6 +411,11 @@ export default {
|
||||||
imgList: [],
|
imgList: [],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
computed: {
|
||||||
|
formattedConfirmContent() {
|
||||||
|
return this.pd.CONFIRM_CONTENT && this.pd.CONFIRM_CONTENT !== '无' ? this.pd.CONFIRM_CONTENT : '同意';
|
||||||
|
}
|
||||||
|
},
|
||||||
onLoad(event) {
|
onLoad(event) {
|
||||||
this.todayDate = formatDate(new Date(), 'yyyy-MM-dd hh:mm');
|
this.todayDate = formatDate(new Date(), 'yyyy-MM-dd hh:mm');
|
||||||
this.pd.HOTWORK_ID = event.HOTWORK_ID;
|
this.pd.HOTWORK_ID = event.HOTWORK_ID;
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
<navigator class="a" hover-class="none" :url="item.url">
|
<navigator class="a" hover-class="none" :url="item.url">
|
||||||
<view class="image">
|
<view class="image">
|
||||||
<image :src="item.image" mode=""></image>
|
<image :src="item.image" mode=""></image>
|
||||||
|
<view v-if="item.title === '高危作业' && totalUnreadCount > 0" class="badge">{{ totalUnreadCount }}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="title">
|
<view class="title">
|
||||||
<text>{{ item.title }}</text>
|
<text>{{ item.title }}</text>
|
||||||
|
@ -274,6 +275,7 @@
|
||||||
mixins: [MescrollMixin], // 使用mixin (在main.js注册全局组件)
|
mixins: [MescrollMixin], // 使用mixin (在main.js注册全局组件)
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
totalUnreadCount: 0,
|
||||||
girdList:[
|
girdList:[
|
||||||
{
|
{
|
||||||
title:'基本资料',
|
title:'基本资料',
|
||||||
|
@ -398,6 +400,7 @@
|
||||||
this.getData()
|
this.getData()
|
||||||
this.getHiddenData()
|
this.getHiddenData()
|
||||||
this.getSafetyEnvironmentalCount()
|
this.getSafetyEnvironmentalCount()
|
||||||
|
this.getSumCount();
|
||||||
// this.getListData()
|
// this.getListData()
|
||||||
console.info(loginUser)
|
console.info(loginUser)
|
||||||
// this._freshing = false;
|
// this._freshing = false;
|
||||||
|
@ -603,6 +606,42 @@
|
||||||
// }
|
// }
|
||||||
// });
|
// });
|
||||||
},
|
},
|
||||||
|
async getSumCount() {
|
||||||
|
const hotWorkCount = await this.getCount('/app/hotwork/cfd/countCheck');
|
||||||
|
const highWorkCount = await this.getCount('/app/gfHighwork/countCheck');
|
||||||
|
const blindBoardCount = await this.getCount('/app/gfBlindBoard/countCheck');
|
||||||
|
const hoistingCount = await this.getCount('/app/gfHoisting/countCheck');
|
||||||
|
const confinedSpaceCount = await this.getCount('/app/gfConfinedSpace/countCheck');
|
||||||
|
const electricityCount = await this.getCount('/app/gfElectricity/countCheck');
|
||||||
|
|
||||||
|
this.totalUnreadCount = hotWorkCount + highWorkCount + blindBoardCount + hoistingCount + confinedSpaceCount + electricityCount;
|
||||||
|
},
|
||||||
|
getCount(url) {
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
uni.request({
|
||||||
|
url: basePath + url,
|
||||||
|
method: 'POST',
|
||||||
|
dataType: 'json',
|
||||||
|
header: { 'Content-type': 'application/x-www-form-urlencoded' },
|
||||||
|
data: {
|
||||||
|
tm: new Date().getTime(),
|
||||||
|
CORPINFO_ID: loginUser.CORPINFO_ID,
|
||||||
|
USER_ID: loginUser.USER_ID,
|
||||||
|
},
|
||||||
|
success: (res) => {
|
||||||
|
if (res.data.result === "success") {
|
||||||
|
resolve(res.data.count.SUMCOUNT || 0);
|
||||||
|
} else {
|
||||||
|
resolve(0);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
fail: (err) => {
|
||||||
|
console.error(err);
|
||||||
|
resolve(0);
|
||||||
|
},
|
||||||
|
});
|
||||||
|
});
|
||||||
|
},
|
||||||
// 隐患播报
|
// 隐患播报
|
||||||
getHiddenData() {
|
getHiddenData() {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
|
@ -851,10 +890,21 @@
|
||||||
.image{
|
.image{
|
||||||
flex-basis: 100%;
|
flex-basis: 100%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
position: relative; // 添加相对定位
|
||||||
image{
|
image{
|
||||||
width: 84upx;
|
width: 84upx;
|
||||||
height: 84upx;
|
height: 84upx;
|
||||||
}
|
}
|
||||||
|
.badge {
|
||||||
|
position: absolute;
|
||||||
|
top: -10px; // 调整位置
|
||||||
|
right: 0; // 调整位置
|
||||||
|
background-color: #dd514c;
|
||||||
|
color: white;
|
||||||
|
border-radius: 50%;
|
||||||
|
padding: 2px 5px;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.title{
|
.title{
|
||||||
flex-basis: 100%;
|
flex-basis: 100%;
|
||||||
|
|
Loading…
Reference in New Issue