(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-52aa51c6"],{"662b":function(e,t,a){"use strict";a.d(t,"a",(function(){return i})),a.d(t,"b",(function(){return n}));a("f2d9");var l=a("2b74");async function i(e,t){let a=[];const i=await Object(l["b"])(e);if(a.push(...i.tableList),i.pageCount>1)for(let n=1;n{switch(e){case 1:return"待完成";case 2:return"已完成";case 3:return"未完成"}}},"设施/设备情况":{field:"situation",callback:e=>{switch(e){case 1:return"正常";case 2:return"异常"}}},"设施/设备检查报告":"detail","设施/设备实际检查时间":"checkDate"},config:{thead:[{label:"序号",type:"index",width:"80"},{label:"检查执行记录编号",prop:"code",width:"auto"},{label:"分类名称",prop:"categoryName",width:"auto"},{label:"设施/设备名称",prop:"facilitiesName",width:"auto"},{label:"检查人姓名",prop:"examinerName",width:"auto"},{label:"检查人联系方式",prop:"examinerTel",width:"auto"},{label:"状态",prop:"status",width:"auto",type:"function",callback:(e,t)=>{switch(e.status){case 1:return"待完成";case 2:return"已完成";case 3:return"未完成"}}},{label:"设施/设备情况",prop:"situation",width:"auto",type:"function",callback:(e,t)=>{switch(e.situation){case 1:return"正常";case 2:return"异常"}}},{label:"设施/设备检查报告",prop:"detail",width:"auto"},{label:"设施/设备实际检查时间",prop:"checkDate",width:"auto"}],table_data:[],url:"facilitiesPlanExecuteList",search_item:[{type:"select",label:"类型",placeholder:"请输入",prop:"type",options:[{value:1,label:"设施"},{value:2,label:"设备"}]},{type:"Input",label:"检查执行记录编号",placeholder:"请输入",prop:"code"},{type:"Input",label:"设施/设备名称",placeholder:"请输入",prop:"facilitiesName"},{type:"Input",label:"检查人联系方式",placeholder:"请输入",prop:"tel"},{type:"select",label:"任务状态",placeholder:"请选择",prop:"status",options:[{value:1,label:"待完成"},{value:2,label:"已完成"},{value:3,label:"未完成"}]}],data:{pageNum:1,size:10}}}},methods:{async fetchData(){let e={url:"facilitiesPlanExecuteList",data:{pageNum:1,size:100}};const t=await Object(n["a"])(e,this);return t},ExcelLoading(e,t){const a=this.$loading({lock:!0,text:"正在导出Excel"+e,spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"});a.text=`正在导出Excel ${e}/${t}`,console.log(a.text)},finishDownload(){const e=this.$loading();e.close()},handleClick(e,t){let a=null;a=0!=this.activeName?this.activeName:null;const l={pageNum:1,size:10,status:a};this.$refs.table.requestData(l)},tableCheck(e){this.table_row=e}}},c=s,o=a("2877"),r=Object(o["a"])(c,l,i,!1,null,null,null);t["default"]=r.exports}}]); //# sourceMappingURL=chunk-52aa51c6.95da685f.js.map