Your Name
2022-11-30 f0cd5a4fe3b366fa753b8da5e387673c30c4d0f7
1
(this.webpackJsonp=this.webpackJsonp||[]).push([["chunk-2c13","chunk-63bd","chunk-15fd"],{"1aBs":function(e,t,a){"use strict";var n=a("Hgr+");a.n(n).a},"2zMV":function(e,t,a){"use strict";a.r(t);a("7Qib");var n={name:"repair",data:function(){return{listLoading:!1,dialogFix:!1,recordTotal:0,pageSize:10,pageTotal:0,currentPage:1,tableKey:0,dialogVisible:!1,checkList:[{info:"虫吃鼠咬",checkTime:"2022-10-31",deadline:"2022-11-01",money:"30",action:"补充灭虫药",principal:"叼毛",fixStatus:1,finishTime:"2022-11-01",level:1},{info:"虫吃鼠咬",checkTime:"2022-10-31",deadline:"2022-11-01",money:"3000",action:"补充灭虫药",principal:"叼毛",fixStatus:0,finishTime:"2022-11-01",level:0}],fixForm:{info:"",finishDate:"",money:"",actions:"",name:""}}},watch:{},methods:{handleSizeChange:function(e){this.pageSize=e,this.currentPage=1},handleCurrentChange:function(e){this.currentPage=e},confirm:function(){this.dialogVisible=!1},confirmFix:function(){this.dialogFix=!1},toFix:function(){this.dialogFix=!0}}},i=(a("diGs"),a("KHd+")),l=Object(i.a)(n,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:"60%",center:""},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",{staticClass:"table_cont"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],key:e.tableKey,staticStyle:{width:"100%"},attrs:{data:e.checkList,border:"",fit:"","highlight-current-row":""}},[a("el-table-column",{attrs:{type:"index",label:"序号",align:"center",width:"80"}}),e._v(" "),a("el-table-column",{attrs:{label:"检查出的隐患问题",prop:"info",align:"center",width:"180"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.info))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"检查时间",prop:"checkTime",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.checkTime))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"最后整改期限",prop:"deadline",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.deadline))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"整改资金(元)",prop:"money",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.money))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"整改措施",prop:"action",width:"130",align:"center",sortable:""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.action))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"负责人",prop:"principal",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.principal))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"整改状态",prop:"fixStatus",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(0==t.row.fixStatus?"未整改":"已整改"))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成整改时间",prop:"finishTime",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.finishTime))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"隐患等级",prop:"level",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(0==t.row.level?"一般隐患":"重大隐患"))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",align:"center","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){return[0==t.row.fixStatus?a("el-button",{attrs:{type:"text"},on:{click:function(a){e.toFix(t.row)}}},[e._v("整改填报")]):a("el-button",{attrs:{type:"text"}},[e._v("--")])]}}])})],1),e._v(" "),a("el-pagination",{directives:[{name:"show",rawName:"v-show",value:e.recordTotal>0,expression:"recordTotal>0"}],staticStyle:{float:"right",margin:"3px"},attrs:{"current-page":e.currentPage,"page-sizes":[10,20,30,50],"page-size":e.pageSize,total:e.recordTotal,layout:"total, sizes, prev, pager, next, jumper",background:""},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.dialogVisible=!1}}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.confirm()}}},[e._v("提交")])],1),e._v(" "),a("el-dialog",{attrs:{visible:e.dialogFix,title:"整改填报","append-to-body":"","close-on-click-modal":!1,width:"40%",center:""},on:{"update:visible":function(t){e.dialogFix=t}}},[a("el-form",{ref:"fixformRef",attrs:{model:e.fixForm,"label-width":"140px"}},[a("el-form-item",{attrs:{label:"当前隐患:"}},[a("el-input",{attrs:{type:"textarea"},model:{value:e.fixForm.info,callback:function(t){e.$set(e.fixForm,"info",t)},expression:"fixForm.info"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"当前完成整改日期:"}},[a("el-date-picker",{attrs:{type:"date",placeholder:"请选择整改日期"},model:{value:e.fixForm.finishDate,callback:function(t){e.$set(e.fixForm,"finishDate",t)},expression:"fixForm.finishDate"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"整改资金:"}},[a("el-input",{model:{value:e.fixForm.money,callback:function(t){e.$set(e.fixForm,"money",t)},expression:"fixForm.money"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"整改措施:"}},[a("el-input",{attrs:{type:"textarea",autosize:""},model:{value:e.fixForm.actions,callback:function(t){e.$set(e.fixForm,"actions",t)},expression:"fixForm.actions"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"负责人:"}},[a("el-input",{model:{value:e.fixForm.name,callback:function(t){e.$set(e.fixForm,"name",t)},expression:"fixForm.name"}})],1)],1),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.dialogFix=!1}}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.confirmFix()}}},[e._v("提交")])],1)],1)],1)},[],!1,null,"68c81d52",null);l.options.__file="repair.vue";t.default=l.exports},By9n:function(e,t,a){"use strict";a.r(t);var n=a("QbLZ"),i=a.n(n),l=(a("jJIE"),a("7Qib"),a("L2JU")),o=(a("XJYT"),a("X4fA"),a("xjNL")),r=a("2zMV"),s={name:"selfCheck",components:{selfReport:o.default,repair:r.default},data:function(){return{listLoading:!1,recordTotal:0,pageSize:10,pageTotal:0,currentPage:1,tableKey:0,checkData:[{sendDate:"2022-10-29",name:"2023年上半年……",department:"新疆维吾尔应急管理厅",deadline:"2022-10-30",isCheck:1,selfCheckTime:"2022-10-31",isRisky:1},{sendDate:"2022-10-29",name:"2023年上半年……",department:"新疆维吾尔应急管理厅",deadline:"2022-10-30",isCheck:0,selfCheckTime:"2022-10-31",isRisky:0}]}},created:function(){},mounted:function(){},computed:i()({},Object(l.b)(["userType","name"])),methods:{handleSizeChange:function(e){this.pageSize=e,this.currentPage=1},handleCurrentChange:function(e){this.currentPage=e},toReport:function(e){this.$refs.report.dialogVisible=!0},toRepair:function(e){this.$refs.repair.dialogVisible=!0}}},c=(a("1aBs"),a("KHd+")),d=Object(c.a)(s,function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container",staticStyle:{"padding-bottom":"40px"}},[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.checkData,border:"",fit:"","highlight-current-row":""}},[a("el-table-column",{attrs:{label:"下发日期",prop:"sendDate",align:"center",width:"180"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.sendDate))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"任务名称",prop:"name",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.name))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"下发部门",prop:"department",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:"自查期限(之前)",prop:"deadline",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.deadline))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"是否自查",prop:"isCheck",width:"130",align:"center",sortable:""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.isCheck))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"自查时间",prop:"selfCheckTime",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.selfCheckTime))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"是否隐患",prop:"isRisky",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.isRisky))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"整改情况",align:"center","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.toRepair(t.row)}}},[e._v("去整改")])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"详情",align:"center","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.isCheck?a("el-button",{attrs:{type:"text"}},[e._v("查看详情")]):a("el-button",{attrs:{type:"text"},on:{click:function(a){e.toReport(t.row)}}},[e._v("自查填报")])]}}])})],1),e._v(" "),a("el-pagination",{directives:[{name:"show",rawName:"v-show",value:e.recordTotal>0,expression:"recordTotal>0"}],staticStyle:{float:"right",margin:"3px"},attrs:{"current-page":e.currentPage,"page-sizes":[10,20,30,50],"page-size":e.pageSize,total:e.recordTotal,layout:"total, sizes, prev, pager, next, jumper",background:""},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1),e._v(" "),a("self-report",{ref:"report"}),e._v(" "),a("repair",{ref:"repair"})],1)},[],!1,null,"0bd4d1b3",null);d.options.__file="index.vue";t.default=d.exports},DQL6:function(e,t,a){},"Hgr+":function(e,t,a){},KrdQ:function(e,t,a){"use strict";var n=a("DQL6");a.n(n).a},Pknh:function(e,t,a){},diGs:function(e,t,a){"use strict";var n=a("Pknh");a.n(n).a},xjNL:function(e,t,a){"use strict";a.r(t);a("7Qib");var n={name:"selfReport",data:function(){return{dialogVisible:!1,checkForm:{store:"",isRisky:2,riskList:[{info:"",time:"",deadline:"",level:""}],reporter:"",reportPhone:""}}},watch:{},methods:{addItem:function(){this.checkForm.riskList.push({info:"",time:"",level:""})},deleteItem:function(e){console.log(e),this.checkForm.riskList.splice(e,1)},confirmSend:function(){this.dialogVisible=!1}}},i=(a("KrdQ"),a("KHd+")),l=Object(i.a)(n,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:"60%",center:""},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",{staticClass:"company-info"},[a("div",[e._v("企业基本信息")]),e._v(" "),a("div",[a("span",[e._v("企业名称:")]),a("span",[e._v("XXXXXXXXXX有限公司")])]),e._v(" "),a("div",[a("span",[e._v("许可证:")]),a("span",[e._v("在有效期(有效期至:XXXXX)")])]),e._v(" "),a("div",[a("span",[e._v("库存:")]),a("span",[e._v("100(万箱)")])]),e._v(" "),a("div",[a("span",[e._v("库容:")]),e._v(" "),a("span",[a("el-input",{attrs:{placeholder:"请输入库容量"},model:{value:e.checkForm.store,callback:function(t){e.$set(e.checkForm,"store",t)},expression:"checkForm.store"}})],1)])]),e._v(" "),a("el-divider"),e._v(" "),a("div",{staticClass:"form-info"},[a("div",[e._v("自查自改填报")]),e._v(" "),a("div",[a("span",[e._v("自查是否有隐患:")]),e._v(" "),a("el-radio-group",{model:{value:e.checkForm.isRisky,callback:function(t){e.$set(e.checkForm,"isRisky",t)},expression:"checkForm.isRisky"}},[a("el-radio",{attrs:{label:1}},[e._v("是")]),e._v(" "),a("el-radio",{attrs:{label:2}},[e._v("否")])],1)],1)]),e._v(" "),1==e.checkForm.isRisky?a("div",{staticClass:"risk-list"},[a("table",{staticClass:"risk-table"},[a("th",[a("span",[e._v("序号")]),a("span",[e._v("检查出的隐患问题")]),a("span",[e._v("检查时间")]),a("span",[e._v("最后整改期限")]),a("span",[e._v("隐患等级")]),a("span",[e._v("操作")])]),e._v(" "),e._l(e.checkForm.riskList,function(t,n){return a("tr",[a("td",{staticClass:"num"},[e._v(e._s(n+1))]),e._v(" "),a("td",{staticClass:"info"},[a("el-input",{attrs:{type:"textarea",rows:1,placeholder:"请输入内容"},model:{value:t.info,callback:function(a){e.$set(t,"info",a)},expression:"item.info"}})],1),e._v(" "),a("td",{staticClass:"date"},[a("el-date-picker",{attrs:{type:"datetime",placeholder:"选择检查时间"},model:{value:t.time,callback:function(a){e.$set(t,"time",a)},expression:"item.time"}})],1),e._v(" "),a("td",{staticClass:"deadline"},[a("el-date-picker",{attrs:{type:"datetime",placeholder:"选择整改期限"},model:{value:t.deadline,callback:function(a){e.$set(t,"deadline",a)},expression:"item.deadline"}})],1),e._v(" "),a("td",{staticClass:"level"},[a("el-radio-group",{model:{value:t.level,callback:function(a){e.$set(t,"level",a)},expression:"item.level"}},[a("el-radio",{attrs:{label:1}},[e._v("一般隐患")]),e._v(" "),a("el-radio",{attrs:{label:2}},[e._v("重大隐患")])],1)],1),e._v(" "),a("td",{staticClass:"edit"},[a("el-button",{attrs:{type:"text"},on:{click:function(t){e.deleteItem(n)}}},[e._v("删除")])],1)])})],2),e._v(" "),a("div",{staticClass:"addBtn"},[a("el-button",{attrs:{type:"primary",plain:"",icon:"el-icon-plus"},on:{click:function(t){e.addItem()}}},[e._v("新增隐患问题")])],1)]):e._e(),e._v(" "),a("div",{staticStyle:{display:"flex","align-items":"center","margin-top":"20px"}},[a("span",[e._v("填报人:")]),e._v(" "),a("span",{staticStyle:{"margin-right":"40px"}},[a("el-input",{model:{value:e.checkForm.reporter,callback:function(t){e.$set(e.checkForm,"reporter",t)},expression:"checkForm.reporter"}})],1),e._v(" "),a("span",[e._v("电话号码:")]),e._v(" "),a("span",[a("el-input",{model:{value:e.checkForm.reportPhone,callback:function(t){e.$set(e.checkForm,"reportPhone",t)},expression:"checkForm.reportPhone"}})],1)]),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.dialogVisible=!1}}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.confirmSend()}}},[e._v("提交")])],1)],1)},[],!1,null,"2bee1734",null);l.options.__file="selfReport.vue";t.default=l.exports}}]);