事故登记模块开发

liujun0703-新项目开发
WenShiJun 2024-07-10 18:06:19 +08:00
parent a406b3a428
commit c78e805b0a
3 changed files with 678 additions and 802 deletions

View File

@ -46,10 +46,24 @@
<el-input v-model="form.UNIT" placeholder="请输入单位..." /> <el-input v-model="form.UNIT" placeholder="请输入单位..." />
</el-form-item> </el-form-item>
<el-form-item label="开始时间" prop="START_TIME"> <el-form-item label="开始时间" prop="START_TIME">
<el-date-picker v-model="form.START_TIME" type="datetime" placeholder="选择开始时间" style="width: 100%;" /> <el-date-picker
v-model="form.START_TIME"
type="datetime"
placeholder="请选择接报时间"
format="yyyy-MM-dd HH:mm:ss"
value-format="yyyy-MM-dd HH:mm:ss"
style="width: 100%;"
/>
</el-form-item> </el-form-item>
<el-form-item label="结束时间" prop="END_TIME"> <el-form-item label="结束时间" prop="END_TIME">
<el-date-picker v-model="form.END_TIME" type="datetime" placeholder="选择结束时间" style="width: 100%;" /> <el-date-picker
v-model="form.END_TIME"
type="datetime"
placeholder="请选择发生时间"
format="yyyy-MM-dd HH:mm:ss"
value-format="yyyy-MM-dd HH:mm:ss"
style="width: 100%;"
/>
</el-form-item> </el-form-item>
<el-form-item label="值班记录" prop="DUTY_RECORD"> <el-form-item label="值班记录" prop="DUTY_RECORD">
<el-input v-model="form.DUTY_RECORD" type="textarea" placeholder="请输入值班记录..." /> <el-input v-model="form.DUTY_RECORD" type="textarea" placeholder="请输入值班记录..." />

View File

