Your Name
2022-09-29 6f954f70f54e492157b97db314eaaaeb12192580
1
(this.webpackJsonp=this.webpackJsonp||[]).push([["chunk-7dc9","chunk-1c22"],{"0W87":function(e,t,r){"use strict";var a=r("Tcu8");r.n(a).a},Ja5N:function(e,t,r){"use strict";var a=r("jJIE"),n=r.n(a),o={username:"admin",password:"ahb9014",key:"TwIMUKr3xyjWuvZfgqwb"};r.d(t,"a",function(){return u});var i="hiddenDangerToken",l="hiddenDangerVerify",s="hiddenDangerUsername",c="hiddenDangerPassword";function u(){var e=n.a.get(i),t=n.a.get(l);return null!=e&&""!=e&&"undefined"!=e&&null!=t&&""!=t&&"undefined"!=t||function(){var e=n.a.get(s)?n.a.get(s):o.username,t=n.a.get(c)?n.a.get(c):o.password;$.ajax({url:"/taboi/account/login_do?username="+e+"&password="+t+"&key="+o.key,type:"GET",contentType:"multipart/form-data",async:!1,success:function(e){1==e.ok&&(n.a.set(i,e.data.token),n.a.set(l,e.data.verify))}})}(),{token:n.a.get(i),verify:n.a.get(l)}}},TRqn:function(e,t,r){"use strict";r.d(t,"i",function(){return o}),r.d(t,"b",function(){return i}),r.d(t,"j",function(){return l}),r.d(t,"a",function(){return s}),r.d(t,"c",function(){return c}),r.d(t,"h",function(){return u}),r.d(t,"d",function(){return d}),r.d(t,"e",function(){return f}),r.d(t,"k",function(){return m}),r.d(t,"g",function(){return h}),r.d(t,"f",function(){return p});var a=r("t3Un"),n=r("Ja5N");function o(){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},contentType:"multipart/form-data",url:"/taboi/user/option_ht_level",method:"GET"})}function i(e){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},contentType:"multipart/form-data",url:"/taboi/user/option_check_branch?type="+e,method:"GET"})}function l(){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},contentType:"multipart/form-data",url:"/taboi/user/option_ht_type",method:"GET"})}function s(){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},contentType:"multipart/form-data",url:"/taboi/user/option_check_class",method:"GET"})}function c(){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},contentType:"multipart/form-data",url:"/taboi/user/option_check_type",method:"GET"})}function u(){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},contentType:"multipart/form-data",url:"/taboi/user/option_branch",method:"GET"})}function d(){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},contentType:"multipart/form-data",url:"/taboi/user/create_by_do",method:"GET"})}function f(){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},contentType:"multipart/form-data",url:"/taboi/user/option_alter_status",method:"GET"})}function m(){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},contentType:"multipart/form-data",url:"/taboi/user/review_do",method:"GET"})}function h(e){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},contentType:"multipart/form-data",url:"/taboi/risk/risk_list_do",method:"POST",data:e})}function p(){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},contentType:"multipart/form-data",url:"/taboi/user/situation_do",method:"GET"})}},Tcu8:function(e,t,r){},cLjf:function(e,t,r){e.exports=r("xOJF")},gpwu:function(e,t,r){"use strict";r.r(t);var a=r("cLjf"),n=r.n(a),o=r("hDQ3"),i=r.n(o),l=r("NNB3"),s=r("TRqn"),c=r("zY9C"),u=r("7Qib"),d={components:{Titlename:l.a},name:"hiddenDangerList",data:function(){return{addShow:!0,id:"",rowIndex:-1,dangerList:[],dangerForm:{},dangerRules:{ht_branch:[{required:!0,message:"不能为空",trigger:"blur"}],address:[{required:!0,message:"不能为空",trigger:"blur"}],ht_content:[{required:!0,message:"不能为空",trigger:"blur"}],ht_typesub:[{required:!0,message:"不能为空",trigger:"blur"}],DTRisk_bankId:[{required:!0,message:"不能为空",trigger:"blur"}],ht_level:[{required:!0,message:"不能为空",trigger:"blur"}],alter_time:[{required:!0,message:"不能为空",trigger:"blur"}],alter_status:[{required:!0,message:"不能为空",trigger:"blur"}],Review:[{required:!0,message:"不能为空",trigger:"blur"}],duty_officer:[{required:!0,message:"不能为空",trigger:"blur"}]},title:"新增",dialogVisible:!1,BCList:[],JCLBList:[],JCDWList:[{label:"众泰煤焦化",value:0},{label:"上级单位",value:1}],YHBMList:[],YHLXList:[],YHJBList:[],JCBMList:[],llrList:[],statusList:[],YWKSList:[],reboundList:[],ruleForm:{},rules:{check_date:[{required:!0,message:"不能为空",trigger:"blur"}],check_class:[{required:!0,message:"不能为空",trigger:"blur"}],check_main_branch:[{required:!0,message:"不能为空",trigger:"blur"}],check_branch:[{required:!0,message:"不能为空",trigger:"blur"}],check_man:[{required:!0,message:"不能为空",trigger:"blur"}],checktype:[{required:!0,message:"不能为空",trigger:"blur"}]},tableData:[]}},mounted:function(){this.initBC(),this.initJCLB(),this.initYHJB(),this.initYHLX(),this.initReformStatus(),this.initYHBM(),this.initYWKS(),this.initWXY(),this.initDangerRebound(),this.id=this.$route.query.id,this.route=this.$route.query.route,null!=this.id&&""!=this.id&&(this.initInfo(),this.addShow=!1)},methods:{initInfo:function(){var e=this;return i()(n.a.mark(function t(){var r,a;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(c.f)(e.id);case 2:1==(r=t.sent).data.ok&&(e.ruleForm=r.data.data,e.changeJCDW(r.data.data.check_main_branch),a=Object(u.c)(r.data.data),e.tableData.push(a));case 4:case"end":return t.stop()}},t,e)}))()},initDangerRebound:function(){var e=this;Object(c.h)().then(function(t){1==t.data.ok?e.reboundList=t.data.data:e.$message({type:"error",message:t.data.msg,duration:3e3})})},submitDanger:function(e){var t=this;this.$refs[e].validate(function(e){if(!e)return console.log("error submit!!"),!1;if("新增"==t.title)t.tableData.push(t.dangerForm);else{var r=t.tableData;r.splice(t.rowIndex,1,t.dangerForm),t.tableData=r}t.dialogVisible=!1})},deleteDanger:function(e,t){var r=this;this.$confirm("确认删除吗","提示",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(function(){for(var e=Object(u.c)(r.tableData),a=[],n=0;n<e.length;n++)n==t||a.push(e[n]);r.tableData=Object(u.c)(a)}).catch(function(e){})},editDanger:function(e,t){this.dangerForm=Object(u.c)(e),this.rowIndex=t,this.dialogVisible=!0,this.title="编辑"},addDanger:function(){this.dangerForm={},this.title="新增",this.dialogVisible=!0},changeWxy:function(e){for(var t=0;t<this.dangerList.length;t++)e==this.dangerList[t].id&&(this.dangerForm.DTRisk_level=this.dangerList[t].mriskLevel,this.dangerForm.dangerousSource=this.dangerList[t].mriskPoint)},initWXY:function(){var e=this;Object(s.g)({page:1,limit:1e3}).then(function(t){1==t.data.ok?e.dangerList=t.data.data.items:e.$message({type:"error",message:t.data.msg,duration:3e3})})},initYWKS:function(){var e=this;Object(s.k)().then(function(t){1==t.data.ok?e.YWKSList=t.data.data:e.$message({type:"error",message:t.data.msg,duration:3e3})})},initYHBM:function(){var e=this;Object(s.h)().then(function(t){1==t.data.ok?e.YHBMList=t.data.data:e.$message({type:"error",message:t.data.msg,duration:3e3})})},initLlr:function(){var e=this;Object(s.d)().then(function(t){1==t.data.ok?e.llrList=t.data.data:e.$message({type:"error",message:t.data.msg,duration:3e3})})},initReformStatus:function(){var e=this;Object(s.e)().then(function(t){1==t.data.ok?e.statusList=t.data.data:e.$message({type:"error",message:t.data.msg,duration:3e3})})},changeJCDW:function(e){var t=this;Object(s.b)(e).then(function(e){1==e.data.ok?t.JCBMList=e.data.data:t.$message({type:"error",message:e.data.msg,duration:3e3})})},initYHLX:function(){var e=this;Object(s.j)().then(function(t){1==t.data.ok?e.YHLXList=t.data.data:e.$message({type:"error",message:t.data.msg,duration:3e3})})},initYHJB:function(){var e=this;Object(s.i)().then(function(t){1==t.data.ok?e.YHJBList=t.data.data:e.$message({type:"error",message:t.data.msg,duration:3e3})})},initBC:function(){var e=this;Object(s.a)().then(function(t){1==t.data.ok?e.BCList=t.data.data:e.$message({type:"error",message:t.data.msg,duration:3e3})})},initJCLB:function(){var e=this;Object(s.c)().then(function(t){1==t.data.ok?e.JCLBList=t.data.data:e.$message({type:"error",message:t.data.msg,duration:3e3})})},returnIndex:function(){null!=this.route?this.$router.push({path:"/"+this.route}):this.$router.push({path:"/hiddenDangerRegistration"})},submitForm:function(e){var t=this;this.$refs[e].validate(function(e){if(!e)return console.log("error submit!!"),!1;if(null!=t.tableData&&0!=t.tableData.length||t.$message({type:"error",message:"请添加隐患",duration:2e3}),t.ruleForm.items=t.tableData,t.addShow)Object(c.j)(t.ruleForm).then(function(e){1==e.data.ok?(t.$message({type:"success",message:"新增成功",duration:3e3}),t.$router.push({path:"/hiddenDangerRegistration"})):t.$message({type:"error",message:e.data.msg,duration:3e3})});else{var r=Object(u.c)(t.ruleForm),a=Object(u.c)(t.tableData[0]);r.ht_branch=a.ht_branch,r.address=a.address,r.ht_content=a.ht_content,r.measure=a.measure,r.ht_typesub=a.ht_typesub,r.DTRisk_bankId=a.DTRisk_bankId,r.DTRisk_level=a.mriskLevel,r.dangerousSource=a.mriskPoint,r.ht_level=a.ht_level,r.alter_time=a.alter_time,r.duty_officer=a.duty_officer,r.alter_status=a.alter_status,r.Review=a.Review,r.repeatId=a.repeatId,Object(c.e)(r).then(function(e){1==e.data.ok?(t.$message({type:"success",message:"编辑成功",duration:3e3}),null!=t.route?t.$router.push({path:"/"+t.route}):t.$router.push({path:"/hiddenDangerRegistration"})):t.$message({type:"error",message:e.data.msg,duration:3e3})})}})}}},f=(r("0W87"),r("ZrdR")),m=Object(f.a)(d,function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"app-container"},[r("div",{},[r("Titlename",{attrs:{title:"隐患登记下达新增"}}),e._v(" "),r("div",{staticClass:"whole-form"},[r("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",staticStyle:{margin:"0 14% 0 16%"},attrs:{model:e.ruleForm,rules:e.rules,"label-width":"150px"}},[r("el-row",[r("el-col",{attrs:{span:9}},[r("el-form-item",{attrs:{label:"检查时间",prop:"check_date"}},[r("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date","value-format":"yyyy-MM-dd",placeholder:"选择日期"},model:{value:e.ruleForm.check_date,callback:function(t){e.$set(e.ruleForm,"check_date",t)},expression:"ruleForm.check_date"}})],1)],1),e._v(" "),r("el-col",{attrs:{span:9,offset:4}},[r("el-form-item",{attrs:{label:"班次",prop:"check_class"}},[r("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择"},model:{value:e.ruleForm.check_class,callback:function(t){e.$set(e.ruleForm,"check_class",t)},expression:"ruleForm.check_class"}},e._l(e.BCList,function(e){return r("el-option",{key:e.value,attrs:{label:e.value,value:e.value}})}))],1)],1)],1),e._v(" "),r("el-row",[r("el-col",{attrs:{span:9}},[r("el-form-item",{attrs:{label:"检查类别",prop:"checktype"}},[r("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择"},model:{value:e.ruleForm.checktype,callback:function(t){e.$set(e.ruleForm,"checktype",t)},expression:"ruleForm.checktype"}},e._l(e.JCLBList,function(e){return r("el-option",{key:e.value,attrs:{label:e.value,value:e.value}})}))],1)],1),e._v(" "),r("el-col",{attrs:{span:9,offset:4}},[r("el-form-item",{attrs:{label:"检查单位",prop:"check_main_branch"}},[r("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择"},on:{change:e.changeJCDW},model:{value:e.ruleForm.check_main_branch,callback:function(t){e.$set(e.ruleForm,"check_main_branch",t)},expression:"ruleForm.check_main_branch"}},e._l(e.JCDWList,function(e){return r("el-option",{key:e.label,attrs:{label:e.label,value:e.label}})}))],1)],1)],1),e._v(" "),r("el-row",[r("el-col",{attrs:{span:9}},[r("el-form-item",{attrs:{label:"检查部门",prop:"check_branch"}},[r("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择"},model:{value:e.ruleForm.check_branch,callback:function(t){e.$set(e.ruleForm,"check_branch",t)},expression:"ruleForm.check_branch"}},e._l(e.JCBMList,function(e){return r("el-option",{key:e.value,attrs:{label:e.value,value:e.value}})}))],1)],1),e._v(" "),r("el-col",{attrs:{span:9,offset:4}})],1),e._v(" "),r("el-row",[r("el-col",{attrs:{span:9}},[r("el-form-item",{attrs:{label:"检查人员",prop:"check_man"}},[r("el-input",{model:{value:e.ruleForm.check_man,callback:function(t){e.$set(e.ruleForm,"check_man",t)},expression:"ruleForm.check_man"}})],1)],1),e._v(" "),r("el-col",{attrs:{span:9,offset:4}},[r("el-form-item",{attrs:{label:"陪检人员",prop:"acc_man"}},[r("el-input",{model:{value:e.ruleForm.acc_man,callback:function(t){e.$set(e.ruleForm,"acc_man",t)},expression:"ruleForm.acc_man"}})],1)],1)],1),e._v(" "),r("el-row",[r("el-col",{attrs:{span:22}},[r("el-form-item",{attrs:{label:"行走路线"}},[r("el-input",{staticClass:"multiline",attrs:{rows:"3",type:"textarea"},model:{value:e.ruleForm.route,callback:function(t){e.$set(e.ruleForm,"route",t)},expression:"ruleForm.route"}})],1)],1)],1),e._v(" "),e.addShow?r("el-row",{staticStyle:{"margin-bottom":"20px"}},[r("el-col",{attrs:{span:9}},[r("el-button",{staticClass:"btns",attrs:{type:"primary"},on:{click:e.addDanger}},[e._v("新增隐患")])],1)],1):e._e(),e._v(" "),r("el-row",[r("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData}},[r("el-table-column",{attrs:{type:"index",width:"55",align:"center",label:"序号"}}),e._v(" "),r("el-table-column",{attrs:{prop:"ht_branch",align:"center",label:"隐患部门"}}),e._v(" "),r("el-table-column",{attrs:{prop:"address",align:"center",label:"地点"}}),e._v(" "),r("el-table-column",{attrs:{prop:"ht_content",align:"center",label:"隐患内容"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-popover",{attrs:{trigger:"hover",placement:"top"}},[r("p",[e._v(e._s(t.row.ht_content))]),e._v(" "),r("div",{staticClass:"name-wrapper",attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(null!=t.row.ht_content&&t.row.ht_content.length>10?t.row.ht_content.substring(0,8)+"....":t.row.ht_content)+"\n                              ")])])]}}])}),e._v(" "),r("el-table-column",{attrs:{prop:"measure",align:"center",label:"整改措施"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-popover",{attrs:{trigger:"hover",placement:"top"}},[r("p",[e._v(e._s(t.row.measure))]),e._v(" "),r("div",{staticClass:"name-wrapper",attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(null!=t.row.measure&&t.row.measure.length>10?t.row.measure.substring(0,8)+"....":t.row.measure)+"\n                              ")])])]}}])}),e._v(" "),r("el-table-column",{attrs:{prop:"ht_typesub",align:"center",label:"隐患类别"}}),e._v(" "),r("el-table-column",{attrs:{prop:"dangerousSource",align:"center",label:"关联危险源"}}),e._v(" "),r("el-table-column",{attrs:{prop:"DTRisk_level",align:"center",label:"风险等级"}}),e._v(" "),r("el-table-column",{attrs:{prop:"ht_level",align:"center",label:"隐患级别"}}),e._v(" "),r("el-table-column",{attrs:{prop:"alter_time",align:"center",label:"限改时间"}}),e._v(" "),r("el-table-column",{attrs:{prop:"duty_officer",align:"center",label:"责任人"}}),e._v(" "),r("el-table-column",{attrs:{prop:"alter_status",align:"center",label:"整改情况"}}),e._v(" "),r("el-table-column",{attrs:{prop:"Review",align:"center",label:"业务科室"}}),e._v(" "),r("el-table-column",{attrs:{prop:"time",label:"操作",align:"center",width:"140"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",{staticStyle:{display:"flex","align-items":"center","flex-direction":"row"}},[r("el-button",{attrs:{size:"mini"},on:{click:function(r){e.editDanger(t.row,t.$index)}}},[e._v("编辑\n                              ")]),e._v(" "),e.addShow?r("el-button",{attrs:{size:"mini"},on:{click:function(r){e.deleteDanger(t.row,t.$index)}}},[e._v("删除\n                              ")]):e._e()],1)]}}])})],1)],1),e._v(" "),r("el-row",{staticStyle:{"margin-top":"20px"}},[r("el-col",{attrs:{span:22}},[r("el-form-item",{staticStyle:{"text-align":"center"}},[r("el-button",{staticClass:"btns",attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("保存")]),e._v(" "),r("el-button",{on:{click:e.returnIndex}},[e._v("关闭")])],1)],1)],1)],1)],1)],1),e._v(" "),r("el-dialog",{attrs:{title:e.title,visible:e.dialogVisible,"close-on-click-modal":!1,width:"40%"},on:{"update:visible":function(t){e.dialogVisible=t}}},[r("el-form",{ref:"form",attrs:{rules:e.dangerRules,model:e.dangerForm,"label-width":"100px"}},[r("el-row",[r("el-col",{attrs:{span:9}},[r("el-form-item",{attrs:{label:"隐患部门",prop:"ht_branch"}},[r("el-select",{attrs:{placeholder:"请选择"},model:{value:e.dangerForm.ht_branch,callback:function(t){e.$set(e.dangerForm,"ht_branch",t)},expression:"dangerForm.ht_branch"}},e._l(e.YHBMList,function(e){return r("el-option",{key:e.branch_id,attrs:{label:e.branch_name,value:e.branch_name}})}))],1)],1),e._v(" "),r("el-col",{attrs:{span:9,offset:4}},[r("el-form-item",{attrs:{label:"地点",prop:"address"}},[r("el-input",{staticClass:"multiline",attrs:{rows:"3",type:"textarea"},model:{value:e.dangerForm.address,callback:function(t){e.$set(e.dangerForm,"address",t)},expression:"dangerForm.address"}})],1)],1)],1),e._v(" "),r("el-row",[r("el-col",{attrs:{span:9}},[r("el-form-item",{attrs:{label:"隐患内容",prop:"ht_content"}},[r("el-input",{staticClass:"multiline",attrs:{rows:"3",type:"textarea"},model:{value:e.dangerForm.ht_content,callback:function(t){e.$set(e.dangerForm,"ht_content",t)},expression:"dangerForm.ht_content"}})],1)],1),e._v(" "),r("el-col",{attrs:{span:9,offset:4}},[r("el-form-item",{attrs:{label:"整改措施",prop:"measure"}},[r("el-input",{staticClass:"multiline",attrs:{rows:"3",type:"textarea"},model:{value:e.dangerForm.measure,callback:function(t){e.$set(e.dangerForm,"measure",t)},expression:"dangerForm.measure"}})],1)],1)],1),e._v(" "),r("el-row",[r("el-col",{attrs:{span:9}},[r("el-form-item",{attrs:{label:"隐患类别",prop:"ht_typesub"}},[r("el-select",{attrs:{placeholder:"请选择"},model:{value:e.dangerForm.ht_typesub,callback:function(t){e.$set(e.dangerForm,"ht_typesub",t)},expression:"dangerForm.ht_typesub"}},e._l(e.YHLXList,function(e){return r("el-option",{key:e.value,attrs:{label:e.value,value:e.value}})}))],1)],1),e._v(" "),r("el-col",{attrs:{span:9,offset:4}},[r("el-form-item",{attrs:{label:"关联危险源",prop:"DTRisk_bankId"}},[r("el-select",{attrs:{placeholder:"请选择",filterable:""},on:{change:e.changeWxy},model:{value:e.dangerForm.DTRisk_bankId,callback:function(t){e.$set(e.dangerForm,"DTRisk_bankId",t)},expression:"dangerForm.DTRisk_bankId"}},e._l(e.dangerList,function(e){return r("el-option",{key:e.id,attrs:{label:e.mriskPoint,value:e.id}})}))],1)],1)],1),e._v(" "),r("el-row",[r("el-col",{attrs:{span:9}},[r("el-form-item",{attrs:{label:"风险等级",prop:"DTRisk_level"}},[r("el-input",{attrs:{disabled:!0},model:{value:e.dangerForm.DTRisk_level,callback:function(t){e.$set(e.dangerForm,"DTRisk_level",t)},expression:"dangerForm.DTRisk_level"}})],1)],1),e._v(" "),r("el-col",{attrs:{span:9,offset:4}},[r("el-form-item",{attrs:{label:"隐患级别",prop:"ht_level"}},[r("el-select",{attrs:{placeholder:"请选择"},model:{value:e.dangerForm.ht_level,callback:function(t){e.$set(e.dangerForm,"ht_level",t)},expression:"dangerForm.ht_level"}},e._l(e.YHJBList,function(e){return r("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1)],1)],1),e._v(" "),r("el-row",[r("el-col",{attrs:{span:9}},[r("el-form-item",{attrs:{label:"限改时间",prop:"alter_time"}},[r("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date","value-format":"yyyy-MM-dd",placeholder:"选择日期"},model:{value:e.dangerForm.alter_time,callback:function(t){e.$set(e.dangerForm,"alter_time",t)},expression:"dangerForm.alter_time"}})],1)],1),e._v(" "),r("el-col",{attrs:{span:9,offset:4}},[r("el-form-item",{attrs:{label:"责任人",prop:"duty_officer"}},[r("el-input",{model:{value:e.dangerForm.duty_officer,callback:function(t){e.$set(e.dangerForm,"duty_officer",t)},expression:"dangerForm.duty_officer"}})],1)],1)],1),e._v(" "),r("el-row",[r("el-col",{attrs:{span:9}},[r("el-form-item",{attrs:{label:"整改情况",prop:"alter_status"}},[r("el-select",{attrs:{placeholder:"请选择"},model:{value:e.dangerForm.alter_status,callback:function(t){e.$set(e.dangerForm,"alter_status",t)},expression:"dangerForm.alter_status"}},e._l(e.statusList,function(e){return r("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1)],1),e._v(" "),r("el-col",{attrs:{span:9,offset:4}},[r("el-form-item",{attrs:{label:"业务科室",prop:"Review"}},[r("el-select",{staticStyle:{width:"100%"},model:{value:e.dangerForm.Review,callback:function(t){e.$set(e.dangerForm,"Review",t)},expression:"dangerForm.Review"}},e._l(e.YWKSList,function(e){return r("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1)],1)],1),e._v(" "),"重复反弹隐患"==e.dangerForm.alter_status?r("el-row",[r("el-col",{attrs:{span:9}},[r("el-form-item",{attrs:{label:"重复反弹隐患",prop:"repeatId"}},[r("el-select",{attrs:{placeholder:"请选择"},model:{value:e.dangerForm.repeatId,callback:function(t){e.$set(e.dangerForm,"repeatId",t)},expression:"dangerForm.repeatId"}},e._l(e.reboundList,function(e){return r("el-option",{key:e.id,attrs:{label:e.content,value:e.id}})}))],1)],1)],1):e._e(),e._v(" "),r("el-row",[r("el-col",{attrs:{span:22}},[r("el-form-item",{staticStyle:{"text-align":"center"}},[r("el-button",{staticClass:"btns",attrs:{type:"primary"},on:{click:function(t){e.submitDanger("form")}}},[e._v("保存")]),e._v(" "),r("el-button",{on:{click:function(t){e.dialogVisible=!1}}},[e._v("关闭")])],1)],1)],1)],1)],1)],1)},[],!1,null,"6eed9f9c",null);m.options.__file="hiddenDangerAdd.vue";t.default=m.exports},hDQ3:function(e,t,r){"use strict";t.__esModule=!0;var a=function(e){return e&&e.__esModule?e:{default:e}}(r("Asgo"));t.default=function(e){return function(){var t=e.apply(this,arguments);return new a.default(function(e,r){return function n(o,i){try{var l=t[o](i),s=l.value}catch(e){return void r(e)}if(!l.done)return a.default.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)});e(s)}("next")})}}},k4Ii:function(e,t){!function(t){"use strict";var r,a=Object.prototype,n=a.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",l=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag",c="object"==typeof e,u=t.regeneratorRuntime;if(u)c&&(e.exports=u);else{(u=t.regeneratorRuntime=c?e.exports:{}).wrap=y;var d="suspendedStart",f="suspendedYield",m="executing",h="completed",p={},b={};b[i]=function(){return this};var v=Object.getPrototypeOf,g=v&&v(v($([])));g&&g!==a&&n.call(g,i)&&(b=g);var _=j.prototype=w.prototype=Object.create(b);O.prototype=_.constructor=j,j.constructor=O,j[s]=O.displayName="GeneratorFunction",u.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===O||"GeneratorFunction"===(t.displayName||t.name))},u.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,j):(e.__proto__=j,s in e||(e[s]="GeneratorFunction")),e.prototype=Object.create(_),e},u.awrap=function(e){return{__await:e}},T(F.prototype),F.prototype[l]=function(){return this},u.AsyncIterator=F,u.async=function(e,t,r,a){var n=new F(y(e,t,r,a));return u.isGeneratorFunction(t)?n:n.next().then(function(e){return e.done?e.value:n.next()})},T(_),_[s]="Generator",_[i]=function(){return this},_.toString=function(){return"[object Generator]"},u.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var a=t.pop();if(a in e)return r.value=a,r.done=!1,r}return r.done=!0,r}},u.values=$,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(D),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=r)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function a(a,n){return l.type="throw",l.arg=e,t.next=a,n&&(t.method="next",t.arg=r),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],l=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),D(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var a=r.completion;if("throw"===a.type){var n=a.arg;D(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,a){return this.delegate={iterator:$(e),resultName:t,nextLoc:a},"next"===this.method&&(this.arg=r),p}}}function y(e,t,r,a){var n=t&&t.prototype instanceof w?t:w,o=Object.create(n.prototype),i=new S(a||[]);return o._invoke=function(e,t,r){var a=d;return function(n,o){if(a===m)throw new Error("Generator is already running");if(a===h){if("throw"===n)throw o;return R()}for(r.method=n,r.arg=o;;){var i=r.delegate;if(i){var l=x(i,r);if(l){if(l===p)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===d)throw a=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=m;var s=k(e,t,r);if("normal"===s.type){if(a=r.done?h:f,s.arg===p)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(a=h,r.method="throw",r.arg=s.arg)}}}(e,r,i),o}function k(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}function w(){}function O(){}function j(){}function T(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function F(e){var t;this._invoke=function(r,a){function o(){return new Promise(function(t,o){!function t(r,a,o,i){var l=k(e[r],e,a);if("throw"!==l.type){var s=l.arg,c=s.value;return c&&"object"==typeof c&&n.call(c,"__await")?Promise.resolve(c.__await).then(function(e){t("next",e,o,i)},function(e){t("throw",e,o,i)}):Promise.resolve(c).then(function(e){s.value=e,o(s)},i)}i(l.arg)}(r,a,t,o)})}return t=t?t.then(o,o):o()}}function x(e,t){var a=e.iterator[t.method];if(a===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=r,x(e,t),"throw"===t.method))return p;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var n=k(a,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,p;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=r),t.delegate=null,p):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function $(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,o=function t(){for(;++a<e.length;)if(n.call(e,a))return t.value=e[a],t.done=!1,t;return t.value=r,t.done=!0,t};return o.next=o}}return{next:R}}function R(){return{value:r,done:!0}}}(function(){return this}()||Function("return this")())},xOJF:function(e,t,r){var a=function(){return this}()||Function("return this")(),n=a.regeneratorRuntime&&Object.getOwnPropertyNames(a).indexOf("regeneratorRuntime")>=0,o=n&&a.regeneratorRuntime;if(a.regeneratorRuntime=void 0,e.exports=r("k4Ii"),n)a.regeneratorRuntime=o;else try{delete a.regeneratorRuntime}catch(e){a.regeneratorRuntime=void 0}},zY9C:function(e,t,r){"use strict";r.d(t,"g",function(){return o}),r.d(t,"j",function(){return i}),r.d(t,"h",function(){return l}),r.d(t,"e",function(){return s}),r.d(t,"i",function(){return c}),r.d(t,"c",function(){return u}),r.d(t,"f",function(){return d}),r.d(t,"a",function(){return f}),r.d(t,"d",function(){return m}),r.d(t,"b",function(){return h});var a=r("t3Un"),n=r("Ja5N");function o(e){var t=[];return null!=e.form.jyfsId&&""!=e.form.jyfsId&&t.push({field:"jyfsId",value:e.form.jyfsId,type:"OPT"}),null!=e.form.number&&""!=e.form.number&&t.push({field:"number",value:e.form.number,type:"TXT"}),null!=e.form.check_main_branch&&""!=e.form.check_main_branch&&t.push({field:"check_main_branch",value:e.form.check_main_branch,type:"OPT"}),null!=e.form.check_branch&&""!=e.form.check_branch&&t.push({field:"check_branch",value:e.form.check_branch,type:"OPT"}),null!=e.form.check_man&&""!=e.form.check_man&&t.push({field:"check_man",value:e.form.check_man,type:"TXT"}),null!=e.form.ht_community&&""!=e.form.ht_community&&t.push({field:"ht_community",value:e.form.ht_community,type:"TXT"}),null!=e.form.ht_branch&&""!=e.form.ht_branch&&t.push({field:"ht_branch",value:e.form.ht_branch,type:"OPT"}),null!=e.form.ht_typesub&&""!=e.form.ht_typesub&&t.push({field:"ht_typesub",value:e.form.ht_typesub,type:"OPT"}),null!=e.form.ht_level&&""!=e.form.ht_level&&t.push({field:"ht_level",value:e.form.ht_level,type:"OPT"}),null!=e.form.checktype&&""!=e.form.checktype&&t.push({field:"checktype",value:e.form.checktype,type:"OPT"}),null!=e.form.address&&""!=e.form.address&&t.push({field:"address",value:e.form.address,type:"TXT"}),null!=e.form.ht_content&&""!=e.form.ht_content&&t.push({field:"ht_content",value:e.form.ht_content,type:"TXT"}),null!=e.form.check_class&&""!=e.form.check_class&&t.push({field:"check_class",value:e.form.check_class,type:"OPT"}),null!=e.form.DTRisk_bankId&&t.push({field:"DTRisk_bankId",value:e.form.DTRisk_bankId,type:"OPT"}),null!=e.form.createBy&&""!=e.form.createBy&&t.push({field:"Created_by",value:e.form.createBy,type:"OPT"}),null!=e.form.check_dateStart&&""!=e.form.check_dateStart&&null!=e.form.check_dateEnd&&""!=e.form.check_dateEnd&&t.push({field:"check_date",value:e.form.check_dateStart+"至"+e.form.check_dateEnd,type:"DAT"}),null!=e.form.alter_timeStart&&""!=e.form.alter_timeStart&&null!=e.form.alter_timeEnd&&""!=e.form.alter_timeEnd&&t.push({field:"alter_time",value:e.form.alter_timeStart+"至"+e.form.alter_timeEnd,type:"DAT"}),e.query_condition=t,Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},url:"/taboi/danger/register_list",contentType:"application/json",method:"POST",data:e})}function i(e){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},url:"/taboi/danger/save_do",contentType:"application/json",method:"POST",data:e})}function l(e){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},url:"/taboi/danger/danger_rebound",contentType:"application/json",method:"POST",data:e})}function s(e){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},url:"/taboi/danger/edit_do",contentType:"application/json",method:"POST",data:e})}function c(e){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},url:"/taboi/danger/next_step_do",contentType:"application/json",method:"POST",data:e})}function u(e){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},url:"/taboi/danger/del_do?id="+e,contentType:"application/json",method:"POST"})}function d(e){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},url:"/taboi/danger/danger_info?id="+e,contentType:"application/json",method:"POST"})}function f(e){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},url:"/taboi/excel/danger_export_do",method:"POST",responseType:"arraybuffer",data:e})}function m(e){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},url:"/taboi/download/danger_template",method:"GET",contentType:"multipart/form-data",responseType:"blob",params:e||{}})}function h(e){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},url:"/taboi/excel/danger_import_do",contentType:"multipart/form-data",method:"POST",data:e})}}}]);