1 line
15 KiB
JavaScript
1 line
15 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2a76fe86"],{"03bc":function(t,e,a){},4119:function(t,e,a){"use strict";a.r(e);var o=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",{attrs:{prop:"contractName",label:""}},[a("el-input",{staticClass:"queryFromItems",attrs:{clearable:"",placeholder:"合同名称",maxlength:"64"},model:{value:t.query.contractName,callback:function(e){t.$set(t.query,"contractName",e)},expression:"query.contractName"}})],1),t._v(" "),a("el-form-item",{attrs:{prop:"contractCategory",label:""}},[a("el-select",{staticClass:"queryFromItems",attrs:{clearable:"",placeholder:"合同归属"},model:{value:t.query.contractCategory,callback:function(e){t.$set(t.query,"contractCategory",e)},expression:"query.contractCategory"}},t._l(t.contractCategoryList,(function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),t._v(" "),a("el-form-item",{attrs:{label:""}},[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"},[a("div",{staticClass:"planLst"},[a("span",[t._v("合同保障报表")]),t._v(" "),a("span",{staticClass:"addPlan"},[a("el-button",{attrs:{type:"text"}},[t._v(t._s(t.listTable.length>0?t.listTable[0].createTime:"-")+"(最新更新时间)")]),t._v(" "),a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],staticClass:"cololr",attrs:{type:"primary",disabled:t.updatabtnloading,loading:t.updatabtnloading},on:{click:t.updataStatisic}},[t._v("修正统计")])],1)]),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":"300",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:"contractName",width:"200",label:"合同名称","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{align:"center",width:"200",label:"合同归属","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.contractCategory?t.categoryArr(e.row.contractCategory):"-"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"spuNum",width:"200",label:"合同spu","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"areaNum",width:"200",label:"有效作业区域","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"ptuNum",width:"200",label:"有效PTU","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"memberNum",width:"200",label:"有效作业人数","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"workDuration",width:"200",label:"基础作业时长","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"spuAmount",width:"200",label:"基础云豆R1价值","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"type8PlanNum",width:"200",label:"业委会沟通计划数","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"type9PlanNum",width:"200",label:"政务沟通计划数","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"type10PlanNum",width:"200",label:"客户拜访计划数","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"type1PlanNum",width:"200",label:"主动服务计划数","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"type4PlanNum",width:"200",label:"清洁计划数","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"type5PlanNum",width:"200",label:"车场计划数","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"type6PlanNum",width:"200",label:"安防计划数","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"type7PlanNum",width:"200",label:"绿化计划数","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"type2PlanNum",width:"200",label:"设备计划数","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"type3PlanNum",width:"200",label:"电梯计划数","show-overflow-tooltip":""}})],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=[],n=(a("1bc7"),a("fc02"),a("4057"),a("8dee"),a("333d")),c=a("f6b0"),u=a("b071"),i=a("dce5"),l={components:{Pagination:n["a"]},data:function(){return{showDialog:!1,pageTotal:0,listLoading:!1,projectList:[],listTable:[],contractCategoryList:i["w"],query:{companyId:JSON.parse(localStorage.getItem("companyInfo")).osId,projectUuid:"",contractName:"",pageSize:10,pageNumber:1},updatabtnloading:!1}},created:function(){this.headClass()},mounted:function(){this.getProjectsList(),this.getlistData()},methods:{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(u["k"])(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};Object(u["M"])(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,o=a.toString().replace(/\d+/,(function(t){return t.replace(/(\d)(?=(\d{3})+$)/g,(function(t){return t+","}))}));return"¥ "+o},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.getlistData()},handleSizeChange:function(t){this.query.pageSize=t,this.query.pageNumber=1,this.getlistData()},handleCurrentChange:function(t){this.query.pageNumber=t,this.getlistData()},headClass:function(){return"text-align:center;background:#FAFAFA;"}}},s=l,p=(a("4500"),a("829d")),d=Object(p["a"])(s,o,r,!1,null,"352b734f",null);e["default"]=d.exports},4500:function(t,e,a){"use strict";a("03bc")},b071:function(t,e,a){"use strict";a.d(e,"n",(function(){return r})),a.d(e,"q",(function(){return n})),a.d(e,"o",(function(){return c})),a.d(e,"r",(function(){return u})),a.d(e,"E",(function(){return i})),a.d(e,"D",(function(){return l})),a.d(e,"N",(function(){return s})),a.d(e,"K",(function(){return p})),a.d(e,"F",(function(){return d})),a.d(e,"p",(function(){return m})),a.d(e,"G",(function(){return h})),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 v})),a.d(e,"i",(function(){return T})),a.d(e,"L",(function(){return S})),a.d(e,"x",(function(){return j})),a.d(e,"y",(function(){return k})),a.d(e,"c",(function(){return w})),a.d(e,"d",(function(){return P})),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 I})),a.d(e,"B",(function(){return R})),a.d(e,"u",(function(){return z})),a.d(e,"s",(function(){return A})),a.d(e,"z",(function(){return F})),a.d(e,"P",(function(){return $})),a.d(e,"g",(function(){return D})),a.d(e,"h",(function(){return B})),a.d(e,"f",(function(){return U})),a.d(e,"e",(function(){return W})),a.d(e,"m",(function(){return E})),a.d(e,"I",(function(){return J})),a.d(e,"J",(function(){return V}));var o=a("b775");function r(t){return Object(o["a"])({url:"/hakocompany/data/project/currentYearTotal",method:"POST",data:t})}function n(t){return Object(o["a"])({url:"/hakocompany/data/project/employeeReport",method:"POST",data:t})}function c(t){return Object(o["a"])({url:"/hakocompany/data/project/currentYearTotalTask",method:"POST",data:t})}function u(t){return Object(o["a"])({url:"/hakocompany/data/project/employeeReportTask",method:"POST",data:t})}function i(t){return Object(o["a"])({url:"/company/Assess/pageListAssess",method:"POST",data:t})}function l(t){return Object(o["a"])({url:"/hakocompany/data/project/chargeTotal",method:"POST",data:t})}function s(t){return Object(o["a"])({url:"/hakocompany/data/project/currentTotalTask",method:"POST",data:t})}function p(t){return Object(o["a"])({url:"/hakocompany/data/project/syncTaskV2",method:"POST",data:t})}function d(t){return Object(o["a"])({url:"/hakocompany/data/project/syncUpdate",method:"POST",data:t})}function m(t){return Object(o["a"])({url:"/hakocompany/data/project/downloadChargeTotal",method:"POST",responseType:"blob",data:t})}function h(t){return Object(o["a"])({url:"/hakocompany/spaceTaskStatistics/pageList",method:"POST",data:t})}function f(t){return Object(o["a"])({url:"/hakocompany/spaceTaskStatistics/exportByMonth",method:"POST",responseType:"blob",data:t})}function b(t){return Object(o["a"])({url:"/hakocompany/spaceTaskStatistics/statistics",method:"POST",data:t})}function y(t){return Object(o["a"])({url:"/hakocompany/ContractTaskStatistics/pageList",method:"POST",data:t})}function g(t){return Object(o["a"])({url:"/hakocompany/ContractTaskStatistics/statistics",method:"POST",data:t})}function O(t){return Object(o["a"])({url:"/hakocompany/ContractTaskStatistics/pageItemList",method:"POST",data:t})}function v(t){return Object(o["a"])({url:"/hakocompany/ContractExecuteStatistics/pageList",method:"POST",data:t})}function T(t){return Object(o["a"])({url:"/hakocompany/ContractExecuteStatistics/export",method:"POST",responseType:"blob",data:t})}function S(t){return Object(o["a"])({url:"/hakocompany/ContractExecuteStatistics/statistics",method:"POST",data:t})}function j(t){return Object(o["a"])({url:"/hakocompany/InspectSubscribe/reportPageList",method:"POST",data:t})}function k(t){return Object(o["a"])({url:"/hakocompany/InspectSubscribe/exportReport",method:"POST",responseType:"blob",data:t})}function w(t){return Object(o["a"])({url:"/hakocompany/TaskStatisticsReport/pageList",method:"POST",data:t})}function P(t){return Object(o["a"])({url:"/hakocompany/TaskStatisticsReport/statistics",method:"POST",data:t})}function C(t){return Object(o["a"])({url:"/hakocompany/TaskStatisticsReport/exportReport",method:"POST",responseType:"blob",data:t})}function _(t){return Object(o["a"])({url:"/hakocompany/data/project/personWeekInfo",method:"POST",data:t})}function N(t){return Object(o["a"])({url:"/hakocompany/data/project/downloadWeekInfo",method:"POST",responseType:"blob",data:t})}function q(t){return Object(o["a"])({url:"/hakocompany/data/project/projectWxpublicUser",method:"POST",data:t})}function x(t){return Object(o["a"])({url:"/hakocompany/TaskStatisticsReport/projectPageList",method:"POST",data:t})}function L(t){return Object(o["a"])({url:"/hakocompany/PostponeWorder/projectOrderStatisticsPage",method:"POST",data:t})}function I(t){return Object(o["a"])({url:"/hakocompany/PostponeWorder/memberOrderPage",method:"POST",data:t})}function R(t){return Object(o["a"])({url:"/hakocompany/TaskStatisticsReport/projectPageByTaskType",method:"POST",data:t})}function z(t){return Object(o["a"])({url:"/hakocompany/TaskStatisticsReport/pageByTaskType",method:"POST",data:t})}function A(t){return Object(o["a"])({url:"/hakocompany/WorkOrder/memberOrderPage",method:"POST",data:t})}function F(t){return Object(o["a"])({url:"/hakocompany/PostponeWorder/export",method:"POST",responseType:"blob",data:t})}function $(t){return Object(o["a"])({url:"/hakocompany/WorkOrder/export",method:"POST",responseType:"blob",data:t})}function D(t){return Object(o["a"])({url:"/hakocompany/data/project/ChargeReportByCharge/pageList",method:"POST",data:t})}function B(t){return Object(o["a"])({url:"/hakocompany/data/project/ChargeReportByCharge/pageList/sum",method:"POST",data:t})}function U(t){return Object(o["a"])({url:"/hakocompany/data/project/ChargeReportByCharge/out/excel",method:"POST",responseType:"blob",data:t})}function W(t){return Object(o["a"])({url:"/hakocompany/data/project/calculated/rate",method:"POST",data:t})}function E(t){return Object(o["a"])({url:"/hakocompany/data/project/ChargeReportByCharge/current/by/charges",method:"POST",data:t})}function J(t){return Object(o["a"])({url:"/hakocompany/CustomerVisit/statisticsCustomerVisit",method:"POST",data:t})}function V(t){return Object(o["a"])({url:"/hakocompany/CustomerVisit/export",method:"POST",responseType:"blob",data:t})}},f6b0:function(t,e,a){"use strict";a.d(e,"b",(function(){return r})),a.d(e,"a",(function(){return n}));var o=a("b775");function r(t){return Object(o["a"])({url:"/company/organizationalStructure/findAllPageList",method:"post",data:t})}function n(t){return Object(o["a"])({url:"/hakocompany/TaskStatisticsReport/exportProjectReport",method:"POST",responseType:"blob",data:t})}}}]); |