Files
wysite/hc-pos.sqygj.cn/static/js/chunk-2507ce71.ce5a48d7.js

1 line
42 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2507ce71","chunk-2d0aa9e6"],{"0240":function(e,t,o){"use strict";var n=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"app-container bgHeight"},[e.list?o("div",[o("div",{ref:"box",staticClass:"searchStys transition_dom"},[o("el-form",{ref:"query",attrs:{model:e.query}},[o("div",{ref:"form_box",staticClass:"searchBar"},[o("div",{staticClass:"searchInput"},[o("el-row",{attrs:{gutter:20}},[o("el-col",{attrs:{span:6}},[o("el-form-item",{attrs:{prop:"fallout"}},[o("el-select",{attrs:{multiple:"","collapse-tags":"",clearable:"",filterable:"",placeholder:"事故类型/事故后果"},model:{value:e.query.fallout,callback:function(t){e.$set(e.query,"fallout",t)},expression:"query.fallout"}},e._l(e.taskType2,(function(e){return o("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)],1),e._v(" "),o("el-col",{attrs:{span:6}},[o("el-form-item",{attrs:{prop:"damageType"}},[o("el-select",{attrs:{clearable:"",placeholder:"人员伤害类型"},model:{value:e.query.damageType,callback:function(t){e.$set(e.query,"damageType",t)},expression:"query.damageType"}},e._l(e.degreeList,(function(e){return o("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)],1),e._v(" "),o("el-col",{attrs:{span:6}},[o("el-form-item",{attrs:{prop:"status"}},[o("el-select",{attrs:{clearable:"",placeholder:"状态"},model:{value:e.query.status,callback:function(t){e.$set(e.query,"status",t)},expression:"query.status"}},[o("el-option",{attrs:{label:"启用",value:1}}),e._v(" "),o("el-option",{attrs:{label:"禁用",value:0}})],1)],1)],1),e._v(" "),o("el-col",{attrs:{span:6}},[o("el-form-item",{attrs:{prop:"description"}},[o("el-select",{attrs:{clearable:"",placeholder:"物业事故等级"},model:{value:e.query.level,callback:function(t){e.$set(e.query,"level",t)},expression:"query.level"}},e._l(e.hazardLevel,(function(e){return o("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)],1),e._v(" "),o("el-col",{attrs:{span:12}},[o("el-form-item",[o("el-date-picker",{attrs:{type:"daterange",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.createTime,callback:function(t){e.createTime=t},expression:"createTime"}})],1)],1),e._v(" "),o("el-col",{attrs:{span:6}},[o("el-form-item",{attrs:{prop:"description"}},[o("el-input",{attrs:{placeholder:"简述",clearable:""},model:{value:e.query.description,callback:function(t){e.$set(e.query,"description",t)},expression:"query.description"}})],1)],1)],1)],1),e._v(" "),o("div",{staticClass:"searchBtn"},[o("el-form-item",[o("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],on:{click:function(t){return e.resetFormQuery("query")}}},[e._v("重置")]),e._v(" "),o("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"primary"},on:{click:e.onSearch}},[e._v("查询")]),e._v(" "),e.is_show||"80px"==e.height?e._e():o("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"text"},on:{click:e.upAndDown}},[e._v("展开"),o("i",{staticClass:"el-icon-arrow-down"})]),e._v(" "),e.is_show&&"80px"!=e.height?o("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"text"},on:{click:e.upAndDown}},[e._v("收起"),o("i",{staticClass:"el-icon-arrow-up"})]):e._e()],1)],1)])])],1),e._v(" "),o("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[o("div",{staticClass:"planLst",attrs:{slot:"header"},slot:"header"},[o("span",{staticClass:"planTitle"},[e._v(e._s(e.commonInfo[1]))]),e._v(" "),"case"==e.type?o("el-button",{attrs:{type:"primary",plain:"",loading:e.syncLoad},on:{click:e.cloudUpload}},[e._v("云下载")]):e._e(),e._v(" "),o("el-button",{attrs:{type:"primary"},on:{click:e.addClick}},[e._v("添加")])],1),e._v(" "),o("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],ref:"receivableTable",attrs:{border:"",data:e.listData,"header-cell-style":e.headClass}},[o("el-table-column",{attrs:{align:"center",label:e.commonInfo[2],"min-width":"150","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.occurrenceTime||"-")+"\n ")]}}],null,!1,3117576306)}),e._v(" "),o("el-table-column",{attrs:{align:"center",label:"事故类型/事故后果","min-width":"150","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e.filterFallout(t.row.fallout))+"\n ")]}}],null,!1,1917378044)}),e._v(" "),o("el-table-column",{attrs:{align:"center",label:"简述","min-width":"180","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.description)+"\n ")]}}],null,!1,2896220923)}),e._v(" "),o("el-table-column",{attrs:{align:"center",label:"人员伤害","min-width":"80","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("getItemType")(t.row.damageType,e.degreeList))+"\n ")]}}],null,!1,2645313014)}),e._v(" "),o("el-table-column",{attrs:{align:"center",label:"事故等级","min-width":"80","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("getItemType")(t.row.level,e.hazardLevel))+"\n ")]}}],null,!1,1122097911)}),e._v(" "),o("el-table-column",{attrs:{align:"center",label:"财务损失(元)","min-width":"90","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[o("div",{staticStyle:{"text-align":"right"}},[e._v("\n "+e._s(e._f("formatMoney")(t.row.propertyLoss))+"\n ")])]}}],null,!1,1114912353)}),e._v(" "),o("el-table-column",{attrs:{align:"center",label:"环境影响","min-width":"150","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("getItemType")(t.row.environmentalImpact,e.SeIAList))+"\n ")]}}],null,!1,630377077)}),e._v(" "),o("el-table-column",{attrs:{align:"center",label:e.commonInfo[3],"min-width":"70","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[""==t.row.fileUrl?o("span",[e._v("-")]):o("div",[o("el-popover",{attrs:{placement:"right",width:"400",trigger:"click"}},[e._l(e.fileData(t.row.fileUrl),(function(t,n){return o("div",{key:n},[o("div",{staticClass:"download-style"},[o("span",[e._v(e._s(t.name))]),e._v(" "),o("i",{staticClass:"el-icon-download",on:{click:function(o){return e.downloadItem(t)}}})])])})),e._v(" "),o("el-button",{attrs:{slot:"reference",type:"text"},slot:"reference"},[e._v("下载")])],2)],1)]}}],null,!1,3670453676)}),e._v(" "),o("el-table-column",{attrs:{align:"center",label:"状态","min-width":"70","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.status?o("el-tag",{attrs:{type:"success"}},[e._v("已启用")]):e._e(),e._v(" "),0==t.row.status?o("el-tag",{attrs:{type:"info"}},[e._v("已禁用")]):e._e()]}}],null,!1,1269940178)}),e._v(" "),o("el-table-column",{attrs:{align:"center",label:"提交人","min-width":"90","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.creatorName)+"\n ")]}}],null,!1,3448814470)}),e._v(" "),o("el-table-column",{attrs:{align:"center",label:"提交时间","min-width":"150","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.createTime)+"\n ")]}}],null,!1,3546623148)}),e._v(" "),o("el-table-column",{attrs:{align:"center",label:"操作","min-width":"110","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[o("el-button",{attrs:{type:"text"},on:{click:function(o){return e.accidentEidt(t.row)}}},[e._v("编辑")]),e._v(" "),0==t.row.status?o("el-button",{staticStyle:{color:"#67c23a"},attrs:{type:"text"},on:{click:function(o){return e.accidentStr(t.row)}}},[e._v("启用")]):e._e(),e._v(" "),1==t.row.status?o("el-button",{staticStyle:{color:"#e6a23c"},attrs:{type:"text"},on:{click:function(o){return e.accidentEnd(t.row)}}},[e._v("禁用")]):e._e(),e._v(" "),0==t.row.status?o("el-button",{staticStyle:{color:"#f56c6c"},attrs:{type:"text"},on:{click:function(o){return e.accidentDelete(t.row)}}},[e._v("删除")]):e._e()]}}],null,!1,380741602)})],1),e._v(" "),o("div",{staticClass:"paginations"},[o("el-pagination",{attrs:{background:"","current-page":e.query.pageNumber,"page-sizes":[10,30,50],"page-size":e.query.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"update:currentPage":function(t){return e.$set(e.query,"pageNumber",t)},"update:current-page":function(t){return e.$set(e.query,"pageNumber",t)},"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)],1)],1):e._e(),e._v(" "),o("editAccident",{ref:"editAccident",attrs:{show:e.add},on:{callback:e.getListData,close:e.addClose}})],1)},a=[],r=o("dcf1"),i=o("dce5"),l=function(){var e=this,t=e.$createElement,o=e._self._c||t;return e.show?o("div",{staticClass:"edit-accident-main"},[o("el-card",{staticClass:"box-card"},[o("el-page-header",{attrs:{content:e.commonInfo[4]},on:{back:e.goBack}})],1),e._v(" "),o("el-card",{staticClass:"box-card"},[o("h3",[e._v("基本信息")]),e._v(" "),o("el-form",{ref:"addForm",staticClass:"demo-ruleForm",attrs:{model:e.addForm,"label-width":"180px"}},[o("el-row",{attrs:{gutter:20}},[o("el-col",{attrs:{span:12}},[o("el-form-item",{attrs:{label:e.commonInfo[1],prop:"occurrenceTime",rules:{required:!0,message:"请选择时间",trigger:"change"}}},[o("el-date-picker",{attrs:{format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-dd HH:mm:ss","default-time":"09:00:00",type:"datetime",placeholder:"选择日期时间"},model:{value:e.addForm.occurrenceTime,callback:function(t){e.$set(e.addForm,"occurrenceTime",t)},expression:"addForm.occurrenceTime"}})],1)],1),e._v(" "),o("el-col",{attrs:{span:12}},[o("el-form-item",{attrs:{label:"事故类型/事故后果",prop:"fallout",rules:{required:!0,message:"请选择事故类型/事故后果",trigger:"change"}}},[o("el-select",{attrs:{"collapse-tags":"",multiple:"",clearable:"",filterable:"",placeholder:"事故类型/事故后果"},model:{value:e.addForm.fallout,callback:function(t){e.$set(e.addForm,"fallout",t)},expression:"addForm.fallout"}},e._l(e.taskType2,(function(e){return o("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)],1),e._v(" "),o("el-col",{attrs:{span:12}},[o("el-form-item",{attrs:{label:e.commonInfo[2],prop:"description",rules:{required:!0,message:"请填写简述",trigger:"blur"}}},[o("el-input",{attrs:{maxlength:"12","show-word-limit":""},model:{value:e.addForm.description,callback:function(t){e.$set(e.addForm,"description",t)},expression:"addForm.description"}})],1)],1),e._v(" "),o("el-col",{attrs:{span:12}},[o("el-form-item",{attrs:{label:"人员伤害",prop:"damageType"}},[o("el-select",{attrs:{clearable:"",placeholder:"人员伤害类型"},model:{value:e.addForm.damageType,callback:function(t){e.$set(e.addForm,"damageType",t)},expression:"addForm.damageType"}},e._l(e.degreeList,(function(e){return o("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)],1),e._v(" "),o("el-col",{attrs:{span:12}},[o("el-form-item",{attrs:{label:"财务损失(元)",prop:"propertyLoss"}},[o("el-input-number",{attrs:{"controls-position":"right",min:0,precision:2},on:{change:e.propertyLossChange},model:{value:e.addForm.propertyLoss,callback:function(t){e.$set(e.addForm,"propertyLoss",t)},expression:"addForm.propertyLoss"}}),e._v(" "),o("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"top"}},[o("div",{attrs:{slot:"content"},slot:"content"},[o("el-image",{attrs:{src:"http://sqy-oss-test.oss-cn-guangzhou.aliyuncs.com/candidateFile_list/20250716/candidate_fileList1752647995208_3cb4b5d6.png"}})],1),e._v(" "),o("i",{staticClass:"el-icon-question"})])],1)],1),e._v(" "),o("el-col",{attrs:{span:12}},[o("el-form-item",{attrs:{label:"环境影响",prop:"environmentalImpact"}},[o("el-select",{attrs:{disabled:!0},model:{value:e.addForm.environmentalImpact,callback:function(t){e.$set(e.addForm,"environmentalImpact",t)},expression:"addForm.environmentalImpact"}},e._l(e.SeIAList,(function(e,t){return o("el-option",{key:t,attrs:{label:e.label,value:e.value}})})),1)],1)],1),e._v(" "),o("el-col",{attrs:{span:12}},[o("el-form-item",{attrs:{label:"状态",prop:"status"}},[o("el-switch",{attrs:{"active-value":1,"inactive-value":0},model:{value:e.addForm.status,callback:function(t){e.$set(e.addForm,"status",t)},expression:"addForm.status"}})],1)],1),e._v(" "),o("el-col",{attrs:{span:12}},[o("el-form-item",{attrs:{label:"物业事故等级",prop:"level",rules:{required:!0,message:"请选择物业事故等级",trigger:"change"}}},[o("el-select",{attrs:{disabled:!0,placeholder:"物业事故等级"},model:{value:e.addForm.level,callback:function(t){e.$set(e.addForm,"level",t)},expression:"addForm.level"}},e._l(e.hazardLevel,(function(e){return o("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)],1),e._v(" "),o("el-col",{attrs:{span:12}},[o("el-form-item",{attrs:{label:e.commonInfo[3]}},[o("el-upload",{ref:"uploadFile",staticClass:"upload-demo",attrs:{action:"",accept:".pdf,.doc,.docx,.xls,.xlsx,.txt,.png,.jpg,.jpeg,.bmp","on-exceed":e.exceedUpload,"before-upload":e.beforeUpload,"http-request":e.uploadRequest,"on-success":e.uploadSuccess,"on-remove":e.uploadRemove,multiple:"",limit:10,"file-list":e.fileList}},[o("el-button",{attrs:{size:"small",type:"primary"}},[e._v("点击上传")]),e._v(" "),o("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[e._v("\n 只能上传图片和文档图片不超过2M文档不超过10M\n ")])],1)],1)],1)],1),e._v(" "),"添加历史事故"==this.commonInfo[4]?o("div",{staticClass:"btn-box"},[o("el-button",{attrs:{type:"primary"},on:{click:e.addHistoryData}},[e._v("保存")])],1):o("div",{staticClass:"btn-box"},[e.commonInfo[4].includes("添加")?o("el-button",{attrs:{type:"primary"},on:{click:e.submitData}},[e._v("确定")]):e._e(),e._v(" "),e.commonInfo[4].includes("编辑")?o("el-button",{attrs:{type:"primary"},on:{click:e.saveData}},[e._v("保存")]):e._e(),e._v(" "),o("el-button",{on:{click:e.goBack}},[e._v("返回")])],1)],1)],1),e._v(" "),"accident"==e.type?o("el-card",[o("div",{staticClass:"people-box"},[o("h3",[e._v("关联工伤人员")]),e._v(" "),o("el-button",{attrs:{type:"primary"},on:{click:e.addPeople}},[e._v("添加")])],1),e._v(" "),o("el-table",{ref:"receivableTable",attrs:{border:"",data:e.listData,"header-cell-style":e.headClass}},[o("el-table-column",{attrs:{label:"#",align:"center",fixed:"",width:"70"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.$index+(e.query.pageNumber-1)*e.query.pageSize+1))]}}],null,!1,3355511203)}),e._v(" "),o("el-table-column",{attrs:{align:"center",label:"身份","min-width":"100","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("getItemType")(t.row.type,e.occupationalInjury))+"\n ")]}}],null,!1,2548941922)}),e._v(" "),o("el-table-column",{attrs:{align:"center",label:"姓名","min-width":"80","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.memberName)+"\n ")]}}],null,!1,3707849802)}),e._v(" "),o("el-table-column",{attrs:{align:"center",label:"证件类型","min-width":"180","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("getItemType")(t.row.certificateType,e.certificateType))+"\n ")]}}],null,!1,50670739)}),e._v(" "),o("el-table-column",{attrs:{align:"center",label:"证件号","min-width":"80","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.certificateNo)+"\n ")]}}],null,!1,3262576137)}),e._v(" "),o("el-table-column",{attrs:{align:"center",label:"申报保险","min-width":"90","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("getItemType")(t.row.insurance,e.insuranceType))+"\n ")]}}],null,!1,755767083)}),e._v(" "),o("el-table-column",{attrs:{align:"center",label:"保险赔偿金额","min-width":"80","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("formatMoney")(t.row.indemnityAmount))+"\n ")]}}],null,!1,1941891834)}),e._v(" "),o("el-table-column",{attrs:{align:"center",label:"赔偿人员金额","min-width":"80","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("formatMoney")(t.row.compensationAmount))+"\n ")]}}],null,!1,4269801967)}),e._v(" "),o("el-table-column",{attrs:{align:"center",label:"操作人","min-width":"80","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.operationBy||"-")+"\n ")]}}],null,!1,3261982)}),e._v(" "),o("el-table-column",{attrs:{align:"center",label:"操作时间","min-width":"100","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.operationTime||"-")+"\n ")]}}],null,!1,1469595056)}),e._v(" "),o("el-table-column",{attrs:{align:"center",label:"操作",width:"110","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[o("el-button",{attrs:{type:"text"},on:{click:function(o){return e.accidentEidt(t.row)}}},[e._v("编辑")]),e._v(" "),o("el-button",{staticStyle:{color:"#f56c6c"},attrs:{type:"text"},on:{click:function(o){return e.accidentDelete(t.row)}}},[e._v("删除")])]}}],null,!1,2756344702)})],1),e._v(" "),o("el-dialog",{staticClass:"people-dialog",attrs:{title:e.title,visible:e.addPeopleShow,"show-close":!0,"close-on-press-escape":!1,"close-on-click-modal":!1,width:"30%"},on:{close:e.cancel}},[o("el-form",{ref:"peopleForm",attrs:{"label-width":"140px",model:e.peopleForm,rules:e.peopleFormRules}},[o("el-form-item",{attrs:{label:"身份",prop:"type"}},[o("el-select",{attrs:{placeholder:"请选择身份"},on:{change:e.typeChange},model:{value:e.peopleForm.type,callback:function(t){e.$set(e.peopleForm,"type",t)},expression:"peopleForm.type"}},e._l(e.occupationalInjury,(function(e,t){return o("el-option",{key:t,attrs:{label:e.label,value:e.value}})})),1)],1),e._v(" "),1==e.peopleForm.type?o("el-form-item",{attrs:{label:"姓名",prop:"memberId"}},[o("el-select",{attrs:{filterable:""},on:{change:e.changeMember},model:{value:e.peopleForm.memberId,callback:function(t){e.$set(e.peopleForm,"memberId",t)},expression:"peopleForm.memberId"}},e._l(e.engineerList,(function(e,t){return o("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1):e._e(),e._v(" "),2==e.peopleForm.type?o("el-form-item",{attrs:{label:"姓名",prop:"memberName"}},[o("el-input",{attrs:{placeholder:"请输入姓名"},model:{value:e.peopleForm.memberName,callback:function(t){e.$set(e.peopleForm,"memberName",t)},expression:"peopleForm.memberName"}})],1):e._e(),e._v(" "),o("el-form-item",{attrs:{label:"证件类型",prop:"certificateType"}},[o("el-select",{attrs:{disabled:1==e.peopleForm.type,placeholder:"请选择证件类型"},model:{value:e.peopleForm.certificateType,callback:function(t){e.$set(e.peopleForm,"certificateType",t)},expression:"peopleForm.certificateType"}},e._l(e.certificateType,(function(e,t){return o("el-option",{key:t,attrs:{label:e.label,value:e.value}})})),1)],1),e._v(" "),o("el-form-item",{attrs:{label:"证件号",prop:"certificateNo"}},[o("el-input",{attrs:{disabled:1==e.peopleForm.type,placeholder:"请输入证件号"},model:{value:e.peopleForm.certificateNo,callback:function(t){e.$set(e.peopleForm,"certificateNo",t)},expression:"peopleForm.certificateNo"}})],1),e._v(" "),2==e.peopleForm.type?o("el-form-item",{attrs:{label:"申报保险",prop:"insurance"}},[o("el-select",{attrs:{clearable:"",placeholder:"请选择保险"},model:{value:e.peopleForm.insurance,callback:function(t){e.$set(e.peopleForm,"insurance",t)},expression:"peopleForm.insurance"}},e._l(e.insuranceType,(function(e,t){return o("el-option",{key:t,attrs:{label:e.label,value:e.value}})})),1)],1):e._e(),e._v(" "),1==e.peopleForm.type?o("el-form-item",{attrs:{label:"申报保险",prop:"insurance"}},[o("el-select",{attrs:{clearable:"",placeholder:"请选择保险"},model:{value:e.peopleForm.insurance,callback:function(t){e.$set(e.peopleForm,"insurance",t)},expression:"peopleForm.insurance"}},e._l(e.insuranceType2,(function(e,t){return o("el-option",{key:t,attrs:{label:e.label,value:e.value}})})),1)],1):e._e(),e._v(" "),1==e.peopleForm.type||2==e.peopleForm.type?o("el-form-item",{attrs:{label:"保险赔偿金额(元)",prop:"indemnityAmount"}},[o("el-input-number",{attrs:{"controls-position":"right",min:0,precision:2},model:{value:e.peopleForm.indemnityAmount,callback:function(t){e.$set(e.peopleForm,"indemnityAmount",t)},expression:"peopleForm.indemnityAmount"}})],1):e._e(),e._v(" "),1==e.peopleForm.type||2==e.peopleForm.type?o("el-form-item",{attrs:{label:"赔偿人员金额(元)",prop:"compensationAmount"}},[o("el-input-number",{attrs:{"controls-position":"right",min:0,precision:2},model:{value:e.peopleForm.compensationAmount,callback:function(t){e.$set(e.peopleForm,"compensationAmount",t)},expression:"peopleForm.compensationAmount"}})],1):e._e(),e._v(" "),o("el-form-item",[o("el-button",{on:{click:e.cancel}},[e._v("取消")]),e._v(" "),"添加"==e.title?o("el-button",{attrs:{type:"primary"},on:{click:e.submitForm}},[e._v("确定")]):e._e(),e._v(" "),"编辑"==e.title?o("el-button",{attrs:{type:"primary"},on:{click:e.update}},[e._v("保存")]):e._e()],1)],1)],1),e._v(" "),o("div",{staticClass:"paginations"},[o("el-pagination",{attrs:{background:"","current-page":e.query.pageNumber,"page-sizes":[10,30,50],"page-size":e.query.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"update:currentPage":function(t){return e.$set(e.query,"pageNumber",t)},"update:current-page":function(t){return e.$set(e.query,"pageNumber",t)},"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1),e._v(" "),e.historyShow?o("div",{staticClass:"btn-box"},[e.commonInfo[4].includes("添加")?o("el-button",{attrs:{type:"primary"},on:{click:e.submitData}},[e._v("确定")]):e._e(),e._v(" "),e.commonInfo[4].includes("编辑")?o("el-button",{attrs:{type:"primary"},on:{click:e.saveData}},[e._v("保存")]):e._e(),e._v(" "),o("el-button",{on:{click:e.goBack}},[e._v("返回")])],1):e._e()],1):e._e()],1):e._e()},s=[],c=o("e10e"),u=(o("127f"),o("b562"));function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function p(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,o="function"==typeof Symbol?Symbol:{},n=o.iterator||"@@iterator",a=o.toStringTag||"@@toStringTag";function r(o,n,a,r){var s=n&&n.prototype instanceof l?n:l,c=Object.create(s.prototype);return m(c,"_invoke",function(o,n,a){var r,l,s,c=0,u=a||[],d=!1,p={p:0,n:0,v:e,a:m,f:m.bind(e,4),d:function(t,o){return r=t,l=0,s=e,p.n=o,i}};function m(o,n){for(l=o,s=n,t=0;!d&&c&&!a&&t<u.length;t++){var a,r=u[t],m=p.p,f=r[2];o>3?(a=f===n)&&(s=r[(l=r[4])?5:(l=3,3)],r[4]=r[5]=e):r[0]<=m&&((a=o<2&&m<r[1])?(l=0,p.v=n,p.n=r[1]):m<f&&(a=o<3||r[0]>n||n>f)&&(r[4]=o,r[5]=n,p.n=f,l=0))}if(a||o>1)return i;throw d=!0,n}return function(a,u,f){if(c>1)throw TypeError("Generator is already running");for(d&&1===u&&m(u,f),l=u,s=f;(t=l<2?e:s)||!d;){r||(l?l<3?(l>1&&(p.n=-1),m(l,s)):p.n=s:p.v=s);try{if(c=2,r){if(l||(a="next"),t=r[a]){if(!(t=t.call(r,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=r.return)&&t.call(r),l<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),l=1);r=e}else if((t=(d=p.n<0)?s:o.call(n,p))!==i)break}catch(t){r=e,l=1,s=t}finally{c=1}}return{value:t,done:d}}}(o,a,r),!0),c}var i={};function l(){}function s(){}function c(){}t=Object.getPrototypeOf;var u=[][n]?t(t([][n]())):(m(t={},n,(function(){return this})),t),d=c.prototype=l.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,m(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=c,m(d,"constructor",c),m(c,"constructor",s),s.displayName="GeneratorFunction",m(c,a,"GeneratorFunction"),m(d),m(d,a,"Generator"),m(d,n,(function(){return this})),m(d,"toString",(function(){return"[object Generator]"})),(p=function(){return{w:r,m:f}})()}function m(e,t,o,n){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}m=function(e,t,o,n){function r(t,o){m(e,t,(function(e){return this._invoke(t,o,e)}))}t?a?a(e,t,{value:o,enumerable:!n,configurable:!n,writable:!n}):e[t]=o:(r("next",0),r("throw",1),r("return",2))},m(e,t,o,n)}function f(e,t,o,n,a,r,i){try{var l=e[r](i),s=l.value}catch(e){return void o(e)}l.done?t(s):Promise.resolve(s).then(n,a)}function h(e){return function(){var t=this,o=arguments;return new Promise((function(n,a){var r=e.apply(t,o);function i(e){f(r,n,a,i,l,"next",e)}function l(e){f(r,n,a,i,l,"throw",e)}i(void 0)}))}}function v(e,t,o){return(t=y(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function y(e){var t=b(e,"string");return"symbol"==d(t)?t:t+""}function b(e,t){if("object"!=d(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!=d(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var g={props:["show"],data:function(){return{certificateType:i["A"],insuranceType:i["ib"],occupationalInjury:i["wb"],hazardLevel:i["cb"],SeIAList:i["c"],type:"",commonInfo:{},taskType2:i["sc"],degreeList:i["L"],addForm:{occurrenceTime:"",fallout:[],description:"",damageType:"",propertyLoss:"",environmentalImpact:1,status:1,level:1},fileList:[],uploadFileList:[],listData:[],query:{pageNumber:1,pageSize:10,projectUuid:this.$store.state.community_uuid},total:0,addPeopleShow:!1,peopleForm:v(v(v({accidentId:"",certificateNo:"",certificateType:"",allowEmptyValue:"",insurance:"",memberId:"",memberName:"",type:""},"accidentId",""),"indemnityAmount",""),"compensationAmount",""),peopleFormRules:{type:[{required:!0,message:"请选择身份",trigger:"change"}],memberId:[{required:!0,message:"请选择员工",trigger:"change"}],memberName:[{required:!0,message:"请输入姓名",trigger:"blur"}],certificateType:[{required:!0,message:"请选择证件类型",trigger:"change"}],certificateNo:[{required:!0,message:"请输入证件号",trigger:"blur"}]},engineerList:[],insuranceType2:[],filterList:[{name:"医疗保险",value:"medical",index:1},{name:"失业保险",value:"unemployment",index:2},{name:"生育保险",value:"maternity",index:3},{name:"工伤保险",value:"workInjury",index:4},{name:"养老保险",value:"endowment",index:5},{name:"特定人员工伤保险",value:"specificWorkInjury",index:6},{name:"雇主责任险",value:"employerLiability",index:7}],title:"添加",historyShow:!1}},mounted:function(){},methods:{propertyLossChange:function(e){e>=0&&e<2e3?(this.addForm.level=3,this.addForm.environmentalImpact=1):e>=2e3&&e<1e4?(this.addForm.level=5,this.addForm.environmentalImpact=2):e>=1e4&&e<4e4?(this.addForm.level=6,this.addForm.environmentalImpact=3):e>=4e4&&e<1e6?(this.addForm.level=8,this.addForm.environmentalImpact=4):e>=1e6&&(this.addForm.level=9,this.addForm.environmentalImpact=5)},update:function(){var e=this;this.$refs.peopleForm.validate((function(t){t&&(e.peopleForm.operationById=e.$store.state.user.userInfo.memberId,e.peopleForm.operationBy=e.$store.state.user.userInfo.memberName,Object(r["d"])(e.peopleForm).then((function(t){0==t.code&&(e.$message.success("更新成功"),e.$refs.peopleForm.resetFields(),e.getListData(e.addForm.id),e.addPeopleShow=!1)})))}))},submitForm:function(){var e=this;this.$refs.peopleForm.validate((function(t){t&&(e.peopleForm.operationById=e.$store.state.user.userInfo.memberId,e.peopleForm.operationBy=e.$store.state.user.userInfo.memberName,Object(r["a"])(e.peopleForm).then((function(t){0==t.code&&(e.$message.success("添加成功"),e.$refs.peopleForm.resetFields(),e.getListData(e.addForm.id),e.addPeopleShow=!1)})))}))},getEngineer:function(){var e=this,t={id:this.$store.state.id};Object(c["m"])(t).then((function(t){e.engineerList=t.data}))},typeChange:function(e){},changeMember:function(e){var t=this;this.insuranceType2=[];var o=this.engineerList.find((function(t){return t.id==e}));if(this.peopleForm.memberName=o.name,this.peopleForm.certificateType=o.certificateType,this.peopleForm.certificateNo=o.idNumber,o.memberSocialSecurityRespDTO){var n=function(e){if(4==o.memberSocialSecurityRespDTO[e]||2==o.memberSocialSecurityRespDTO[e]){var n=t.filterList.find((function(t){return t.value==e}));"housingFund"!==e&&t.insuranceType2.push({label:n.name,value:n.index})}};for(var a in o.memberSocialSecurityRespDTO)n(a)}else console.log("我是空保险")},filterUserList:function(e){var t=this;this.insuranceType2=[];var o=this.engineerList.find((function(t){return t.id==e}));if(console.log(o,"data"),o.memberSocialSecurityRespDTO){var n=function(e){if(console.log(o.memberSocialSecurityRespDTO,"key"),4==o.memberSocialSecurityRespDTO[e]||2==o.memberSocialSecurityRespDTO[e]){var n=t.filterList.find((function(t){return t.value==e}));"housingFund"!==e&&t.insuranceType2.push({label:n.name,value:n.index})}};for(var a in o.memberSocialSecurityRespDTO)n(a)}},addPeople:function(){var e=this;this.title="添加",this.addForm.id?(this.peopleForm.accidentId=this.addForm.id,this.peopleForm.certificateNo="",this.addPeopleShow=!0,this.$nextTick((function(){e.$refs.peopleForm.resetFields()})),this.getEngineer()):this.$message.error("请先添加事故")},cancel:function(){this.$refs.peopleForm.resetFields(),this.addPeopleShow=!1},accidentEidt:function(e){var t=this;Object(r["c"])({id:e.id}).then((function(e){0==e.code&&(Object.assign(t.peopleForm,e.data),1==t.peopleForm.type&&t.filterUserList(t.peopleForm.memberId))})),this.title="编辑",this.addPeopleShow=!0},accidentDelete:function(e){var t=this;Object(r["b"])({id:e.id}).then((function(e){0==e.code&&(t.$message.success("删除成功"),t.getListData(t.addForm.id))}))},editFun:function(e,t){this.type=e,"case"==e?this.commonInfo={1:"案例时间",2:"案例简述",3:"案例文档"}:"accident"==e&&(this.commonInfo={1:"发生时间",2:"事故简述",3:"事故报告"}),void 0!=t?(this.addForm=JSON.parse(JSON.stringify(t)),this.addForm.fallout.includes(",")?this.addForm.fallout=this.addForm.fallout.split(",").map((function(e){return Number(e)})):this.addForm.fallout=[Number(t.fallout)],""!=t.fileUrl&&(this.fileList=JSON.parse(t.fileUrl),this.uploadFileList=JSON.parse(t.fileUrl)),this.propertyLossChange(this.addForm.propertyLoss),"case"==e?this.commonInfo[4]="编辑案例信息":"accident"==e&&(this.commonInfo[4]="编辑历史事故",this.peopleForm.accidentId=this.addForm.id,this.getListData(this.addForm.id),this.getEngineer(),this.historyShow=!1)):"case"==e?this.commonInfo[4]="添加案例信息":"accident"==e&&(this.addForm={occurrenceTime:"",fallout:[],description:"",damageType:"",propertyLoss:"",environmentalImpact:1,status:1,level:1},this.fileList=[],this.uploadFileList=[],this.commonInfo[4]="添加历史事故",this.listData=[],this.getEngineer(),this.historyShow=!0)},addHistoryData:function(){var e=this;this.$refs["addForm"].validate((function(t){t&&Object(r["f"])(e.setAddData()).then((function(t){0==t.code&&(e.$message({message:"添加成功",type:"success"}),e.addForm.id=t.data.id)}))}))},submitData:function(){var e=this;if(console.log("添加被触发"),this.addForm.id)return this.$refs["addForm"].resetFields(),this.fileList=[],this.uploadFileList=[],this.$emit("callback"),void this.$emit("close");this.$refs["addForm"].validate((function(t){t&&Object(r["f"])(e.setAddData()).then((function(t){0==t.code&&(e.$message({message:"添加成功",type:"success"}),e.$refs["addForm"].resetFields(),e.fileList=[],e.uploadFileList=[],e.$emit("callback"),e.addForm.id=t.data.id,e.$emit("close"))}))}))},saveData:function(){var e=this,t=this.setAddData();t.id=this.addForm.id,this.$refs["addForm"].validate((function(o){o&&Object(r["j"])(t).then((function(t){0==t.code&&(e.$message({message:"修改成功",type:"success"}),e.$refs["addForm"].resetFields(),e.fileList=[],e.uploadFileList=[],e.$emit("callback"),e.$emit("close"))}))}))},setAddData:function(){var e={occurrenceTime:this.addForm.occurrenceTime,description:this.addForm.description,damageType:""==this.addForm.damageType?0:this.addForm.damageType,propertyLoss:void 0==this.addForm.propertyLoss?0:this.addForm.propertyLoss,environmentalImpact:this.addForm.environmentalImpact,status:this.addForm.status,fileUrl:0==this.uploadFileList.length?"":JSON.stringify(this.uploadFileList),projectUuid:this.$store.state.community_uuid,operationById:this.$store.state.user.userInfo.memberId,operationBy:this.$store.state.user.userInfo.memberName,level:this.addForm.level};return this.addForm.fallout.length>1?e.fallout=this.addForm.fallout.join(","):e.fallout=String(this.addForm.fallout[0]),"case"==this.type?(e.source=2,e.type=2):"accident"==this.type&&(e.source=2,e.type=3),e},exceedUpload:function(){this.$message("最多仅允许上传10个文件")},beforeUpload:function(e){var t=e.size/1024/1024<10,o=e.size/1024/1024<2,n=["jpeg","jpg","gif","bmp","png"],a=["xls","xlsx","doc","docx","ppt","pptx","pdf","txt"],r=e.name.substring(e.name.lastIndexOf(".")+1);if(!n.includes(r)&&!a.includes(r))return this.$message("上传文件只能是图片或文档jpg、jpeg、png、doc、pdf、xls、txt等格式!"),!1;if(n.includes(r)||a.includes(r)){if(n.includes(r)&&!o)return this.$message("图片文件最大不超过2M"),!1;if(a.includes(r)&&!t)return this.$message("文档文件最大不超过10M"),!1}return!0},uploadRequest:function(){var e=h(p().m((function e(t){var o,n,a,r,i,l,s,c,d,m,f,h,v;return p().w((function(e){while(1)switch(e.p=e.n){case 0:if(o=t.file,e.p=1,n=o.size/1024/1024<10,a=o.size/1024/1024<2,r=["jpeg","jpg","gif","bmp","png"],i=["xls","xlsx","doc","docx","ppt","pptx","pdf","txt"],l=o.name.substring(o.name.lastIndexOf(".")+1),r.includes(l)||i.includes(l)){e.n=2;break}return this.$message("上传文件只能是图片或文档jpg、jpeg、png、doc、pdf、xls、txt等格式!"),t.onError("文件类型不支持"),e.a(2,!1);case 2:if(!r.includes(l)&&!i.includes(l)){e.n=4;break}if(!r.includes(l)||a){e.n=3;break}return this.$message("图片文件最大不超过2M"),t.onError("图片文件过大"),e.a(2,!1);case 3:if(!i.includes(l)||n){e.n=4;break}return this.$message("文档文件最大不超过10M"),t.onError("文档文件过大"),e.a(2,!1);case 4:return s=new FormData,s.append("file",o),e.n=5,Object(u["b"])(s);case 5:c=e.v,c&&0===c.data.code&&c.data.data.fullUrl?(d={name:o.name,url:c.data.data.fullUrl},t.onSuccess(d),this.$message({message:"文件上传成功",type:"success"})):(m=o.uid,f=this.$refs.uploadFile.uploadFiles.findIndex((function(e){return e.uid==m})),this.$refs.uploadFile.uploadFiles.splice(f,1),this.$message.error("文件上传失败"),t.onError("上传失败")),e.n=7;break;case 6:e.p=6,e.v,h=o.uid,v=this.$refs.uploadFile.uploadFiles.findIndex((function(e){return e.uid==h})),this.$refs.uploadFile.uploadFiles.splice(v,1),this.$message.error("文件上传失败"),t.onError("上传失败");case 7:return e.a(2)}}),e,this,[[1,6]])})));function t(t){return e.apply(this,arguments)}return t}(),uploadSuccess:function(e){e&&this.uploadFileList.push(e)},uploadRemove:function(e,t){var o=this.uploadFileList.findIndex((function(t){return t.name===e.name}));this.uploadFileList.splice(o,1)},goBack:function(){this.$refs["addForm"].resetFields(),this.fileList=[],this.uploadFileList=[],this.$emit("close")},headClass:function(){return"text-align:center;background:#FAFAFA;"},getListData:function(e){var t=this;this.query.accidentId=e,Object(r["e"])(this.query).then((function(e){0==e.code&&(t.listData=e.data.records,t.total=e.data.rowsCount)}))},handleSizeChange:function(e){this.query.pageSize=e,this.getListData(this.addForm.id)},handleCurrentChange:function(e){this.query.pageNumber=e,this.getListData(this.addForm.id)}}},_=g,F=(o("356e"),o("829d")),w=Object(F["a"])(_,l,s,!1,null,"70d768cf",null),k=w.exports,x={components:{editAccident:k},props:{type:{type:String,default:"case"}},data:function(){return{hazardLevel:i["cb"],SeIAList:i["c"],commonInfo:{},list:!0,add:!1,is_show:!1,height:"",listData:[],listLoading:!1,syncLoad:!1,total:0,taskType2:i["sc"],degreeList:i["L"],createTime:"",query:{fallout:[],damageType:"",status:"",description:"",level:"",pageNumber:1,pageSize:10}}},created:function(){this.setCommon(),this.headClass(),this.getRealHeight(),this.query.projectUuid=this.$store.state.community_uuid},methods:{filterFallout:function(e){var t=this;if(e){if(e.includes(",")){var o=e.split(",").map((function(e){return Number(e)}));return o.map((function(e){return t.taskType2.find((function(t){return t.value==e})).label})).join("/")}return this.taskType2.find((function(t){return t.value==e})).label}return"-"},setCommon:function(){"case"==this.type?this.commonInfo={1:"案例信息列表",2:"案例时间",3:"案例文档"}:"accident"==this.type&&(this.commonInfo={1:"历史事故列表",2:"发生时间",3:"事故报告"})},getListData:function(){var e=this;this.listLoading=!0,this.query.startTime=this.createTime?"".concat(this.createTime[0]," 00:00:00"):"",this.query.endTime=this.createTime?"".concat(this.createTime[1]," 23:59:59"):"","case"==this.type?this.query.type=2:"accident"==this.type&&(this.query.type=3);var t=JSON.parse(JSON.stringify(this.query));t.fallout.length>0?t.fallout=t.fallout.join(","):t.fallout="",Object(r["h"])(t).then((function(t){t.data&&t.data.records&&(e.listData=t.data.records,e.total=t.data.rowsCount,e.listLoading=!1)})).catch((function(t){e.listLoading=!1}))},addClick:function(){this.$nextTick((function(){this.$refs.editAccident.editFun(this.type),this.list=!1,this.add=!0}))},addClose:function(){this.list=!0,this.add=!1},accidentStr:function(e){var t=this;this.$confirm("此操作将启用该数据信息, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){t.strAndEnd(e,1)})).catch((function(){}))},accidentEnd:function(e){var t=this;this.$confirm("此操作将禁用该数据信息, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){t.strAndEnd(e,0)})).catch((function(){}))},strAndEnd:function(e,t){var o=this,n={id:e.id,status:t};Object(r["k"])(n).then((function(e){1==t?o.$message({type:"success",message:"启用成功!"}):0==t&&o.$message({type:"success",message:"禁用成功!"}),o.getListData()}))},accidentDelete:function(e){var t=this;this.$confirm("确定删除该数据吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){Object(r["g"])({id:e.id}).then((function(e){0==e.code&&(t.$message({message:"删除成功",type:"success"}),t.getListData())}))}))},accidentEidt:function(e){this.$nextTick((function(){this.$refs.editAccident.editFun(this.type,e),this.list=!1,this.add=!0}))},cloudUpload:function(){var e=this;this.syncLoad=!0;var t={projectUuid:this.$store.state.community_uuid,creatorId:this.$store.state.user.userInfo.memberId,creatorName:this.$store.state.user.userInfo.memberName};Object(r["i"])(t).then((function(t){0==t.code?(e.syncLoad=!1,e.$message({message:"同步成功!",type:"success"}),e.getListData()):e.syncLoad=!1})).catch((function(){e.syncLoad=!1}))},downloadItem:function(e){var t=e.url,o=new XMLHttpRequest;o.open("GET",t,!0),o.responseType="blob",o.onload=function(){var t=URL.createObjectURL(o.response),n=document.createElement("a");n.href=t,n.download=e.name,n.target="_blank",n.click()},o.send()},fileData:function(e){if(e&&""!=e)return JSON.parse(e)},onSearch:function(){this.query.pageNumber=1,this.getListData()},resetFormQuery:function(e){this.$refs[e].resetFields(),this.createTime="",this.query.pageNumber=1,this.getListData()},handleSizeChange:function(e){this.query.pageSize=e,this.getListData()},handleCurrentChange:function(e){this.query.pageNumber=e,this.getListData()},upAndDown:function(){this.is_show?this.$refs.box.style.height="80px":this.$refs.box.style.height=this.height,this.is_show=!this.is_show},getRealHeight:function(){this.$nextTick((function(){this.height=this.$refs.form_box.offsetHeight+"px"}))},headClass:function(){return"text-align:center;background:#FAFAFA;"}},mounted:function(){this.getListData()}},S=x,T=(o("78f3"),Object(F["a"])(S,n,a,!1,null,"da695a58",null));t["a"]=T.exports},"066c":function(e,t,o){},"127f":function(e,t,o){"use strict";o.d(t,"a",(function(){return n}));var n=function(){function e(){return(65536*(1+Math.random())|0).toString(16).substring(1)}return"".concat(+new Date,"_").concat(e()).concat(e())}},"356e":function(e,t,o){"use strict";o("acb9")},"78f3":function(e,t,o){"use strict";o("066c")},acb9:function(e,t,o){},dcf1:function(e,t,o){"use strict";o.d(t,"h",(function(){return a})),o.d(t,"f",(function(){return r})),o.d(t,"g",(function(){return i})),o.d(t,"j",(function(){return l})),o.d(t,"k",(function(){return s})),o.d(t,"i",(function(){return c})),o.d(t,"e",(function(){return u})),o.d(t,"a",(function(){return d})),o.d(t,"b",(function(){return p})),o.d(t,"c",(function(){return m})),o.d(t,"d",(function(){return f}));var n=o("b775");function a(e){return Object(n["a"])({url:"/appproject/AccidentPastRecords/pageList",method:"post",data:e})}function r(e){return Object(n["a"])({url:"/appproject/AccidentPastRecords/create",method:"post",data:e})}function i(e){return Object(n["a"])({url:"/appproject/AccidentPastRecords/delete",method:"post",data:e})}function l(e){return Object(n["a"])({url:"/appproject/AccidentPastRecords/update",method:"post",data:e})}function s(e){return Object(n["a"])({url:"/appproject/AccidentPastRecords/updateStatus",method:"post",data:e})}function c(e){return Object(n["a"])({url:"/appproject/AccidentPastRecords/sync",method:"post",data:e})}function u(e){return Object(n["a"])({url:"/appproject/AccidentPastMember/pageList",method:"post",data:e})}function d(e){return Object(n["a"])({url:"/appproject/AccidentPastMember/create",method:"post",data:e})}function p(e){return Object(n["a"])({url:"/appproject/AccidentPastMember/delete",method:"post",data:e})}function m(e){return Object(n["a"])({url:"/appproject/AccidentPastMember/findById",method:"post",data:e})}function f(e){return Object(n["a"])({url:"/appproject/AccidentPastMember/update",method:"post",data:e})}}}]);