You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
19 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7b27533d"],{"662b":function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return i}));n("f2d9");var r=n("2b74");async function a(t,e){let n=[];const a=await Object(r["b"])(t);if(n.push(...a.tableList),a.pageCount>1)for(let i=1;i<a.pageCount;i++){t.pageNum=i+1;const u=await Object(r["b"])(t);e.ExcelLoading(i,a.pageCount),n.push(...u.tableList)}return n}async function i(t){let e=[];const n=await Object(r["b"])(t);return console.log(n),e.push(...n.tableList),e}},b900:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"main-content"},[t._m(0),e("div",{staticClass:"content"},[e("div",{staticStyle:{width:"50px"}},[e("download-excel",{staticClass:"export-excel-wrapper",attrs:{fetch:t.fetchData,fields:t.json_fields,"before-finish":t.finishDownload,name:"装修管理.xls"}},[e("el-button",{attrs:{size:"mini",icon:"el-icon-folder-add",plain:""}},[t._v("导出Excel")])],1)],1),e("div",{},[e("VueTable",{ref:"table",attrs:{config:t.config},on:{tableCheck:t.tableCheck}},[e("template",{slot:"tabs"},[e("el-tabs",{on:{"tab-click":t.handleClick},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-tab-pane",{attrs:{label:"全部",name:"0"}})],1)],1),e("template",{slot:"footer"},[e("div",{staticClass:"table-footer"},[e("button",{on:{click:function(e){return t.audit(t.table_row)}}},[t._v("审核")]),e("button",{on:{click:function(e){return t.inspection(t.table_row)}}},[t._v(" 指派完工检查人 ")]),e("button",{on:{click:function(e){return t.detail(t.table_row)}}},[t._v("详情")])])])],2)],1),e("el-dialog",{attrs:{title:"审核装修信息",width:"480px",top:"40vh",visible:t.auditDialog},on:{close:function(e){return t.dialogclose()},"update:visible":function(e){t.auditDialog=e}}},[e("div",{staticClass:"dialang-box"},[e("el-select",{staticStyle:{"padding-bottom":"20px"},attrs:{placeholder:"请选择是否通过",size:"small"},model:{value:t.optionsVal,callback:function(e){t.optionsVal=e},expression:"optionsVal"}},t._l(t.options,(function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1),e("el-input",{staticStyle:{width:"423px",height:"32px"},attrs:{placeholder:"请输入装修通过/驳回原因",size:"mini",type:"textarea"},model:{value:t.rejectReason,callback:function(e){t.rejectReason=e},expression:"rejectReason"}})],1),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{attrs:{size:"mini"},on:{click:function(e){t.auditDialog=!1}}},[t._v("取 消")]),e("el-button",{attrs:{size:"mini",type:"primary"},on:{click:function(e){return t.auditOk()}}},[t._v("确 定")])],1)]),e("Drawer",{attrs:{drawerTitle:"指派完工检查人",drawerVrisible:t.inspection_vrisible},on:{drawerClose:t.inspectionClose}},[e("div",{staticStyle:{padding:"30px"}},[e("FromCard",[e("template",{slot:"title"},[t._v("选择完工检查人")]),[e("VueForm",{ref:"inspectionForm",attrs:{formObj:t.inspectionForm},scopedSlots:t._u([{key:"sysOrganization",fn:function(){return[e("el-select",{staticStyle:{width:"240px"},attrs:{"remote-method":t.remoteMethod,loading:t.loading,remote:"",filterable:"",placeholder:"请选择"},on:{change:t.sChange,focus:t.sefocus},model:{value:t.inspectionForm.ruleForm.organizationId,callback:function(e){t.$set(t.inspectionForm.ruleForm,"organizationId",e)},expression:"\n inspectionForm.ruleForm\n .organizationId\n "}},t._l(t.sysOptions,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)]},proxy:!0}])})]],2)],1),e("div",{attrs:{slot:"footer"},slot:"footer"},[e("button",{staticClass:"btn-orange",on:{click:function(e){return t.inspectionSubmit()}}},[e("span",[e("i",{staticClass:"el-icon-circle-check"}),t._v("提交")])]),e("button",{staticClass:"btn-gray",on:{click:t.inspectionClose}},[e("span",[t._v("取消")])])])])],1)])])},a=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"main-titel"},[e("span",[t._v("装修管理")])])}],i=n("662b"),u=n("d63a"),o={data(){return{options:[{value:"2",label:"装修通过"},{value:"3",label:"装修驳回"}],detaillist:{},optionsVal:null,inspection_vrisible:!1,sysOptions:[],loading:!1,thatId:null,rejectReason:null,auditDialog:!1,inspectionForm:{ruleForm:{organizationId:null,tracker:null},form_item:[{type:"Slot",label:"选择部门",placeholder:"请选择",width:"50%",prop:"organizationId",slotName:"sysOrganization"},{type:"Select",label:"完工检查人",placeholder:"请选择",width:"50%",prop:"tracker",options:[]}]},table_row:[],imglist:[],activeName:"0",json_fields:{"房屋信息":"roomName","申请人名称":"createName","申请时间":"createDate","装修状态":{field:"status",callback:t=>{switch(t){case 1:return"装修申请中";case 2:return"装修中";case 3:return"装修驳回";case 5:return"申请完工检查";case 6:return"完工检查中";case 7:return"检查通过";case 8:return"检查不通过"}}},"装修公司名称":"director","装修负责人联系电话":"directorTel","装修预计开始时间":"expectedBegin","装修预计结束时间":"expectedEnd","装修实际开始时间":"actualBegin","装修实际结束时间":"actualEnd","装修通过/驳回原因":"rejectReason","审核人名称":"reviewerName","审核时间":"auditDate","检查完工人名称":"trackerName","最后一次完工检查是否合格":{field:"isQualified",callback:t=>{switch(t){case 1:return"合格";case 2:return"不合格";default:break}}}},config:{thead:[{label:"序号",type:"index",width:"70"},{label:"房屋信息",prop:"roomName",width:"110"},{label:"申请人名称",prop:"createName",width:"auto"},{label:"申请时间",prop:"createDate",width:"200"},{label:"装修状态",prop:"status",width:"120",type:"function",callback(t,e){switch(t.status){case 1:return"装修申请中";case 2:return"装修中";case 3:return"装修驳回";case 5:return"申请完工检查";case 6:return"完工检查中";case 7:return"检查通过";case 8:return"检查不通过"}}},{label:"装修公司负责人名称",prop:"director",width:"130"},{label:"装修负责人联系电话",prop:"directorTel",width:"150"},{label:"装修预计开始时间",prop:"expectedBegin",width:"130"},{label:"装修预计结束时间",prop:"expectedEnd",width:"130"},{label:"装修实际开始时间",prop:"actualBegin",width:"200"},{label:"装修实际结束时间",prop:"actualEnd",width:"200"},{label:"装修通过/驳回原因",prop:"rejectReason",width:"200"},{label:"审核人名称",prop:"reviewerName",width:"180"},{label:"审核时间",prop:"auditDate",width:"200"},{label:"检查完工人名称",prop:"trackerName",width:"180"},{label:"最后一次完工检查是否合格",prop:"isQualified",width:"150",type:"function",callback:(t,e)=>{switch(t.isQualified){case 1:return"合格";case 2:return"不合格";default:break}}}],table_data:[],url:"userDecorationNewList",search_item:[{type:"Input",label:"装修公司负责人名称",placeholder:"请输入",prop:"constructionUnit"},{type:"Int",label:"装修负责人联系方式",placeholder:"请输入",prop:"directorTel"},{type:"select",label:"装修状态",placeholder:"请输入",prop:"status",options:[{label:"装修申请中",value:"1"},{label:"装修中",value:"2"},{label:"装修驳回",value:"3"},{label:"申请完工检查",value:"5"},{label:"完工检查中",value:"6"},{label:"检查通过",value:"7"},{label:"检查不通过",value:"8"}]}],data:{pageNum:1,size:10}}}},methods:{async fetchData(){let t={url:"userDecorationNewList",data:{pageNum:1,size:100}};const e=await Object(i["a"])(t,this);return e},ExcelLoading(t,e){const n=this.$loading({lock:!0,text:"正在导出Excel"+t,spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"});n.text=`正在导出Excel ${t}/${e}`,console.log(n.text)},finishDownload(){const t=this.$loading();t.close()},getUserList(t){let e={pageNum:1,size:20};this.loading=!0,Object(u["sb"])(e).then(t=>{this.sysOptions=t.data,this.loading=!1})},detail(t){1==t.length?this.$router.push({path:"/daily/decorationManagementDetail",query:{id:t[0].id}}):this.$message({message:"请选择一条数据查看"})},remoteMethod(t){this.getUserList(t)},sefocus(){this.getUserList()},change(t){console.log(t)},sChange(t){this.inspectionForm.form_item[1].options=[];let e={pageNum:1,size:100,organizationId:t};Object(u["tb"])(e).then(t=>{console.log(t),t.tableList.forEach(t=>{let e={value:t.id,label:t.nickName};this.inspectionForm.form_item[1].options.push(e)}),console.log(this.inspectionForm.form_item[1].options),this.loading=!1})},audit(t){1==t.length?1==t[0].status?(this.auditDialog=!0,console.log(t),this.thatId=t[0].id):this.$message({type:"error",message:"该状态不可审核"}):this.$message({type:"error",message:"请选择一条信息审核"})},auditOk(){let t={id:this.thatId,status:this.optionsVal,rejectReason:this.rejectReason};console.log(t),Object(u["vb"])(t).then(t=>{t.status&&this.$message({type:"success",message:t.message})}),this.auditDialog=!1,this.thatId=null,this.optionsVal=null,this.rejectReason=null,this.$refs.table.loadData()},dialogclose(){},inspection(t){1==t.length?5==t[0].status?(this.inspection_vrisible=!0,this.thatId=t[0].id):this.$message({type:"error",message:"该状态不可检查"}):this.$message({type:"error",message:"请选择一条信息指派检查人"})},inspectionClose(){this.$refs.inspectionForm.reset(),this.inspection_vrisible=!1},inspectionSubmit(){let t={...this.inspectionForm.ruleForm,id:this.thatId};Object(u["ub"])(t).then(t=>{t.status&&this.$message({type:"success",message:t.message})}),this.inspectionClose(),this.thatId=null,this.$refs.table.loadData()},handleClick(t,e){let n=null;n=0!=this.activeName?this.activeName:null;const r={pageNum:1,size:10,status:n};this.$refs.table.requestData(r)},tableCheck(t){this.table_row=t}}},s=o,l=n("2877"),c=Object(l["a"])(s,r,a,!1,null,null,null);e["default"]=c.exports},d63a:function(t,e,n){"use strict";n.d(e,"n",(function(){return a})),n.d(e,"e",(function(){return i})),n.d(e,"qb",(function(){return u})),n.d(e,"rb",(function(){return o})),n.d(e,"q",(function(){return s})),n.d(e,"r",(function(){return l})),n.d(e,"s",(function(){return c})),n.d(e,"h",(function(){return d})),n.d(e,"o",(function(){return f})),n.d(e,"p",(function(){return m})),n.d(e,"l",(function(){return p})),n.d(e,"k",(function(){return h})),n.d(e,"j",(function(){return b})),n.d(e,"m",(function(){return g})),n.d(e,"f",(function(){return T})),n.d(e,"i",(function(){return q})),n.d(e,"g",(function(){return y})),n.d(e,"vb",(function(){return v})),n.d(e,"ub",(function(){return w})),n.d(e,"bb",(function(){return O})),n.d(e,"cb",(function(){return S})),n.d(e,"ab",(function(){return P})),n.d(e,"G",(function(){return k})),n.d(e,"I",(function(){return E})),n.d(e,"F",(function(){return C})),n.d(e,"D",(function(){return I})),n.d(e,"K",(function(){return x})),n.d(e,"N",(function(){return _})),n.d(e,"J",(function(){return G})),n.d(e,"M",(function(){return D})),n.d(e,"H",(function(){return N})),n.d(e,"sb",(function(){return j})),n.d(e,"tb",(function(){return B})),n.d(e,"L",(function(){return M})),n.d(e,"E",(function(){return z})),n.d(e,"W",(function(){return R})),n.d(e,"X",(function(){return F})),n.d(e,"T",(function(){return $})),n.d(e,"Z",(function(){return L})),n.d(e,"Y",(function(){return A})),n.d(e,"V",(function(){return V})),n.d(e,"U",(function(){return U})),n.d(e,"R",(function(){return Q})),n.d(e,"P",(function(){return J})),n.d(e,"Q",(function(){return H})),n.d(e,"S",(function(){return K})),n.d(e,"eb",(function(){return W})),n.d(e,"db",(function(){return X})),n.d(e,"fb",(function(){return Y})),n.d(e,"O",(function(){return Z})),n.d(e,"u",(function(){return tt})),n.d(e,"v",(function(){return et})),n.d(e,"x",(function(){return nt})),n.d(e,"t",(function(){return rt})),n.d(e,"w",(function(){return at})),n.d(e,"z",(function(){return it})),n.d(e,"A",(function(){return ut})),n.d(e,"C",(function(){return ot})),n.d(e,"y",(function(){return st})),n.d(e,"B",(function(){return lt})),n.d(e,"hb",(function(){return ct})),n.d(e,"ib",(function(){return dt})),n.d(e,"gb",(function(){return ft})),n.d(e,"jb",(function(){return mt})),n.d(e,"ob",(function(){return pt})),n.d(e,"pb",(function(){return ht})),n.d(e,"nb",(function(){return bt})),n.d(e,"c",(function(){return gt})),n.d(e,"d",(function(){return Tt})),n.d(e,"a",(function(){return qt})),n.d(e,"b",(function(){return yt})),n.d(e,"kb",(function(){return vt})),n.d(e,"mb",(function(){return wt})),n.d(e,"lb",(function(){return Ot})),n.d(e,"wb",(function(){return St}));var r=n("b775");n("2c37");function a(t){return r["a"].request({method:"POST",url:"/facilitiesManage/insert",data:t})}function i(t){return r["a"].request({method:"POST",url:"facilitiesAppointment/update",data:t})}function u(t){return r["a"].request({method:"POST",url:"sysOperations/insert",data:t})}function o(t){return r["a"].request({method:"POST",url:"sysOperations/update",data:t})}function s(t){return r["a"].request({method:"POST",url:"facilitiesPlan/insert",data:t})}function l(t){return r["a"].request({method:"POST",url:"facilitiesPlan/open",data:t})}function c(t){return r["a"].request({method:"POST",url:"facilitiesPlan/stop",data:t})}function d(t){return r["a"].request({method:"GET",url:"/facilitiesCategory/list",params:t})}function f(t){return r["a"].request({method:"GET",url:"/facilitiesManage/list",params:t})}function m(t){return r["a"].request({method:"POST",url:"/facilitiesManage/update",data:t})}function p(t){return r["a"].request({method:"GET",url:"/facilitiesMaintenanceRecord/list",params:t})}function h(t){return r["a"].request({method:"POST",url:"/facilitiesMaintenanceRecord/insert",data:t})}function b(t){return r["a"].request({method:"POST",url:"/facilitiesMaintenanceRecord/delete",data:t})}function g(t){return r["a"].request({method:"GET",url:"/facilitiesManage/findDetailById",params:t})}function T(t){return r["a"].request({method:"GET",url:"/facilitiesCategory/findDetailById",params:t})}function q(t){return r["a"].request({method:"POST",url:"/facilitiesCategory/update",data:t})}function y(t){return r["a"].request({method:"POST",url:"/facilitiesCategory/insert",data:t})}function v(t){return r["a"].request({method:"POST",url:"/userDecorationNew/examine",data:t})}function w(t){return r["a"].request({method:"POST",url:"/userDecorationNew/assign",data:t})}function O(t){return r["a"].request({method:"POST",url:"/ownersCommittee/insert",data:t})}function S(t){return r["a"].request({method:"POST",url:"/ownersCommittee/update",data:t})}function P(t){return r["a"].request({method:"GET",url:"/ownersCommittee/findById",params:t})}function k(t){return r["a"].request({method:"POST",url:"/inspectionPoint/insert",data:t})}function E(t){return r["a"].request({method:"POST",url:"/inspectionPoint/update",data:t})}function C(t){return r["a"].request({method:"GET",url:"/inspectionPoint/findById",params:t})}function I(t){return r["a"].request({method:"POST",url:"/inspectionPlan/insert",data:t})}function x(t){return r["a"].request({method:"POST",url:"/inspectionRoute/insert",data:t})}function _(t){return r["a"].request({method:"POST",url:"/inspectionRoute/update",data:t})}function G(t){return r["a"].request({method:"GET",url:"/inspectionRoute/findById",params:t})}function D(t){return r["a"].request({method:"GET",url:"/inspectionRoute/list",params:t})}function N(t){return r["a"].request({method:"GET",url:"/inspectionPoint/list",params:t})}function j(t){return r["a"].request({method:"GET",url:"/sysOrganization/findAllDepartment",params:t})}function B(t){return r["a"].request({method:"GET",url:"/sysUser/list",params:t})}function M(t){return r["a"].request({method:"GET",url:"/inspectionRoute/isEnable",params:t})}function z(t){return r["a"].request({method:"GET",url:"/inspectionPlan/isEnable",params:t})}function R(t){return r["a"].request({method:"GET",url:"/material/list",params:t})}function F(t){return r["a"].request({method:"GET",url:"/materialRecord/findById",params:t})}function $(t){return r["a"].request({method:"POST",url:"/material/insert",data:t})}function L(t){return r["a"].request({method:"POST",url:"/material/update",data:t})}function A(t){return r["a"].request({method:"POST",url:"/materialRecord/insert",data:t})}function V(t){return r["a"].request({method:"POST",url:"/materialInventory/insert",data:t})}function U(t){return r["a"].request({method:"GET",url:"/materialInventory/findById",params:t})}function Q(t){return r["a"].request({method:"POST",url:"/keyManagement/insert",data:t})}function J(t){return r["a"].request({method:"POST",url:"/keyBorrow/examine",data:t})}function H(t){return r["a"].request({method:"GET",url:"/keyManagement/findById",params:t})}function K(t){return r["a"].request({method:"POST",url:"/keyManagement/update",data:t})}function W(t){return r["a"].request({method:"POST",url:"/packageCollection/insert",data:t})}function X(t){return r["a"].request({method:"GET",url:"/packageCollection/findById",params:t})}function Y(t){return r["a"].request({method:"POST",url:"/packageCollection/update",data:t})}function Z(t){return r["a"].request({method:"POST",url:"/interview/insert",data:t})}function tt(t){return r["a"].request({method:"POST",url:"/greenArea/insert",data:t})}function et(t){return r["a"].request({method:"GET",url:"/greenArea/list",params:t})}function nt(t){return r["a"].request({method:"POST",url:"/greenTask/insert",data:t})}function rt(t){return r["a"].request({method:"GET",url:"/greenArea/findById",params:t})}function at(t){return r["a"].request({method:"POST",url:"/greenArea/update",data:t})}function it(t){return r["a"].request({method:"POST",url:"/hygieneArea/insert",data:t})}function ut(t){return r["a"].request({method:"GET",url:"/hygieneArea/list",params:t})}function ot(t){return r["a"].request({method:"POST",url:"/hygieneTask/insert",data:t})}function st(t){return r["a"].request({method:"GET",url:"/hygieneArea/findById",params:t})}function lt(t){return r["a"].request({method:"POST",url:"/hygieneArea/update",data:t})}function ct(t){return r["a"].request({method:"POST",url:"/regulationManagement/insert",data:t})}function dt(t){return r["a"].request({method:"GET",url:"/regulationManagement/release",params:t})}function ft(t){return r["a"].request({method:"GET",url:"/regulationManagement/findById",params:t})}function mt(t){return r["a"].request({method:"POST",url:"/regulationManagement/update",data:t})}function pt(t){return r["a"].request({method:"POST",url:"/serviceBrowsing/insert",data:t})}function ht(t){return r["a"].request({method:"POST",url:"/serviceBrowsing/update",data:t})}function bt(t){return r["a"].request({method:"GET",url:"/serviceBrowsing/findById",params:t})}function gt(t){return r["a"].request({method:"POST",url:"/communityIntroduction/insert",data:t})}function Tt(t){return r["a"].request({method:"POST",url:"/communityIntroduction/update",data:t})}function qt(t){return r["a"].request({method:"GET",url:"/communityIntroduction/enable",params:t})}function yt(t){return r["a"].request({method:"GET",url:"/communityIntroduction/findById",params:t})}function vt(t){return r["a"].request({method:"POST",url:"/securityManagement/insert",data:t})}function wt(t){return r["a"].request({method:"POST",url:"/securityManagement/update",data:t})}function Ot(t){return r["a"].request({method:"GET",url:"/securityManagement/list",params:t})}function St(t){return r["a"].request({method:"GET",url:"/userDecorationNew/list",params:t})}}}]);
//# sourceMappingURL=chunk-7b27533d.468ca1c0.js.map