@ -7,110 +7,106 @@
<div class="mb-20"> <div class="mb-20">
<table class="table-ui"> <table class="table-ui">
<tr> <tr>
<td class="tbg">救援队名称</td> <td class="tbg">事件标题</td>
<td>{{ form.RESCUE_TEAM_NAME }}</td> <td>{{ form.EVENT_NAME }}</td>
<td class="tbg">地址</td> <td class="tbg">呼入电话</td>
<td>{{ form.RESCUE_TEAM_ADDRESS }}</td> <td>{{ form.INCOMING_PHONE }}</td>
</tr> </tr>
<tr> <tr>
<td class="tbg">类型</td> <td class="tbg">机主姓名</td>
<td>{{ form.TYPE_NAME }}</td> <td>{{ form.OWNER_NAME }}</td>
<td class="tbg">级别</td> <td class="tbg">主叫地址</td>
<td>{{ form.LEVEL }}</td> <td>{{ form.CALLER_ADDRESS }}</td>
</tr> </tr>
<tr> <tr>
<td class="tbg">密级</td> <td class="tbg">接入方式</td>
<td>{{ form.SECURITY_LEVEL }}</td> <td>{{ form.ACCESS_MODE }}</td>
<td class="tbg">所属区域</td> <td class="tbg">事件类型</td>
<td>{{ form.AREA_NAME }}</td> <td>{{ form.EVENT_TYPE }}</td>
</tr> </tr>
<tr> <tr>
<td class="tbg">值班电话</td> <td class="tbg">姓名</td>
<td>{{ form.DUTY_PHONE }}</td> <td>{{ form.NAME }}</td>
<td class="tbg">传真</td> <td class="tbg">联系电话</td>
<td>{{ form.FAX }}</td> <td>{{ form.CONTACT_PHONE }}</td>
</tr> </tr>
<tr> <tr>
<td class="tbg">邮编</td> <td class="tbg">单位名称</td>
<td>{{ form.POSTAL_CODE }}</td> <td>{{ form.UNIT_NAME }}</td>
<td class="tbg">成立时间</td> <td class="tbg">所在区域</td>
<td>{{ form.ESTABLISHMENT_DATE }}</td> <td>{{ form.REGION }}</td>
</tr> </tr>
<tr> <tr>
<td class="tbg">单位地址</td>
<td>{{ form.UNIT_ADDRESS }}</td>
<td class="tbg">行业类型</td>
<td>{{ form.INDUSTRY_TYPE }}</td>
</tr>
<tr>
<td class="tbg">经济类型</td>
<td>{{ form.ECONOMIC_TYPE }}</td>
<td class="tbg">重大危险源</td>
<td>{{ form.MAJOR_HAZARD }}</td>
</tr>
<tr>
<td class="tbg">接报时间</td>
<td>{{ form.REPORT_TIME }}</td>
<td class="tbg">发生时间</td>
<td>{{ form.OCCURRENCE_TIME }}</td>
</tr>
<tr>
<td class="tbg">所在地址</td>
<td>{{ form.LOCATION_ADDRESS }}</td>
<td class="tbg">经度</td> <td class="tbg">经度</td>
<td>{{ form.LONGITUDE }}</td> <td>{{ form.LONGITUDE }}</td>
</tr>
<tr>
<td class="tbg">纬度</td> <td class="tbg">纬度</td>
<td>{{ form.LATITUDE }}</td> <td>{{ form.LATITUDE }}</td>
<td class="tbg">接报类型</td>
<td>{{ form.REPORT_TYPE }}</td>
</tr> </tr>
<tr> <tr>
<td class="tbg">负责人</td> <td class="tbg">事故标题</td>
<td>{{ form.RESPONSIBLE_PERSON }}</td> <td>{{ form.ACCIDENT_TITLE }}</td>
<td class="tbg">负责人办公电话</td> <td class="tbg">事故级别</td>
<td>{{ form.RESPONSIBLE_OFFICE_PHONE }}</td> <td>{{ form.ACCIDENT_LEVEL }}</td>
</tr> </tr>
<tr> <tr>
<td class="tbg">负责人移动电话</td> <td class="tbg">伤害类型</td>
<td>{{ form.RESPONSIBLE_MOBILE_PHONE }}</td> <td>{{ form.INJURY_TYPE }}</td>
<td class="tbg">负责人住宅电话</td> <td class="tbg">事故类型</td>
<td>{{ form.RESPONSIBLE_HOME_PHONE }}</td> <td>{{ form.ACCIDENT_TYPE }}</td>
</tr> </tr>
<tr> <tr>
<td class="tbg">联系人</td> <td class="tbg">被困人数</td>
<td>{{ form.CONTACT_PERSON }}</td> <td>{{ form.TRAPPED_PEOPLE_COUNT }}</td>
<td class="tbg">联系人办公电话</td> <td class="tbg">失踪人数</td>
<td>{{ form.CONTACT_OFFICE_PHONE }}</td> <td>{{ form.MISSING_PEOPLE_COUNT }}</td>
</tr> </tr>
<tr> <tr>
<td class="tbg">联系人移动电话</td> <td class="tbg">死亡人数</td>
<td>{{ form.CONTACT_MOBILE_PHONE }}</td> <td>{{ form.DEATH_PEOPLE_COUNT }}</td>
<td class="tbg">联系人住宅电话</td> <td class="tbg">重伤人数</td>
<td>{{ form.CONTACT_HOME_PHONE }}</td> <td>{{ form.SERIOUS_INJURY_PEOPLE_COUNT }}</td>
</tr> </tr>
<tr> <tr>
<td class="tbg">联系人电子邮箱</td> <td class="tbg">轻伤人数</td>
<td>{{ form.CONTACT_EMAIL }}</td> <td>{{ form.MINOR_INJURY_PEOPLE_COUNT }}</td>
<td class="tbg">中毒人数</td>
<td>{{ form.POISONING_PEOPLE_COUNT }}</td>
</tr> </tr>
<tr> <tr>
<td class="tbg">主管单位名称</td> <td class="tbg">直接经济损失万元</td>
<td>{{ form.SUPERVISING_UNIT_NAME }}</td> <td>{{ form.DIRECT_ECONOMIC_LOSS }}</td>
<td class="tbg">主管单位地址</td>
<td>{{ form.SUPERVISING_UNIT_ADDRESS }}</td>
</tr> </tr>
<tr> <tr>
<td class="tbg">总人数</td> <td class="tbg">简要经过</td>
<td>{{ form.TOTAL_PERSONNEL }}</td> <td colspan="3">{{ form.BRIEF_PROCESS }}</td>
<td class="tbg">应急通信方式</td>
<td>{{ form.EMERGENCY_COMMUNICATION_MODE }}</td>
</tr> </tr>
<tr> <tr>
<td class="tbg">预计准备时间</td> <td class="tbg">处置情况</td>
<td>{{ form.EXPECTED_PREPARATION_TIME }}</td> <td colspan="3">{{ form.DISPOSAL_SITUATION }}</td>
<td class="tbg">集合出发地点</td>
<td>{{ form.ASSEMBLY_DEPARTURE_LOCATION }}</td>
</tr>
<tr>
<td class="tbg">主要职责</td>
<td colspan="3">{{ form.MAIN_DUTIES }}</td>
</tr>
<tr>
<td class="tbg">主要装备描述</td>
<td colspan="3">{{ form.MAIN_EQUIPMENT_DESCRIPTION }}</td>
</tr>
<tr>
<td class="tbg">专长描述</td>
<td colspan="3">{{ form.SPECIALTY_DESCRIPTION }}</td>
</tr>
<tr>
<td class="tbg">资质等级</td>
<td colspan="3">{{ form.QUALIFICATION_LEVEL }}</td>
</tr>
<tr>
<td class="tbg">应急救援经历</td>
<td colspan="3">{{ form.EMERGENCY_RESCUE_EXPERIENCE }}</td>
</tr>
<tr>
<td class="tbg">备注</td>
<td colspan="3">{{ form.REMARK }}</td>
</tr> </tr>
</table> </table>
</div> </div>
@ -129,43 +125,43 @@ export default {
data() { data() {
return { return {
form: { form: {
RESCUE_TEAM_NAME: '', EVENT_NAME: '',
RESCUE_TEAM_ADDRESS: '', INCOMING_PHONE: '',
TYPE: '', OWNER_NAME: '',
TYPE_NAME: '', CALLER_ADDRESS: '',
LEVEL: '', ACCESS_MODE: '',
LEVEL_NAME: '', EVENT_TYPE: '',
SECURITY_LEVEL: '', NAME: '',
SECURITY_LEVEL_NAME: '', CONTACT_PHONE: '',
AREA: '', UNIT_NAME: '',
AREA_NAME: '', REGION: '',
DUTY_PHONE: '', UNIT_ADDRESS: '',
FAX: '', INDUSTRY_TYPE: '',
POSTAL_CODE: '', ECONOMIC_TYPE: '',
MAJOR_HAZARD: '',
REPORT_TIME: '',
OCCURRENCE_TIME: '',
LOCATION_ADDRESS: '',
LONGITUDE: '', LONGITUDE: '',
LATITUDE: '', LATITUDE: '',
RESPONSIBLE_PERSON: '', REPORT_TYPE: '',
RESPONSIBLE_OFFICE_PHONE: '', ACCIDENT_TITLE: '',
RESPONSIBLE_MOBILE_PHONE: '', ACCIDENT_LEVEL: '',
RESPONSIBLE_HOME_PHONE: '', INJURY_TYPE: '',
CONTACT_PERSON: '', ACCIDENT_TYPE: '',
CONTACT_OFFICE_PHONE: '', TRAPPED_PEOPLE_COUNT: '',
CONTACT_MOBILE_PHONE: '', MISSING_PEOPLE_COUNT: '',
CONTACT_HOME_PHONE: '', DEATH_PEOPLE_COUNT: '',
CONTACT_EMAIL: '', SERIOUS_INJURY_PEOPLE_COUNT: '',
TOTAL_PERSONNEL: '', MINOR_INJURY_PEOPLE_COUNT: '',
ESTABLISHMENT_DATE: '', POISONING_PEOPLE_COUNT: '',
EMERGENCY_COMMUNICATION_MODE: '', DIRECT_ECONOMIC_LOSS: '',
SUPERVISING_UNIT_NAME: '', BRIEF_PROCESS: '',
SUPERVISING_UNIT_ADDRESS: '', DISPOSAL_SITUATION: '',
MAIN_DUTIES: '', OPERATOR: '',
MAIN_EQUIPMENT_DESCRIPTION: '', OPERATETIME: '',
SPECIALTY_DESCRIPTION: '', CREATETIME: '',
QUALIFICATION_LEVEL: '', CREATOR: ''
EMERGENCY_RESCUE_EXPERIENCE: '',
EXPECTED_PREPARATION_TIME: '',
ASSEMBLY_DEPARTURE_LOCATION: '',
REMARK: ''
}, },
Id: '' Id: ''
} }
@ -182,46 +178,46 @@ export default {
}, },
getDetail(Id) { getDetail(Id) {
const params = { Id } const params = { Id }
requestFN('/major/emergency/detail', params).then((response) => { requestFN('/major/registration/detail', params).then((response) => {
const data = response.msg const data = response.msg
this.form = { this.form = {
RESCUE_TEAM_NAME: data.RESCUE_TEAM_NAME, EVENT_NAME: data.EVENT_NAME,
RESCUE_TEAM_ADDRESS: data.RESCUE_TEAM_ADDRESS, INCOMING_PHONE: data.INCOMING_PHONE,
TYPE: data.TYPE, OWNER_NAME: data.OWNER_NAME,
TYPE_NAME: data.TYPE_NAME, CALLER_ADDRESS: data.CALLER_ADDRESS,
LEVEL: data.LEVEL, ACCESS_MODE: data.ACCESS_MODE,
LEVEL_NAME: data.LEVEL_NAME, EVENT_TYPE: data.EVENT_TYPE,
SECURITY_LEVEL: data.SECURITY_LEVEL, NAME: data.NAME,
SECURITY_LEVEL_NAME: data.SECURITY_LEVEL_NAME, CONTACT_PHONE: data.CONTACT_PHONE,
AREA: data.AREA, UNIT_NAME: data.UNIT_NAME,
AREA_NAME: data.AREA_NAME, REGION: data.REGION,
DUTY_PHONE: data.DUTY_PHONE, UNIT_ADDRESS: data.UNIT_ADDRESS,
FAX: data.FAX, INDUSTRY_TYPE: data.INDUSTRY_TYPE,
POSTAL_CODE: data.POSTAL_CODE, ECONOMIC_TYPE: data.ECONOMIC_TYPE,
MAJOR_HAZARD: data.MAJOR_HAZARD,
REPORT_TIME: data.REPORT_TIME,
OCCURRENCE_TIME: data.OCCURRENCE_TIME,
LOCATION_ADDRESS: data.LOCATION_ADDRESS,
LONGITUDE: data.LONGITUDE, LONGITUDE: data.LONGITUDE,
LATITUDE: data.LATITUDE, LATITUDE: data.LATITUDE,
RESPONSIBLE_PERSON: data.RESPONSIBLE_PERSON, REPORT_TYPE: data.REPORT_TYPE,
RESPONSIBLE_OFFICE_PHONE: data.RESPONSIBLE_OFFICE_PHONE, ACCIDENT_TITLE: data.ACCIDENT_TITLE,
RESPONSIBLE_MOBILE_PHONE: data.RESPONSIBLE_MOBILE_PHONE, ACCIDENT_LEVEL: data.ACCIDENT_LEVEL,
RESPONSIBLE_HOME_PHONE: data.RESPONSIBLE_HOME_PHONE, INJURY_TYPE: data.INJURY_TYPE,
CONTACT_PERSON: data.CONTACT_PERSON, ACCIDENT_TYPE: data.ACCIDENT_TYPE,
CONTACT_OFFICE_PHONE: data.CONTACT_OFFICE_PHONE, TRAPPED_PEOPLE_COUNT: data.TRAPPED_PEOPLE_COUNT,
CONTACT_MOBILE_PHONE: data.CONTACT_MOBILE_PHONE, MISSING_PEOPLE_COUNT: data.MISSING_PEOPLE_COUNT,
CONTACT_HOME_PHONE: data.CONTACT_HOME_PHONE, DEATH_PEOPLE_COUNT: data.DEATH_PEOPLE_COUNT,
CONTACT_EMAIL: data.CONTACT_EMAIL, SERIOUS_INJURY_PEOPLE_COUNT: data.SERIOUS_INJURY_PEOPLE_COUNT,
TOTAL_PERSONNEL: data.TOTAL_PERSONNEL, MINOR_INJURY_PEOPLE_COUNT: data.MINOR_INJURY_PEOPLE_COUNT,
ESTABLISHMENT_DATE: data.ESTABLISHMENT_DATE, POISONING_PEOPLE_COUNT: data.POISONING_PEOPLE_COUNT,
EMERGENCY_COMMUNICATION_MODE: data.EMERGENCY_COMMUNICATION_MODE, DIRECT_ECONOMIC_LOSS: data.DIRECT_ECONOMIC_LOSS,
SUPERVISING_UNIT_NAME: data.SUPERVISING_UNIT_NAME, BRIEF_PROCESS: data.BRIEF_PROCESS,
SUPERVISING_UNIT_ADDRESS: data.SUPERVISING_UNIT_ADDRESS, DISPOSAL_SITUATION: data.DISPOSAL_SITUATION,
MAIN_DUTIES: data.MAIN_DUTIES, OPERATOR: data.OPERATOR,
MAIN_EQUIPMENT_DESCRIPTION: data.MAIN_EQUIPMENT_DESCRIPTION, OPERATETIME: data.OPERATETIME,
SPECIALTY_DESCRIPTION: data.SPECIALTY_DESCRIPTION, CREATETIME: data.CREATETIME,
QUALIFICATION_LEVEL: data.QUALIFICATION_LEVEL, CREATOR: data.CREATOR,
EMERGENCY_RESCUE_EXPERIENCE: data.EMERGENCY_RESCUE_EXPERIENCE,
EXPECTED_PREPARATION_TIME: data.EXPECTED_PREPARATION_TIME,
ASSEMBLY_DEPARTURE_LOCATION: data.ASSEMBLY_DEPARTURE_LOCATION,
REMARK: data.REMARK,
Id: data.ID Id: data.ID
} }
}).catch((e) => { }).catch((e) => {