(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3e9979f8"],{"0cb2":function(e,a,t){var n=t("7b0b"),i=Math.floor,r="".replace,l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,a,t,o,c,u){var d=t+e.length,f=o.length,v=s;return void 0!==c&&(c=n(c),v=l),r.call(u,v,(function(n,r){var l;switch(r.charAt(0)){case"$":return"$";case"&":return e;case"`":return a.slice(0,t);case"'":return a.slice(d);case"<":l=c[r.slice(1,-1)];break;default:var s=+r;if(0===s)return n;if(s>f){var u=i(s/10);return 0===u?n:u<=f?void 0===o[u-1]?r.charAt(1):o[u-1]+r.charAt(1):n}l=o[s-1]}return void 0===l?"":l}))}},"107c":function(e,a,t){var n=t("d039");e.exports=n((function(){var e=RegExp("(?b)","string".charAt(5));return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},1276:function(e,a,t){"use strict";var n=t("d784"),i=t("44e7"),r=t("825a"),l=t("1d80"),s=t("4840"),o=t("8aa5"),c=t("50c4"),u=t("14c3"),d=t("9263"),f=t("9f7f"),v=t("d039"),p=f.UNSUPPORTED_Y,h=[].push,g=Math.min,m=4294967295,x=!v((function(){var e=/(?:)/,a=e.exec;e.exec=function(){return a.apply(this,arguments)};var t="ab".split(e);return 2!==t.length||"a"!==t[0]||"b"!==t[1]}));n("split",(function(e,a,t){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,t){var n=String(l(this)),r=void 0===t?m:t>>>0;if(0===r)return[];if(void 0===e)return[n];if(!i(e))return a.call(n,e,r);var s,o,c,u=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),v=0,p=new RegExp(e.source,f+"g");while(s=d.call(p,n)){if(o=p.lastIndex,o>v&&(u.push(n.slice(v,s.index)),s.length>1&&s.index=r))break;p.lastIndex===s.index&&p.lastIndex++}return v===n.length?!c&&p.test("")||u.push(""):u.push(n.slice(v)),u.length>r?u.slice(0,r):u}:"0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:a.call(this,e,t)}:a,[function(a,t){var i=l(this),r=void 0==a?void 0:a[e];return void 0!==r?r.call(a,i,t):n.call(String(i),a,t)},function(e,i){var l=t(n,this,e,i,n!==a);if(l.done)return l.value;var d=r(this),f=String(e),v=s(d,RegExp),h=d.unicode,x=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(p?"g":"y"),b=new v(p?"^(?:"+d.source+")":d,x),y=void 0===i?m:i>>>0;if(0===y)return[];if(0===f.length)return null===u(b,f)?[f]:[];var _=0,k=0,w=[];while(k1?arguments[1]:void 0)}},"369a":function(e,a,t){},"44e7":function(e,a,t){var n=t("861d"),i=t("c6b6"),r=t("b622"),l=r("match");e.exports=function(e){var a;return n(e)&&(void 0!==(a=e[l])?!!a:"RegExp"==i(e))}},4840:function(e,a,t){var n=t("825a"),i=t("1c0b"),r=t("b622"),l=r("species");e.exports=function(e,a){var t,r=n(e).constructor;return void 0===r||void 0==(t=n(r)[l])?a:i(t)}},5319:function(e,a,t){"use strict";var n=t("d784"),i=t("d039"),r=t("825a"),l=t("50c4"),s=t("a691"),o=t("1d80"),c=t("8aa5"),u=t("0cb2"),d=t("14c3"),f=t("b622"),v=f("replace"),p=Math.max,h=Math.min,g=function(e){return void 0===e?e:String(e)},m=function(){return"$0"==="a".replace(/./,"$0")}(),x=function(){return!!/./[v]&&""===/./[v]("a","$0")}(),b=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}));n("replace",(function(e,a,t){var n=x?"$":"$0";return[function(e,t){var n=o(this),i=void 0==e?void 0:e[v];return void 0!==i?i.call(e,n,t):a.call(String(n),e,t)},function(e,i){if("string"===typeof i&&-1===i.indexOf(n)&&-1===i.indexOf("$<")){var o=t(a,this,e,i);if(o.done)return o.value}var f=r(this),v=String(e),m="function"===typeof i;m||(i=String(i));var x=f.global;if(x){var b=f.unicode;f.lastIndex=0}var y=[];while(1){var _=d(f,v);if(null===_)break;if(y.push(_),!x)break;var k=String(_[0]);""===k&&(f.lastIndex=c(v,l(f.lastIndex),b))}for(var w="",S=0,E=0;E=S&&(w+=v.slice(S,R)+P,S=R+A.length)}return w+v.slice(S)}]}),!b||!m||x)},"841c":function(e,a,t){"use strict";var n=t("d784"),i=t("825a"),r=t("1d80"),l=t("129f"),s=t("14c3");n("search",(function(e,a,t){return[function(a){var t=r(this),n=void 0==a?void 0:a[e];return void 0!==n?n.call(a,t):new RegExp(a)[e](String(t))},function(e){var n=t(a,this,e);if(n.done)return n.value;var r=i(this),o=String(e),c=r.lastIndex;l(c,0)||(r.lastIndex=0);var u=s(r,o);return l(r.lastIndex,c)||(r.lastIndex=c),null===u?-1:u.index}]}))},"89a0":function(e,a,t){"use strict";t.r(a);var n=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",[t("div",{staticClass:"headers"},[t("div",[t("van-field",{attrs:{name:"检查人部门",label:"检查人部门",placeholder:"检查人部门",readonly:"false"},model:{value:e.value10,callback:function(a){e.value10=a},expression:"value10"}})],1),t("div",[t("van-field",{attrs:{name:"检查人",label:"检查人",placeholder:"检查人",readonly:"false"},model:{value:e.value13,callback:function(a){e.value13=a},expression:"value13"}})],1),t("div",[t("van-field",{attrs:{name:"检查时间",label:"检查时间",placeholder:"检查时间",readonly:"false"},model:{value:e.inspection_time,callback:function(a){e.inspection_time=a},expression:"inspection_time"}})],1),t("div",[t("van-field",{attrs:{name:"检查专业",label:"检查专业",placeholder:"检查专业",rules:[{required:!0,message:"请选择"}],readonly:"false"},model:{value:e.value1,callback:function(a){e.value1=a},expression:"value1"}})],1),t("div",[t("van-field",{attrs:{name:"隐患等级",label:"隐患等级",placeholder:"隐患等级",rules:[{required:!0,message:"请选择"}],readonly:"false"},model:{value:e.value2,callback:function(a){e.value2=a},expression:"value2"}}),t("van-field",{attrs:{rows:"1",autosize:"",label:"检查地点",type:"textarea",placeholder:"",readonly:"false"},model:{value:e.value14,callback:function(a){e.value14=a},expression:"value14"}})],1),t("div",[t("van-cell-group",[t("van-field",{attrs:{rows:"1",autosize:"",label:"存在问题或隐患",type:"textarea",placeholder:"请输入信息",readonly:"false"},model:{value:e.message1,callback:function(a){e.message1=a},expression:"message1"}}),t("van-field",{attrs:{rows:"1",autosize:"",label:"整改措施",type:"textarea",placeholder:"请输入信息",readonly:"false"},model:{value:e.message2,callback:function(a){e.message2=a},expression:"message2"}})],1)],1)]),t("div",{staticClass:"contents"},[t("div",{staticStyle:{display:"flex","align-items":"center"}},[t("van-field",{attrs:{name:"switch",label:"对应标准"},scopedSlots:e._u([{key:"input",fn:function(){return[t("van-switch",{attrs:{size:"15"},model:{value:e.switchChecked,callback:function(a){e.switchChecked=a},expression:"switchChecked"}})]},proxy:!0}])})],1),e.switchChecked?t("div",[t("div",[t("van-field",{attrs:{name:"风险点",label:"风险点",placeholder:"风险点",rules:[{required:!0,message:"请选择"}],readonly:"false"},model:{value:e.value3,callback:function(a){e.value3=a},expression:"value3"}})],1),t("div",[t("van-field",{attrs:{name:"风险类型",label:"风险类型",placeholder:"风险类型",rules:[{required:!0,message:"请选择"}],readonly:"false"},model:{value:e.value4,callback:function(a){e.value4=a},expression:"value4"}})],1),t("div",[t("van-field",{attrs:{name:"风险等级",label:"风险等级",placeholder:"风险等级",rules:[{required:!0,message:"请选择"}],readonly:"false"},model:{value:e.value5,callback:function(a){e.value5=a},expression:"value5"}})],1),t("div",[t("van-field",{attrs:{name:"事故类型",label:"事故类型",placeholder:"事故类型",rules:[{required:!0,message:"请选择"}],readonly:"false"},model:{value:e.value6,callback:function(a){e.value6=a},expression:"value6"}})],1),t("div",[t("van-cell-group",[t("van-field",{attrs:{rows:"1",autosize:"",label:"风险描述",type:"textarea",placeholder:"请输入信息",readonly:"false"},model:{value:e.message3,callback:function(a){e.message3=a},expression:"message3"}}),t("van-field",{attrs:{rows:"1",autosize:"",label:"后果及影响",type:"textarea",placeholder:"请输入信息",readonly:"false"},model:{value:e.message4,callback:function(a){e.message4=a},expression:"message4"}}),t("van-field",{attrs:{rows:"1",autosize:"",label:"管控措施",type:"textarea",placeholder:"请输入信息",readonly:"false"},model:{value:e.message5,callback:function(a){e.message5=a},expression:"message5"}})],1)],1)]):e._e()]),t("div",{staticClass:"contents1"},[t("div",[t("van-cell-group",[t("van-field",{attrs:{rows:"1",autosize:"",label:"整改责任单位",type:"textarea",placeholder:"请输入信息",readonly:"false"},model:{value:e.message6,callback:function(a){e.message6=a},expression:"message6"}}),t("van-field",{attrs:{rows:"1",autosize:"",label:"整改责任人",type:"textarea",placeholder:"请输入信息",readonly:"false"},model:{value:e.message7,callback:function(a){e.message7=a},expression:"message7"}})],1)],1),t("div",[t("van-field",{attrs:{name:"督办部门",label:"督办部门",placeholder:"督办部门",rules:[{required:!0,message:"请选择"}],readonly:"false"},model:{value:e.value7,callback:function(a){e.value7=a},expression:"value7"}})],1),t("div",[t("van-field",{attrs:{name:"督办责任人",label:"督办责任人",placeholder:"督办责任人",rules:[{required:!0,message:"请选择"}],readonly:"false"},model:{value:e.value8,callback:function(a){e.value8=a},expression:"value8"}})],1),t("div",[t("van-field",{attrs:{name:"整改类型",label:"整改类型",placeholder:"整改类型",readonly:"false"},model:{value:e.value11,callback:function(a){e.value11=a},expression:"value11"}})],1),t("div",[t("van-field",{attrs:{name:"整改期限",label:"整改期限",placeholder:"整改期限",readonly:"false"},model:{value:e.value9,callback:function(a){e.value9=a},expression:"value9"}})],1)]),t("div",{staticClass:"contents2"},[t("div",[t("van-cell-group",[t("van-field",{attrs:{rows:"1",autosize:"",label:"整改意见",type:"textarea",placeholder:"请输入信息",readonly:"false"},model:{value:e.message8,callback:function(a){e.message8=a},expression:"message8"}})],1)],1)]),t("div",{staticClass:"contents3"},[t("div",[t("van-cell-group",[e.check_accept_department?t("van-field",{attrs:{rows:"1",autosize:"",label:"验收部门",type:"textarea",placeholder:"请输入信息",readonly:"false"},model:{value:e.check_accept_department,callback:function(a){e.check_accept_department=a},expression:"check_accept_department"}}):e._e()],1)],1),t("div",[e.check_accept_department?e._e():t("van-field",{attrs:{readonly:"",clickable:"",label:"验收部门",value:e.value12,placeholder:"请选择"},on:{click:function(a){e.showPicker12=!0}}}),t("van-popup",{attrs:{round:"",position:"bottom"},model:{value:e.showPicker12,callback:function(a){e.showPicker12=a},expression:"showPicker12"}},[t("van-picker",{attrs:{"show-toolbar":"",columns:e.columns12},on:{cancel:function(a){e.showPicker12=!1},confirm:e.onConfirm12}})],1)],1)]),e.check_accept_department?e._e():t("div",{staticClass:"buttons"},[t("button",{on:{click:e.tijiao}},[e._v("确认提交")])])])},i=[],r=(t("99af"),t("159b"),t("a15b"),t("d81d"),t("accb")),l={data:function(){return{switchChecked:!1,shows:!0,value1:"",value2:"",message1:"",message2:"",value3:"",value4:"",value5:"",value6:"",message3:"",message4:"",message5:"",message6:"",message7:"",value7:"",value8:"",value9:"",message8:"",message9:"",message10:"",message11:"",message12:"",message13:"",showPicker12:!1,showPicker13:!1,fileList:[],infos:[],dates:"请选择",showtime:!1,value10:"",value11:"",value12:"",value13:"",columns12:[],id:"",detail:{},sectionArr:[],sectionArr_id:"",staffArr:[],staffArr_id:"",show_yanShouRen:!1,fieldValue_yanShouRen:"",cascaderValue_yanShouRen:"",options:[],check_accept_department:"",value14:"",inspection_time:""}},methods:{onClickLeft:function(){window.history.back()},tijiao:function(){var e=this;console.log(this.sectionArr_id,this.staffArr_id),""!=this.sectionArr_id?(this.$toast.loading(),this.$http.post("http://meihuajing.nxjiewei.com:8011/api/troubleshoot/updateTroubleshoot",{id:this.id,check_accept_department:this.sectionArr_id,type:4}).then((function(a){e.$toast.clear(),console.log(a.data),window.history.back()}))):this.$toast("请填写完整后再提交!")},afterRead:function(e){console.log(e)},formatDate:function(e){return"".concat(e.getFullYear(),"-").concat(e.getMonth()+1,"-").concat(e.getDate())},onConfirm12:function(e,a){console.log(e,a),this.sectionArr_id=this.sectionArr[a].id,this.value12=e,this.showPicker12=!1},onConfirm13:function(e,a){console.log(e,a),this.staffArr_id=this.staffArr[a].id,this.value13=e,this.showPicker13=!1},getStaffAndSectionData:function(){var e=this;this.$http.post("http://meihuajing.nxjiewei.com:8011/api/troubleshoot/getStaffAndSectionData",{}).then((function(a){console.log(a.data),e.sectionArr=a.data.data.sectionArr,e.staffArr=a.data.data.staffArr,e.columns12=[],a.data.data.sectionArr.forEach((function(a,t){e.columns12.push(a.title)}))}))},getTroubleshootDetail:function(e){var a=this;this.$toast.loading(),this.$http.post("http://meihuajing.nxjiewei.com:8011/api/troubleshoot/getTroubleshootDetail",{id:e}).then((function(e){a.$toast.clear(),console.log(e.data.data),a.detail=e.data.data;var t=e.data.data;a.value10=t.inspected_unit,a.value1=t.inspection_specialty,a.value2=t.hidden_danger_level,a.message1=t.hidden_danger,a.message2=t.rectification_measures,a.value3=t.risk_rating.risk_point,a.value4=t.risk_rating.risk_type,a.value5=t.risk_rating.risk_level,a.value6=t.risk_rating.accident_type,a.message3=t.risk_rating.risk_description,a.message4=t.risk_rating.consequences_and_impact,a.message5=t.risk_rating.control_measures,a.message6=t.rectification_duty_unit,a.message7=t.rectification_duty_person,a.value7=t.supervision_department,a.value8=t.supervision_duty_person,a.value11=t.rectification_type,a.value9=t.rectification_term,a.value13=t.inspected_person,a.value14=t.inspection_location,a.message8=t.rectification_opinion,a.check_accept_department=t.check_accept_department,a.inspection_time=t.inspection_time}))},getSectionStaff:function(){var e=this;this.$http.post("http://meihuajing.nxjiewei.com:8011/api/section/getSectionStaff",{}).then((function(a){console.log(a.data.data),e.options=a.data.data}))},onFinish_yanShouRen:function(e){var a=e.selectedOptions;this.show_yanShouRen=!1,this.fieldValue_yanShouRen=a.map((function(e){return e.text})).join("--"),console.log(a[1].value),this.staffArr_id=a[1].value}},mounted:function(){document.body.style.backgroundColor="#f0f0f0",this.id=Object(r["a"])(window.location.href).id,this.getTroubleshootDetail(this.id),this.getStaffAndSectionData(),this.getSectionStaff()}},s=l,o=(t("d479"),t("2877")),c=Object(o["a"])(s,n,i,!1,null,"777139b6",null);a["default"]=c.exports},"8aa5":function(e,a,t){"use strict";var n=t("6547").charAt;e.exports=function(e,a,t){return a+(t?n(e,a).length:1)}},9263:function(e,a,t){"use strict";var n=t("ad6d"),i=t("9f7f"),r=t("5692"),l=t("7c73"),s=t("69f3").get,o=t("fce3"),c=t("107c"),u=RegExp.prototype.exec,d=r("native-string-replace",String.prototype.replace),f=u,v=function(){var e=/a/,a=/b*/g;return u.call(e,"a"),u.call(a,"a"),0!==e.lastIndex||0!==a.lastIndex}(),p=i.UNSUPPORTED_Y||i.BROKEN_CARET,h=void 0!==/()??/.exec("")[1],g=v||h||p||o||c;g&&(f=function(e){var a,t,i,r,o,c,g,m=this,x=s(m),b=x.raw;if(b)return b.lastIndex=m.lastIndex,a=f.call(b,e),m.lastIndex=b.lastIndex,a;var y=x.groups,_=p&&m.sticky,k=n.call(m),w=m.source,S=0,E=e;if(_&&(k=k.replace("y",""),-1===k.indexOf("g")&&(k+="g"),E=String(e).slice(m.lastIndex),m.lastIndex>0&&(!m.multiline||m.multiline&&"\n"!==e[m.lastIndex-1])&&(w="(?: "+w+")",E=" "+E,S++),t=new RegExp("^(?:"+w+")",k)),h&&(t=new RegExp("^"+w+"$(?!\\s)",k)),v&&(i=m.lastIndex),r=u.call(_?t:m,E),_?r?(r.input=r.input.slice(S),r[0]=r[0].slice(S),r.index=m.lastIndex,m.lastIndex+=r[0].length):m.lastIndex=0:v&&r&&(m.lastIndex=m.global?r.index+r[0].length:i),h&&r&&r.length>1&&d.call(r[0],t,(function(){for(o=1;o=51||!i((function(){var e=[];return e[p]=!1,e.concat()[0]!==e})),x=d("concat"),b=function(e){if(!l(e))return!1;var a=e[p];return void 0!==a?!!a:r(e)},y=!m||!x;n({target:"Array",proto:!0,forced:y},{concat:function(e){var a,t,n,i,r,l=s(this),d=u(l,0),f=0;for(a=-1,n=arguments.length;ah)throw TypeError(g);for(t=0;t=h)throw TypeError(g);c(d,f++,r)}return d.length=f,d}})},"9f7f":function(e,a,t){var n=t("d039"),i=function(e,a){return RegExp(e,a)};a.UNSUPPORTED_Y=n((function(){var e=i("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),a.BROKEN_CARET=n((function(){var e=i("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},a15b:function(e,a,t){"use strict";var n=t("23e7"),i=t("44ad"),r=t("fc6a"),l=t("a640"),s=[].join,o=i!=Object,c=l("join",",");n({target:"Array",proto:!0,forced:o||!c},{join:function(e){return s.call(r(this),void 0===e?",":e)}})},a640:function(e,a,t){"use strict";var n=t("d039");e.exports=function(e,a){var t=[][e];return!!t&&n((function(){t.call(null,a||function(){throw 1},1)}))}},ac1f:function(e,a,t){"use strict";var n=t("23e7"),i=t("9263");n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},accb:function(e,a,t){"use strict";t.d(a,"a",(function(){return n}));t("ac1f"),t("1276"),t("fb6a"),t("841c"),t("5319");var n=function(e){var a=e?e.split("?")[1]:window.location.search.slice(1),t={};if(a){a=a.split("#")[0];for(var n=a.split("&"),i=0;i