=3?a("el-form-item",{attrs:{label:"标签",prop:"label"}},[a("el-checkbox-group",{attrs:{size:"mini"},model:{value:t.feedbackForm.label,callback:function(e){t.$set(t.feedbackForm,"label",e)},expression:"feedbackForm.label"}},t._l(t.goodTags,(function(e,n){return a("el-checkbox",{key:n,attrs:{label:e.value}},[t._v(t._s(e.label))])})),1)],1):t._e(),t._v(" "),a("el-form-item",{attrs:{label:"反馈对象",prop:"feedbackObject"}},[a("el-checkbox-group",{attrs:{size:"mini"},model:{value:t.feedbackForm.feedbackObject,callback:function(e){t.$set(t.feedbackForm,"feedbackObject",e)},expression:"feedbackForm.feedbackObject"}},t._l(t.feedbackTarget,(function(e,n){return a("el-checkbox",{key:n,attrs:{label:e.value}},[t._v(t._s(e.label))])})),1)],1),t._v(" "),a("el-form-item",{attrs:{label:"反馈内容",prop:"evaluateContent"}},[a("el-input",{attrs:{type:"textarea",maxlength:"400",rows:4,"show-word-limit":"",placeholder:"邀您许下期望增加的功能/请对我们提出改进建议"},model:{value:t.feedbackForm.evaluateContent,callback:function(e){t.$set(t.feedbackForm,"evaluateContent",e)},expression:"feedbackForm.evaluateContent"}})],1),t._v(" "),a("div",{staticClass:"btnBox"},[a("el-button",{attrs:{loading:t.loading,type:"primary"},on:{click:function(e){return t.subFeedback("feedbackFormRef")}}},[t._v("提 交")]),t._v(" "),a("el-button",{on:{click:t.cancelFeedback}},[t._v("关 闭")])],1)],1)],1)])],1)],1)},Gt=[],Jt=a("6164"),Zt=a("2b74"),Yt=a("21bf"),Xt=a("dce5"),Kt=a("571b"),Qt={name:"Dashboard",components:{CountTo:v.a},data:function(){return{serviceCount:{areaCount:0,cityCount:0,companyCount:0,contractArea:0,countryCount:0,projectCount:0,provinceCount:0,serviceArea:0,payArea:0,streetCount:0,totalHouse:0,totalHouseMember:0,totalUser:0},tableData:[{id:"1",name:"计划性工单",amount1:"新派发",amount2:0,amount3:0},{id:"2",name:"计划性工单",amount1:"已完成",amount2:0,amount3:0},{id:"3",name:"计划性工单",amount1:"未完成",amount2:0,amount3:0},{id:"4",name:"计划性工单",amount1:"问题工单",amount2:0,amount3:0},{id:"5",name:"计划性工单",amount1:"未整改问题工单",amount2:0,amount3:0},{id:"6",name:"非计划性工单",amount1:"新派发",amount2:0,amount3:0},{id:"7",name:"非计划性工单",amount1:"住户服务工单",amount2:0,amount3:0},{id:"8",name:"非计划性工单",amount1:"已完成",amount2:0,amount3:0},{id:"9",name:"非计划性工单",amount1:"未完成",amount2:0,amount3:0},{id:"10",name:"其它",amount1:"审核",amount2:0,amount3:0},{id:"11",name:"其它",amount1:"AI隐患报警",amount2:0,amount3:0}],projectUuids:[],tableLoading:!1,companyUuid:"",name:"",list:[],activeNames:"",feedbackBoxShow:!1,feedbackForm:{score:0,label:[],feedbackObject:[],evaluateContent:""},rules:{score:[{required:!0,message:"请选择评分",trigger:"change"}],label:[{required:!0,message:"请选择标签",trigger:"change"}],feedbackObject:[{required:!0,message:"请选择对象",trigger:"change"}],evaluateContent:[{required:!0,message:"请输入反馈内容",trigger:"blur"}]},feedbackTags:Xt["Z"],feedbackTarget:Xt["ab"],badTags:[],goodTags:[],loading:!1}},computed:{community_uuid:function(){return this.projectUuids=[this.$store.state.community_uuid],this.$store.state.community_uuid}},watch:{community_uuid:function(){this.tableData.map((function(t){t.amount2=0,t.amount3=0})),this.getServiceCount()}},created:function(){this.projectUuids=[this.$store.state.community_uuid],this.badTags=this.feedbackTags.slice(-4),this.goodTags=this.feedbackTags.slice(0,3)},mounted:function(){this.getServiceCount(),this.getOperationList(),this.checkTime()},methods:{getCheckTips:function(){var t=this;Object(Kt["c"])({type:1,memberId:this.$store.state.user.userInfo.memberId,memberName:this.$store.state.user.userInfo.memberName}).then((function(e){0==e.code&&!0===e.data&&(t.feedbackBoxShow=!0)}))},checkTime:function(){var t=this;Object(Kt["b"])({operatorId:this.$store.state.user.userInfo.memberId}).then((function(e){0==e.code&&!1===e.data&&t.getCheckTips()}))},subFeedback:function(t){var e=this;0!=this.feedbackForm.score?this.$refs[t].validate((function(t){if(t){e.loading=!0;var a={score:e.feedbackForm.score,label:e.feedbackForm.label.join(","),feedbackObject:e.feedbackForm.feedbackObject.join(","),evaluateContent:e.feedbackForm.evaluateContent,satisfactionUser:{companyId:e.$store.state.companyId,companyName:localStorage.getItem("companyName"),memberId:e.$store.state.user.userInfo.memberId,projectUuid:e.$store.state.community_uuid,projectName:e.$store.state.community_name,phone:e.$store.state.user.userInfo.accountName,job:e.$store.state.user.userInfo.postName,memberName:e.$store.state.user.userInfo.memberName}},n="";n=e.feedbackForm.score>=3?"感谢您的支持与信任,我们将持续优化服务,认真倾听您的建议。":"感谢您的评价!已自动为您匹配工单服务,可通过以下方式查询处理进度: \n1.企业服务平台\n登录后,平台页面右上角点击下拉,选择“需求反馈进度”点击进入,在【我的反馈与反馈进度】实时查看处理状态。
\n2.项目运营平台\n登录后,平台页面右上角点击下拉,选择“需求反馈进度”点击进入,在【我的反馈与反馈进度】实时查看处理状态。
",Object(Kt["d"])(a).then((function(t){e.loading=!1,0==t.code&&(e.feedbackBoxShow=!1,e.$alert(n,"提交成功!",{confirmButtonText:"确定",dangerouslyUseHTMLString:!0,callback:function(t){e.feedbackForm={score:0,label:[],feedbackObject:[]}}}))})).catch((function(t){e.loading=!1}))}else e.$message.error("请完善信息后再提交")})):this.$message.error("请先选择您的评分")},cancelFeedback:function(){this.loading=!1,this.feedbackBoxShow=!1,this.feedbackForm={score:0,label:[],feedbackObject:[]},this.getCheckTips()},handleRateChange:function(t){this.feedbackForm.label=[]},setModelVal:function(t){return t},getCompanyInfor:function(){var t=this,e={orgId:this.$store.state.companyId};Object(Zt["o"])(e).then((function(e){0===e.code&&null!=e.data&&null!=e.data.companyAuthApplyOrderRespDTO&&(t.companyUuid=e.data.companyAuthApplyOrderRespDTO.osUuid,t.getList())}))},getServiceCount:function(){var t=this;Object(Jt["b"])({projectUuids:this.projectUuids}).then((function(e){var a=e.data;t.serviceCount=Object.assign({},a)})).catch((function(t){reject(t)}))},getOperationList:function(){var t=this,e={type:3,pageSize:-1,pageNumber:-1,needItems:1,name:this.name,status:1};Object(Yt["i"])(e).then((function(e){0==e.code&&(t.list=e.data.records)}))},getList:function(){var t=this;this.tableLoading=!0;var e=0;e="56b7a36d-dc1e-434d-8c2e-dbd90b482380"===this.companyUuid||"b98f6467-7c08-46f0-825b-f80a5793796a"===this.companyUuid?1:0,Object(Jt["a"])({uuid:this.projectUuids[0],tag:e}).then((function(e){if(0===e.code){var a=e.data,n=a[0],i=a[1],o=a[2];t.tableData[0].amount2=n.newDistributeTodayCount,t.tableData[0].amount3=n.newDistributeCount,t.tableData[1].amount2=n.completedTodayCount,t.tableData[1].amount3=n.completedCount,t.tableData[2].amount2=n.notCompletedTodayCount,t.tableData[2].amount3=n.notCompletedCount,t.tableData[3].amount2=n.problemTaskTodayCount,t.tableData[3].amount3=n.problemTaskCount,t.tableData[4].amount2=n.notProblemTaskTodayCount,t.tableData[4].amount3=n.notProblemTaskCount,t.tableData[5].amount2=i.newDistributeTodayCount,t.tableData[5].amount3=i.newDistributeCount,t.tableData[6].amount2=i.residentServiceTodayCount,t.tableData[6].amount3=i.residentServiceCount,t.tableData[7].amount2=i.completedTodayCount,t.tableData[7].amount3=i.completedCount,t.tableData[8].amount2=i.notCompletedTodayCount,t.tableData[8].amount3=i.notCompletedCount,t.tableData[9].amount2=o.auditTodayCount,t.tableData[9].amount3=o.auditCount,t.tableData[10].amount2=o.policeTodayCount,t.tableData[10].amount3=o.policeCount}t.tableLoading=!1})).catch((function(e){t.tableLoading=!1}))},objectSpanMethod:function(t){t.row,t.column;var e=t.rowIndex,a=t.columnIndex;if(1===a)return 0===e?{rowspan:5,colspan:1}:5===e?{rowspan:4,colspan:1}:9===e?{rowspan:2,colspan:1}:{rowspan:0,colspan:0}},onSearch:function(){this.getOperationList()},onReset:function(){this.name="",this.getOperationList()},toMunuNav:function(t){var e=this.$router.resolve({path:t.menuUrl});window.open(e.href,"_blank")}}},te=Qt,ee=(a("13ee"),Object(u["a"])(te,Wt,Gt,!1,null,"9f2be3b0",null)),ae=ee.exports;function ne(t){return ne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ne(t)}function ie(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function oe(t){for(var e=1;e=0}},decimal:{type:String,required:!1,default:"."},separator:{type:String,required:!1,default:","},prefix:{type:String,required:!1,default:""},suffix:{type:String,required:!1,default:""},useEasing:{type:Boolean,required:!1,default:!0},easingFn:{type:Function,default:function(t,e,a,n){return a*(1-Math.pow(2,-10*t/n))*1024/1023+e}}},data:function(){return{localStartVal:this.startVal,displayValue:this.formatNumber(this.startVal),printVal:null,paused:!1,localDuration:this.duration,startTime:null,timestamp:null,remaining:null,rAF:null}},computed:{countDown:function(){return this.startVal>this.endVal}},watch:{startVal:function(){this.autoplay&&this.start()},endVal:function(){this.autoplay&&this.start()}},mounted:function(){this.autoplay&&this.start(),this.$emit("mountedCallback")},methods:{start:function(){this.localStartVal=this.startVal,this.startTime=null,this.localDuration=this.duration,this.paused=!1,this.rAF=(0,n.requestAnimationFrame)(this.count)},pauseResume:function(){this.paused?(this.resume(),this.paused=!1):(this.pause(),this.paused=!0)},pause:function(){(0,n.cancelAnimationFrame)(this.rAF)},resume:function(){this.startTime=null,this.localDuration=+this.remaining,this.localStartVal=+this.printVal,(0,n.requestAnimationFrame)(this.count)},reset:function(){this.startTime=null,(0,n.cancelAnimationFrame)(this.rAF),this.displayValue=this.formatNumber(this.startVal)},count:function(t){this.startTime||(this.startTime=t),this.timestamp=t;var e=t-this.startTime;this.remaining=this.localDuration-e,this.useEasing?this.countDown?this.printVal=this.localStartVal-this.easingFn(e,0,this.localStartVal-this.endVal,this.localDuration):this.printVal=this.easingFn(e,this.localStartVal,this.endVal-this.localStartVal,this.localDuration):this.countDown?this.printVal=this.localStartVal-(this.localStartVal-this.endVal)*(e/this.localDuration):this.printVal=this.localStartVal+(this.localStartVal-this.startVal)*(e/this.localDuration),this.countDown?this.printVal=this.printValthis.endVal?this.endVal:this.printVal,this.displayValue=this.formatNumber(this.printVal),e1?this.decimal+e[1]:"",i=/(\d+)(\d{3})/;if(this.separator&&!this.isNumber(this.separator))for(;i.test(a);)a=a.replace(i,"$1"+this.separator+"$2");return this.prefix+a+n+this.suffix}},destroyed:function(){(0,n.cancelAnimationFrame)(this.rAF)}}},function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a(0),i=function(t){return t&&t.__esModule?t:{default:t}}(n);e.default=i.default,"undefined"!=typeof window&&window.Vue&&window.Vue.component("count-to",i.default)},function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=0,i="webkit moz ms o".split(" "),o=void 0,r=void 0;if("undefined"==typeof window)e.requestAnimationFrame=o=function(){},e.cancelAnimationFrame=r=function(){};else{e.requestAnimationFrame=o=window.requestAnimationFrame,e.cancelAnimationFrame=r=window.cancelAnimationFrame;for(var s=void 0,l=0;l