251 lines
18 KiB
JavaScript
251 lines
18 KiB
JavaScript
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-3e5ab201", "chunk-2d0aa9e6"], { "127f": function(e, t, a) {
|
|
"use strict";
|
|
a.d(t, "a", (function() {
|
|
return r;
|
|
}));
|
|
var r = function() {
|
|
function e2() {
|
|
return (65536 * (1 + Math.random()) | 0).toString(16).substring(1);
|
|
}
|
|
return "".concat(+/* @__PURE__ */ new Date(), "_").concat(e2()).concat(e2());
|
|
};
|
|
}, "3b7c": function(e, t, a) {
|
|
"use strict";
|
|
a("73cd");
|
|
}, "4e10": function(e, t, a) {
|
|
"use strict";
|
|
a("96f9");
|
|
}, "58a7": function(e, t, a) {
|
|
"use strict";
|
|
a.r(t);
|
|
var r = function() {
|
|
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
|
return a2("div", { staticClass: "app-container bgHeight" }, [a2("el-tabs", { staticClass: "thirdTabs", attrs: { value: e2.activeName, type: "border-card" }, on: { "tab-click": e2.handleClick } }, [a2("el-tab-pane", { attrs: { label: "车场", name: "parkingList" } }, [a2("parkingList")], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "车辆", name: "HEWC" } }, [a2("waitTab")], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "车位", name: "HEWC2" } }, [a2("waitTab")], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "空间网格", name: "spatialRegion" } }, [a2("spatialRegion")], 1)], 1)], 1);
|
|
}, n = [], o = a("69b7"), i = function() {
|
|
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
|
return a2("div", { staticClass: "app-container bgHeight" }, [a2("div", { ref: "box", staticClass: "searchStys transition_dom" }, [a2("el-form", { ref: "query", attrs: { model: e2.query } }, [a2("div", { ref: "form_box", staticClass: "searchBar" }, [a2("div", { staticClass: "searchInput" }, [a2("el-row", { attrs: { gutter: 20 } }, [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "carParkNo" } }, [a2("el-input", { attrs: { placeholder: "车场ID", clearable: "" }, model: { value: e2.query.carParkNo, callback: function(t3) {
|
|
e2.$set(e2.query, "carParkNo", t3);
|
|
}, expression: "query.carParkNo" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "manageName" } }, [a2("el-input", { attrs: { placeholder: "请输入车场管理员", clearable: "" }, model: { value: e2.query.manageName, callback: function(t3) {
|
|
e2.$set(e2.query, "manageName", t3);
|
|
}, expression: "query.manageName" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "carPackName" } }, [a2("el-input", { attrs: { placeholder: "请输入车场名称", clearable: "" }, model: { value: e2.query.carPackName, callback: function(t3) {
|
|
e2.$set(e2.query, "carPackName", t3);
|
|
}, expression: "query.carPackName" } })], 1)], 1)], 1)], 1), e2._v(" "), a2("div", { staticClass: "searchBtn" }, [a2("el-form-item", [a2("el-button", { on: { click: function(t3) {
|
|
return e2.resetForm("query");
|
|
} } }, [e2._v("重置")]), e2._v(" "), a2("el-button", { attrs: { type: "primary" }, on: { click: e2.onSearch } }, [e2._v("查询")]), e2._v(" "), e2.is_show || "80px" == e2.height ? e2._e() : a2("el-button", { attrs: { type: "text" }, on: { click: e2.upAndDown } }, [e2._v("展开"), a2("i", { staticClass: "el-icon-arrow-down" })]), e2._v(" "), e2.is_show && "80px" != e2.height ? a2("el-button", { attrs: { type: "text" }, on: { click: e2.upAndDown } }, [e2._v("收起"), a2("i", { staticClass: "el-icon-arrow-up" })]) : e2._e()], 1)], 1)])])], 1), e2._v(" "), a2("el-card", { staticClass: "box-card", attrs: { shadow: "never" } }, [a2("div", { staticClass: "planLst", attrs: { slot: "header" }, slot: "header" }, [a2("span", { staticClass: "planTitle" }, [e2._v("车场列表")]), e2._v(" "), a2("div", [a2("el-button", { attrs: { disabled: e2.listTable.length > 0, type: "primary" }, on: { click: e2.addPark } }, [e2._v("新增")])], 1)]), e2._v(" "), a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: e2.listLoading, expression: "listLoading" }], attrs: { border: "", data: e2.listTable, "header-cell-style": e2.headClass, "tooltip-effect": "dark" } }, [a2("el-table-column", { attrs: { label: "#", align: "center", type: "index", width: "50" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "carParkNo", label: "车场ID", width: "130" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "carPackName", label: "车场名称", width: "200" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "projectName", label: "项目名称", width: "200" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "deviceBrand", label: "车场设备品牌", width: "140" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "车场管理网址", "min-width": "250" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("el-link", { attrs: { type: "primary" }, on: { click: function(a3) {
|
|
return e2.openLink(t3.row.manageUrl);
|
|
} } }, [e2._v(e2._s(t3.row.manageUrl))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "manageName", label: "车场管理员", width: "120" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "月卡数量", width: "100" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(t3.row.monthCardRemain) + "/" + e2._s(t3.row.monthCardTotal))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "临停数量", width: "100" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(t3.row.temporaryCardRemain) + "/" + e2._s(t3.row.temporaryCardTotal))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "预约状态" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("el-switch", { attrs: { "active-value": 1, "inactive-value": 2 }, on: { change: function(a3) {
|
|
return e2.setState(t3.row);
|
|
} }, model: { value: t3.row.state, callback: function(a3) {
|
|
e2.$set(t3.row, "state", a3);
|
|
}, expression: "scope.row.state" } })];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { label: "操作", align: "center", width: "100", fixed: "right" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { size: "text" }, on: { click: function(a3) {
|
|
return e2.jumpDetail(t3.row);
|
|
} } }, [e2._v("查看")])];
|
|
} }]) })], 1), e2._v(" "), a2("div", { staticClass: "paginations" }, [a2("Pagination", { attrs: { total: e2.pageTotal }, on: { handleCurrentChange: e2.handleCurrentChange, handleSizeChange: e2.handleSizeChange } })], 1)], 1), e2._v(" "), a2("addPark", { ref: "addPark", attrs: { projectName: e2.projectName, projectId: e2.projectUuid } })], 1);
|
|
}, s = [], l = a("333d"), c = function() {
|
|
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
|
return a2("div", [a2("el-dialog", { staticClass: "dialogHead", attrs: { title: "添加车场", visible: e2.addParkVisible, width: "30%", "close-on-click-modal": false, "close-on-press-escape": false }, on: { "update:visible": function(t3) {
|
|
e2.addParkVisible = t3;
|
|
} } }, [a2("el-form", { ref: "addForm", attrs: { model: e2.addForm, rules: e2.rules, "label-width": "120px" } }, [a2("el-form-item", { attrs: { label: "项目名称", prop: "projectName" } }, [a2("el-input", { attrs: { value: e2.addForm.projectName, disabled: "" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "车场供应商", prop: "supplier" } }, [a2("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: "请选择车场供应商", clearable: "" }, model: { value: e2.addForm.supplier, callback: function(t3) {
|
|
e2.$set(e2.addForm, "supplier", t3);
|
|
}, expression: "addForm.supplier" } }, e2._l(e2.depotSupplierList, (function(e3) {
|
|
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
|
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "车场编号", prop: "carParkNo" } }, [a2("el-input", { model: { value: e2.addForm.carParkNo, callback: function(t3) {
|
|
e2.$set(e2.addForm, "carParkNo", "string" === typeof t3 ? t3.trim() : t3);
|
|
}, expression: "addForm.carParkNo" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "车场名称", prop: "carPackName" } }, [a2("el-input", { model: { value: e2.addForm.carPackName, callback: function(t3) {
|
|
e2.$set(e2.addForm, "carPackName", "string" === typeof t3 ? t3.trim() : t3);
|
|
}, expression: "addForm.carPackName" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "车场设备品牌", prop: "deviceBrand" } }, [a2("el-input", { model: { value: e2.addForm.deviceBrand, callback: function(t3) {
|
|
e2.$set(e2.addForm, "deviceBrand", "string" === typeof t3 ? t3.trim() : t3);
|
|
}, expression: "addForm.deviceBrand" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "车场管理员", prop: "manageName" } }, [a2("el-input", { model: { value: e2.addForm.manageName, callback: function(t3) {
|
|
e2.$set(e2.addForm, "manageName", "string" === typeof t3 ? t3.trim() : t3);
|
|
}, expression: "addForm.manageName" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "车场管理网址", prop: "manageUrl" } }, [a2("el-input", { model: { value: e2.addForm.manageUrl, callback: function(t3) {
|
|
e2.$set(e2.addForm, "manageUrl", "string" === typeof t3 ? t3.trim() : t3);
|
|
}, expression: "addForm.manageUrl" } })], 1)], 1), e2._v(" "), a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(t3) {
|
|
e2.addParkVisible = false;
|
|
} } }, [e2._v("取 消")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: function(t3) {
|
|
return e2.addPark("addForm");
|
|
} } }, [e2._v("确 定")])], 1)], 1)], 1);
|
|
}, u = [], d = a("dce5"), p = a("722f"), m = { name: "addPark", props: ["projectName", "projectId"], data: function() {
|
|
return { depotSupplierList: d["M"], addParkVisible: false, addForm: { manageName: "", projectUuid: "", projectName: "", carParkNo: "", carPackName: "", deviceBrand: "", manageUrl: "", supplier: "" }, rules: { projectName: [{ required: true, message: "请选择项目", trigger: "blur" }], manageName: [{ required: true, message: "请输入车场管理员", trigger: "blur" }], supplier: { required: true, message: "请输入车场供应商", trigger: "change" }, carParkNo: [{ required: true, message: "请输入车场编号", trigger: "blur" }], carPackName: [{ required: true, message: "请输入车场名称", trigger: "blur" }], deviceBrand: [{ required: true, message: "请输入车场设备品牌", trigger: "blur" }], manageUrl: [{ required: true, message: "请输入车场管理网址", trigger: "blur" }, { pattern: /(http|https):\/\/([\w.]+\/?)\S*/, message: "必须以http,https开头,且需符合URL规范,检查格式是否正确", trigger: "blur" }] } };
|
|
}, mounted: function() {
|
|
this.addForm.projectName = this.projectName, this.addForm.projectUuid = this.projectId;
|
|
}, methods: { init: function(e2) {
|
|
"add" == e2 && (this.addParkVisible = true);
|
|
}, addPark: function(e2) {
|
|
var t2 = this;
|
|
this.$refs[e2].validate((function(e3) {
|
|
e3 && Object(p["d"])(t2.addForm).then((function(e4) {
|
|
t2.$message({ message: "添加成功", type: "success" }), t2.successCallback();
|
|
}));
|
|
}));
|
|
}, successCallback: function() {
|
|
this.addParkVisible = false, this.$parent.getlistData();
|
|
} } }, f = m, h = (a("3b7c"), a("829d")), g = Object(h["a"])(f, c, u, false, null, "94805fb0", null), b = g.exports, v = { name: "personnelList", components: { Pagination: l["a"], addPark: b }, data: function() {
|
|
return { is_show: false, height: "", addParkDis: false, projectUuid: "", projectName: "", isShow: false, pageTotal: 0, listLoading: false, listTable: [], query: { pageNumber: 1, pageSize: 10, carParkNo: null, carPackName: null, manageName: null } };
|
|
}, beforeRouteEnter: function(e2, t2, a2) {
|
|
a2((function(t3) {
|
|
var a3 = e2.name, r2 = JSON.parse(sessionStorage.getItem(a3));
|
|
r2 && (t3.query = r2), t3.getlistData();
|
|
}));
|
|
}, created: function() {
|
|
this.projectUuid = this.$store.state.community_uuid, this.projectName = this.$store.state.community_name, this.getlistData();
|
|
}, mounted: function() {
|
|
this.getRealHeight();
|
|
}, methods: { addPark: function() {
|
|
this.$refs.addPark.init("add");
|
|
}, jumpDetail: function(e2) {
|
|
this.$router.replace({ path: "/viewInfo/parkingDetail?carParkNo=" + e2.carParkNo });
|
|
}, getlistData: function() {
|
|
var e2 = this;
|
|
this.listLoading = true, this.query.projectUuid = this.projectUuid, Object(p["q"])(this.query).then((function(t2) {
|
|
e2.listTable = t2.data.records, e2.pageTotal = t2.data.rowsCount, sessionStorage.setItem(e2.$route.name, JSON.stringify(e2.query));
|
|
})), this.listLoading = false;
|
|
}, onSearch: function() {
|
|
this.query.pageNumber = 1, this.getlistData();
|
|
}, handleSizeChange: function(e2) {
|
|
this.query.pageSize = e2.limit, this.query.pageNumber = 1, this.getlistData();
|
|
}, handleCurrentChange: function(e2) {
|
|
this.query.pageNumber = e2.currentPage, this.getlistData();
|
|
}, resetForm: function(e2) {
|
|
this.$refs[e2].resetFields(), this.query.pageNumber = 1, this.getlistData();
|
|
}, openLink: function(e2) {
|
|
window.open(e2, "_blank");
|
|
}, handleSlow: function() {
|
|
this.isShow = !this.isShow;
|
|
}, headClass: function() {
|
|
return "text-align:center;background:#FAFAFA;";
|
|
}, upAndDown: function() {
|
|
this.is_show ? this.$refs.box.style.height = "80px" : this.$refs.box.style.height = this.height, this.is_show = !this.is_show;
|
|
}, getRealHeight: function() {
|
|
this.$nextTick((function() {
|
|
this.height = this.$refs.form_box.offsetHeight + "px";
|
|
}));
|
|
}, setState: function(e2) {
|
|
var t2 = this;
|
|
Object(p["s"])(e2).then((function(e3) {
|
|
0 == e3.code && t2.$message({ message: "修改成功", type: "success" });
|
|
}));
|
|
} } }, k = v, _ = (a("f40a"), Object(h["a"])(k, i, s, false, null, "b2c336b0", null)), j = _.exports, y = a("d0eb"), N = { name: "houseManage", components: { waitTab: o["a"], parkingList: j, spatialRegion: y["default"] }, data: function() {
|
|
return { activeName: "parkingList" };
|
|
}, methods: { handleClick: function(e2) {
|
|
var t2 = e2.paneName;
|
|
this.activeName = t2;
|
|
} } }, w = N, P = (a("4e10"), Object(h["a"])(w, r, n, false, null, "82de6e92", null));
|
|
t["default"] = P.exports;
|
|
}, "722f": function(e, t, a) {
|
|
"use strict";
|
|
a.d(t, "q", (function() {
|
|
return n;
|
|
})), a.d(t, "d", (function() {
|
|
return o;
|
|
})), a.d(t, "b", (function() {
|
|
return i;
|
|
})), a.d(t, "i", (function() {
|
|
return s;
|
|
})), a.d(t, "h", (function() {
|
|
return l;
|
|
})), a.d(t, "g", (function() {
|
|
return c;
|
|
})), a.d(t, "p", (function() {
|
|
return u;
|
|
})), a.d(t, "c", (function() {
|
|
return d;
|
|
})), a.d(t, "s", (function() {
|
|
return p;
|
|
})), a.d(t, "a", (function() {
|
|
return m;
|
|
})), a.d(t, "k", (function() {
|
|
return f;
|
|
})), a.d(t, "e", (function() {
|
|
return h;
|
|
})), a.d(t, "n", (function() {
|
|
return g;
|
|
})), a.d(t, "l", (function() {
|
|
return b;
|
|
})), a.d(t, "o", (function() {
|
|
return v;
|
|
})), a.d(t, "m", (function() {
|
|
return k;
|
|
})), a.d(t, "r", (function() {
|
|
return _;
|
|
})), a.d(t, "f", (function() {
|
|
return j;
|
|
})), a.d(t, "j", (function() {
|
|
return y;
|
|
}));
|
|
var r = a("b775");
|
|
function n(e2) {
|
|
return Object(r["a"])({ url: "/appproject/CarPark/pageList", method: "post", data: e2 });
|
|
}
|
|
function o(e2) {
|
|
return Object(r["a"])({ url: "/appproject/CarPark/create", method: "post", data: e2 });
|
|
}
|
|
function i(e2) {
|
|
return Object(r["a"])({ url: "/appproject/CarMonthlyCard/pageList", method: "post", data: e2 });
|
|
}
|
|
function s(e2) {
|
|
return Object(r["a"])({ url: "/appproject/CarPark/findMsgTypeByProjectId", method: "post", data: e2 });
|
|
}
|
|
function l(e2) {
|
|
return Object(r["a"])({ url: "/appproject/CarPark/findCarTypeByProjectId", method: "post", data: e2 });
|
|
}
|
|
function c(e2) {
|
|
return Object(r["a"])({ url: "/appproject/CarPark/findCarAreaByProjectId", method: "post", data: e2 });
|
|
}
|
|
function u(e2) {
|
|
return Object(r["a"])({ url: "/appproject/CarBusinessRel/pageList", method: "post", data: e2 });
|
|
}
|
|
function d(e2) {
|
|
return Object(r["a"])({ url: "/appproject/CarInOutRecord/pageList", method: "post", data: e2 });
|
|
}
|
|
function p(e2) {
|
|
return Object(r["a"])({ url: "/appproject/CarPark/update", method: "post", data: e2 });
|
|
}
|
|
function m(e2) {
|
|
return Object(r["a"])({ url: "/appproject/CarPark/ListCarLanes", method: "post", data: e2 });
|
|
}
|
|
function f(e2) {
|
|
return Object(r["a"])({ url: "/appproject/PurchaseInfo/listAccount", method: "post", data: e2 });
|
|
}
|
|
function h(e2) {
|
|
return Object(r["a"])({ url: "/appproject/PurchaseInfo/findById", method: "post", data: e2 });
|
|
}
|
|
function g(e2) {
|
|
return Object(r["a"])({ url: "/appproject/CarInfo/listByUserId", method: "post", data: e2 });
|
|
}
|
|
function b(e2) {
|
|
return Object(r["a"])({ url: "/appproject/OrderInfo/listByAccountNo", method: "post", data: e2 });
|
|
}
|
|
function v(e2) {
|
|
return Object(r["a"])({ url: "/appproject/PurchaseInfo/pageList", method: "post", data: e2 });
|
|
}
|
|
function k(e2) {
|
|
return Object(r["a"])({ url: "/appproject/PurchaseInfo/listByPurchaseId", method: "post", data: e2 });
|
|
}
|
|
function _(e2) {
|
|
return Object(r["a"])({ url: "/appproject/OrderAccountTradeInfo/list", method: "post", data: e2 });
|
|
}
|
|
function j(e2) {
|
|
return Object(r["a"])({ url: "/appproject/CarPark/findByProjectUUID", method: "post", data: e2 });
|
|
}
|
|
function y(e2) {
|
|
return Object(r["a"])({ url: "/appproject/CarPark/findSpaceTypeByProjectUuid", method: "post", data: e2 });
|
|
}
|
|
}, "73cd": function(e, t, a) {
|
|
}, "96f9": function(e, t, a) {
|
|
}, "9af8": function(e, t, a) {
|
|
e.exports = a.p + "static/img/waiting.46d85db3.png";
|
|
}, e6e6: function(e, t, a) {
|
|
}, f40a: function(e, t, a) {
|
|
"use strict";
|
|
a("e6e6");
|
|
} }]);
|