Merge branch 'pet' of http://47.92.113.182:3000/guoyuepeng/qa-prevention-gwj-vue into pet
commit
db1782a249
|
@ -11,7 +11,7 @@ module.exports = {
|
||||||
assetsPublicPath: '/',
|
assetsPublicPath: '/',
|
||||||
proxyTable: {
|
proxyTable: {
|
||||||
'/api': {
|
'/api': {
|
||||||
target: 'http://192.168.151.43:8091/',
|
target: 'http://192.168.0.49:8091/',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
'^/api': ''
|
'^/api': ''
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -5,7 +5,7 @@
|
||||||
"author": "",
|
"author": "",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js --host 192.168.151.43",
|
"dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js --host 192.168.0.90",
|
||||||
"start": "npm run dev",
|
"start": "npm run dev",
|
||||||
"unit": "jest --config test/unit/jest.conf.js --coverage",
|
"unit": "jest --config test/unit/jest.conf.js --coverage",
|
||||||
"e2e": "node test/e2e/runner.js",
|
"e2e": "node test/e2e/runner.js",
|
||||||
|
|
|
@ -75,6 +75,22 @@
|
||||||
<td class="bbg">动火作业实施时间</td>
|
<td class="bbg">动火作业实施时间</td>
|
||||||
<td colspan="3">{{ pd.WORK_START_DATE }}至{{ pd.WORK_END_DATE }}止</td>
|
<td colspan="3">{{ pd.WORK_START_DATE }}至{{ pd.WORK_END_DATE }}止</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr v-if="pd.FIRE_COMPLETED === '1' && pd.SITE_CLEANED === '1'">
|
||||||
|
<td class="bbg">动火是否完成</td>
|
||||||
|
<td>
|
||||||
|
<span>已完成</span>
|
||||||
|
</td>
|
||||||
|
<td class="bbg">动火是否完成</td>
|
||||||
|
<td>
|
||||||
|
<span>已清理</span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr v-if="pd.NO_REMAINING_EMBERS === '1'">
|
||||||
|
<td class="bbg">是否存在遗留火种</td>
|
||||||
|
<td>
|
||||||
|
<span>无遗留火种</span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="4">
|
<td colspan="4">
|
||||||
<table class="table-ui">
|
<table class="table-ui">
|
||||||
|
@ -149,10 +165,12 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td class="bbg">接受交底人</td>
|
<td class="bbg">接受交底人</td>
|
||||||
<td colspan="10">
|
<td colspan="10">
|
||||||
<div v-for="item in imgList" :key="item.ACCEPT_CONFESS_ID" style="text-align: right">
|
<div v-for="item in acceptConfessList" :key="item.USER_ID">
|
||||||
|
<div v-for="(signature, index) in item.APPROVAL_SIGNATURE" :key="index" style="text-align: right">
|
||||||
<span>签字:</span>
|
<span>签字:</span>
|
||||||
<img v-viewer :src="config.fileUrl + item.ACCEPT_CONFESS_USER_SIGNER_PATH" alt="" width="100" height="100">
|
<img v-viewer :src="config.fileUrl + signature.trim()" alt="" width="100" height="100">
|
||||||
<span>{{ item.ACCEPT_CONFESS_USER_SIGNER_TIME }}</span>
|
<span>{{ item.APPROVAL_SIGNATURE_TIME.split(',')[0] }}</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -178,7 +196,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-if="pd.CONFIRM_USER_SIGNER_PATH">
|
<tr v-if="pd.CONFIRM_USER_SIGNER_PATH">
|
||||||
<td colspan="6">
|
<td colspan="6">
|
||||||
<div>作业负责人意见:{{ pd.CONFIRM_CONTENT }}</div>
|
<div>作业负责人意见:{{ pd.CONFIRM_CONTENT === '无' ? '同意' : pd.CONFIRM_CONTENT }}</div>
|
||||||
<div style="text-align: right">
|
<div style="text-align: right">
|
||||||
<span>签字:</span>
|
<span>签字:</span>
|
||||||
<img v-viewer :src="config.fileUrl + pd.CONFIRM_USER_SIGNER_PATH" alt="" width="100" height="100">
|
<img v-viewer :src="config.fileUrl + pd.CONFIRM_USER_SIGNER_PATH" alt="" width="100" height="100">
|
||||||
|
@ -188,7 +206,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-if="pd.BELONGING_SIGNATURE">
|
<tr v-if="pd.BELONGING_SIGNATURE">
|
||||||
<td colspan="6">
|
<td colspan="6">
|
||||||
<div>项目主管部门负责人意见:{{ pd.BELONGING_OPINIONS }}</div>
|
<div>项目主管部门负责人意见:{{ pd.BELONGING_OPINIONS === '' ? '同意' : pd.BELONGING_OPINIONS }}</div>
|
||||||
<div style="text-align: right">
|
<div style="text-align: right">
|
||||||
<span>签字:</span>
|
<span>签字:</span>
|
||||||
<img v-viewer :src="config.fileUrl + pd.BELONGING_SIGNATURE" alt="" width="100" height="100">
|
<img v-viewer :src="config.fileUrl + pd.BELONGING_SIGNATURE" alt="" width="100" height="100">
|
||||||
|
@ -198,7 +216,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-if="pd.LEADER_USER_SIGNER_PATH">
|
<tr v-if="pd.LEADER_USER_SIGNER_PATH">
|
||||||
<td colspan="6">
|
<td colspan="6">
|
||||||
<div>属地监管单位意见:{{ pd.LEADER_CONTENT }}</div>
|
<div>属地监管单位意见:{{ pd.LEADER_CONTENT === '无' ? '同意' : pd.LEADER_CONTENT }}</div>
|
||||||
<div style="text-align: right">
|
<div style="text-align: right">
|
||||||
<span>签字:</span>
|
<span>签字:</span>
|
||||||
<img v-viewer :src="config.fileUrl + pd.LEADER_USER_SIGNER_PATH" alt="" width="100" height="100">
|
<img v-viewer :src="config.fileUrl + pd.LEADER_USER_SIGNER_PATH" alt="" width="100" height="100">
|
||||||
|
@ -208,7 +226,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-if="pd.AUDIT_USER_SIGNER_PATH">
|
<tr v-if="pd.AUDIT_USER_SIGNER_PATH">
|
||||||
<td colspan="6">
|
<td colspan="6">
|
||||||
<div>安全管理部门意见:{{ pd.AUDIT_CONTENT }}</div>
|
<div>安全管理部门意见:{{ pd.AUDIT_CONTENT === '无' ? '同意' : pd.AUDIT_CONTENT }}</div>
|
||||||
<div style="text-align: right">
|
<div style="text-align: right">
|
||||||
<span>签字:</span>
|
<span>签字:</span>
|
||||||
<img v-viewer :src="config.fileUrl + pd.AUDIT_USER_SIGNER_PATH" alt="" width="100" height="100">
|
<img v-viewer :src="config.fileUrl + pd.AUDIT_USER_SIGNER_PATH" alt="" width="100" height="100">
|
||||||
|
@ -218,7 +236,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-if="pd.APPROVE_USER_SIGNER_PATH">
|
<tr v-if="pd.APPROVE_USER_SIGNER_PATH">
|
||||||
<td colspan="6">
|
<td colspan="6">
|
||||||
<div>动火审批人意见:{{ pd.APPROVE_CONTENT }}</div>
|
<div>动火审批人意见:{{ pd.APPROVE_CONTENT === '无' ? '同意' : pd.APPROVE_CONTENT }}</div>
|
||||||
<div style="text-align: right">
|
<div style="text-align: right">
|
||||||
<span>签字:</span>
|
<span>签字:</span>
|
||||||
<img v-viewer :src="config.fileUrl + pd.APPROVE_USER_SIGNER_PATH" alt="" width="100" height="100">
|
<img v-viewer :src="config.fileUrl + pd.APPROVE_USER_SIGNER_PATH" alt="" width="100" height="100">
|
||||||
|
@ -228,7 +246,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-if="pd.MONITOR_USER_SIGNER_PATH">
|
<tr v-if="pd.MONITOR_USER_SIGNER_PATH">
|
||||||
<td colspan="6">
|
<td colspan="6">
|
||||||
<div>动火前验票负责人:{{ pd.MONITOR_CONTENT }}</div>
|
<div>动火前验票负责人:{{ pd.MONITOR_CONTENT === '无' ? '同意' : pd.MONITOR_CONTENT }}</div>
|
||||||
<div style="text-align: right">
|
<div style="text-align: right">
|
||||||
<span>签字:</span>
|
<span>签字:</span>
|
||||||
<img v-viewer :src="config.fileUrl + pd.MONITOR_USER_SIGNER_PATH" alt="" width="100" height="100">
|
<img v-viewer :src="config.fileUrl + pd.MONITOR_USER_SIGNER_PATH" alt="" width="100" height="100">
|
||||||
|
@ -238,7 +256,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-if="imgList1.length>0">
|
<tr v-if="imgList1.length>0">
|
||||||
<td colspan="10">
|
<td colspan="10">
|
||||||
<div>完工验收:{{ pd.ACCEPT_CONTENT }}</div>
|
<div>完工验收:{{ pd.ACCEPT_CONTENT === '无' ? '同意' : pd.ACCEPT_CONTENT }}</div>
|
||||||
<div v-for="item in imgList1" :key="item.ACCEPT_CONFESS_ID" style="text-align: right">
|
<div v-for="item in imgList1" :key="item.ACCEPT_CONFESS_ID" style="text-align: right">
|
||||||
<span>签字:</span>
|
<span>签字:</span>
|
||||||
<img v-viewer :src="config.fileUrl + item.ACCEPT_USER_SIGNER_PATH" alt="" width="100" height="100">
|
<img v-viewer :src="config.fileUrl + item.ACCEPT_USER_SIGNER_PATH" alt="" width="100" height="100">
|
||||||
|
@ -270,6 +288,7 @@ export default {
|
||||||
imgList: [],
|
imgList: [],
|
||||||
imgList1: [],
|
imgList1: [],
|
||||||
otherProtectiveMeasures: [],
|
otherProtectiveMeasures: [],
|
||||||
|
acceptConfessList: [],
|
||||||
confessList: []
|
confessList: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -315,6 +334,20 @@ export default {
|
||||||
this.confessList.push(item)
|
this.confessList.push(item)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
// data.pd.acceptConfessList.forEach(item => {
|
||||||
|
// if (item.APPROVAL_SIGNATURE_TIME !== undefined && item.APPROVAL_SIGNATURE_TIME.trim() !== '') {
|
||||||
|
// this.acceptConfessList.push(item)
|
||||||
|
// }
|
||||||
|
// })
|
||||||
|
data.pd.acceptConfessList.forEach(item => {
|
||||||
|
// 将 APPROVAL_SIGNATURE 转换为数组
|
||||||
|
if (item.APPROVAL_SIGNATURE) {
|
||||||
|
item.APPROVAL_SIGNATURE = item.APPROVAL_SIGNATURE.split(';')
|
||||||
|
}
|
||||||
|
if (item.APPROVAL_SIGNATURE_TIME !== undefined && item.APPROVAL_SIGNATURE_TIME.trim() !== '') {
|
||||||
|
this.acceptConfessList.push(item)
|
||||||
|
}
|
||||||
|
})
|
||||||
for (let i = 0; i < data.measuresList.length; i++) {
|
for (let i = 0; i < data.measuresList.length; i++) {
|
||||||
// 将字符串转成数组
|
// 将字符串转成数组
|
||||||
const PROTECTIVE_MEASURES = data.measuresList[i].PROTECTIVE_MEASURES.split('')
|
const PROTECTIVE_MEASURES = data.measuresList[i].PROTECTIVE_MEASURES.split('')
|
||||||
|
|
|
@ -51,14 +51,14 @@
|
||||||
<template slot-scope="{row}">
|
<template slot-scope="{row}">
|
||||||
<span v-if="row.APPLY_STATUS==0">动火作业待提交</span>
|
<span v-if="row.APPLY_STATUS==0">动火作业待提交</span>
|
||||||
<span v-else-if="row.APPLY_STATUS==1">作业负责人待审核</span>
|
<span v-else-if="row.APPLY_STATUS==1">作业负责人待审核</span>
|
||||||
<span v-else-if="row.APPLY_STATUS==1.5">项目负责人待审核</span>
|
<span v-else-if="row.APPLY_STATUS==1.5">项目主管部门待审核</span>
|
||||||
<span v-else-if="row.APPLY_STATUS==2">属地监管单位待审核</span>
|
<span v-else-if="row.APPLY_STATUS==2">属地监管单位待审核</span>
|
||||||
<span v-else-if="row.APPLY_STATUS==4">安全管理部门待审核</span>
|
<span v-else-if="row.APPLY_STATUS==4">安全管理部门待审核</span>
|
||||||
<span v-else-if="row.APPLY_STATUS==5">动火审批人待审核</span>
|
<span v-else-if="row.APPLY_STATUS==5">动火审批人待审核</span>
|
||||||
<span v-else-if="row.APPLY_STATUS==6">班长待验票</span>
|
<span v-else-if="row.APPLY_STATUS==6">班长待验票</span>
|
||||||
<span v-else-if="row.APPLY_STATUS==7">待验收</span>
|
<span v-else-if="row.APPLY_STATUS==7">待验收</span>
|
||||||
<span v-else-if="row.APPLY_STATUS==8">验收归档</span>
|
<span v-else-if="row.APPLY_STATUS==8">验收归档</span>
|
||||||
<span v-else-if="row.APPLY_STATUS==-1.5">项目负责人审核打回</span>
|
<span v-else-if="row.APPLY_STATUS==-1.5">项目主管部门审核打回</span>
|
||||||
<span v-else-if="row.APPLY_STATUS==-2">作业负责人审核打回</span>
|
<span v-else-if="row.APPLY_STATUS==-2">作业负责人审核打回</span>
|
||||||
<span v-else-if="row.APPLY_STATUS==-4">属地监管单位审核打回</span>
|
<span v-else-if="row.APPLY_STATUS==-4">属地监管单位审核打回</span>
|
||||||
<span v-else-if="row.APPLY_STATUS==-5">安全管理部门审核打回</span>
|
<span v-else-if="row.APPLY_STATUS==-5">安全管理部门审核打回</span>
|
||||||
|
@ -217,7 +217,7 @@ export default {
|
||||||
{ ID: '', NAME: '请选择' },
|
{ ID: '', NAME: '请选择' },
|
||||||
{ ID: '0', NAME: '动火作业待提交' },
|
{ ID: '0', NAME: '动火作业待提交' },
|
||||||
{ ID: '1', NAME: '作业负责人待审核' },
|
{ ID: '1', NAME: '作业负责人待审核' },
|
||||||
{ ID: '1.5', NAME: '项目负责人待审核' },
|
{ ID: '1.5', NAME: '项目主管部门待审核' },
|
||||||
{ ID: '2', NAME: '属地监管单位待审核' },
|
{ ID: '2', NAME: '属地监管单位待审核' },
|
||||||
{ ID: '4', NAME: '安全管理部门待审核' },
|
{ ID: '4', NAME: '安全管理部门待审核' },
|
||||||
{ ID: '5', NAME: '动火审批人待审核' },
|
{ ID: '5', NAME: '动火审批人待审核' },
|
||||||
|
|
|
@ -74,7 +74,22 @@
|
||||||
<td class="bbg">动火作业实施时间</td>
|
<td class="bbg">动火作业实施时间</td>
|
||||||
<td colspan="3">{{ pd.WORK_START_DATE }}至{{ pd.WORK_END_DATE }}止</td>
|
<td colspan="3">{{ pd.WORK_START_DATE }}至{{ pd.WORK_END_DATE }}止</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr v-if="pd.FIRE_COMPLETED === '1' && pd.SITE_CLEANED === '1'">
|
||||||
|
<td class="bbg">动火是否完成</td>
|
||||||
|
<td>
|
||||||
|
<span>已完成</span>
|
||||||
|
</td>
|
||||||
|
<td class="bbg">动火是否完成</td>
|
||||||
|
<td>
|
||||||
|
<span>已清理</span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr v-if="pd.NO_REMAINING_EMBERS === '1'">
|
||||||
|
<td class="bbg">是否存在遗留火种</td>
|
||||||
|
<td>
|
||||||
|
<span>无遗留火种</span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="4">
|
<td colspan="4">
|
||||||
<table class="table-ui">
|
<table class="table-ui">
|
||||||
|
@ -149,10 +164,12 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td class="bbg">接受交底人</td>
|
<td class="bbg">接受交底人</td>
|
||||||
<td colspan="10">
|
<td colspan="10">
|
||||||
<div v-for="item in imgList" :key="item.ACCEPT_CONFESS_ID" style="text-align: right">
|
<div v-for="item in acceptConfessList" :key="item.USER_ID">
|
||||||
|
<div v-for="(signature, index) in item.APPROVAL_SIGNATURE" :key="index" style="text-align: right">
|
||||||
<span>签字:</span>
|
<span>签字:</span>
|
||||||
<img v-viewer :src="config.fileUrl + item.ACCEPT_CONFESS_USER_SIGNER_PATH" alt="" width="100" height="100">
|
<img v-viewer :src="config.fileUrl + signature.trim()" alt="" width="100" height="100">
|
||||||
<span>{{ item.ACCEPT_CONFESS_USER_SIGNER_TIME }}</span>
|
<span>{{ item.APPROVAL_SIGNATURE_TIME.split(',')[0] }}</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -178,7 +195,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-if="pd.CONFIRM_USER_SIGNER_PATH">
|
<tr v-if="pd.CONFIRM_USER_SIGNER_PATH">
|
||||||
<td colspan="6">
|
<td colspan="6">
|
||||||
<div>作业负责人意见:{{ pd.CONFIRM_CONTENT }}</div>
|
<div>作业负责人意见:{{ pd.CONFIRM_CONTENT === '无' ? '同意' : pd.CONFIRM_CONTENT }}</div>
|
||||||
<div style="text-align: right">
|
<div style="text-align: right">
|
||||||
<span>签字:</span>
|
<span>签字:</span>
|
||||||
<img v-viewer :src="config.fileUrl + pd.CONFIRM_USER_SIGNER_PATH" alt="" width="100" height="100">
|
<img v-viewer :src="config.fileUrl + pd.CONFIRM_USER_SIGNER_PATH" alt="" width="100" height="100">
|
||||||
|
@ -188,7 +205,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-if="pd.BELONGING_SIGNATURE">
|
<tr v-if="pd.BELONGING_SIGNATURE">
|
||||||
<td colspan="6">
|
<td colspan="6">
|
||||||
<div>项目主管部门负责人意见:{{ pd.BELONGING_OPINIONS }}</div>
|
<div>项目主管部门负责人意见:{{ pd.BELONGING_OPINIONS === '' ? '同意' : pd.BELONGING_OPINIONS }}</div>
|
||||||
<div style="text-align: right">
|
<div style="text-align: right">
|
||||||
<span>签字:</span>
|
<span>签字:</span>
|
||||||
<img v-viewer :src="config.fileUrl + pd.BELONGING_SIGNATURE" alt="" width="100" height="100">
|
<img v-viewer :src="config.fileUrl + pd.BELONGING_SIGNATURE" alt="" width="100" height="100">
|
||||||
|
@ -198,7 +215,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-if="pd.LEADER_USER_SIGNER_PATH">
|
<tr v-if="pd.LEADER_USER_SIGNER_PATH">
|
||||||
<td colspan="6">
|
<td colspan="6">
|
||||||
<div>属地监管单位意见:{{ pd.LEADER_CONTENT }}</div>
|
<div>属地监管单位意见:{{ pd.LEADER_CONTENT === '无' ? '同意' : pd.LEADER_CONTENT }}</div>
|
||||||
<div style="text-align: right">
|
<div style="text-align: right">
|
||||||
<span>签字:</span>
|
<span>签字:</span>
|
||||||
<img v-viewer :src="config.fileUrl + pd.LEADER_USER_SIGNER_PATH" alt="" width="100" height="100">
|
<img v-viewer :src="config.fileUrl + pd.LEADER_USER_SIGNER_PATH" alt="" width="100" height="100">
|
||||||
|
@ -208,7 +225,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-if="pd.AUDIT_USER_SIGNER_PATH">
|
<tr v-if="pd.AUDIT_USER_SIGNER_PATH">
|
||||||
<td colspan="6">
|
<td colspan="6">
|
||||||
<div>安全管理部门意见:{{ pd.AUDIT_CONTENT }}</div>
|
<div>安全管理部门意见:{{ pd.AUDIT_CONTENT === '无' ? '同意' : pd.AUDIT_CONTENT }}</div>
|
||||||
<div style="text-align: right">
|
<div style="text-align: right">
|
||||||
<span>签字:</span>
|
<span>签字:</span>
|
||||||
<img v-viewer :src="config.fileUrl + pd.AUDIT_USER_SIGNER_PATH" alt="" width="100" height="100">
|
<img v-viewer :src="config.fileUrl + pd.AUDIT_USER_SIGNER_PATH" alt="" width="100" height="100">
|
||||||
|
@ -218,7 +235,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-if="pd.APPROVE_USER_SIGNER_PATH">
|
<tr v-if="pd.APPROVE_USER_SIGNER_PATH">
|
||||||
<td colspan="6">
|
<td colspan="6">
|
||||||
<div>动火审批人意见:{{ pd.APPROVE_CONTENT }}</div>
|
<div>动火审批人意见:{{ pd.APPROVE_CONTENT === '无' ? '同意' : pd.APPROVE_CONTENT }}</div>
|
||||||
<div style="text-align: right">
|
<div style="text-align: right">
|
||||||
<span>签字:</span>
|
<span>签字:</span>
|
||||||
<img v-viewer :src="config.fileUrl + pd.APPROVE_USER_SIGNER_PATH" alt="" width="100" height="100">
|
<img v-viewer :src="config.fileUrl + pd.APPROVE_USER_SIGNER_PATH" alt="" width="100" height="100">
|
||||||
|
@ -228,7 +245,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-if="pd.MONITOR_USER_SIGNER_PATH">
|
<tr v-if="pd.MONITOR_USER_SIGNER_PATH">
|
||||||
<td colspan="6">
|
<td colspan="6">
|
||||||
<div>动火前验票负责人:{{ pd.MONITOR_CONTENT }}</div>
|
<div>动火前验票负责人:{{ pd.MONITOR_CONTENT === '无' ? '同意' : pd.MONITOR_CONTENT }}</div>
|
||||||
<div style="text-align: right">
|
<div style="text-align: right">
|
||||||
<span>签字:</span>
|
<span>签字:</span>
|
||||||
<img v-viewer :src="config.fileUrl + pd.MONITOR_USER_SIGNER_PATH" alt="" width="100" height="100">
|
<img v-viewer :src="config.fileUrl + pd.MONITOR_USER_SIGNER_PATH" alt="" width="100" height="100">
|
||||||
|
@ -238,7 +255,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-if="imgList1.length>0">
|
<tr v-if="imgList1.length>0">
|
||||||
<td colspan="10">
|
<td colspan="10">
|
||||||
<div>完工验收:{{ pd.ACCEPT_CONTENT }}</div>
|
<div>完工验收:{{ pd.ACCEPT_CONTENT === '无' ? '同意' : pd.ACCEPT_CONTENT }}</div>
|
||||||
<div v-for="item in imgList1" :key="item.ACCEPT_CONFESS_ID" style="text-align: right">
|
<div v-for="item in imgList1" :key="item.ACCEPT_CONFESS_ID" style="text-align: right">
|
||||||
<span>签字:</span>
|
<span>签字:</span>
|
||||||
<img v-viewer :src="config.fileUrl + item.ACCEPT_USER_SIGNER_PATH" alt="" width="100" height="100">
|
<img v-viewer :src="config.fileUrl + item.ACCEPT_USER_SIGNER_PATH" alt="" width="100" height="100">
|
||||||
|
@ -274,6 +291,7 @@ export default {
|
||||||
imgList: [],
|
imgList: [],
|
||||||
imgList1: [],
|
imgList1: [],
|
||||||
otherProtectiveMeasures: [],
|
otherProtectiveMeasures: [],
|
||||||
|
acceptConfessList: [],
|
||||||
confessList: []
|
confessList: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -399,6 +417,20 @@ export default {
|
||||||
this.confessList.push(item)
|
this.confessList.push(item)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
// data.pd.acceptConfessList.forEach(item => {
|
||||||
|
// if (item.APPROVAL_SIGNATURE_TIME !== undefined && item.APPROVAL_SIGNATURE_TIME.trim() !== '') {
|
||||||
|
// this.acceptConfessList.push(item)
|
||||||
|
// }
|
||||||
|
// })
|
||||||
|
data.pd.acceptConfessList.forEach(item => {
|
||||||
|
// 将 APPROVAL_SIGNATURE 转换为数组
|
||||||
|
if (item.APPROVAL_SIGNATURE) {
|
||||||
|
item.APPROVAL_SIGNATURE = item.APPROVAL_SIGNATURE.split(';')
|
||||||
|
}
|
||||||
|
if (item.APPROVAL_SIGNATURE_TIME !== undefined && item.APPROVAL_SIGNATURE_TIME.trim() !== '') {
|
||||||
|
this.acceptConfessList.push(item)
|
||||||
|
}
|
||||||
|
})
|
||||||
for (let i = 0; i < data.measuresList.length; i++) {
|
for (let i = 0; i < data.measuresList.length; i++) {
|
||||||
// 将字符串转成数组
|
// 将字符串转成数组
|
||||||
const PROTECTIVE_MEASURES = data.measuresList[i].PROTECTIVE_MEASURES.split('')
|
const PROTECTIVE_MEASURES = data.measuresList[i].PROTECTIVE_MEASURES.split('')
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
<template slot-scope="{row}">
|
<template slot-scope="{row}">
|
||||||
<span v-if="row.APPLY_STATUS==0">动火作业待提交</span>
|
<span v-if="row.APPLY_STATUS==0">动火作业待提交</span>
|
||||||
<span v-else-if="row.APPLY_STATUS==1">作业负责人待审核</span>
|
<span v-else-if="row.APPLY_STATUS==1">作业负责人待审核</span>
|
||||||
<span v-else-if="row.APPLY_STATUS==1.5">项目负责人待审核</span>
|
<span v-else-if="row.APPLY_STATUS==1.5">项目主管部门待审核</span>
|
||||||
<span v-else-if="row.APPLY_STATUS==2">属地监管单位待审核</span>
|
<span v-else-if="row.APPLY_STATUS==2">属地监管单位待审核</span>
|
||||||
<span v-else-if="row.APPLY_STATUS==4">安全管理部门待审核</span>
|
<span v-else-if="row.APPLY_STATUS==4">安全管理部门待审核</span>
|
||||||
<span v-else-if="row.APPLY_STATUS==5">动火审批人待审核</span>
|
<span v-else-if="row.APPLY_STATUS==5">动火审批人待审核</span>
|
||||||
|
|
|
@ -138,10 +138,12 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td class="bbg-transparent">接受交底人</td>
|
<td class="bbg-transparent">接受交底人</td>
|
||||||
<td colspan="10">
|
<td colspan="10">
|
||||||
<div v-for="item in imgList" :key="item.ACCEPT_CONFESS_ID" style="text-align: right">
|
<div v-for="item in acceptConfessList" :key="item.USER_ID">
|
||||||
|
<div v-for="(signature, index) in item.APPROVAL_SIGNATURE" :key="index" style="text-align: right">
|
||||||
<span>签字:</span>
|
<span>签字:</span>
|
||||||
<img v-viewer :src="config.fileUrl + item.ACCEPT_CONFESS_USER_SIGNER_PATH" alt="" width="100" height="100">
|
<img v-viewer :src="config.fileUrl + signature.trim()" alt="" width="100" height="100">
|
||||||
<span>{{ item.ACCEPT_CONFESS_USER_SIGNER_TIME }}</span>
|
<span>{{ item.APPROVAL_SIGNATURE_TIME.split(',')[0] }}</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -167,7 +169,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-if="pd.CONFIRM_USER_SIGNER_PATH">
|
<tr v-if="pd.CONFIRM_USER_SIGNER_PATH">
|
||||||
<td colspan="6">
|
<td colspan="6">
|
||||||
<div>作业负责人意见:{{ pd.CONFIRM_CONTENT }}</div>
|
<div>作业负责人意见:{{ pd.CONFIRM_CONTENT === '无' ? '同意' : pd.CONFIRM_CONTENT }}</div>
|
||||||
<div style="text-align: right">
|
<div style="text-align: right">
|
||||||
<span>签字:</span>
|
<span>签字:</span>
|
||||||
<img v-viewer :src="config.fileUrl + pd.CONFIRM_USER_SIGNER_PATH" alt="" width="100" height="100">
|
<img v-viewer :src="config.fileUrl + pd.CONFIRM_USER_SIGNER_PATH" alt="" width="100" height="100">
|
||||||
|
@ -177,7 +179,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-if="pd.BELONGING_SIGNATURE">
|
<tr v-if="pd.BELONGING_SIGNATURE">
|
||||||
<td colspan="6">
|
<td colspan="6">
|
||||||
<div>项目主管部门负责人意见:{{ pd.BELONGING_OPINIONS }}</div>
|
<div>项目主管部门负责人意见:{{ pd.BELONGING_OPINIONS === '' ? '同意' : pd.BELONGING_OPINIONS }}</div>
|
||||||
<div style="text-align: right">
|
<div style="text-align: right">
|
||||||
<span>签字:</span>
|
<span>签字:</span>
|
||||||
<img v-viewer :src="config.fileUrl + pd.BELONGING_SIGNATURE" alt="" width="100" height="100">
|
<img v-viewer :src="config.fileUrl + pd.BELONGING_SIGNATURE" alt="" width="100" height="100">
|
||||||
|
@ -187,7 +189,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-if="pd.LEADER_USER_SIGNER_PATH">
|
<tr v-if="pd.LEADER_USER_SIGNER_PATH">
|
||||||
<td colspan="6">
|
<td colspan="6">
|
||||||
<div>属地监管单位意见:{{ pd.LEADER_CONTENT }}</div>
|
<div>属地监管单位意见:{{ pd.LEADER_CONTENT === '无' ? '同意' : pd.LEADER_CONTENT }}</div>
|
||||||
<div style="text-align: right">
|
<div style="text-align: right">
|
||||||
<span>签字:</span>
|
<span>签字:</span>
|
||||||
<img v-viewer :src="config.fileUrl + pd.LEADER_USER_SIGNER_PATH" alt="" width="100" height="100">
|
<img v-viewer :src="config.fileUrl + pd.LEADER_USER_SIGNER_PATH" alt="" width="100" height="100">
|
||||||
|
@ -197,7 +199,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-if="pd.AUDIT_USER_SIGNER_PATH">
|
<tr v-if="pd.AUDIT_USER_SIGNER_PATH">
|
||||||
<td colspan="6">
|
<td colspan="6">
|
||||||
<div>安全管理部门意见:{{ pd.AUDIT_CONTENT }}</div>
|
<div>安全管理部门意见:{{ pd.AUDIT_CONTENT === '无' ? '同意' : pd.AUDIT_CONTENT }}</div>
|
||||||
<div style="text-align: right">
|
<div style="text-align: right">
|
||||||
<span>签字:</span>
|
<span>签字:</span>
|
||||||
<img v-viewer :src="config.fileUrl + pd.AUDIT_USER_SIGNER_PATH" alt="" width="100" height="100">
|
<img v-viewer :src="config.fileUrl + pd.AUDIT_USER_SIGNER_PATH" alt="" width="100" height="100">
|
||||||
|
@ -207,7 +209,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-if="pd.APPROVE_USER_SIGNER_PATH">
|
<tr v-if="pd.APPROVE_USER_SIGNER_PATH">
|
||||||
<td colspan="6">
|
<td colspan="6">
|
||||||
<div>动火审批人意见:{{ pd.APPROVE_CONTENT }}</div>
|
<div>动火审批人意见:{{ pd.APPROVE_CONTENT === '无' ? '同意' : pd.APPROVE_CONTENT }}</div>
|
||||||
<div style="text-align: right">
|
<div style="text-align: right">
|
||||||
<span>签字:</span>
|
<span>签字:</span>
|
||||||
<img v-viewer :src="config.fileUrl + pd.APPROVE_USER_SIGNER_PATH" alt="" width="100" height="100">
|
<img v-viewer :src="config.fileUrl + pd.APPROVE_USER_SIGNER_PATH" alt="" width="100" height="100">
|
||||||
|
@ -217,7 +219,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-if="pd.MONITOR_USER_SIGNER_PATH">
|
<tr v-if="pd.MONITOR_USER_SIGNER_PATH">
|
||||||
<td colspan="6">
|
<td colspan="6">
|
||||||
<div>动火前验票负责人:{{ pd.MONITOR_CONTENT }}</div>
|
<div>动火前验票负责人:{{ pd.MONITOR_CONTENT === '无' ? '同意' : pd.MONITOR_CONTENT }}</div>
|
||||||
<div style="text-align: right">
|
<div style="text-align: right">
|
||||||
<span>签字:</span>
|
<span>签字:</span>
|
||||||
<img v-viewer :src="config.fileUrl + pd.MONITOR_USER_SIGNER_PATH" alt="" width="100" height="100">
|
<img v-viewer :src="config.fileUrl + pd.MONITOR_USER_SIGNER_PATH" alt="" width="100" height="100">
|
||||||
|
@ -227,7 +229,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-if="imgList1.length>0">
|
<tr v-if="imgList1.length>0">
|
||||||
<td colspan="10">
|
<td colspan="10">
|
||||||
<div>完工验收:{{ pd.ACCEPT_CONTENT }}</div>
|
<div>完工验收:{{ pd.ACCEPT_CONTENT === '无' ? '同意' : pd.ACCEPT_CONTENT }}</div>
|
||||||
<div v-for="item in imgList1" :key="item.ACCEPT_CONFESS_ID" style="text-align: right">
|
<div v-for="item in imgList1" :key="item.ACCEPT_CONFESS_ID" style="text-align: right">
|
||||||
<span>签字:</span>
|
<span>签字:</span>
|
||||||
<img v-viewer :src="config.fileUrl + item.ACCEPT_USER_SIGNER_PATH" alt="" width="100" height="100">
|
<img v-viewer :src="config.fileUrl + item.ACCEPT_USER_SIGNER_PATH" alt="" width="100" height="100">
|
||||||
|
@ -271,6 +273,7 @@ export default {
|
||||||
imgList: [],
|
imgList: [],
|
||||||
imgList1: [],
|
imgList1: [],
|
||||||
otherProtectiveMeasures: [],
|
otherProtectiveMeasures: [],
|
||||||
|
acceptConfessList: [],
|
||||||
confessList: []
|
confessList: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -318,6 +321,20 @@ export default {
|
||||||
this.confessList.push(item)
|
this.confessList.push(item)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
// data.pd.acceptConfessList.forEach(item => {
|
||||||
|
// if (item.APPROVAL_SIGNATURE_TIME !== undefined && item.APPROVAL_SIGNATURE_TIME.trim() !== '') {
|
||||||
|
// this.acceptConfessList.push(item)
|
||||||
|
// }
|
||||||
|
// })
|
||||||
|
data.pd.acceptConfessList.forEach(item => {
|
||||||
|
// 将 APPROVAL_SIGNATURE 转换为数组
|
||||||
|
if (item.APPROVAL_SIGNATURE) {
|
||||||
|
item.APPROVAL_SIGNATURE = item.APPROVAL_SIGNATURE.split(';')
|
||||||
|
}
|
||||||
|
if (item.APPROVAL_SIGNATURE_TIME !== undefined && item.APPROVAL_SIGNATURE_TIME.trim() !== '') {
|
||||||
|
this.acceptConfessList.push(item)
|
||||||
|
}
|
||||||
|
})
|
||||||
for (let i = 0; i < data.measuresList.length; i++) {
|
for (let i = 0; i < data.measuresList.length; i++) {
|
||||||
// 将字符串转成数组
|
// 将字符串转成数组
|
||||||
const PROTECTIVE_MEASURES = data.measuresList[i].PROTECTIVE_MEASURES.split('')
|
const PROTECTIVE_MEASURES = data.measuresList[i].PROTECTIVE_MEASURES.split('')
|
||||||
|
|
|
@ -292,14 +292,15 @@ export default {
|
||||||
}
|
}
|
||||||
upload('/xgf/user/approveMax', formData)
|
upload('/xgf/user/approveMax', formData)
|
||||||
.then((data) => {
|
.then((data) => {
|
||||||
if (data.errorMessage == ''){
|
if (data.code !== '0') {
|
||||||
this.$message.success('推送成功')
|
|
||||||
}else {
|
|
||||||
this.$message.error(data.errorMessage)
|
this.$message.error(data.errorMessage)
|
||||||
}
|
} else {
|
||||||
|
this.$message.success('推送成功')
|
||||||
this.visible = false
|
this.visible = false
|
||||||
this.$emit('refresh', '')
|
|
||||||
this.handleClose()
|
this.handleClose()
|
||||||
|
this.$emit('refresh', '')
|
||||||
|
}
|
||||||
|
|
||||||
this.loading = false
|
this.loading = false
|
||||||
})
|
})
|
||||||
.catch((e) => {
|
.catch((e) => {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// eslint-disable-next-line no-unused-vars
|
// eslint-disable-next-line no-unused-vars
|
||||||
const config = {
|
const config = {
|
||||||
weburl: 'http://192.168.151.43:8080/', // 前台地址
|
weburl: 'http://192.168.0.49:8080/', // 前台地址
|
||||||
httpurl: 'http://192.168.151.43:8091/', // 后台地址
|
httpurl: 'http://192.168.0.49:8091/', // 后台地址
|
||||||
qyurl: 'https://qgqy.qhdsafety.com/', // 企业前台
|
qyurl: 'https://qgqy.qhdsafety.com/', // 企业前台
|
||||||
adminurl: 'https://www.qdkjchina.com/qa-prevention-admin/',
|
adminurl: 'https://www.qdkjchina.com/qa-prevention-admin/',
|
||||||
// 正式
|
// 正式
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
// eslint-disable-next-line no-unused-vars
|
// eslint-disable-next-line no-unused-vars
|
||||||
const config = {
|
const config = {
|
||||||
weburl: 'http://192.168.151.43:8080/', // 前台地址
|
// weburl: 'http://192.168.151.43:8080/', // 前台地址
|
||||||
httpurl: 'http://qgqy.qhdsafety.com/qa-prevention-gwj/', // 后台地址
|
// httpurl: 'http://qgqy.qhdsafety.com/qa-prevention-gwj/', // 后台地址
|
||||||
|
weburl: 'http://192.168.0.49:8080/', // 前台地址
|
||||||
|
httpurl: 'http://192.168.0.49:8091/', // 后台地址
|
||||||
qyurl: 'https://qgqy.qhdsafety.com/', // 企业前台
|
qyurl: 'https://qgqy.qhdsafety.com/', // 企业前台
|
||||||
adminurl: 'https://www.qdkjchina.com/qa-prevention-admin/',
|
adminurl: 'https://www.qdkjchina.com/qa-prevention-admin/',
|
||||||
// 正式
|
// 正式
|
||||||
|
|
Loading…
Reference in New Issue