1 line
32 KiB
JavaScript
1 line
32 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-680c4cf0"],{"0015":function(e,l,t){},"80d33":function(e,l,t){"use strict";t.r(l);var a=function(){var e=this,l=e.$createElement,t=e._self._c||l;return t("div",{staticClass:"app-container bgHeight"},[t("div",{ref:"box",staticClass:"searchStys transition_dom"},[t("el-form",{ref:"query",attrs:{model:e.query}},[t("div",{ref:"form_box",staticClass:"searchBar"},[t("div",{staticClass:"searchInput"},[t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:6}},[t("el-form-item",{attrs:{prop:"type"}},[t("el-select",{attrs:{clearable:"",placeholder:"关怀类型"},model:{value:e.query.type,callback:function(l){e.$set(e.query,"type",l)},expression:"query.type"}},e._l(e.likeType,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)],1),e._v(" "),t("el-col",{attrs:{span:6}},[t("el-form-item",{attrs:{prop:"status"}},[t("el-select",{attrs:{clearable:"",placeholder:"状态"},model:{value:e.query.status,callback:function(l){e.$set(e.query,"status",l)},expression:"query.status"}},e._l(e.likeStatus,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)],1),e._v(" "),t("el-col",{attrs:{span:6}},[t("el-form-item",{attrs:{prop:"userName"}},[t("el-input",{attrs:{placeholder:"住户姓名",clearable:""},model:{value:e.query.userName,callback:function(l){e.$set(e.query,"userName",l)},expression:"query.userName"}})],1)],1),e._v(" "),t("el-col",{attrs:{span:6}},[t("el-form-item",{attrs:{prop:"mobile"}},[t("el-input",{attrs:{placeholder:"手机号",clearable:""},model:{value:e.query.mobile,callback:function(l){e.$set(e.query,"mobile",l)},expression:"query.mobile"}})],1)],1),e._v(" "),t("el-col",{attrs:{span:6}},[t("el-form-item",{attrs:{prop:"houseNo"}},[t("el-input",{attrs:{placeholder:"所在房屋",clearable:""},model:{value:e.query.houseNo,callback:function(l){e.$set(e.query,"houseNo",l)},expression:"query.houseNo"}})],1)],1),e._v(" "),t("el-col",{attrs:{span:12}},[t("el-form-item",[t("el-date-picker",{attrs:{type:"daterange",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"提醒开始日期","end-placeholder":"提醒结束日期"},model:{value:e.createTime,callback:function(l){e.createTime=l},expression:"createTime"}})],1)],1)],1)],1),e._v(" "),t("div",{staticClass:"searchBtn"},[t("el-form-item",[t("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],on:{click:function(l){return e.resetFormQuery("query")}}},[e._v("重置")]),e._v(" "),t("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"primary"},on:{click:e.onSearch}},[e._v("查询")]),e._v(" "),e.is_show||"80px"==e.height?e._e():t("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"text"},on:{click:e.upAndDown}},[e._v("展开"),t("i",{staticClass:"el-icon-arrow-down"})]),e._v(" "),e.is_show&&"80px"!=e.height?t("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"text"},on:{click:e.upAndDown}},[e._v("收起"),t("i",{staticClass:"el-icon-arrow-up"})]):e._e()],1)],1)])])],1),e._v(" "),t("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[t("div",{staticClass:"planLst",attrs:{slot:"header"},slot:"header"},[t("span",{staticClass:"planTitle"},[e._v("客户关怀列表")]),e._v(" "),t("el-button",{attrs:{type:"primary"},on:{click:e.addLike}},[e._v("录入关怀")]),e._v(" "),t("el-button",{attrs:{type:"danger"},on:{click:e.delLike}},[e._v("批量删除")])],1),e._v(" "),t("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],ref:"receivableTable",attrs:{border:"",data:e.listData,"header-cell-style":e.headClass,"row-key":"id"},on:{"selection-change":e.selectionChange}},[t("el-table-column",{attrs:{type:"selection",align:"center",width:"55","reserve-selection":!0}}),e._v(" "),t("el-table-column",{attrs:{align:"center",label:"关怀类型","min-width":"80","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(l){return[e._v("\n "+e._s(e._f("getItemType")(l.row.type,e.likeType))+"\n ")]}}])}),e._v(" "),t("el-table-column",{attrs:{align:"center",label:"提醒时间","min-width":"80","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(l){return[e._v("\n "+e._s(l.row.remindGmt.split(" ")[0])+"\n ")]}}])}),e._v(" "),t("el-table-column",{attrs:{align:"center",label:"所在房屋","min-width":"100","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(l){return[e._v("\n "+e._s(l.row.precinctName+"-"+l.row.buildingName+"-"+l.row.unitName+"-"+l.row.roomNum)+"\n ")]}}])}),e._v(" "),t("el-table-column",{attrs:{align:"center",label:"住户姓名","min-width":"70","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(l){return[e._v("\n "+e._s(l.row.userName||"-")+"\n ")]}}])}),e._v(" "),t("el-table-column",{attrs:{align:"center",label:"手机号","min-width":"80","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(l){return[e._v("\n "+e._s(l.row.mobile)+"\n ")]}}])}),e._v(" "),t("el-table-column",{attrs:{align:"center",label:"身份","min-width":"50","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(l){return[e._v("\n "+e._s(e._f("getItemType")(l.row.identityType,e.identityList))+"\n ")]}}])}),e._v(" "),t("el-table-column",{attrs:{align:"center",label:"事项备注","min-width":"80","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(l){return[e._v("\n "+e._s(l.row.notes||"-")+"\n ")]}}])}),e._v(" "),t("el-table-column",{attrs:{align:"center",label:"跟进类型","min-width":"70","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(l){return[e._v("\n "+e._s(1==l.row.followType?"住户服务工单":"-")+"\n ")]}}])}),e._v(" "),t("el-table-column",{attrs:{align:"center",label:"跟进单号","min-width":"70","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(l){return[l.row.orderNo?t("el-link",{attrs:{type:"primary"},on:{click:e.gotoUrl}},[e._v(e._s(l.row.orderNo))]):t("span",[e._v(" -")])]}}])}),e._v(" "),t("el-table-column",{attrs:{align:"center",label:"来源","min-width":"50","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(l){return[e._v("\n "+e._s(1==l.row.sourceType?"人工录入":"-")+"\n ")]}}])}),e._v(" "),t("el-table-column",{attrs:{align:"center",label:"状态","min-width":"70","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(l){return[e._v("\n "+e._s(e._f("getItemType")(l.row.status,e.likeStatus))+"\n ")]}}])}),e._v(" "),t("el-table-column",{attrs:{align:"center",label:"更新人","min-width":"70","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(l){return[e._v("\n "+e._s(l.row.updateBy||"-")+"\n ")]}}])}),e._v(" "),t("el-table-column",{attrs:{align:"center",label:"更新时间","min-width":"70","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(l){return[e._v("\n "+e._s(l.row.updateGmt||"-")+"\n ")]}}])}),e._v(" "),t("el-table-column",{attrs:{align:"center",label:"操作","min-width":"100"},scopedSlots:e._u([{key:"default",fn:function(l){return[t("el-button",{attrs:{type:"text"},on:{click:function(t){return e.accidentStr(l.row)}}},[e._v("查看")]),e._v(" "),1==l.row.status?t("el-button",{attrs:{type:"text"},on:{click:function(t){return e.accidentEnd(l.row)}}},[e._v("编辑")]):e._e()]}}])})],1),e._v(" "),t("div",{staticClass:"paginations"},[t("el-pagination",{attrs:{background:"","current-page":e.query.pageNumber,"page-sizes":[10,30,50],"page-size":e.query.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"update:currentPage":function(l){return e.$set(e.query,"pageNumber",l)},"update:current-page":function(l){return e.$set(e.query,"pageNumber",l)},"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)],1),e._v(" "),t("el-dialog",{attrs:{title:e.title,visible:e.dialogVisible,width:"30%","before-close":e.handleClose,"close-on-click-modal":!1}},[t("el-form",{ref:"likeForm",attrs:{rules:e.rules,model:e.likeForm,"label-width":"150px"}},[t("el-form-item",{attrs:{prop:"type",label:"关怀类型"}},[t("el-select",{attrs:{disabled:e.disabled,clearable:"",placeholder:"请选择关怀类型"},model:{value:e.likeForm.type,callback:function(l){e.$set(e.likeForm,"type",l)},expression:"likeForm.type"}},e._l(e.likeType,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),e._v(" "),t("el-form-item",{attrs:{prop:"remindGmt",label:"事件时间点"}},[t("el-date-picker",{attrs:{disabled:e.disabled,type:"date",placeholder:"选择日期时间",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd 23:59:59","picker-options":{disabledDate:function(e){return e.getTime()<new Date((new Date).setHours(0,0,0,0))}}},model:{value:e.likeForm.remindGmt,callback:function(l){e.$set(e.likeForm,"remindGmt",l)},expression:"likeForm.remindGmt"}})],1),e._v(" "),t("el-form-item",{attrs:{prop:"precinctId",label:"管理区: "}},[t("el-select",{staticClass:"form-item-content",attrs:{disabled:e.disabled2,filterable:"","collapse-tags":"",clearable:"",multiple:"",placeholder:"管理区"},on:{change:function(l){return e.unifiedChangeArea(l,1)}},model:{value:e.likeForm.precinctId,callback:function(l){e.$set(e.likeForm,"precinctId",l)},expression:"likeForm.precinctId"}},e._l(e.unifiedAreaOptions,(function(e,l){return t("el-option",{key:l,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),t("el-form-item",{attrs:{prop:"buildingId",label:"楼栋: "}},[t("el-select",{staticClass:"form-item-content",attrs:{disabled:e.disabled2,"collapse-tags":"",filterable:"",multiple:"",clearable:"",placeholder:"楼栋"},on:{change:function(l){return e.unifiedChangeBuild(l,1)}},model:{value:e.likeForm.buildingId,callback:function(l){e.$set(e.likeForm,"buildingId",l)},expression:"likeForm.buildingId"}},e._l(e.unifiedBuilding,(function(e,l){return t("el-option",{key:l,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),t("el-form-item",{attrs:{prop:"unitId",label:"单元: "}},[t("el-select",{staticClass:"form-item-content",attrs:{disabled:e.disabled2,"collapse-tags":"",filterable:"",multiple:"",clearable:"",placeholder:"单元"},on:{change:e.unifiedChangeUnit},model:{value:e.likeForm.unitId,callback:function(l){e.$set(e.likeForm,"unitId",l)},expression:"likeForm.unitId"}},e._l(e.unifiedUnitList,(function(e,l){return t("el-option",{key:l,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),t("el-form-item",{attrs:{prop:"houseId",label:"房间: "}},[t("el-select",{staticClass:"form-item-content",attrs:{disabled:e.disabled2,"collapse-tags":"",filterable:"",multiple:"",clearable:"",placeholder:"房间"},on:{change:function(l){return e.unifiedChangeHouse(l,1)}},model:{value:e.likeForm.houseId,callback:function(l){e.$set(e.likeForm,"houseId",l)},expression:"likeForm.houseId"}},e._l(e.unifiedHouseList,(function(e,l){return t("el-option",{key:l,attrs:{label:e.roomNum,value:e.id}})})),1)],1),e._v(" "),"编辑"!==e.title?t("el-form-item",{attrs:{prop:"houseMemberId",label:"住户: "}},[t("el-select",{staticClass:"form-item-content",attrs:{disabled:e.disabled2,"collapse-tags":"",filterable:"",multiple:"",clearable:"",placeholder:"住户"},model:{value:e.likeForm.houseMemberId,callback:function(l){e.$set(e.likeForm,"houseMemberId",l)},expression:"likeForm.houseMemberId"}},e._l(e.userList,(function(e,l){return t("el-option",{key:l,attrs:{label:e.realName,value:e.id}})})),1)],1):t("el-form-item",{attrs:{label:"住户: "}},[t("el-select",{staticClass:"form-item-content",attrs:{disabled:e.disabled2,filterable:"",clearable:"",placeholder:"住户"},on:{change:e.changeHouseMember},model:{value:e.likeForm.houseMemberId,callback:function(l){e.$set(e.likeForm,"houseMemberId",l)},expression:"likeForm.houseMemberId"}},e._l(e.userList,(function(e,l){return t("el-option",{key:l,attrs:{label:e.realName,value:e.id}})})),1)],1),e._v(" "),t("el-form-item",{attrs:{prop:"notes",label:"事项备注: "}},[t("el-input",{attrs:{disabled:e.disabled,type:"textarea",clearable:"",autosize:{minRows:4,maxRows:8}},model:{value:e.likeForm.notes,callback:function(l){e.$set(e.likeForm,"notes",l)},expression:"likeForm.notes"}})],1)],1),e._v(" "),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:function(l){e.dialogVisible=!1}}},[e._v("取 消")]),e._v(" "),t("el-button",{attrs:{type:"primary"},on:{click:e.createLike}},[e._v("确 定")])],1)],1)],1)},i=[],r=t("2b74"),n=t("b775");function u(e){return Object(n["a"])({url:"/appproject/UserCare/page",method:"post",data:e})}function o(e){return Object(n["a"])({url:"/appproject/UserCare/create",method:"post",data:e})}function s(e){return Object(n["a"])({url:"/appproject/houseMember/pageMemberList",method:"post",data:e})}function c(e){return Object(n["a"])({url:"/appproject/UserCare/delete",method:"post",data:e})}function d(e){return Object(n["a"])({url:"/appproject/UserCare/findById",method:"post",data:e})}function b(e){return Object(n["a"])({url:"/appproject/UserCare/update",method:"post",data:e})}var v=t("dce5"),m=t("8f53");function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function p(e){return k(e)||y(e)||g(e)||h()}function h(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function g(e,l){if(e){if("string"==typeof e)return _(e,l);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_(e,l):void 0}}function y(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function k(e){if(Array.isArray(e))return _(e)}function _(e,l){(null==l||l>e.length)&&(l=e.length);for(var t=0,a=Array(l);t<l;t++)a[t]=e[t];return a}function w(e,l){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);l&&(a=a.filter((function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable}))),t.push.apply(t,a)}return t}function F(e){for(var l=1;l<arguments.length;l++){var t=null!=arguments[l]?arguments[l]:{};l%2?w(Object(t),!0).forEach((function(l){I(e,l,t[l])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):w(Object(t)).forEach((function(l){Object.defineProperty(e,l,Object.getOwnPropertyDescriptor(t,l))}))}return e}function I(e,l,t){return(l=N(l))in e?Object.defineProperty(e,l,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[l]=t,e}function N(e){var l=L(e,"string");return"symbol"==f(l)?l:l+""}function L(e,l){if("object"!=f(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,l||"default");if("object"!=f(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===l?String:Number)(e)}var C={name:"customerCare",data:function(){return{likeType:v["pb"],likeStatus:v["ob"],areaOptions:[],building:[],unit:[],houseNoList:[],is_show:!1,height:"",listData:[],unifiedAreaOptions:[],unifiedBuilding:[],unifiedUnitList:[],unifiedHouseList:[],userList:[],listLoading:!1,total:0,createTime:"",title:"录入关怀",query:{fallout:"",damageType:"",status:"",description:"",pageNumber:1,pageSize:10,unitId:"",houseNo:"",endDate:"",startDate:"",userName:"",mobile:"",type:"",precinctId:"",buildingId:""},likeForm:{type:"",remindGmt:"",precinctId:[],buildingId:[],unitId:[],houseId:[],notes:"",sourceType:1,status:1},rules:{type:[{required:!0,message:"请选择关怀类型",trigger:"change"}],remindGmt:[{required:!0,message:"请选择事件时间点",trigger:"change"}],precinctId:[{required:!0,message:"请选择管理区",trigger:"change"}],buildingId:[{required:!0,message:"请选择楼栋",trigger:"change"}],unitId:[{required:!0,message:"请选择单元",trigger:"change"}],houseId:[{required:!0,message:"请选择房间",trigger:"change"}],houseMemberId:[{required:!0,message:"请选择住户",trigger:"change"}]},dialogVisible:!1,selectList:[],disabled:!1,disabled2:!1,initForm:{},identityList:m["k"]}},methods:{onSearch:function(){this.query.pageNumber=1,this.getListData()},resetFormQuery:function(e){this.$refs[e].resetFields(),this.createTime="",this.query.pageNumber=1,this.getListData()},handleSizeChange:function(e){this.query.pageSize=e,this.getListData()},handleCurrentChange:function(e){this.query.pageNumber=e,this.getListData()},upAndDown:function(){this.is_show?this.$refs.box.style.height="80px":this.$refs.box.style.height=this.height,this.is_show=!this.is_show},getRealHeight:function(){this.$nextTick((function(){this.height=this.$refs.form_box.offsetHeight+"px"}))},headClass:function(){return"text-align:center;background:#FAFAFA;"},getListData:function(){var e=this;console.log(this.createTime,"this.createTime"),""!==this.createTime&&null!==this.createTime?(this.query.startDate=this.createTime[0]+" 00:00:00",this.query.endDate=this.createTime[1]+" 23:59:59"):(this.query.startDate="",this.query.endDate=""),u(this.query).then((function(l){0==l.code&&(e.listData=l.data.records,e.total=l.data.rowsCount)}))},addLike:function(){this.dialogVisible=!0,this.title="录入关怀",this.likeForm=F({},this.initForm),this.userList=[],this.disabled=!1,this.disabled2=!1,this.$forceUpdate()},gotoUrl:function(){this.$router.push({path:"/propertySMG/customerOperations/customerServices/reportRepair"})},delLike:function(){var e=this;console.log(this.selectList,"this.selectList");var l=[];this.selectList.length>0?(l=this.selectList.map((function(e){return e.id})),c({ids:l}).then((function(l){0==l.code&&(e.$message.success("删除成功"),e.getListData())}))):this.$message.warning({message:"至少选择一个才能删除"})},handleClose:function(){this.dialogVisible=!1},getBuildList:function(){var e=this,l={projectUuid:this.$store.state.community_uuid,pageNumber:-1,pageSize:-1};Object(r["f"])(l).then((function(l){0===l.code&&(e.areaOptions=l.data,e.unifiedAreaOptions=[].concat(p(e.unifiedAreaOptions),p(l.data)))})),this.findBuilding()},changeBuild:function(){this.unitList=[],this.query.unitId="",this.getUnit()},getUnit:function(){var e=this;Object(r["mb"])({pageNumber:-1,pageSize:-1,projectCode:this.$store.state.community_uuid,buildingId:this.query.buildingId}).then((function(l){e.unit=l.data.records}))},changePrecinct:function(){this.findBuilding()},findBuilding:function(){var e=this,l={precinctId:this.query.precinctId,projectCode:this.$store.state.community_uuid,projectName:this.$store.state.community_name,pageNumber:-1,pageSize:-1};Object(r["x"])(l).then((function(l){e.building=l.data}))},getBuild:function(e){var l=this,t={precinctIds:this.likeForm.precinctId,projectCode:this.query.projectUuid,projectName:this.query.projectName,pageNumber:-1,pageSize:-1};Object(r["x"])(t).then((function(t){l.building=t.data,e&&(l.unifiedBuilding=p(t.data),l.unifiedBuilding=p(new Set(l.unifiedBuilding)))}))},unifiedChangeArea:function(e,l){2==l&&(this.likeForm.buildingId=[]),this.getBuild(e)},unifiedChangeBuild:function(e,l){2==l&&(this.likeForm.unitId=[]),this.getDialogUnit(e)},getDialogUnit:function(e){var l=this,t={pageNumber:-1,pageSize:-1,projectCode:this.query.projectUuid,buildingIds:this.likeForm.buildingId};Object(r["mb"])(t).then((function(t){e&&(l.unifiedUnitList=p(t.data.records),l.unifiedUnitList=p(new Set(l.unifiedUnitList))),console.log(l.unifiedUnitList,"this.unifiedUnitList")}))},unifiedChangeUnit:function(){this.likeForm.houseId="",this.getHouseList(this.likeForm.unitId)},getHouseList:function(e){var l=this,t={projectCode:this.query.projectUuid,precinctIds:this.likeForm.precinctId,buildingIds:this.likeForm.buildingId,unitIds:this.likeForm.unitId,pageNumber:-1,pageSize:-1};Object(r["M"])(t).then((function(t){0===t.code&&e&&(l.unifiedHouseList=p(t.data.records))}))},unifiedChangeHouse:function(e,l){var t=this;s({houseIdList:this.likeForm.houseId,pageSize:-1,pageNumber:-1,isDelete:0}).then((function(e){0===e.code&&(e.data.records.forEach((function(e){e.houseMemberId=e.id,e.userName=e.realName})),t.userList=e.data.records,t.userList=p(new Set(t.userList)),console.log(t.userList,"this.userList"))}))},changeHouseMember:function(e){this.$forceUpdate()},createLike:function(){var e=this;"查看"!=this.title?"录入关怀"==this.title?this.$refs.likeForm.validate((function(l){l&&(e.likeForm.userList=e.userList.filter((function(l){if(e.likeForm.houseMemberId.includes(l.id))return l})),e.likeForm.userList.forEach((function(e){e.houseNo=e.precinctName+"-"+e.buildingName+"-"+e.unitName+"-"+e.roomNum})),o(e.likeForm).then((function(l){0===l.code&&(e.$message.success(l.message),e.$refs.likeForm.resetFields(),e.dialogVisible=!1,e.getListData(),e.userList=[])})))})):"编辑"==this.title&&this.$refs.likeForm.validate((function(l){if(l){e.likeForm.updateBy=e.$store.state.user.name;var t=e.userList.filter((function(l){return e.likeForm.houseMemberId==l.id}));t.forEach((function(e){e.houseNo=e.precinctName+"-"+e.buildingName+"-"+e.unitName+"-"+e.roomNum})),e.likeForm.realName=t[0].realName,e.likeForm.userName=t[0].realName,e.likeForm.identityType=t[0].identityType,e.likeForm.mobile=t[0].mobile,e.likeForm.userId=t[0].userId,e.likeForm.houseNo=t[0].houseNo,console.log(e.likeForm,"this.likeForm编辑"),b(e.likeForm).then((function(l){0===l.code?(e.$message.success(l.message),e.$refs.likeForm.resetFields(),e.dialogVisible=!1,e.getListData()):(e.$refs.likeForm.resetFields(),e.dialogVisible=!1,e.getListData())}))}})):this.dialogVisible=!1},selectionChange:function(e){this.selectList=e},accidentStr:function(e){var l=this;this.title="查看",this.disabled=!0,this.disabled2=!0,d({id:e.id}).then((function(e){0===e.code&&(Object.assign(l.likeForm,e.data),l.likeForm.precinctId&&(l.likeForm.precinctId=[l.likeForm.precinctId],l.unifiedChangeArea(l.likeForm.precinctId),l.likeForm.buildingId=[l.likeForm.buildingId],l.unifiedChangeBuild(l.likeForm.buildingId),l.likeForm.unitId=[l.likeForm.unitId],l.likeForm.houseId=[l.likeForm.houseId],l.likeForm.houseMemberId=[l.likeForm.houseMemberId],l.userList=[],l.unifiedChangeHouse(1),console.log(l.likeForm,"this.likeform查看"),l.dialogVisible=!0))}))},accidentEnd:function(e){var l=this;this.title="编辑",this.disabled=!1,this.disabled2=!0,d({id:e.id}).then((function(e){0===e.code&&(Object.assign(l.likeForm,e.data),l.likeForm.precinctId&&(l.likeForm.precinctId=[l.likeForm.precinctId],l.unifiedChangeArea(l.likeForm.precinctId),l.likeForm.buildingId=[l.likeForm.buildingId],l.unifiedChangeBuild(l.likeForm.buildingId),l.likeForm.unitId=[l.likeForm.unitId],l.likeForm.houseId=[l.likeForm.houseId],l.userList=[],l.unifiedChangeHouse(2),l.dialogVisible=!0,console.log(l.likeForm,"bianji")))}))}},mounted:function(){this.query.projectUuid=this.$store.state.community_uuid,this.query.projectName=this.$store.state.community_name,this.likeForm.projectUuid=this.$store.state.community_uuid,this.likeForm.projectName=this.$store.state.community_name,this.initForm=F({},this.likeForm),this.headClass(),this.getRealHeight(),this.getListData(),this.getBuildList()}},j=C,S=(t("b46b"),t("829d")),q=Object(S["a"])(j,a,i,!1,null,"6845d393",null);l["default"]=q.exports},"8f53":function(e,l,t){"use strict";t.d(l,"y",(function(){return a})),t.d(l,"t",(function(){return i})),t.d(l,"v",(function(){return r})),t.d(l,"B",(function(){return n})),t.d(l,"n",(function(){return u})),t.d(l,"a",(function(){return o})),t.d(l,"K",(function(){return s})),t.d(l,"s",(function(){return c})),t.d(l,"u",(function(){return d})),t.d(l,"x",(function(){return b})),t.d(l,"G",(function(){return v})),t.d(l,"I",(function(){return m})),t.d(l,"M",(function(){return f})),t.d(l,"N",(function(){return p})),t.d(l,"z",(function(){return h})),t.d(l,"i",(function(){return g})),t.d(l,"d",(function(){return y})),t.d(l,"p",(function(){return k})),t.d(l,"H",(function(){return _})),t.d(l,"e",(function(){return w})),t.d(l,"h",(function(){return F})),t.d(l,"m",(function(){return I})),t.d(l,"q",(function(){return N})),t.d(l,"A",(function(){return L})),t.d(l,"E",(function(){return C})),t.d(l,"F",(function(){return j})),t.d(l,"r",(function(){return S})),t.d(l,"D",(function(){return q})),t.d(l,"o",(function(){return x})),t.d(l,"L",(function(){return $})),t.d(l,"j",(function(){return O})),t.d(l,"f",(function(){return D})),t.d(l,"w",(function(){return A})),t.d(l,"g",(function(){return T})),t.d(l,"k",(function(){return M})),t.d(l,"J",(function(){return U})),t.d(l,"C",(function(){return B})),t.d(l,"l",(function(){return z})),t.d(l,"b",(function(){return H})),t.d(l,"c",(function(){return E}));var a=[{value:1,label:"低"},{value:2,label:"一般"},{value:3,label:"紧急"}],i=[{value:1,label:"待受理"},{value:2,label:"已派单"},{value:3,label:"已接单"},{value:4,label:"处理中"},{value:5,label:"已完成"},{value:6,label:"已回访"},{value:7,label:"已关闭"},{value:8,label:"已延后"},{value:9,label:"待评价"},{value:10,label:"已评价"},{value:11,label:"未受理"}],r=[{value:11,label:"公区整改"},{value:12,label:"住户服务"},{value:13,label:"通用工单"},{value:15,label:"工单审核"}],n=[{value:1,label:"邻里关系"},{value:2,label:"清洁卫生"},{value:3,label:"投诉报修"},{value:4,label:"房屋认证"},{value:5,label:"月卡申请"},{value:6,label:"门禁申请"},{value:7,label:"个人维修"},{value:8,label:"工区维修"},{value:9,label:"订单服务"},{value:10,label:"管家服务"}],u=[{label:"日",value:0},{label:"周",value:1},{label:"月",value:2},{label:"年",value:4}],o=[{label:"普通",value:1},{label:"培训",value:2},{label:"认证",value:3}],s=[{value:1,label:"正常"},{value:2,label:"预警"},{value:3,label:"超时"}],c=[{value:1,label:"服务提交"},{value:2,label:"服务受理"},{value:3,label:"服务处理"},{value:4,label:"服务评价"},{value:5,label:"服务完成"},{value:6,label:"服务拒绝"}],d=[{value:1,label:"房屋认证"},{value:2,label:"门禁申请"},{value:3,label:"车辆月卡"},{value:4,label:"投诉报修"}],b=[{value:1,label:"巡检"},{value:2,label:"维保"},{value:3,label:"抄表"},{value:4,label:"保洁"},{value:5,label:"绿化"},{value:6,label:"拜访"}],v=[{value:1,label:"未执行"},{value:2,label:"执行中"},{value:3,label:"已完成"},{value:4,label:"超时"},{value:5,label:"领取超时"},{value:9,label:"超时完成"},{value:12,label:"超时预警"}],m=[{label:"巡检类",value:1},{label:"维保类",value:2},{label:"抄表类",value:3},{label:"清洁类",value:4},{label:"绿化类",value:5},{label:"上门拜访类",value:6},{label:"维修类",value:7},{label:"服务礼仪类",value:8},{label:"内部管控类",value:9},{label:"社区温度类",value:10}],f=[{label:"人事管控类",value:1},{label:"财务管控类",value:2},{label:"事务管控类",value:3},{label:"物料管控类",value:4}],p=[{label:"人",value:1},{label:"财",value:2},{label:"事",value:3},{label:"物",value:4}],h=[{label:"普通",value:1},{label:"培训",value:2},{label:"认证",value:3}],g=[{label:"日",value:0},{label:"周",value:1},{label:"月",value:2},{label:"年",value:4}],y=[{label:"全员收费",value:1},{label:"全员突击",value:2},{label:"全员巡查",value:3},{label:"全员保洁",value:4}],k=[{label:"X(新增默认)",value:"X"},{label:"A",value:"A"},{label:"B",value:"B"},{label:"C",value:"C"},{label:"D",value:"D"},{label:"E",value:"E"}],_=[{label:"自管",value:1},{label:"外包",value:2}],w=[{label:"内勤",value:1},{label:"外勤",value:2}],F=[{label:"固定作业",value:1},{label:"移动作业",value:2}],I=[{label:"发现问题",value:1},{label:"处理问题",value:2}],N=[{label:"人",value:1},{label:"物",value:2}],L=[{label:"客户服务",value:1},{label:"安全服务",value:2},{label:"设施设备管理",value:3},{label:"环境管理",value:4},{label:"基础资料",value:5}],C=[{label:"设备标准",value:1},{label:"空间服务标准",value:2},{label:"物品标准",value:3},{label:"绿化养护标准",value:5},{label:"内部标准",value:6},{label:"体检标准",value:7},{label:"项目标准",value:8}],j=[{label:"1A",value:1},{label:"2A",value:2},{label:"3A",value:3},{label:"4A",value:4},{label:"5A",value:5}],S=[{value:1,label:"1星级"},{value:2,label:"2星级"},{value:3,label:"3星级"},{value:4,label:"4星级"},{value:5,label:"5星级"}],q=[{label:"业务收入",value:1},{label:"经营收入",value:2},{label:"资产处置收益",value:3},{label:"其他收益",value:4},{label:"营业外收入",value:5},{label:"投资收益",value:6},{label:"筹资活动",value:7},{label:"清洁卫生费",value:8},{label:"安全保卫费",value:9},{label:"绿化养护费",value:10},{label:"工程维护费",value:11},{label:"能源费",value:12},{label:"职工薪酬",value:13},{label:"行政办公费",value:14},{label:"其他物业管理成本",value:15},{label:"停车场经营成本",value:16},{label:"物业经营成本",value:17},{label:"其他业务成本",value:18},{label:"税金及附加",value:19},{label:"财务费用",value:20},{label:"资产减值损失",value:21},{label:"营业外支出",value:22},{label:"所得税费用",value:23},{label:"投资费用",value:24},{label:"筹资费用",value:25},{label:"资本支出",value:26},{label:"代收代付项",value:27}],x=[{label:"水表",value:1},{label:"电表",value:2},{label:"暖气表",value:3},{label:"燃气表",value:4},{label:"热水表",value:5}],$=[{label:"普通",value:1},{label:"一般",value:2},{label:"重要",value:3}],O=[{label:"房屋认证",value:1},{label:"门禁申请",value:2},{label:"车辆月卡",value:3},{label:"现场品质",value:4},{label:"邻里关系",value:6},{label:"投诉",value:7},{label:"到家服务",value:8},{label:"公区维修",value:9},{label:"满意度调查",value:10},{label:"业委会会议",value:11},{label:"政务沟通",value:12},{label:"客户拜访",value:13},{label:"门禁权限申请",value:14},{label:"服务态度",value:15}],D=[{label:"设备整改",value:2},{label:"电梯整改",value:3},{label:"清洁卫生[内控]",value:4},{label:"车场整改",value:5},{label:"安防整改",value:6},{label:"绿化整改",value:7},{label:"历史工单-1",value:12},{label:"历史工单-2",value:13},{label:"能源整改",value:15},{label:"审批工单",value:16},{label:"内部整改",value:17},{label:"行政",value:18},{label:"人事",value:19},{label:"财务",value:20},{label:"市场",value:21}],A=[{label:"主动服务",value:1},{label:"设备管理",value:2},{label:"电梯管理",value:3},{label:"清洁卫生",value:4},{label:"车场运营",value:5},{label:"安防管理",value:6},{label:"绿化管理",value:7},{label:"业委会会议",value:8},{label:"政务沟通",value:9},{label:"客户拜访",value:10},{label:"能源计划",value:11},{label:"审批工单",value:12},{label:"内部整改",value:13}],T=[{label:"设备管理标准",value:1},{label:"内部管控标准",value:2},{label:"清洁管理标准",value:3},{label:"安全管理标准",value:4},{label:"绿化养护标准",value:5},{label:"消防管控标准",value:6},{label:"电梯管理标准",value:7},{label:"停车场管理标准",value:8},{label:"能源管理标准",value:9}],M=[{label:"产权人",value:1},{label:"亲属",value:2},{label:"租户",value:3},{label:"好友",value:4},{label:"访客",value:5},{label:"产权人(共有)",value:6}],U=[{label:"感知器",value:1},{label:"控制器",value:2},{label:"动作器",value:3}],B=[{label:"日报",value:1},{label:"周报",value:2},{label:"月报",value:3},{label:"季度",value:4},{label:"半年",value:5},{label:"年度",value:6}],z=[{label:"安全生产",value:1},{label:"效益",value:2},{label:"满意",value:3}],H=[{label:"一般",value:[1,2,3]},{label:"重要",value:[4,5,6]},{label:"非常重要",value:[7,8,9]}],E=[{value:0,label:"不合格"},{value:1,label:"合格"},{value:2,label:"AI判定中"},{value:3,label:"无需AI验收"},{value:4,label:"AI标准缺失"},{value:5,label:"智能体未配置"},{value:6,label:"无权益请充值"}]},b46b:function(e,l,t){"use strict";t("0015")}}]); |