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