(this.webpackJsonp=this.webpackJsonp||[]).push([["chunk-912d"],{C5RT:function(e,t,a){"use strict";a.r(t);var r=a("cLjf"),n=a.n(r),i=a("hDQ3"),l=a.n(i),s=a("WgQi"),o={name:"taskSelect",data:function(){return{tableKey:0,listLoading:!1,recordTotal:0,options:[],filter:{pageIndex:1,pageSize:10,filter:{department:""}},dialogVisible:!1,tableData:[]}},created:function(){},methods:{queryHandle:function(){this.filter.pageIndex=1,this.getPersonList()},handleSizeChange:function(e){this.filter.pageSize=e,this.filter.pageIndex=1,this.getTaskData()},handleCurrentChange:function(e){this.filter.pageIndex=e,this.getPersonList()},show:function(){this.dialogVisible=!0,this.getDepartmentList()},selectOne:function(e){this.$emit("setPerson",e),this.dialogVisible=!1},getDepartmentList:function(){var e=this;return l()(n.a.mark(function t(){var a;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(s.d)();case 2:"200"===(a=t.sent).data.code?e.options=a.data.result.map(function(e){return{value:e.department,label:e.department}}):e.$message({message:a.data.message,type:"warning"});case 4:case"end":return t.stop()}},t,e)}))()},getPersonList:function(){var e=this;return l()(n.a.mark(function t(){return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:e.listLoading=!0,Object(s.c)(e.filter).then(function(t){"200"===t.data.code?(e.tableData=t.data.result.records,e.recordTotal=t.data.result.total):e.$message({message:t.data.message,type:"warning"})}).catch(function(t){console.log(t),e.$message({message:"接口错误",type:"warning"})}).finally(function(){e.listLoading=!1});case 2:case"end":return t.stop()}},t,e)}))()}}},d=(a("VZZv"),a("ZrdR")),c=Object(d.a)(o,function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{visible:e.dialogVisible,"append-to-body":"","close-on-click-modal":!1,width:"75%"},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",{staticClass:"app-container"},[a("div",{staticClass:"filter-container"},[a("div",{staticStyle:{display:"block","padding-top":"10px","padding-bottom":"10px"}},[a("div",{staticClass:"basic_search"},[a("el-select",{attrs:{filterable:"",clearable:"",placeholder:"请选择"},on:{change:e.getPersonList},model:{value:e.filter.filter.department,callback:function(t){e.$set(e.filter.filter,"department",t)},expression:"filter.filter.department"}},e._l(e.options,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1),e._v(" "),a("el-button",{staticStyle:{"margin-left":"20px"},attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.queryHandle}})],1)]),e._v(" "),a("div",{staticClass:"table_content"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],key:e.tableKey,staticStyle:{width:"100%"},attrs:{data:e.tableData,border:"",fit:"","highlight-current-row":""}},[a("el-table-column",{attrs:{label:"序号",type:"index",align:"center",width:"60"}}),e._v(" "),a("el-table-column",{attrs:{label:"所属部门",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.department))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"姓名",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.realname))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",align:"center",width:"180","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){e.selectOne(t.row)}}},[e._v("选择")])]}}])})],1),e._v(" "),a("br"),e._v(" "),a("el-pagination",{directives:[{name:"show",rawName:"v-show",value:e.recordTotal>0,expression:"recordTotal>0"}],staticStyle:{float:"right"},attrs:{"current-page":e.filter.pageIndex,"page-sizes":[10,20,30,50],"page-size":e.filter.pageSize,total:e.recordTotal,layout:"total, sizes, prev, pager, next, jumper",background:""},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)])])},[],!1,null,"1caabded",null);c.options.__file="personSelect.vue";t.default=c.exports},JzHh:function(e,t,a){"use strict";a.r(t);var r=a("omC7"),n=a.n(r),i=a("C5RT"),l=a("PcP2"),s=(a("X4fA"),a("jJIE")),o=a.n(s),d={name:"reportDialog",data:function(){return{disabled:!1,title:"",fileRoad:"http://222.92.213.22:8006/zhongtai/task/web/upload",uploadForm:{},header:{Authorization:""},submiting:!1,departmentList:[],userList:[],execUidList:[],allProduceDeviceData:[],allSafetyRiskUnitData:[],safetyRiskUnitData:[],dangerLevelList:[{id:1,name:"一般隐患"},{id:2,name:"重大隐患"}],dangerSourceList:[{id:1,name:"日常排查"},{id:2,name:"综合性排查"},{id:3,name:"专业性排查"},{id:4,name:"季节性排查"},{id:5,name:"重点时段及节假日前排查"},{id:6,name:"事故类比排查"},{id:7,name:"复产复工前排查"},{id:8,name:"外聘专家诊断式排查"},{id:9,name:"管控措施失效"},{id:10,name:"其他"}],dangerResultList:[{id:1,name:"无"},{id:2,name:"轻伤"},{id:3,name:"重伤"},{id:4,name:"死亡"}],dangerTypeList:[{id:1,name:"安全"},{id:2,name:"工艺"},{id:3,name:"电气"},{id:4,name:"仪表"},{id:5,name:"消防"},{id:6,name:"总图"},{id:7,name:"设备"},{id:8,name:"其他"}],rectifyTypeList:[{id:1,name:"即查即改"},{id:2,name:"限期整改"}],pickerOptions:{disabledDate:function(e){return e.getTime()