事故登记模块开发,生成专报模块开发

liujun0703-新项目开发
WenShiJun 2024-07-11 17:52:21 +08:00
parent c78e805b0a
commit 5d80f6183e
2 changed files with 614 additions and 197 deletions

View File

@ -2,7 +2,7 @@
<div> <div>
<div class="app-container"> <div class="app-container">
<div class="level-title"> <div class="level-title">
<h1>救援队伍详情</h1> <h1>事故详情</h1>
</div> </div>
<div class="mb-20"> <div class="mb-20">
<table class="table-ui"> <table class="table-ui">
@ -111,6 +111,39 @@
</table> </table>
</div> </div>
</div> </div>
<div v-if="form.REPORT_UNIT !== null" class="app-container">
<div class="level-title">
<h1>专报详情</h1>
</div>
<div class="mb-20">
<table class="table-ui">
<tr>
<td class="tbg">报告单位</td>
<td>{{ form.REPORT_UNIT }}</td>
<td class="tbg">审核人</td>
<td>{{ form.AUDITOR }}</td>
</tr>
<tr>
<td class="tbg">报告人</td>
<td>{{ form.REPORTER }}</td>
<td class="tbg">报告时间</td>
<td>{{ form.REPORT_TIME }}</td>
</tr>
<tr>
<td class="tbg">责任人</td>
<td>{{ form.RESPONSIBLE_PERSON }}</td>
<td class="tbg">联系方式</td>
<td>{{ form.CONTACT_INFORMATION }}</td>
</tr>
<tr>
<td class="tbg">安全评价等级</td>
<td>{{ form.SAFETY_EVALUATION_LEVEL }}</td>
<td class="tbg">持证情况</td>
<td>{{ form.CERTIFICATE_STATUS }}</td>
</tr>
</table>
</div>
</div>
<div class="ui-height" /> <div class="ui-height" />
<div class="ui-foot"> <div class="ui-foot">
<el-button type="primary" @click="goBack"></el-button> <el-button type="primary" @click="goBack"></el-button>
@ -158,10 +191,13 @@ export default {
DIRECT_ECONOMIC_LOSS: '', DIRECT_ECONOMIC_LOSS: '',
BRIEF_PROCESS: '', BRIEF_PROCESS: '',
DISPOSAL_SITUATION: '', DISPOSAL_SITUATION: '',
OPERATOR: '', REPORT_UNIT: '',
OPERATETIME: '', AUDITOR: '',
CREATETIME: '', REPORTER: '',
CREATOR: '' RESPONSIBLE_PERSON: '',
CONTACT_INFORMATION: '',
SAFETY_EVALUATION_LEVEL: '',
CERTIFICATE_STATUS: ''
}, },
Id: '' Id: ''
} }
@ -181,6 +217,13 @@ export default {
requestFN('/major/registration/detail', params).then((response) => { requestFN('/major/registration/detail', params).then((response) => {
const data = response.msg const data = response.msg
this.form = { this.form = {
REPORT_UNIT: data.REPORT_UNIT,
AUDITOR: data.AUDITOR,
REPORTER: data.REPORTER,
RESPONSIBLE_PERSON: data.RESPONSIBLE_PERSON,
CONTACT_INFORMATION: data.CONTACT_INFORMATION,
SAFETY_EVALUATION_LEVEL: data.SAFETY_EVALUATION_LEVEL,
CERTIFICATE_STATUS: data.CERTIFICATE_STATUS,
EVENT_NAME: data.EVENT_NAME, EVENT_NAME: data.EVENT_NAME,
INCOMING_PHONE: data.INCOMING_PHONE, INCOMING_PHONE: data.INCOMING_PHONE,
OWNER_NAME: data.OWNER_NAME, OWNER_NAME: data.OWNER_NAME,