事故登记模块开发
parent
a406b3a428
commit
c78e805b0a
|
@ -46,10 +46,24 @@
|
|||
<el-input v-model="form.UNIT" placeholder="请输入单位..." />
|
||||
</el-form-item>
|
||||
<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 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 label="值班记录" prop="DUTY_RECORD">
|
||||
<el-input v-model="form.DUTY_RECORD" type="textarea" placeholder="请输入值班记录..." />
|
||||
|
|
|
@ -7,110 +7,106 @@
|
|||
<div class="mb-20">
|
||||
<table class="table-ui">
|
||||
<tr>
|
||||
<td class="tbg">救援队名称</td>
|
||||
<td>{{ form.RESCUE_TEAM_NAME }}</td>
|
||||
<td class="tbg">地址</td>
|
||||
<td>{{ form.RESCUE_TEAM_ADDRESS }}</td>
|
||||
<td class="tbg">事件标题</td>
|
||||
<td>{{ form.EVENT_NAME }}</td>
|
||||
<td class="tbg">呼入电话</td>
|
||||
<td>{{ form.INCOMING_PHONE }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tbg">类型</td>
|
||||
<td>{{ form.TYPE_NAME }}</td>
|
||||
<td class="tbg">级别</td>
|
||||
<td>{{ form.LEVEL }}</td>
|
||||
<td class="tbg">机主姓名</td>
|
||||
<td>{{ form.OWNER_NAME }}</td>
|
||||
<td class="tbg">主叫地址</td>
|
||||
<td>{{ form.CALLER_ADDRESS }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tbg">密级</td>
|
||||
<td>{{ form.SECURITY_LEVEL }}</td>
|
||||
<td class="tbg">所属区域</td>
|
||||
<td>{{ form.AREA_NAME }}</td>
|
||||
<td class="tbg">接入方式</td>
|
||||
<td>{{ form.ACCESS_MODE }}</td>
|
||||
<td class="tbg">事件类型</td>
|
||||
<td>{{ form.EVENT_TYPE }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tbg">值班电话</td>
|
||||
<td>{{ form.DUTY_PHONE }}</td>
|
||||
<td class="tbg">传真</td>
|
||||
<td>{{ form.FAX }}</td>
|
||||
<td class="tbg">姓名</td>
|
||||
<td>{{ form.NAME }}</td>
|
||||
<td class="tbg">联系电话</td>
|
||||
<td>{{ form.CONTACT_PHONE }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tbg">邮编</td>
|
||||
<td>{{ form.POSTAL_CODE }}</td>
|
||||
<td class="tbg">成立时间</td>
|
||||
<td>{{ form.ESTABLISHMENT_DATE }}</td>
|
||||
<td class="tbg">单位名称</td>
|
||||
<td>{{ form.UNIT_NAME }}</td>
|
||||
<td class="tbg">所在区域</td>
|
||||
<td>{{ form.REGION }}</td>
|
||||
</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>{{ form.LONGITUDE }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tbg">纬度</td>
|
||||
<td>{{ form.LATITUDE }}</td>
|
||||
<td class="tbg">接报类型</td>
|
||||
<td>{{ form.REPORT_TYPE }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tbg">负责人</td>
|
||||
<td>{{ form.RESPONSIBLE_PERSON }}</td>
|
||||
<td class="tbg">负责人办公电话</td>
|
||||
<td>{{ form.RESPONSIBLE_OFFICE_PHONE }}</td>
|
||||
<td class="tbg">事故标题</td>
|
||||
<td>{{ form.ACCIDENT_TITLE }}</td>
|
||||
<td class="tbg">事故级别</td>
|
||||
<td>{{ form.ACCIDENT_LEVEL }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tbg">负责人移动电话</td>
|
||||
<td>{{ form.RESPONSIBLE_MOBILE_PHONE }}</td>
|
||||
<td class="tbg">负责人住宅电话</td>
|
||||
<td>{{ form.RESPONSIBLE_HOME_PHONE }}</td>
|
||||
<td class="tbg">伤害类型</td>
|
||||
<td>{{ form.INJURY_TYPE }}</td>
|
||||
<td class="tbg">事故类型</td>
|
||||
<td>{{ form.ACCIDENT_TYPE }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tbg">联系人</td>
|
||||
<td>{{ form.CONTACT_PERSON }}</td>
|
||||
<td class="tbg">联系人办公电话</td>
|
||||
<td>{{ form.CONTACT_OFFICE_PHONE }}</td>
|
||||
<td class="tbg">被困人数</td>
|
||||
<td>{{ form.TRAPPED_PEOPLE_COUNT }}</td>
|
||||
<td class="tbg">失踪人数</td>
|
||||
<td>{{ form.MISSING_PEOPLE_COUNT }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tbg">联系人移动电话</td>
|
||||
<td>{{ form.CONTACT_MOBILE_PHONE }}</td>
|
||||
<td class="tbg">联系人住宅电话</td>
|
||||
<td>{{ form.CONTACT_HOME_PHONE }}</td>
|
||||
<td class="tbg">死亡人数</td>
|
||||
<td>{{ form.DEATH_PEOPLE_COUNT }}</td>
|
||||
<td class="tbg">重伤人数</td>
|
||||
<td>{{ form.SERIOUS_INJURY_PEOPLE_COUNT }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tbg">联系人电子邮箱</td>
|
||||
<td>{{ form.CONTACT_EMAIL }}</td>
|
||||
<td class="tbg">轻伤人数</td>
|
||||
<td>{{ form.MINOR_INJURY_PEOPLE_COUNT }}</td>
|
||||
<td class="tbg">中毒人数</td>
|
||||
<td>{{ form.POISONING_PEOPLE_COUNT }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tbg">主管单位名称</td>
|
||||
<td>{{ form.SUPERVISING_UNIT_NAME }}</td>
|
||||
<td class="tbg">主管单位地址</td>
|
||||
<td>{{ form.SUPERVISING_UNIT_ADDRESS }}</td>
|
||||
<td class="tbg">直接经济损失(万元)</td>
|
||||
<td>{{ form.DIRECT_ECONOMIC_LOSS }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tbg">总人数</td>
|
||||
<td>{{ form.TOTAL_PERSONNEL }}</td>
|
||||
<td class="tbg">应急通信方式</td>
|
||||
<td>{{ form.EMERGENCY_COMMUNICATION_MODE }}</td>
|
||||
<td class="tbg">简要经过</td>
|
||||
<td colspan="3">{{ form.BRIEF_PROCESS }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tbg">预计准备时间</td>
|
||||
<td>{{ form.EXPECTED_PREPARATION_TIME }}</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>
|
||||
<td class="tbg">处置情况</td>
|
||||
<td colspan="3">{{ form.DISPOSAL_SITUATION }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
@ -129,43 +125,43 @@ export default {
|
|||
data() {
|
||||
return {
|
||||
form: {
|
||||
RESCUE_TEAM_NAME: '',
|
||||
RESCUE_TEAM_ADDRESS: '',
|
||||
TYPE: '',
|
||||
TYPE_NAME: '',
|
||||
LEVEL: '',
|
||||
LEVEL_NAME: '',
|
||||
SECURITY_LEVEL: '',
|
||||
SECURITY_LEVEL_NAME: '',
|
||||
AREA: '',
|
||||
AREA_NAME: '',
|
||||
DUTY_PHONE: '',
|
||||
FAX: '',
|
||||
POSTAL_CODE: '',
|
||||
EVENT_NAME: '',
|
||||
INCOMING_PHONE: '',
|
||||
OWNER_NAME: '',
|
||||
CALLER_ADDRESS: '',
|
||||
ACCESS_MODE: '',
|
||||
EVENT_TYPE: '',
|
||||
NAME: '',
|
||||
CONTACT_PHONE: '',
|
||||
UNIT_NAME: '',
|
||||
REGION: '',
|
||||
UNIT_ADDRESS: '',
|
||||
INDUSTRY_TYPE: '',
|
||||
ECONOMIC_TYPE: '',
|
||||
MAJOR_HAZARD: '',
|
||||
REPORT_TIME: '',
|
||||
OCCURRENCE_TIME: '',
|
||||
LOCATION_ADDRESS: '',
|
||||
LONGITUDE: '',
|
||||
LATITUDE: '',
|
||||
RESPONSIBLE_PERSON: '',
|
||||
RESPONSIBLE_OFFICE_PHONE: '',
|
||||
RESPONSIBLE_MOBILE_PHONE: '',
|
||||
RESPONSIBLE_HOME_PHONE: '',
|
||||
CONTACT_PERSON: '',
|
||||
CONTACT_OFFICE_PHONE: '',
|
||||
CONTACT_MOBILE_PHONE: '',
|
||||
CONTACT_HOME_PHONE: '',
|
||||
CONTACT_EMAIL: '',
|
||||
TOTAL_PERSONNEL: '',
|
||||
ESTABLISHMENT_DATE: '',
|
||||
EMERGENCY_COMMUNICATION_MODE: '',
|
||||
SUPERVISING_UNIT_NAME: '',
|
||||
SUPERVISING_UNIT_ADDRESS: '',
|
||||
MAIN_DUTIES: '',
|
||||
MAIN_EQUIPMENT_DESCRIPTION: '',
|
||||
SPECIALTY_DESCRIPTION: '',
|
||||
QUALIFICATION_LEVEL: '',
|
||||
EMERGENCY_RESCUE_EXPERIENCE: '',
|
||||
EXPECTED_PREPARATION_TIME: '',
|
||||
ASSEMBLY_DEPARTURE_LOCATION: '',
|
||||
REMARK: ''
|
||||
REPORT_TYPE: '',
|
||||
ACCIDENT_TITLE: '',
|
||||
ACCIDENT_LEVEL: '',
|
||||
INJURY_TYPE: '',
|
||||
ACCIDENT_TYPE: '',
|
||||
TRAPPED_PEOPLE_COUNT: '',
|
||||
MISSING_PEOPLE_COUNT: '',
|
||||
DEATH_PEOPLE_COUNT: '',
|
||||
SERIOUS_INJURY_PEOPLE_COUNT: '',
|
||||
MINOR_INJURY_PEOPLE_COUNT: '',
|
||||
POISONING_PEOPLE_COUNT: '',
|
||||
DIRECT_ECONOMIC_LOSS: '',
|
||||
BRIEF_PROCESS: '',
|
||||
DISPOSAL_SITUATION: '',
|
||||
OPERATOR: '',
|
||||
OPERATETIME: '',
|
||||
CREATETIME: '',
|
||||
CREATOR: ''
|
||||
},
|
||||
Id: ''
|
||||
}
|
||||
|
@ -182,46 +178,46 @@ export default {
|
|||
},
|
||||
getDetail(Id) {
|
||||
const params = { Id }
|
||||
requestFN('/major/emergency/detail', params).then((response) => {
|
||||
requestFN('/major/registration/detail', params).then((response) => {
|
||||
const data = response.msg
|
||||
this.form = {
|
||||
RESCUE_TEAM_NAME: data.RESCUE_TEAM_NAME,
|
||||
RESCUE_TEAM_ADDRESS: data.RESCUE_TEAM_ADDRESS,
|
||||
TYPE: data.TYPE,
|
||||
TYPE_NAME: data.TYPE_NAME,
|
||||
LEVEL: data.LEVEL,
|
||||
LEVEL_NAME: data.LEVEL_NAME,
|
||||
SECURITY_LEVEL: data.SECURITY_LEVEL,
|
||||
SECURITY_LEVEL_NAME: data.SECURITY_LEVEL_NAME,
|
||||
AREA: data.AREA,
|
||||
AREA_NAME: data.AREA_NAME,
|
||||
DUTY_PHONE: data.DUTY_PHONE,
|
||||
FAX: data.FAX,
|
||||
POSTAL_CODE: data.POSTAL_CODE,
|
||||
EVENT_NAME: data.EVENT_NAME,
|
||||
INCOMING_PHONE: data.INCOMING_PHONE,
|
||||
OWNER_NAME: data.OWNER_NAME,
|
||||
CALLER_ADDRESS: data.CALLER_ADDRESS,
|
||||
ACCESS_MODE: data.ACCESS_MODE,
|
||||
EVENT_TYPE: data.EVENT_TYPE,
|
||||
NAME: data.NAME,
|
||||
CONTACT_PHONE: data.CONTACT_PHONE,
|
||||
UNIT_NAME: data.UNIT_NAME,
|
||||
REGION: data.REGION,
|
||||
UNIT_ADDRESS: data.UNIT_ADDRESS,
|
||||
INDUSTRY_TYPE: data.INDUSTRY_TYPE,
|
||||
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,
|
||||
LATITUDE: data.LATITUDE,
|
||||
RESPONSIBLE_PERSON: data.RESPONSIBLE_PERSON,
|
||||
RESPONSIBLE_OFFICE_PHONE: data.RESPONSIBLE_OFFICE_PHONE,
|
||||
RESPONSIBLE_MOBILE_PHONE: data.RESPONSIBLE_MOBILE_PHONE,
|
||||
RESPONSIBLE_HOME_PHONE: data.RESPONSIBLE_HOME_PHONE,
|
||||
CONTACT_PERSON: data.CONTACT_PERSON,
|
||||
CONTACT_OFFICE_PHONE: data.CONTACT_OFFICE_PHONE,
|
||||
CONTACT_MOBILE_PHONE: data.CONTACT_MOBILE_PHONE,
|
||||
CONTACT_HOME_PHONE: data.CONTACT_HOME_PHONE,
|
||||
CONTACT_EMAIL: data.CONTACT_EMAIL,
|
||||
TOTAL_PERSONNEL: data.TOTAL_PERSONNEL,
|
||||
ESTABLISHMENT_DATE: data.ESTABLISHMENT_DATE,
|
||||
EMERGENCY_COMMUNICATION_MODE: data.EMERGENCY_COMMUNICATION_MODE,
|
||||
SUPERVISING_UNIT_NAME: data.SUPERVISING_UNIT_NAME,
|
||||
SUPERVISING_UNIT_ADDRESS: data.SUPERVISING_UNIT_ADDRESS,
|
||||
MAIN_DUTIES: data.MAIN_DUTIES,
|
||||
MAIN_EQUIPMENT_DESCRIPTION: data.MAIN_EQUIPMENT_DESCRIPTION,
|
||||
SPECIALTY_DESCRIPTION: data.SPECIALTY_DESCRIPTION,
|
||||
QUALIFICATION_LEVEL: data.QUALIFICATION_LEVEL,
|
||||
EMERGENCY_RESCUE_EXPERIENCE: data.EMERGENCY_RESCUE_EXPERIENCE,
|
||||
EXPECTED_PREPARATION_TIME: data.EXPECTED_PREPARATION_TIME,
|
||||
ASSEMBLY_DEPARTURE_LOCATION: data.ASSEMBLY_DEPARTURE_LOCATION,
|
||||
REMARK: data.REMARK,
|
||||
REPORT_TYPE: data.REPORT_TYPE,
|
||||
ACCIDENT_TITLE: data.ACCIDENT_TITLE,
|
||||
ACCIDENT_LEVEL: data.ACCIDENT_LEVEL,
|
||||
INJURY_TYPE: data.INJURY_TYPE,
|
||||
ACCIDENT_TYPE: data.ACCIDENT_TYPE,
|
||||
TRAPPED_PEOPLE_COUNT: data.TRAPPED_PEOPLE_COUNT,
|
||||
MISSING_PEOPLE_COUNT: data.MISSING_PEOPLE_COUNT,
|
||||
DEATH_PEOPLE_COUNT: data.DEATH_PEOPLE_COUNT,
|
||||
SERIOUS_INJURY_PEOPLE_COUNT: data.SERIOUS_INJURY_PEOPLE_COUNT,
|
||||
MINOR_INJURY_PEOPLE_COUNT: data.MINOR_INJURY_PEOPLE_COUNT,
|
||||
POISONING_PEOPLE_COUNT: data.POISONING_PEOPLE_COUNT,
|
||||
DIRECT_ECONOMIC_LOSS: data.DIRECT_ECONOMIC_LOSS,
|
||||
BRIEF_PROCESS: data.BRIEF_PROCESS,
|
||||
DISPOSAL_SITUATION: data.DISPOSAL_SITUATION,
|
||||
OPERATOR: data.OPERATOR,
|
||||
OPERATETIME: data.OPERATETIME,
|
||||
CREATETIME: data.CREATETIME,
|
||||
CREATOR: data.CREATOR,
|
||||
Id: data.ID
|
||||
}
|
||||
}).catch((e) => {
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue