Files
wysite/hc-etms.sqygj.cn/static/js/chunk-a7f0d378.eae706b6.js

1 line
14 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-a7f0d378"],{"401d":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"headStys"},[a("div",{staticClass:"formContent"},[a("el-form",{ref:"query",staticClass:"demo-form-inline",attrs:{inline:!0,model:t.query}},[a("el-form-item",{attrs:{prop:"projectUuid",label:""}},[a("el-select",{staticClass:"queryFromItems",attrs:{clearable:"",placeholder:"项目名称"},model:{value:t.query.projectUuid,callback:function(e){t.$set(t.query,"projectUuid",e)},expression:"query.projectUuid"}},t._l(t.projectList,(function(t,e){return a("el-option",{key:e,attrs:{label:t.name,value:t.uuid}})})),1)],1),t._v(" "),a("el-form-item",[a("el-date-picker",{attrs:{clearable:"",type:"daterange",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","picker-options":t.pickerOptions},on:{clearable:t.handleClearable,change:t.dataPickerChange},model:{value:t.selectedMonth,callback:function(e){t.selectedMonth=e},expression:"selectedMonth"}})],1),t._v(" "),a("el-form-item",[a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"primary"},on:{click:t.onSearch}},[t._v("查询")])],1),t._v(" "),a("el-form-item",[a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],on:{click:function(e){return t.resetForm("query")}}},[t._v("重置")])],1)],1)],1),t._v(" "),a("div",{staticClass:"contentStys"},[t._m(0),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticStyle:{width:"96%","margin-left":"2%"},attrs:{border:"",data:t.listTable,"header-cell-style":t.headClass,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"#",align:"center",fixed:"",width:"50"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.$index+(t.query.pageNumber-1)*t.query.pageSize+1))])]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"projectName","show-overflow-tooltip":"","min-width":"160",label:"项目名称",fixed:""},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.projectName?a("span",[t._v(t._s(e.row.projectName))]):a("span",[t._v("-")])]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"growNum",width:"140",label:"区间新增数","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"houseNum",width:"140",label:"总房屋数","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"houseMemberNum",width:"140",label:"总住户数","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"boundHouseMemberNum",width:"140",label:"已绑住户数","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"unboundHouseMemberNum",width:"140",label:"未绑住户数","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"employeeNum",width:"140",label:"员工应绑定数","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"boundEmployeeNum",width:"140",label:"员工绑定数","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"employeeBoundRate",width:"140",label:"员工绑定率","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.employeeBoundRate)+"%")])]}}])})],1),t._v(" "),a("div",{staticClass:"pagination"},[a("el-pagination",{attrs:{"current-page":t.query.pageNumber,"page-sizes":[10,20,30,100],"page-size":t.query.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.pageTotal},on:{"update:currentPage":function(e){return t.$set(t.query,"pageNumber",e)},"update:current-page":function(e){return t.$set(t.query,"pageNumber",e)},"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1)],1)])},r=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"planLst"},[a("span",[t._v("公众号拉新报表")]),t._v(" "),a("span",{staticClass:"addPlan"})])}],o=(a("1bc7"),a("fc02"),a("4057"),a("8dee"),a("333d")),c=a("f6b0"),i=a("b071"),u={components:{Pagination:o["a"]},data:function(){var t=this;return{showDialog:!1,pageTotal:0,listLoading:!1,projectList:[],listTable:[],selectedMonth:null,query:{companyId:JSON.parse(localStorage.getItem("companyInfo")).osId,projectUuid:"",bingStartTime:"",bingEndTime:"",pageSize:10,pageNumber:1},updatabtnloading:!1,pickerMinDate:"",pickerOptions:{onPick:function(e){var a=e.maxDate,n=e.minDate;t.pickerMinDate=n.getTime(),a&&(t.pickerMinDate="")},disabledDate:function(e){if(""!==t.pickerMinDate){var a=50976e5,n=t.pickerMinDate+a;return n>new Date&&(n=new Date),e.getTime()>n}return e.getTime()>Date.now()}}}},created:function(){this.headClass()},mounted:function(){this.getProjectsList(),this.getlistData()},methods:{dataPickerChange:function(t){null!=this.selectedMonth&&(this.query.bingStartTime=this.selectedMonth[0]+" 00:00:00",this.query.bingEndTime=this.selectedMonth[1]+" 23:59:59")},getProjectsList:function(){var t=this,e={pageNumber:-1,pageSize:-1,attribute:1,companyId:JSON.parse(window.localStorage.getItem("companyInfo")).osId};Object(c["b"])(e).then((function(e){t.projectList=e.data.records}))},getlistData:function(){var t=this;this.listLoading=!0,Object(i["C"])(this.query).then((function(e){t.listTable=e.data.records,t.pageTotal=e.data.rowsCount,t.listLoading=!1})).catch((function(){t.listLoading=!1}))},updataStatisic:function(){var t=this;this.updatabtnloading=!0;var e={companyId:JSON.parse(localStorage.getItem("companyInfo")).osId};updataContractStatistics(e).then((function(e){0===e.code&&t.$message({message:"修正统计即将开始,数据更新将会耗费一定的时长,请稍后手动刷新数据",type:"warning"}),t.updatabtnloading=!1})).catch((function(){t.updatabtnloading=!1}))},formatNum:function(t,e){var a=t[e.property]?t[e.property]:0,n=a.toString().replace(/\d+/,(function(t){return t.replace(/(\d)(?=(\d{3})+$)/g,(function(t){return t+","}))}));return"¥ "+n},categoryArr:function(t){var e=[],a=t.split(",");return this.contractCategoryList.forEach((function(t){a.forEach((function(a){t.value===a&&e.push(t.label)}))})),e.join(",")},onSearch:function(){this.query.pageNumber=1,this.getlistData()},resetForm:function(t){this.$refs[t].resetFields(),this.query.pageNumber=1,this.selectedMonth=null,this.query.bingStartTime="",this.query.bingEndTime="",this.getlistData()},handleSizeChange:function(t){this.query.pageSize=t,this.query.pageNumber=1,this.getlistData()},handleCurrentChange:function(t){this.query.pageNumber=t,this.getlistData()},handleClearable:function(){console.log(789789)},headClass:function(){return"text-align:center;background:#FAFAFA;"}},watch:{selectedMonth:function(t,e){null==t&&(this.query.bingStartTime="",this.query.bingEndTime="")}}},s=u,l=(a("d6dc"),a("829d")),d=Object(l["a"])(s,n,r,!1,null,"1833b86c",null);e["default"]=d.exports},"8a95":function(t,e,a){},b071:function(t,e,a){"use strict";a.d(e,"n",(function(){return r})),a.d(e,"q",(function(){return o})),a.d(e,"o",(function(){return c})),a.d(e,"r",(function(){return i})),a.d(e,"E",(function(){return u})),a.d(e,"D",(function(){return s})),a.d(e,"N",(function(){return l})),a.d(e,"K",(function(){return d})),a.d(e,"F",(function(){return p})),a.d(e,"p",(function(){return h})),a.d(e,"G",(function(){return m})),a.d(e,"H",(function(){return f})),a.d(e,"O",(function(){return b})),a.d(e,"k",(function(){return y})),a.d(e,"M",(function(){return g})),a.d(e,"l",(function(){return O})),a.d(e,"j",(function(){return T})),a.d(e,"i",(function(){return k})),a.d(e,"L",(function(){return S})),a.d(e,"x",(function(){return j})),a.d(e,"y",(function(){return v})),a.d(e,"c",(function(){return P})),a.d(e,"d",(function(){return w})),a.d(e,"b",(function(){return C})),a.d(e,"w",(function(){return _})),a.d(e,"v",(function(){return N})),a.d(e,"C",(function(){return q})),a.d(e,"a",(function(){return x})),a.d(e,"A",(function(){return L})),a.d(e,"t",(function(){return M})),a.d(e,"B",(function(){return D})),a.d(e,"u",(function(){return I})),a.d(e,"s",(function(){return R})),a.d(e,"z",(function(){return z})),a.d(e,"P",(function(){return E})),a.d(e,"g",(function(){return B})),a.d(e,"h",(function(){return $})),a.d(e,"f",(function(){return A})),a.d(e,"e",(function(){return F})),a.d(e,"m",(function(){return W})),a.d(e,"I",(function(){return U})),a.d(e,"J",(function(){return J}));var n=a("b775");function r(t){return Object(n["a"])({url:"/hakocompany/data/project/currentYearTotal",method:"POST",data:t})}function o(t){return Object(n["a"])({url:"/hakocompany/data/project/employeeReport",method:"POST",data:t})}function c(t){return Object(n["a"])({url:"/hakocompany/data/project/currentYearTotalTask",method:"POST",data:t})}function i(t){return Object(n["a"])({url:"/hakocompany/data/project/employeeReportTask",method:"POST",data:t})}function u(t){return Object(n["a"])({url:"/company/Assess/pageListAssess",method:"POST",data:t})}function s(t){return Object(n["a"])({url:"/hakocompany/data/project/chargeTotal",method:"POST",data:t})}function l(t){return Object(n["a"])({url:"/hakocompany/data/project/currentTotalTask",method:"POST",data:t})}function d(t){return Object(n["a"])({url:"/hakocompany/data/project/syncTaskV2",method:"POST",data:t})}function p(t){return Object(n["a"])({url:"/hakocompany/data/project/syncUpdate",method:"POST",data:t})}function h(t){return Object(n["a"])({url:"/hakocompany/data/project/downloadChargeTotal",method:"POST",responseType:"blob",data:t})}function m(t){return Object(n["a"])({url:"/hakocompany/spaceTaskStatistics/pageList",method:"POST",data:t})}function f(t){return Object(n["a"])({url:"/hakocompany/spaceTaskStatistics/exportByMonth",method:"POST",responseType:"blob",data:t})}function b(t){return Object(n["a"])({url:"/hakocompany/spaceTaskStatistics/statistics",method:"POST",data:t})}function y(t){return Object(n["a"])({url:"/hakocompany/ContractTaskStatistics/pageList",method:"POST",data:t})}function g(t){return Object(n["a"])({url:"/hakocompany/ContractTaskStatistics/statistics",method:"POST",data:t})}function O(t){return Object(n["a"])({url:"/hakocompany/ContractTaskStatistics/pageItemList",method:"POST",data:t})}function T(t){return Object(n["a"])({url:"/hakocompany/ContractExecuteStatistics/pageList",method:"POST",data:t})}function k(t){return Object(n["a"])({url:"/hakocompany/ContractExecuteStatistics/export",method:"POST",responseType:"blob",data:t})}function S(t){return Object(n["a"])({url:"/hakocompany/ContractExecuteStatistics/statistics",method:"POST",data:t})}function j(t){return Object(n["a"])({url:"/hakocompany/InspectSubscribe/reportPageList",method:"POST",data:t})}function v(t){return Object(n["a"])({url:"/hakocompany/InspectSubscribe/exportReport",method:"POST",responseType:"blob",data:t})}function P(t){return Object(n["a"])({url:"/hakocompany/TaskStatisticsReport/pageList",method:"POST",data:t})}function w(t){return Object(n["a"])({url:"/hakocompany/TaskStatisticsReport/statistics",method:"POST",data:t})}function C(t){return Object(n["a"])({url:"/hakocompany/TaskStatisticsReport/exportReport",method:"POST",responseType:"blob",data:t})}function _(t){return Object(n["a"])({url:"/hakocompany/data/project/personWeekInfo",method:"POST",data:t})}function N(t){return Object(n["a"])({url:"/hakocompany/data/project/downloadWeekInfo",method:"POST",responseType:"blob",data:t})}function q(t){return Object(n["a"])({url:"/hakocompany/data/project/projectWxpublicUser",method:"POST",data:t})}function x(t){return Object(n["a"])({url:"/hakocompany/TaskStatisticsReport/projectPageList",method:"POST",data:t})}function L(t){return Object(n["a"])({url:"/hakocompany/PostponeWorder/projectOrderStatisticsPage",method:"POST",data:t})}function M(t){return Object(n["a"])({url:"/hakocompany/PostponeWorder/memberOrderPage",method:"POST",data:t})}function D(t){return Object(n["a"])({url:"/hakocompany/TaskStatisticsReport/projectPageByTaskType",method:"POST",data:t})}function I(t){return Object(n["a"])({url:"/hakocompany/TaskStatisticsReport/pageByTaskType",method:"POST",data:t})}function R(t){return Object(n["a"])({url:"/hakocompany/WorkOrder/memberOrderPage",method:"POST",data:t})}function z(t){return Object(n["a"])({url:"/hakocompany/PostponeWorder/export",method:"POST",responseType:"blob",data:t})}function E(t){return Object(n["a"])({url:"/hakocompany/WorkOrder/export",method:"POST",responseType:"blob",data:t})}function B(t){return Object(n["a"])({url:"/hakocompany/data/project/ChargeReportByCharge/pageList",method:"POST",data:t})}function $(t){return Object(n["a"])({url:"/hakocompany/data/project/ChargeReportByCharge/pageList/sum",method:"POST",data:t})}function A(t){return Object(n["a"])({url:"/hakocompany/data/project/ChargeReportByCharge/out/excel",method:"POST",responseType:"blob",data:t})}function F(t){return Object(n["a"])({url:"/hakocompany/data/project/calculated/rate",method:"POST",data:t})}function W(t){return Object(n["a"])({url:"/hakocompany/data/project/ChargeReportByCharge/current/by/charges",method:"POST",data:t})}function U(t){return Object(n["a"])({url:"/hakocompany/CustomerVisit/statisticsCustomerVisit",method:"POST",data:t})}function J(t){return Object(n["a"])({url:"/hakocompany/CustomerVisit/export",method:"POST",responseType:"blob",data:t})}},d6dc:function(t,e,a){"use strict";a("8a95")},f6b0:function(t,e,a){"use strict";a.d(e,"b",(function(){return r})),a.d(e,"a",(function(){return o}));var n=a("b775");function r(t){return Object(n["a"])({url:"/company/organizationalStructure/findAllPageList",method:"post",data:t})}function o(t){return Object(n["a"])({url:"/hakocompany/TaskStatisticsReport/exportProjectReport",method:"POST",responseType:"blob",data:t})}}}]);