feat: 初始化静态镜像站点仓库
This commit is contained in:
@@ -0,0 +1,230 @@
|
||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-bee4f948"], { 5792: function(t, e, n) {
|
||||
"use strict";
|
||||
n.r(e);
|
||||
var a = function() {
|
||||
var t2 = this, e2 = t2.$createElement, n2 = t2._self._c || e2;
|
||||
return n2("div", { staticClass: "budgetList" }, [n2("div", { staticClass: "elcard" }, [n2("el-row", { attrs: { gutter: 12 } }, [n2("el-col", { attrs: { span: 6 } }, [n2("el-card", { staticClass: "box-card", attrs: { shadow: "hover" } }, [n2("div", { staticClass: "planLst", attrs: { slot: "header" }, slot: "header" }, [n2("span", { staticClass: "planTitle" }, [t2._v("预算管理模块")])]), t2._v(" "), n2("div", [n2("el-input", { attrs: { clearable: "", placeholder: "输入关键字进行过滤" }, model: { value: t2.filterText, callback: function(e3) {
|
||||
t2.filterText = e3;
|
||||
}, expression: "filterText" } }), t2._v(" "), n2("div", { staticClass: "filterScroll" }, [n2("el-tree", { directives: [{ name: "loading", rawName: "v-loading", value: t2.treeLoading, expression: "treeLoading" }], ref: "tree", staticClass: "filter-tree", staticStyle: { padding: "15px 0px" }, attrs: { data: t2.tableTree, "default-expand-all": "", "node-key": "id", "current-node-key": t2.currentNodekey, "highlight-current": "", "filter-node-method": t2.filterNode, props: t2.defaultProps }, on: { "node-click": t2.checkInfo } })], 1)], 1)])], 1), t2._v(" "), n2("el-col", { attrs: { span: 18 } }, [n2("el-row", [n2("el-col", { attrs: { span: 24 } }, [n2("el-card", { attrs: { shadow: "hover" } }, [n2("div", { staticClass: "planLst", attrs: { slot: "header" }, slot: "header" }, [n2("span", { staticClass: "planTitle" }, [t2._v("预算/发生数")])]), t2._v(" "), n2("div", [n2("span", { staticStyle: { "font-size": "14px" } }, [n2("el-date-picker", { attrs: { "value-format": "yyyy", type: "year", "picker-options": t2.pickerOptions, placeholder: "选择日期" }, model: { value: t2.timevalue, callback: function(e3) {
|
||||
t2.timevalue = e3;
|
||||
}, expression: "timevalue" } })], 1), t2._v(" "), n2("span", [n2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: t2.dataNodeData } }, [t2._v("查询")])], 1)]), t2._v(" "), n2("div", { staticClass: "tableData" }, [n2("table", { staticClass: "customTable" }, [n2("thead", [n2("tr", [n2("td", { staticClass: "subject" }, [t2._v("科目编码")]), t2._v(" "), n2("td", { staticClass: "subject" }, [t2._v("科目")]), t2._v(" "), t2._l(t2.months, (function(e3) {
|
||||
return n2("td", { key: e3, attrs: { colspan: "2" } }, [t2._v(t2._s(e3) + "月")]);
|
||||
})), t2._v(" "), n2("td", { attrs: { colspan: "2" } }, [t2._v("年度")])], 2)]), t2._v(" "), n2("tbody", { staticStyle: { "font-size": "14px" } }, [t2._l(t2.tabData1, (function(e3, a2) {
|
||||
return [n2("tr", { key: a2 + "_0" }, [n2("td", { attrs: { rowspan: "2" } }, [t2._v(t2._s(e3.subjectCode))]), t2._v(" "), n2("td", { attrs: { rowspan: "2", title: e3.subjectName.length > 6 && e3.subjectName } }, [t2._v(t2._s(e3.subjectName.length > 6 ? e3.subjectName.slice(0, 6) + "..." : e3.subjectName))]), t2._v(" "), t2._l(t2.monthKeys, (function(e4) {
|
||||
return [n2("td", { key: a2 + "_" + e4 + "_0" }, [t2._v("预算")]), t2._v(" "), n2("td", { key: a2 + "_" + e4 + "_1" }, [t2._v("发生")])];
|
||||
}))], 2), t2._v(" "), n2("tr", { key: a2 + "_1" }, [t2._l(t2.monthKeys, (function(r2) {
|
||||
return [n2("td", { key: a2 + "_" + r2 + "_2" }, [t2._v(" " + t2._s(e3.moneyValue[r2].budgetValue) + " ")]), t2._v(" "), n2("td", { key: a2 + "_" + r2 + "_3" }, [t2._v(" " + t2._s(e3.moneyValue[r2].happenValue) + " ")])];
|
||||
}))], 2)];
|
||||
}))], 2)])])])], 1)], 1)], 1)], 1)], 1)]);
|
||||
}, r = [], o = n("65f5"), u = n("ed08"), d = { components: {}, data: function() {
|
||||
var t2 = Array.from({ length: 12 }, (function(t3, e2) {
|
||||
return "month_" + ++e2;
|
||||
}));
|
||||
return t2.push("year"), { months: Array.from({ length: 12 }, (function(t3, e2) {
|
||||
return ++e2;
|
||||
})), monthKeys: t2, timevalue: "", currentNodekey: "", filterText: "", activeName: "1", titleLoading: false, treeLoading: false, tableTree: [], titleArr: [], defaultProps: { children: "children", label: "subjectName" }, pickerOptions: { disabledDate: function(t3) {
|
||||
return t3.getTime() > Date.now();
|
||||
} }, tabData1: [] };
|
||||
}, watch: { filterText: function(t2) {
|
||||
this.$refs.tree.filter(t2);
|
||||
} }, created: function() {
|
||||
this.headClass();
|
||||
}, mounted: function() {
|
||||
var t2 = /* @__PURE__ */ new Date(), e2 = Object(u["c"])(t2, "yyyy");
|
||||
this.timevalue = e2, this.getTableTree();
|
||||
}, methods: { getTableTree: function() {
|
||||
var t2 = this;
|
||||
this.treeLoading = true, Object(o["q"])({ projectUuid: this.$store.state.community_uuid }).then((function(e2) {
|
||||
if (0 === e2.code) {
|
||||
if (t2.tableTree = e2.data, e2.data && e2.data.length > 0) {
|
||||
var n2 = e2.data[0].id;
|
||||
t2.currentNodekey = e2.data[0].id, t2.$nextTick((function() {
|
||||
t2.$refs.tree.setCurrentKey(t2.currentNodekey);
|
||||
})), t2.dataNodeData(n2);
|
||||
}
|
||||
t2.treeLoading = false;
|
||||
}
|
||||
}));
|
||||
}, dataNodeData: function() {
|
||||
var t2 = this;
|
||||
if (this.tabData1 = [], this.timevalue) {
|
||||
this.titleLoading = true;
|
||||
var e2 = { budgetItemId: this.currentNodekey, year: parseInt(this.timevalue) };
|
||||
Object(o["z"])(e2).then((function(e3) {
|
||||
0 === e3.code && (e3.data && e3.data.length > 0 && (t2.tabData1 = e3.data), t2.titleLoading = false);
|
||||
})).catch((function() {
|
||||
t2.titleLoading = false;
|
||||
}));
|
||||
} else this.$message({ message: "请选择年份", type: "error" });
|
||||
}, checkInfo: function(t2, e2) {
|
||||
this.currentNodekey = t2.id, this.dataNodeData();
|
||||
}, filterNode: function(t2, e2) {
|
||||
return !t2 || -1 !== e2.subjectName.indexOf(t2);
|
||||
}, headClass: function() {
|
||||
return "text-align:center;background:#FAFAFA;";
|
||||
} } }, c = d, i = (n("db4c"), n("829d")), s = Object(i["a"])(c, a, r, false, null, "c308991e", null);
|
||||
e["default"] = s.exports;
|
||||
}, "65f5": function(t, e, n) {
|
||||
"use strict";
|
||||
n.d(e, "s", (function() {
|
||||
return r;
|
||||
})), n.d(e, "q", (function() {
|
||||
return o;
|
||||
})), n.d(e, "k", (function() {
|
||||
return u;
|
||||
})), n.d(e, "p", (function() {
|
||||
return d;
|
||||
})), n.d(e, "r", (function() {
|
||||
return c;
|
||||
})), n.d(e, "e", (function() {
|
||||
return i;
|
||||
})), n.d(e, "A", (function() {
|
||||
return s;
|
||||
})), n.d(e, "w", (function() {
|
||||
return p;
|
||||
})), n.d(e, "b", (function() {
|
||||
return l;
|
||||
})), n.d(e, "c", (function() {
|
||||
return f;
|
||||
})), n.d(e, "y", (function() {
|
||||
return m;
|
||||
})), n.d(e, "l", (function() {
|
||||
return h;
|
||||
})), n.d(e, "z", (function() {
|
||||
return b;
|
||||
})), n.d(e, "m", (function() {
|
||||
return j;
|
||||
})), n.d(e, "t", (function() {
|
||||
return y;
|
||||
})), n.d(e, "x", (function() {
|
||||
return g;
|
||||
})), n.d(e, "d", (function() {
|
||||
return v;
|
||||
})), n.d(e, "n", (function() {
|
||||
return _;
|
||||
})), n.d(e, "E", (function() {
|
||||
return B;
|
||||
})), n.d(e, "C", (function() {
|
||||
return O;
|
||||
})), n.d(e, "h", (function() {
|
||||
return k;
|
||||
})), n.d(e, "i", (function() {
|
||||
return I;
|
||||
})), n.d(e, "u", (function() {
|
||||
return T;
|
||||
})), n.d(e, "f", (function() {
|
||||
return N;
|
||||
})), n.d(e, "g", (function() {
|
||||
return x;
|
||||
})), n.d(e, "j", (function() {
|
||||
return C;
|
||||
})), n.d(e, "a", (function() {
|
||||
return M;
|
||||
})), n.d(e, "o", (function() {
|
||||
return w;
|
||||
})), n.d(e, "B", (function() {
|
||||
return L;
|
||||
})), n.d(e, "v", (function() {
|
||||
return A;
|
||||
})), n.d(e, "D", (function() {
|
||||
return D;
|
||||
}));
|
||||
var a = n("b775");
|
||||
function r(t2) {
|
||||
return Object(a["a"])({ url: "/appproject/BudgetItem/getTemplatePageList", method: "post", data: t2 });
|
||||
}
|
||||
function o(t2) {
|
||||
return Object(a["a"])({ url: "/appproject/BudgetItem/getBudgetItemTree", method: "post", data: t2 });
|
||||
}
|
||||
function u(t2) {
|
||||
return Object(a["a"])({ url: "/appproject/BudgetItem/create", method: "post", data: t2 });
|
||||
}
|
||||
function d(t2) {
|
||||
return Object(a["a"])({ url: "/appproject/BudgetMoneyModifyApply/pageList", method: "post", data: t2 });
|
||||
}
|
||||
function c(t2) {
|
||||
return Object(a["a"])({ url: "/appproject/BudgetItemMoney/modifyRecordPageList", method: "post", data: t2 });
|
||||
}
|
||||
function i(t2) {
|
||||
return Object(a["a"])({ url: "/appproject/BudgetMoneyModifyApply/approveApply", method: "post", data: t2 });
|
||||
}
|
||||
function s(t2) {
|
||||
return Object(a["a"])({ url: "/appproject/BudgetMoneyModifyApply/refuseApply", method: "post", data: t2 });
|
||||
}
|
||||
function p(t2) {
|
||||
return Object(a["a"])({ url: "/appproject/BudgetItemMoney/modifyDetails", method: "post", data: t2 });
|
||||
}
|
||||
function l(t2) {
|
||||
return Object(a["a"])({ url: "/appproject/BudgetItemMoney/adjustAmount", method: "post", data: t2 });
|
||||
}
|
||||
function f(t2) {
|
||||
return Object(a["a"])({ url: "/appproject/BudgetItemMoney/adjustAmount2", method: "post", data: t2 });
|
||||
}
|
||||
function m(t2) {
|
||||
return Object(a["a"])({ url: "/appproject/BudgetItemMoney/queryBudgetItemMoney", method: "post", data: t2 });
|
||||
}
|
||||
function h(t2) {
|
||||
return Object(a["a"])({ url: "/appproject/BudgetItem/delBudgetItemNode", method: "post", data: t2 });
|
||||
}
|
||||
function b(t2) {
|
||||
return Object(a["a"])({ url: "/appproject/BudgetItemMoney/queryBudgetMoneyStatistical", method: "post", data: t2 });
|
||||
}
|
||||
function j(t2) {
|
||||
return Object(a["a"])({ url: "/appproject/BudgetItem/exportBudgetTemplate", method: "post", responseType: "blob", data: t2 });
|
||||
}
|
||||
function y(t2, e2) {
|
||||
return Object(a["a"])({ url: "/appproject/BudgetItem/importBudgetItemMoney?projectUuid=" + e2.projectUuid + "&year=" + e2.year + "&type=" + e2.type + "&createUserUuid=" + e2.createUserUuid + "&createUserName=" + e2.createUserName + "&id=" + e2.id, method: "post", headers: { "Content-Type": "multipart/form-data;charset=UTF-8" }, data: t2 });
|
||||
}
|
||||
function g(t2) {
|
||||
return Object(a["a"])({ url: "/appproject/BudgetItemMoney/queryBudgetAccountInfo", method: "post", data: t2 });
|
||||
}
|
||||
function v(t2) {
|
||||
return Object(a["a"])({ url: "/appproject/BudgetItemMoney/adjustTotal", method: "post", data: t2 });
|
||||
}
|
||||
function _(t2) {
|
||||
return Object(a["a"])({ url: "/appproject/ProjectConfig/findByUuid", method: "post", data: t2 });
|
||||
}
|
||||
function B(t2) {
|
||||
return Object(a["a"])({ url: "/appproject/ProjectConfig/updateBudgetByProjectUuid", method: "post", data: t2 });
|
||||
}
|
||||
function O(t2) {
|
||||
return Object(a["a"])({ url: "/appproject/BudgetItem/setMainBudgetNode", method: "post", data: t2 });
|
||||
}
|
||||
function k(t2) {
|
||||
return Object(a["a"])({ url: "/appproject/BudgetBusiness/pageList", method: "post", data: t2 });
|
||||
}
|
||||
function I(t2) {
|
||||
return Object(a["a"])({ url: "/appproject/BudgetBusiness/total", method: "post", data: t2 });
|
||||
}
|
||||
function T(t2, e2) {
|
||||
return Object(a["a"])({ url: "/appproject/BudgetBusiness/importExcel/".concat(e2), method: "post", isReturnResponse: true, responseType: "blob", headers: { "Content-Type": "multipart/form-data;charset=UTF-8" }, data: t2 });
|
||||
}
|
||||
function N(t2) {
|
||||
return Object(a["a"])({ url: "/appproject/BudgetBusiness/create", method: "post", data: t2 });
|
||||
}
|
||||
function x(t2) {
|
||||
return Object(a["a"])({ url: "/appproject/BudgetBusiness/findById", method: "post", data: t2 });
|
||||
}
|
||||
function C(t2) {
|
||||
return Object(a["a"])({ url: "/appproject/BudgetBusiness/update", method: "post", data: t2 });
|
||||
}
|
||||
function M(t2) {
|
||||
return Object(a["a"])({ url: "/appproject/BudgetBusiness/log", method: "post", data: t2 });
|
||||
}
|
||||
function w(t2) {
|
||||
return Object(a["a"])({ url: "/appproject/BudgetItemMoney/auto/statistics/generate/budget", method: "post", data: t2 });
|
||||
}
|
||||
function L(t2) {
|
||||
return Object(a["a"])({ url: "/appproject/InvestmentSubscribe/pageList/adopt", method: "post", data: t2 });
|
||||
}
|
||||
function A(t2) {
|
||||
return Object(a["a"])({ url: "/appproject/InvestmentSubscribe/into/rolling/budget", method: "post", data: t2 });
|
||||
}
|
||||
function D(t2) {
|
||||
return Object(a["a"])({ url: "/project/BudgetItemMoney/value/change/statistics", method: "post", data: t2 });
|
||||
}
|
||||
}, "8c72": function(t, e, n) {
|
||||
}, db4c: function(t, e, n) {
|
||||
"use strict";
|
||||
n("8c72");
|
||||
} }]);
|
||||
Reference in New Issue
Block a user