Files
wysite/hc-etms.sqygj.cn/static/js/chunk-1e14c80e.2d143dc8.js

1 line
34 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1e14c80e"],{"299c":function(t,e,n){},4513:function(t,e,n){"use strict";n.d(e,"v",(function(){return a})),n.d(e,"w",(function(){return r})),n.d(e,"x",(function(){return i})),n.d(e,"l",(function(){return c})),n.d(e,"t",(function(){return s})),n.d(e,"j",(function(){return l})),n.d(e,"o",(function(){return u})),n.d(e,"u",(function(){return d})),n.d(e,"b",(function(){return p})),n.d(e,"p",(function(){return m})),n.d(e,"D",(function(){return h})),n.d(e,"B",(function(){return f})),n.d(e,"q",(function(){return b})),n.d(e,"c",(function(){return v})),n.d(e,"s",(function(){return _})),n.d(e,"i",(function(){return y})),n.d(e,"n",(function(){return g})),n.d(e,"a",(function(){return O})),n.d(e,"g",(function(){return j})),n.d(e,"d",(function(){return S})),n.d(e,"f",(function(){return w})),n.d(e,"C",(function(){return k})),n.d(e,"m",(function(){return T})),n.d(e,"y",(function(){return P})),n.d(e,"r",(function(){return C})),n.d(e,"e",(function(){return q})),n.d(e,"z",(function(){return N})),n.d(e,"A",(function(){return x})),n.d(e,"h",(function(){return L})),n.d(e,"k",(function(){return F}));var o=n("b775");function a(){return Object(o["a"])({url:"/company/organizationalStructure/updateOrgnization",method:"post"})}function r(t){return Object(o["a"])({url:"/company/organizationalStructure/findOsTree",method:"post",data:t})}function i(t){return Object(o["a"])({url:"/company/organizationalStructure/findOsTreeV2",method:"post",data:t})}function c(t){return Object(o["a"])({url:"/company/OrganizationRoleRel/findProjectByRoleIdAndParent",method:"post",data:t})}function s(t){return Object(o["a"])({url:"/company/member/pageListByCompanyId",method:"post",data:t})}function l(t){return Object(o["a"])({url:"/company/member/findByProjectUuidAndJobUuid",method:"post",data:t})}function u(t){return Object(o["a"])({url:"/company/member/getList",method:"post",data:t})}function d(t){return Object(o["a"])({url:"/company/organizationalStructure/findOsPathList",method:"post",data:t})}function p(t){return Object(o["a"])({url:"/company/member/create",method:"post",data:t})}function m(t){return Object(o["a"])({url:"/company/member/findById",method:"post",data:t})}function h(t){return Object(o["a"])({url:"/company/member/update",method:"post",data:t})}function f(t){return Object(o["a"])({url:"/company/member/suspendMember",method:"post",data:t})}function b(t){return Object(o["a"])({url:"/enterprise/os/memberQuit/".concat(t.memberUuid),method:"post"})}function v(t){return Object(o["a"])({url:"/company/organizationalStructure/create",method:"post",data:t})}function _(t){return Object(o["a"])({url:"/company/organizationalStructure/update",method:"post",data:t})}function y(t){return Object(o["a"])({url:"/company/member/findByProjectUuid",method:"post",data:t})}function g(t){return Object(o["a"])({url:"/hakocompany/Job/getJobList",method:"post",data:t})}function O(t){return Object(o["a"])({url:"/company/member/ChangeDepartment",method:"post",data:t})}function j(t){return Object(o["a"])({url:"/hakocompany/Role/pageList",method:"post",data:t})}function S(t){return Object(o["a"])({url:"/hakocompany/MemberRoleRel/create",method:"post",data:t})}function w(t){return Object(o["a"])({url:"/hakocompany/MemberRoleRel/findByMemberId",method:"post",data:t})}function k(t){return Object(o["a"])({url:"/hakocompany/MemberRoleRel/update",method:"post",data:t})}function T(t){return Object(o["a"])({url:"/company/member/getList",method:"POST",data:t})}function P(t){return Object(o["a"])({url:"/company/member/queryByStaff",method:"POST",data:t})}function C(t){return Object(o["a"])({url:"/company/member/memberQuit",method:"POST",data:t})}function q(t){return Object(o["a"])({url:"/company/organizationalStructure/delete",method:"POST",data:t})}function N(t){return Object(o["a"])({url:"/hakocompany/Space/queryInitData",method:"POST",data:t})}function x(t){return Object(o["a"])({url:"/hakocompany/Space/queryList",method:"POST",data:t})}function L(t){return Object(o["a"])({url:"/hakocompany/Space/findByProId",method:"POST",data:t})}function F(t){return Object(o["a"])({url:"/company/organizationalStructure/findOSListByRoleId",method:"POST",data:t})}},"75f6":function(t,e,n){"use strict";n("299c")},aa14:function(t,e,n){"use strict";n.r(e);var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"headStys"},[n("div",{staticClass:"formContent"},[n("el-form",{ref:"query",staticClass:"demo-form-inline",attrs:{inline:!0,model:t.query}},[n("el-form-item",{attrs:{prop:"month"}},[n("el-date-picker",{attrs:{type:"month",placeholder:"选择月","value-format":"yyyy-MM"},model:{value:t.month,callback:function(e){t.month=e},expression:"month"}})],1),t._v(" "),n("el-form-item",{attrs:{prop:"projectUuids"}},[n("el-cascader",{ref:"projectCascader",staticStyle:{width:"300px"},attrs:{clearable:"",placeholder:"项目/部门",options:t.organizeList,filterable:"","collapse-tags":"",props:{label:"nameTxt",value:"uuid",children:"childs",multiple:!0,checkStrictly:!0,emitPath:!1}},model:{value:t.query.projectUuids,callback:function(e){t.$set(t.query,"projectUuids",e)},expression:"query.projectUuids"}})],1),t._v(" "),n("el-form-item",[n("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"primary"},on:{click:t.onSearch}},[t._v("查询")])],1),t._v(" "),n("el-form-item",[n("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(" "),n("div",{staticClass:"contentStys",staticStyle:{"margin-top":"20px"}},[n("div",{staticClass:"planLst"},[t.hb?n("span",[t._v("企业收费项报表环比")]):n("span",[t._v("企业收费项报表")]),t._v(" "),n("span",{staticClass:"addPlan"},[t.hb?n("el-button",{on:{click:function(e){t.hb=!1,t.getlistData()}}},[t._v("退出环比")]):t._e(),t._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:function(e){t.hb=!0,t.getlistData()}}},[t._v("\n 环比\n ")]),t._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:function(e){t.dialogVisible=!0}}},[t._v("实时校验")])],1)]),t._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],ref:"firstTable",staticClass:"Tableone",staticStyle:{width:"96%","margin-left":"2%"},attrs:{border:"",data:t.listTable,"header-cell-style":t.headClass,"tooltip-effect":"dark"}},[n("el-table-column",{attrs:{align:"center",prop:"projectName","show-overflow-tooltip":"","min-width":"140",label:"项目名称"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.projectName?n("span",[t._v(t._s(e.row.projectName))]):n("span",[t._v("-")])]}}])}),t._v(" "),n("el-table-column",{attrs:{align:"center",prop:"fsChargesCompanyName","min-width":"140",label:"收费项目","show-overflow-tooltip":""}}),t._v(" "),n("el-table-column",{attrs:{align:"right",prop:"cd6","min-width":"100","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("toThousandFilter")(e.row.cd6)))])]}}])},[n("template",{slot:"header"},[n("div",[t._v("\n 本月应收\n "),n("el-tooltip",{attrs:{placement:"top"}},[n("div",{attrs:{slot:"content"},slot:"content"},[n("p",[t._v("本月应收:本月生成的应收费用,数据来自:应收")])]),t._v(" "),n("span",[n("i",{staticClass:"el-icon-question itemcursor"})])])],1)])],2),t._v(" "),n("el-table-column",{attrs:{align:"right",prop:"cq7","min-width":"100",label:"本年应收","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("toThousandFilter")(e.row.cq7)))])]}}])},[n("template",{slot:"header"},[n("div",[t._v("\n 本年应收\n "),n("el-tooltip",{attrs:{placement:"top"}},[n("div",{attrs:{slot:"content"},slot:"content"},[n("p",[t._v("\n 本年应收本年1月到本月产生的应收包含本月数据来自应收\n ")])]),t._v(" "),n("span",[n("i",{staticClass:"el-icon-question itemcursor"})])])],1)])],2),t._v(" "),n("el-table-column",{attrs:{align:"right",prop:"cr1","min-width":"100",label:"往年应收","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("toThousandFilter")(e.row.cr1)))])]}}])},[n("template",{slot:"header"},[n("div",[t._v("\n 往年应收\n "),n("el-tooltip",{attrs:{placement:"top"}},[n("div",{attrs:{slot:"content"},slot:"content"},[n("p",[t._v("\n 往年应收截至本年1.1,本年以前的欠费本金,数据来自:应收当前欠费本金+收款记录“1.1~至今的回款本金”。\n ")])]),t._v(" "),n("span",[n("i",{staticClass:"el-icon-question itemcursor"})])])],1)])],2),t._v(" "),n("el-table-column",{attrs:{align:"right",prop:"cr2","min-width":"130",label:"应收合计","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("toThousandFilter")(t.yshj(e.row))))])]}}])},[n("template",{slot:"header"},[n("div",[t._v("\n 应收合计\n "),n("el-tooltip",{attrs:{placement:"top"}},[n("div",{attrs:{slot:"content"},slot:"content"},[n("p",[t._v("应收合计:本年应收+往年应收,数据来自:前端公式计算。")])]),t._v(" "),n("span",[n("i",{staticClass:"el-icon-question itemcursor"})])])],1)])],2),t._v(" "),n("el-table-column",{attrs:{align:"right",prop:"cr3","min-width":"100",label:"本月实收","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("toThousandFilter")(e.row.cr3)))])]}}])},[n("template",{slot:"header"},[n("div",[t._v("\n 本月实收\n "),n("el-tooltip",{attrs:{placement:"top"}},[n("div",{attrs:{slot:"content"},slot:"content"},[n("p",[t._v("\n 本月收到账期为本月的本金,不含减免本金。数据来自:收款记录。\n ")])]),t._v(" "),n("span",[n("i",{staticClass:"el-icon-question itemcursor"})])])],1)])],2),t._v(" "),n("el-table-column",{attrs:{align:"right",prop:"cr4","min-width":"120",label:"本月收往年","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("toThousandFilter")(e.row.cr4))),t.hb?n("span",[t._v("%")]):t._e()])]}}])},[n("template",{slot:"header"},[n("div",[t._v("\n 本月收往年\n "),n("el-tooltip",{attrs:{placement:"top"}},[n("div",{attrs:{slot:"content"},slot:"content"},[n("p",[t._v("\n 本月收到账期为本年以前的本金,不含减免本金。数据来自:收款记录。\n ")])]),t._v(" "),n("span",[n("i",{staticClass:"el-icon-question itemcursor"})])])],1)])],2),t._v(" "),n("el-table-column",{attrs:{align:"right",prop:"cr5","min-width":"140",label:"本月收本年往月","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("toThousandFilter")(e.row.cr5))),t.hb?n("span",[t._v("%")]):t._e()])]}}])},[n("template",{slot:"header"},[n("div",[t._v("\n 本月收本年往月\n "),n("el-tooltip",{attrs:{placement:"top"}},[n("div",{attrs:{slot:"content"},slot:"content"},[n("p",[t._v("\n 本月收到本年除账期为本月的本金,不含减免本金。数据来自:收款记录。\n ")])]),t._v(" "),n("span",[n("i",{staticClass:"el-icon-question itemcursor"})])])],1)])],2),t._v(" "),n("el-table-column",{attrs:{align:"right",prop:"cr6","min-width":"100",label:"本年实收","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("toThousandFilter")(e.row.cr6))),t.hb?n("span",[t._v("%")]):t._e()])]}}])},[n("template",{slot:"header"},[n("div",[t._v("\n 本年实收\n "),n("el-tooltip",{attrs:{placement:"top"}},[n("div",{attrs:{slot:"content"},slot:"content"},[n("p",[t._v("\n 本年收到账期为本年至今月份的本金,不含减免本金。数据来自:收款记录。\n ")])]),t._v(" "),n("span",[n("i",{staticClass:"el-icon-question itemcursor"})])])],1)])],2),t._v(" "),n("el-table-column",{attrs:{align:"right",prop:"cr7","min-width":"100",label:"往年实收","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("toThousandFilter")(e.row.cr7))),t.hb?n("span",[t._v("%")]):t._e()])]}}])},[n("template",{slot:"header"},[n("div",[t._v("\n 往年实收\n "),n("el-tooltip",{attrs:{placement:"top"}},[n("div",{attrs:{slot:"content"},slot:"content"},[n("p",[t._v("\n 本年收到账期为本年以前的本金,不含减免本金。数据来自:收款记录。\n ")])]),t._v(" "),n("span",[n("i",{staticClass:"el-icon-question itemcursor"})])])],1)])],2),t._v(" "),n("el-table-column",{attrs:{align:"right",prop:"cr8","min-width":"100",label:"本年减免","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("toThousandFilter")(e.row.cr8))),t.hb?n("span",[t._v("%")]):t._e()])]}}])},[n("template",{slot:"header"},[n("div",[t._v("\n 本年减免\n "),n("el-tooltip",{attrs:{placement:"top"}},[n("div",{attrs:{slot:"content"},slot:"content"},[n("p",[t._v("本年减免的账期为本年的本金。数据来自:收款记录。")])]),t._v(" "),n("span",[n("i",{staticClass:"el-icon-question itemcursor"})])])],1)])],2),t._v(" "),n("el-table-column",{attrs:{align:"right",prop:"cr9","min-width":"100",label:"往年减免","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("toThousandFilter")(e.row.cr9))),t.hb?n("span",[t._v("%")]):t._e()])]}}])},[n("template",{slot:"header"},[n("div",[t._v("\n 往年减免\n "),n("el-tooltip",{attrs:{placement:"top"}},[n("div",{attrs:{slot:"content"},slot:"content"},[n("p",[t._v("本年减免账期为本年以前的本金。数据来自:收款记录。")])]),t._v(" "),n("span",[n("i",{staticClass:"el-icon-question itemcursor"})])])],1)])],2),t._v(" "),n("el-table-column",{attrs:{align:"right",prop:"cs1","min-width":"100",label:"本年欠费","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("toThousandFilter")(t.bnqf(e.row)))),t.hb?n("span",[t._v("%")]):t._e()])]}}])},[n("template",{slot:"header"},[n("div",[t._v("\n 本年欠费\n "),n("el-tooltip",{attrs:{placement:"top"}},[n("div",{attrs:{slot:"content"},slot:"content"},[n("p",[t._v("本年应收-本年实收-本年减免。数据来自:前端公式计算。")])]),t._v(" "),n("span",[n("i",{staticClass:"el-icon-question itemcursor"})])])],1)])],2),t._v(" "),n("el-table-column",{attrs:{align:"right",prop:"cs2","min-width":"100",label:"往年欠费","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("toThousandFilter")(t.wnqf(e.row)))),t.hb?n("span",[t._v("%")]):t._e()])]}}])},[n("template",{slot:"header"},[n("div",[t._v("\n 往年欠费\n "),n("el-tooltip",{attrs:{placement:"top"}},[n("div",{attrs:{slot:"content"},slot:"content"},[n("p",[t._v("往年应收-往年实收-往年减免。数据来自:前端公式计算。")])]),t._v(" "),n("span",[n("i",{staticClass:"el-icon-question itemcursor"})])])],1)])],2),t._v(" "),n("el-table-column",{attrs:{align:"right",prop:"cs3","min-width":"100",label:"欠费合计","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("toThousandFilter")(t.qfhj(e.row)))),t.hb?n("span",[t._v("%")]):t._e()])]}}])},[n("template",{slot:"header"},[n("div",[t._v("\n 欠费合计\n "),n("el-tooltip",{attrs:{placement:"top"}},[n("div",{attrs:{slot:"content"},slot:"content"},[n("p",[t._v("本年欠费+往年欠费。数据来自:前端公式计算。")])]),t._v(" "),n("span",[n("i",{staticClass:"el-icon-question itemcursor"})])])],1)])],2),t._v(" "),n("el-table-column",{attrs:{align:"right",prop:"cs4","min-width":"100",label:"实收合计","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("toThousandFilter")(t.sshj(e.row)))),t.hb?n("span",[t._v("%")]):t._e()])]}}])},[n("template",{slot:"header"},[n("div",[t._v("\n 实收合计\n "),n("el-tooltip",{attrs:{placement:"top"}},[n("div",{attrs:{slot:"content"},slot:"content"},[n("p",[t._v("\n 本年实收+往年实收+本年减免+往年减免。数据来自:前端公式计算。\n ")])]),t._v(" "),n("span",[n("i",{staticClass:"el-icon-question itemcursor"})])])],1)])],2),t._v(" "),n("el-table-column",{attrs:{align:"right",prop:"r1","min-width":"135",label:"本月收缴率","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.r1))])]}}])},[n("template",{slot:"header"},[n("div",[t._v("\n 本月收缴率\n "),n("el-tooltip",{attrs:{placement:"top"}},[n("div",{attrs:{slot:"content"},slot:"content"},[n("p",[t._v("本月实收/本月应收。数据来自:公式计算。")])]),t._v(" "),n("span",[n("i",{staticClass:"el-icon-question itemcursor"})])])],1)])],2),t._v(" "),n("el-table-column",{attrs:{align:"right",prop:"r2","min-width":"135",label:"本年收缴率","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.r2))])]}}])},[n("template",{slot:"header"},[n("div",[t._v("\n 本年收缴率\n "),n("el-tooltip",{attrs:{placement:"top"}},[n("div",{attrs:{slot:"content"},slot:"content"},[n("p",[t._v("本年实收/(本年应收-本年减免)。数据来自:公式计算。")])]),t._v(" "),n("span",[n("i",{staticClass:"el-icon-question itemcursor"})])])],1)])],2),t._v(" "),n("el-table-column",{attrs:{align:"right",prop:"r3","min-width":"130",label:"综合","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.r3))])]}}])},[n("template",{slot:"header"},[n("div",[t._v("\n 综合收缴率\n "),n("el-tooltip",{attrs:{placement:"top"}},[n("div",{attrs:{slot:"content"},slot:"content"},[n("p",[t._v("\n (往年实收+本年实收)/(往年应收+本年应收)。数据来自:公式计算。\n ")])]),t._v(" "),n("span",[n("i",{staticClass:"el-icon-question itemcursor"})])])],1)])],2),t._v(" "),n("el-table-column",{attrs:{align:"right",prop:"r4","min-width":"165",label:"户数收缴率","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.cr11Str||"-"))])]}}])},[n("template",{slot:"header"},[n("div",[t._v("\n 户数收缴率\n "),n("el-tooltip",{attrs:{placement:"top"}},[n("div",{attrs:{slot:"content"},slot:"content"},[n("p",[t._v("\n 户数收缴率(该收费项,每月全部完成缴费户数去重/每月应收账单总数户去重)\n ")])]),t._v(" "),n("span",[n("i",{staticClass:"el-icon-question itemcursor"})])])],1)])],2),t._v(" "),n("el-table-column",{attrs:{align:"right",prop:"r4","min-width":"165",label:"本月收往年收缴率","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.r4))])]}}])},[n("template",{slot:"header"},[n("div",[t._v("\n 本月收往年收缴率\n "),n("el-tooltip",{attrs:{placement:"top"}},[n("div",{attrs:{slot:"content"},slot:"content"},[n("p",[t._v("本月收往年/(往年应收-往年减免。数据来自:公式计算。")])]),t._v(" "),n("span",[n("i",{staticClass:"el-icon-question itemcursor"})])])],1)])],2),t._v(" "),n("el-table-column",{attrs:{align:"right",prop:"r5","min-width":"130",label:"往年收缴率","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.r5))])]}}])},[n("template",{slot:"header"},[n("div",[t._v("\n 往年收缴率\n "),n("el-tooltip",{attrs:{placement:"top"}},[n("div",{attrs:{slot:"content"},slot:"content"},[n("p",[t._v("往年实收/(往年应收-往年减免)。数据来自:公式计算。")])]),t._v(" "),n("span",[n("i",{staticClass:"el-icon-question itemcursor"})])])],1)])],2),t._v(" "),n("el-table-column",{attrs:{align:"right",prop:"cd10","min-width":"130",label:"本月挂起","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("toThousandFilter")(e.row.cd10)))])]}}])},[n("template",{slot:"header"},[n("div",[t._v("\n 本月挂起\n ")])])],2),t._v(" "),n("el-table-column",{attrs:{align:"right",prop:"cr12","min-width":"130",label:"往年挂起","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("toThousandFilter")(e.row.cr12)))])]}}])},[n("template",{slot:"header"},[n("div",[t._v("\n 往年挂起\n ")])])],2),t._v(" "),n("el-table-column",{attrs:{align:"center",prop:"updateDate","min-width":"180",label:"数据更新时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{style:t.filterColor(e.row.updateDate)},[t._v(t._s(e.row.updateDate))])]}}])})],1),t._v(" "),n("el-dialog",{attrs:{title:"请选择实时校验的项目",visible:t.dialogVisible,width:"25%"},on:{"update:visible":function(e){t.dialogVisible=e},close:t.closeDialog}},[n("el-cascader",{attrs:{clearable:"",placeholder:"项目/部门",options:t.organizeList,filterable:"","collapse-tags":"",props:{label:"nameTxt",value:"uuid",children:"childs",multiple:!0,checkStrictly:!0,emitPath:!1}},model:{value:t.checkProjectS,callback:function(e){t.checkProjectS=e},expression:"checkProjectS"}}),t._v(" "),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:t.closeDialog}},[t._v("取 消")]),t._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:t.checkData}},[t._v("确定")])],1)],1),t._v(" "),n("div",{staticClass:"pagination"},[n("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)])},a=[],r=(n("ac67"),n("32ea"),n("1bc7"),n("5821")),i=(n("fc02"),n("a450"),n("e680"),n("333d")),c=n("b071"),s=n("4513");function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function u(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(Object(n),!0).forEach((function(e){Object(r["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var d={components:{Pagination:i["a"]},data:function(){return{pageTotal:0,listLoading:!1,listTable:[],sumTable:[],month:"",query:{companyId:JSON.parse(localStorage.getItem("companyInfo")).osId,year:"",month:"",pageSize:10,pageNumber:1,projectUuids:[],difference:""},organizeList:[],checkProjectS:[],updatabtnloading:!1,dialogVisible:!1,hb:!1}},created:function(){this.headClass()},mounted:function(){this.month=this.$moment().format("YYYY-MM"),this.getlistData(),this.getOrganizeList()},methods:{filterColor:function(t){var e=this.$moment(t),n=this.$moment(),o=e.isSame(n,"day");if(!o)return{color:"red"}},closeDialog:function(){this.dialogVisible=!1,this.checkProjectS=[]},checkData:function(){var t=this;if(0==this.checkProjectS.length)return this.$message.warning("请选择项目");Object(c["m"])({uuids:this.checkProjectS}).then((function(e){0==e.code&&(t.$message.success("操作成功,即将更新".concat(t.checkProjectS.length,"个项目数据,请关注“数据更新时间")),t.closeDialog(),t.getlistData())}))},getOrganizeList:function(){var t=this,e={id:JSON.parse(localStorage.getItem("companyInfo")).osId,roleId:Number(localStorage.getItem("roleId"))};Object(s["w"])(e).then((function(e){if(e&&e.data.length>0){var n=t.getTreeData(e.data);n.length>0&&(t.organizeList=n[0].childs)}})).catch((function(e){t.loadingTree=!1}))},getTreeData:function(t){for(var e=0;e<t.length;e++)t[e].corpUuid&&(t[e].uid=t[e].corpUuid,t[e].nameTxt=t[e].name),t[e].childs.map((function(t){t.uid=t.uuid,t.nameTxt=1==t.attribute?"".concat(t.name,"(组织)"):"".concat(t.name,"(部门)")})),t[e].childs.length<1?t[e].childs=void 0:this.getTreeData(t[e].childs);return t},qfhj:function(t){return(this.validateNumber(t.cq7)-this.validateNumber(t.cr6)-this.validateNumber(t.cr8)+(this.validateNumber(t.cr1)-this.validateNumber(t.cr7)-this.validateNumber(t.cr9))).toFixed(2)},validateNumber:function(t){if("number"===typeof t&&!isNaN(t))return t;if("string"===typeof t){var e=parseFloat(t);if(!isNaN(e))return e}return 0},yshj:function(t){return(this.validateNumber(t.cq7)+this.validateNumber(t.cr1)).toFixed(2)},bnqf:function(t){return(this.validateNumber(t.cq7)-this.validateNumber(t.cr6)-this.validateNumber(t.cr8)).toFixed(2)},wnqf:function(t){return(this.validateNumber(t.cr1)-this.validateNumber(t.cr7)-this.validateNumber(t.cr9)).toFixed(2)},sshj:function(t){return(this.validateNumber(t.cr6)+this.validateNumber(t.cr7)+this.validateNumber(t.cr8)+this.validateNumber(t.cr9)).toFixed(2)},byswnsjl:function(t){return 0!=this.validateNumber(t.cr1)&&0!=this.validateNumber(t.cr1)?(this.validateNumber(t.cr4)/this.validateNumber(t.cr1)*100).toFixed(2)+"%":"0.00%"},wnsjl:function(t){return 0!=this.validateNumber(this.validateNumber(t.cr1)-100*this.validateNumber(t.cr9))&&0!=this.validateNumber(this.validateNumber(t.cr1)-100*this.validateNumber(t.cr9))?(this.validateNumber(t.cr7)/this.validateNumber(this.validateNumber(t.cr1)-100*this.validateNumber(t.cr9))).toFixed(2)+"%":"0.00%"},getlistData:function(){var t=this;this.listLoading=!0,this.month?(this.query.year=this.month.split("-")[0],this.query.month=this.month.split("-")[1]):(this.query.year="",this.query.month=""),this.hb?this.query.difference=1:this.query.difference="",Object(c["g"])(this.query).then((function(e){0==e.code&&(t.listTable=e.data.records,t.pageTotal=e.data.rowsCount,t.listLoading=!1),Object(c["h"])(u(u({},t.query),{},{pageSize:-1})).then((function(e){0==e.code&&e.data.records.forEach((function(e,n){e&&(e.projectName="合计 : ",t.$set(t.listTable,t.listTable.length,u({},e)))}))}))})).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}))},onSearch:function(){this.query.pageNumber=1,this.getlistData()},downLoadExecl:function(){Object(c["f"])(this.query).then((function(t){var e=new Blob([t],{type:"application/vnd.ms-excel;charset=UTF-8"});if(window.navigator.msSaveOrOpenBlob)navigator.msSaveBlob(e);else{var n=document.createElement("a");n.download="企业收费项报表",n.href=URL.createObjectURL(e),n.click(),URL.revokeObjectURL(n.href),document.body.removeChild(n)}})).catch((function(t){}))},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;"}}},p=d,m=(n("75f6"),n("829d")),h=Object(m["a"])(p,o,a,!1,null,"61e0793c",null);e["default"]=h.exports},b071:function(t,e,n){"use strict";n.d(e,"n",(function(){return a})),n.d(e,"q",(function(){return r})),n.d(e,"o",(function(){return i})),n.d(e,"r",(function(){return c})),n.d(e,"E",(function(){return s})),n.d(e,"D",(function(){return l})),n.d(e,"N",(function(){return u})),n.d(e,"K",(function(){return d})),n.d(e,"F",(function(){return p})),n.d(e,"p",(function(){return m})),n.d(e,"G",(function(){return h})),n.d(e,"H",(function(){return f})),n.d(e,"O",(function(){return b})),n.d(e,"k",(function(){return v})),n.d(e,"M",(function(){return _})),n.d(e,"l",(function(){return y})),n.d(e,"j",(function(){return g})),n.d(e,"i",(function(){return O})),n.d(e,"L",(function(){return j})),n.d(e,"x",(function(){return S})),n.d(e,"y",(function(){return w})),n.d(e,"c",(function(){return k})),n.d(e,"d",(function(){return T})),n.d(e,"b",(function(){return P})),n.d(e,"w",(function(){return C})),n.d(e,"v",(function(){return q})),n.d(e,"C",(function(){return N})),n.d(e,"a",(function(){return x})),n.d(e,"A",(function(){return L})),n.d(e,"t",(function(){return F})),n.d(e,"B",(function(){return D})),n.d(e,"u",(function(){return R})),n.d(e,"s",(function(){return z})),n.d(e,"z",(function(){return I})),n.d(e,"P",(function(){return B})),n.d(e,"g",(function(){return U})),n.d(e,"h",(function(){return $})),n.d(e,"f",(function(){return M})),n.d(e,"e",(function(){return E})),n.d(e,"m",(function(){return V})),n.d(e,"I",(function(){return A})),n.d(e,"J",(function(){return J}));var o=n("b775");function a(t){return Object(o["a"])({url:"/hakocompany/data/project/currentYearTotal",method:"POST",data:t})}function r(t){return Object(o["a"])({url:"/hakocompany/data/project/employeeReport",method:"POST",data:t})}function i(t){return Object(o["a"])({url:"/hakocompany/data/project/currentYearTotalTask",method:"POST",data:t})}function c(t){return Object(o["a"])({url:"/hakocompany/data/project/employeeReportTask",method:"POST",data:t})}function s(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 u(t){return Object(o["a"])({url:"/hakocompany/data/project/currentTotalTask",method:"POST",data:t})}function d(t){return Object(o["a"])({url:"/hakocompany/data/project/syncTaskV2",method:"POST",data:t})}function p(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 v(t){return Object(o["a"])({url:"/hakocompany/ContractTaskStatistics/pageList",method:"POST",data:t})}function _(t){return Object(o["a"])({url:"/hakocompany/ContractTaskStatistics/statistics",method:"POST",data:t})}function y(t){return Object(o["a"])({url:"/hakocompany/ContractTaskStatistics/pageItemList",method:"POST",data:t})}function g(t){return Object(o["a"])({url:"/hakocompany/ContractExecuteStatistics/pageList",method:"POST",data:t})}function O(t){return Object(o["a"])({url:"/hakocompany/ContractExecuteStatistics/export",method:"POST",responseType:"blob",data:t})}function j(t){return Object(o["a"])({url:"/hakocompany/ContractExecuteStatistics/statistics",method:"POST",data:t})}function S(t){return Object(o["a"])({url:"/hakocompany/InspectSubscribe/reportPageList",method:"POST",data:t})}function w(t){return Object(o["a"])({url:"/hakocompany/InspectSubscribe/exportReport",method:"POST",responseType:"blob",data:t})}function k(t){return Object(o["a"])({url:"/hakocompany/TaskStatisticsReport/pageList",method:"POST",data:t})}function T(t){return Object(o["a"])({url:"/hakocompany/TaskStatisticsReport/statistics",method:"POST",data:t})}function P(t){return Object(o["a"])({url:"/hakocompany/TaskStatisticsReport/exportReport",method:"POST",responseType:"blob",data:t})}function C(t){return Object(o["a"])({url:"/hakocompany/data/project/personWeekInfo",method:"POST",data:t})}function q(t){return Object(o["a"])({url:"/hakocompany/data/project/downloadWeekInfo",method:"POST",responseType:"blob",data:t})}function N(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 F(t){return Object(o["a"])({url:"/hakocompany/PostponeWorder/memberOrderPage",method:"POST",data:t})}function D(t){return Object(o["a"])({url:"/hakocompany/TaskStatisticsReport/projectPageByTaskType",method:"POST",data:t})}function R(t){return Object(o["a"])({url:"/hakocompany/TaskStatisticsReport/pageByTaskType",method:"POST",data:t})}function z(t){return Object(o["a"])({url:"/hakocompany/WorkOrder/memberOrderPage",method:"POST",data:t})}function I(t){return Object(o["a"])({url:"/hakocompany/PostponeWorder/export",method:"POST",responseType:"blob",data:t})}function B(t){return Object(o["a"])({url:"/hakocompany/WorkOrder/export",method:"POST",responseType:"blob",data:t})}function U(t){return Object(o["a"])({url:"/hakocompany/data/project/ChargeReportByCharge/pageList",method:"POST",data:t})}function $(t){return Object(o["a"])({url:"/hakocompany/data/project/ChargeReportByCharge/pageList/sum",method:"POST",data:t})}function M(t){return Object(o["a"])({url:"/hakocompany/data/project/ChargeReportByCharge/out/excel",method:"POST",responseType:"blob",data:t})}function E(t){return Object(o["a"])({url:"/hakocompany/data/project/calculated/rate",method:"POST",data:t})}function V(t){return Object(o["a"])({url:"/hakocompany/data/project/ChargeReportByCharge/current/by/charges",method:"POST",data:t})}function A(t){return Object(o["a"])({url:"/hakocompany/CustomerVisit/statisticsCustomerVisit",method:"POST",data:t})}function J(t){return Object(o["a"])({url:"/hakocompany/CustomerVisit/export",method:"POST",responseType:"blob",data:t})}}}]);