Files
wysite/hc-pos.sqygj.cn/static/js/chunk-5aefedff.5f0fb995.js

1 line
11 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5aefedff"],{"51e3":function(e,t,o){"use strict";o.r(t);var r=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"app-container bgHeight"},[o("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[o("el-form",{ref:"setForm",staticClass:"demo-ruleForm",attrs:{model:e.setForm,"label-width":"210px"}},[o("el-divider",{attrs:{"content-position":"left"}},[e._v("能源配置")]),e._v(" "),o("el-form-item",{attrs:{label:"内控最低功率",prop:"lowestPower"}},[o("el-input-number",{attrs:{min:0},model:{value:e.setForm.lowestPower,callback:function(t){e.$set(e.setForm,"lowestPower",t)},expression:"setForm.lowestPower"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"公共电费区间最小值",prop:"commonElectricFeeMin"}},[o("el-input-number",{attrs:{min:0,max:1e8},model:{value:e.setForm.commonElectricFeeMin,callback:function(t){e.$set(e.setForm,"commonElectricFeeMin",t)},expression:"setForm.commonElectricFeeMin"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"公共电费区间最大值",prop:"commonElectricFeeMax"}},[o("el-input-number",{attrs:{min:0,max:1e8},model:{value:e.setForm.commonElectricFeeMax,callback:function(t){e.$set(e.setForm,"commonElectricFeeMax",t)},expression:"setForm.commonElectricFeeMax"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"家庭仪表总数",prop:"houseDeviceTotal"}},[o("el-input-number",{attrs:{min:0,max:1e8},model:{value:e.setForm.houseDeviceTotal,callback:function(t){e.$set(e.setForm,"houseDeviceTotal",t)},expression:"setForm.houseDeviceTotal"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"可回收用电同比阈值上限",prop:"recyclableElectricYoyMax"}},[o("el-input-number",{attrs:{min:0,max:1e8},model:{value:e.setForm.recyclableElectricYoyMax,callback:function(t){e.$set(e.setForm,"recyclableElectricYoyMax",t)},expression:"setForm.recyclableElectricYoyMax"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"可回收用电同比阈值下限",prop:"recyclableElectricYoyMin"}},[o("el-input-number",{attrs:{min:0,max:1e8},model:{value:e.setForm.recyclableElectricYoyMin,callback:function(t){e.$set(e.setForm,"recyclableElectricYoyMin",t)},expression:"setForm.recyclableElectricYoyMin"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"可回收用电环比阈值上限",prop:"recyclableElectricMomMax"}},[o("el-input-number",{attrs:{min:0,max:1e8},model:{value:e.setForm.recyclableElectricMomMax,callback:function(t){e.$set(e.setForm,"recyclableElectricMomMax",t)},expression:"setForm.recyclableElectricMomMax"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"可回收用电环比阈值下限",prop:"recyclableElectricMomMin"}},[o("el-input-number",{attrs:{min:0,max:1e8},model:{value:e.setForm.recyclableElectricMomMin,callback:function(t){e.$set(e.setForm,"recyclableElectricMomMin",t)},expression:"setForm.recyclableElectricMomMin"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"公共用电同比阈值上限",prop:"commonElectricYoyMax"}},[o("el-input-number",{attrs:{min:0,max:1e8},model:{value:e.setForm.commonElectricYoyMax,callback:function(t){e.$set(e.setForm,"commonElectricYoyMax",t)},expression:"setForm.commonElectricYoyMax"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"公共用电同比阈值下限",prop:"commonElectricYoyMin"}},[o("el-input-number",{attrs:{min:0,max:1e8},model:{value:e.setForm.commonElectricYoyMin,callback:function(t){e.$set(e.setForm,"commonElectricYoyMin",t)},expression:"setForm.commonElectricYoyMin"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"公共用电环比阈值上限",prop:"commonElectricMomMax"}},[o("el-input-number",{attrs:{min:0,max:1e8},model:{value:e.setForm.commonElectricMomMax,callback:function(t){e.$set(e.setForm,"commonElectricMomMax",t)},expression:"setForm.commonElectricMomMax"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"公共用电环比阈值下限",prop:"commonElectricMomMin"}},[o("el-input-number",{attrs:{min:0,max:1e8},model:{value:e.setForm.commonElectricMomMin,callback:function(t){e.$set(e.setForm,"commonElectricMomMin",t)},expression:"setForm.commonElectricMomMin"}})],1),e._v(" "),o("el-form-item",{attrs:{label:""}},[o("div",[e._v("最近操作人:"+e._s(e.setInfo.energyUpdaterName||"-"))]),e._v(" "),o("div",[e._v("最近操作时间:"+e._s(e.setInfo.energyUpdaterTime||"-"))])]),e._v(" "),o("el-form-item",[o("el-button",{attrs:{type:"primary"},on:{click:e.confirmSet}},[e._v("保存")])],1)],1)],1)],1)},c=[],n=o("7274"),a={data:function(){return{setInfo:"",setForm:{lowestPower:0,commonElectricFeeMin:0,commonElectricFeeMax:0,houseDeviceTotal:0,recyclableElectricYoyMax:0,recyclableElectricYoyMin:0,recyclableElectricMomMax:0,recyclableElectricMomMin:0,commonElectricYoyMax:0,commonElectricYoyMin:0,commonElectricMomMax:0,commonElectricMomMin:0}}},created:function(){this.getSet()},methods:{getSet:function(){var e=this;Object(n["f"])({uuid:this.$store.state.community_uuid}).then((function(t){t.data&&0==t.code?(e.setInfo=JSON.parse(JSON.stringify(t.data)),e.setForm.lowestPower=e.setInfo.lowestPower||0,e.setForm.commonElectricFeeMin=e.setInfo.commonElectricFeeMin||0,e.setForm.commonElectricFeeMax=e.setInfo.commonElectricFeeMax||0,e.setForm.houseDeviceTotal=e.setInfo.houseDeviceTotal||0,e.setForm.recyclableElectricYoyMax=e.setInfo.recyclableElectricYoyMax||0,e.setForm.recyclableElectricYoyMin=e.setInfo.recyclableElectricYoyMin||0,e.setForm.recyclableElectricMomMax=e.setInfo.recyclableElectricMomMax||0,e.setForm.recyclableElectricMomMin=e.setInfo.recyclableElectricMomMin||0,e.setForm.commonElectricYoyMax=e.setInfo.commonElectricYoyMax||0,e.setForm.commonElectricYoyMin=e.setInfo.commonElectricYoyMin||0,e.setForm.commonElectricMomMax=e.setInfo.commonElectricMomMax||0,e.setForm.commonElectricMomMin=e.setInfo.commonElectricMomMin||0):e.setInfo=""}))},confirmSet:function(){var e=this;if(this.setForm.commonElectricFeeMin>=this.setForm.commonElectricFeeMax)return this.$message.error("公共电费区间最小值不能大于等于公共电费区间最大值");var t={lowestPower:this.setForm.lowestPower,commonElectricFeeMin:this.setForm.commonElectricFeeMin,commonElectricFeeMax:this.setForm.commonElectricFeeMax,houseDeviceTotal:this.setForm.houseDeviceTotal,projectUuid:this.$store.state.community_uuid,energyUpdaterName:this.$store.state.user.userInfo.memberName,recyclableElectricYoyMax:this.setForm.recyclableElectricYoyMax,recyclableElectricYoyMin:this.setForm.recyclableElectricYoyMin,recyclableElectricMomMax:this.setForm.recyclableElectricMomMax,recyclableElectricMomMin:this.setForm.recyclableElectricMomMin,commonElectricYoyMax:this.setForm.commonElectricYoyMax,commonElectricYoyMin:this.setForm.commonElectricYoyMin,commonElectricMomMax:this.setForm.commonElectricMomMax,commonElectricMomMin:this.setForm.commonElectricMomMin};if(this.setForm.recyclableElectricYoyMax<this.setForm.recyclableElectricYoyMin)return this.$message.error("可回收用电同比阈值上限不能小于下限");Object(n["v"])(t).then((function(t){0==t.code&&(e.$message({message:"更新成功!",type:"success"}),e.getSet())}))}}},i=a,l=(o("b29e"),o("829d")),m=Object(l["a"])(i,r,c,!1,null,"0a2dd960",null);t["default"]=m.exports},7274:function(e,t,o){"use strict";o.d(t,"f",(function(){return c})),o.d(t,"t",(function(){return n})),o.d(t,"x",(function(){return a})),o.d(t,"g",(function(){return i})),o.d(t,"B",(function(){return l})),o.d(t,"s",(function(){return m})),o.d(t,"c",(function(){return s})),o.d(t,"l",(function(){return u})),o.d(t,"z",(function(){return p})),o.d(t,"A",(function(){return d})),o.d(t,"n",(function(){return f})),o.d(t,"m",(function(){return M})),o.d(t,"j",(function(){return b})),o.d(t,"o",(function(){return y})),o.d(t,"h",(function(){return E})),o.d(t,"i",(function(){return F})),o.d(t,"k",(function(){return h})),o.d(t,"p",(function(){return j})),o.d(t,"y",(function(){return x})),o.d(t,"r",(function(){return v})),o.d(t,"w",(function(){return g})),o.d(t,"a",(function(){return Y})),o.d(t,"b",(function(){return O})),o.d(t,"e",(function(){return C})),o.d(t,"d",(function(){return P})),o.d(t,"v",(function(){return w})),o.d(t,"q",(function(){return _})),o.d(t,"u",(function(){return I}));var r=o("b775");function c(e){return Object(r["a"])({url:"/appproject/ProjectConfig/findByUuid",method:"post",data:e})}function n(e){return Object(r["a"])({url:"/appproject/ProjectConfig/updateByProjectUuid",method:"post",data:e})}function a(e){return Object(r["a"])({url:"/appproject/ProjectConfig/scheduled/push/date",method:"post",data:e})}function i(e){return Object(r["a"])({url:"/appproject/OrderInfo/findLiaisonByProjectUuids",method:"post",data:e})}function l(e){return Object(r["a"])({url:"/appproject/ProjectInit/getVisitConfig",method:"post",data:e})}function m(e){return Object(r["a"])({url:"/appproject/ProjectInit/updateBatchVisitConfig",method:"post",data:e})}function s(e){return Object(r["a"])({url:"/appproject/QualityControls/choose",method:"post",data:e})}function u(e){return Object(r["a"])({url:"/appproject/QualityControls/pageList",method:"post",data:e})}function p(e){return Object(r["a"])({url:"/appproject/ChargeReceivable/urge/listFee",method:"post",data:e})}function d(e){return Object(r["a"])({url:"/appproject/CustomerVisit/create/by/urge/model",method:"post",data:e})}function f(e){return Object(r["a"])({url:"/appproject/SalaryConfig/findByProjectUuid",method:"post",data:e})}function M(e){return Object(r["a"])({url:"/appproject/SalaryConfig/edit",method:"post",data:e})}function b(e){return Object(r["a"])({url:"/appproject/MemberSalaryConfig/pageList",method:"post",data:e})}function y(e){return Object(r["a"])({url:"/appproject/MemberSalaryConfig/salaryItemPageList",method:"post",data:e})}function E(e){return Object(r["a"])({url:"/appproject/MemberSalaryConfig/create",method:"post",data:e})}function F(e){return Object(r["a"])({url:"/appproject/MemberSalaryConfig/findById",method:"post",data:e})}function h(e){return Object(r["a"])({url:"/appproject/MemberSalaryConfig/update",method:"post",data:e})}function j(e){return Object(r["a"])({url:"/appproject/ProjectConfig/updateAccessControlByProjectUuid",method:"post",data:e})}function x(e){return Object(r["a"])({url:"/appproject/ProjectConfig/updateTargetValueByProjectUuid",method:"post",data:e})}function v(e){return Object(r["a"])({url:"/appproject/ProjectConfig/updateAutoResetDangerousByProjectUuid",method:"post",data:e})}function g(e){return Object(r["a"])({url:"/appproject/ProjectConfig/updateMeterReadingType",method:"post",data:e})}function Y(e){return Object(r["a"])({url:"/appproject/ChargeOrderConfig/pageList",method:"post",data:e})}function O(e){return Object(r["a"])({url:"/appproject/ChargeOrderConfig/update",method:"post",data:e})}function C(e){return Object(r["a"])({url:"/appproject/ProjectReturnStatistics/debtAnalysisDetail",method:"post",data:e})}function P(e){return Object(r["a"])({url:"/appproject/ChargeOrder/createBatch",method:"post",data:e})}function w(e){return Object(r["a"])({url:"/appproject/ProjectConfig/updateEnergyParams",method:"post",data:e})}function _(e){return Object(r["a"])({url:"/appproject/ProjectConfig/updateAutoCharge",method:"post",data:e})}function I(e){return Object(r["a"])({url:"/appproject/ProjectConfig/updateChargeDeduction",method:"post",data:e})}},a378:function(e,t,o){},b29e:function(e,t,o){"use strict";o("a378")}}]);