642 lines
43 KiB
JavaScript
642 lines
43 KiB
JavaScript
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-332bda58"], { "14e8": function(t, e, n) {
|
||
}, "2d76": function(t, e, n) {
|
||
}, "445c": function(t, e, n) {
|
||
"use strict";
|
||
n("bf4a");
|
||
}, "6ea68": function(t, e, n) {
|
||
"use strict";
|
||
n("14e8");
|
||
}, "6fbc": 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: "app-container cardSet" }, [t2.list ? n2("div", [n2("el-tabs", { attrs: { type: "border-card" }, model: { value: t2.homeActive, callback: function(e3) {
|
||
t2.homeActive = e3;
|
||
}, expression: "homeActive" } }, [n2("el-tab-pane", { attrs: { label: "Banner管理", name: "banner" } }, ["banner" === t2.homeActive ? n2("Banner", { ref: "bannerList", on: { clickBatch: t2.addBannerBatch, clickDetail: t2.setDetail } }) : t2._e()], 1), t2._v(" "), n2("el-tab-pane", { attrs: { label: "常用功能管理", name: "projectServiceConfig" } }, ["projectServiceConfig" === t2.homeActive ? n2("projectServiceConfig") : t2._e()], 1)], 1)], 1) : t2._e(), t2._v(" "), t2.add ? n2("Add", { ref: "addBanner", attrs: { type: t2.addType }, on: { back: t2.backList } }) : t2._e(), t2._v(" "), t2.detail ? n2("Detail", { ref: "bannerDetail", attrs: { info: t2.detailInfo }, on: { back: t2.backList, clickAdd: t2.addBannerItem } }) : t2._e()], 1);
|
||
}, i = [], r = function() {
|
||
var t2 = this, e2 = t2.$createElement, n2 = t2._self._c || e2;
|
||
return n2("div", [n2("div", { staticClass: "topSearch" }, [n2("el-form", { ref: "searchInfo", staticClass: "demo-form-inline", attrs: { inline: true, model: t2.searchInfo } }, [n2("el-form-item", { attrs: { label: "小区名称", prop: "name" } }, [n2("el-input", { attrs: { clearable: "", placeholder: "小区名称" }, model: { value: t2.searchInfo.name, callback: function(e3) {
|
||
t2.$set(t2.searchInfo, "name", e3);
|
||
}, expression: "searchInfo.name" } })], 1), t2._v(" "), n2("el-form-item", [n2("el-button", { on: { click: function(e3) {
|
||
return t2.resetForm("searchInfo");
|
||
} } }, [t2._v("重置")]), t2._v(" "), n2("el-button", { attrs: { type: "primary" }, on: { click: t2.onSearch } }, [t2._v("查询")])], 1)], 1)], 1), t2._v(" "), n2("div", { staticClass: "tableBtn" }, [n2("el-button", { attrs: { type: "primary" }, on: { click: t2.addAll } }, [t2._v("批量设置")])], 1), t2._v(" "), n2("div", [n2("el-table", { attrs: { "header-cell-style": { background: "#eef1f6", color: "#606266" }, data: t2.tableData, align: "center", border: "" } }, [n2("el-table-column", { attrs: { label: "序号", align: "center", width: "80", fixed: "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
||
return [n2("span", [t2._v(t2._s(e3.$index + (t2.searchInfo.pageNumber - 1) * t2.searchInfo.pageSize + 1))])];
|
||
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "物业公司名称", fixed: "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
||
return [t2._v(t2._s(e3.row.topOrganizationalName || "-"))];
|
||
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "项目名称" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
||
return [t2._v(t2._s(e3.row.name || "-"))];
|
||
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "轮播图" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
||
return [n2("el-image", { staticStyle: { width: "150px", height: "75px" }, attrs: { src: t2.getImgFirst(e3.row.imageUrls), "preview-src-list": t2.getImgList(e3.row.imageUrls) } }, [n2("span", { staticStyle: { "line-height": "75px" }, attrs: { slot: "error" }, slot: "error" }, [t2._v("-")])])];
|
||
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "发布时间" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
||
return [t2._v(t2._s(e3.row.imageUrlsUpdateTime || "-"))];
|
||
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "操作", fixed: "right", width: "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
||
return [n2("el-button", { attrs: { type: "text" }, on: { click: function(n3) {
|
||
return t2.setDetail(e3.row);
|
||
} } }, [t2._v("设置")])];
|
||
} }]) })], 1)], 1), t2._v(" "), n2("div", { staticClass: "paginationSet" }, [n2("el-pagination", { attrs: { background: "", "current-page": t2.searchInfo.pageNumber, "page-sizes": [10, 30, 50, 100], "page-size": t2.searchInfo.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: t2.total }, on: { "size-change": t2.handleSizeChange, "current-change": t2.handleCurrentChange } })], 1)]);
|
||
}, o = [], s = (n("fc02"), n("f6b0")), c = { data: function() {
|
||
return { total: 0, searchInfo: { pageNumber: 1, pageSize: 10, name: "", organizationalName: "", isSlideshow: 1 }, tableData: [] };
|
||
}, mounted: function() {
|
||
this.searchInfo.organizationalName = JSON.parse(localStorage.getItem("companyInfo")).fullName, this.getList();
|
||
}, methods: { getList: function() {
|
||
var t2 = this;
|
||
Object(s["b"])(this.searchInfo).then((function(e2) {
|
||
t2.tableData = e2.data.records, t2.total = e2.data.rowsCount;
|
||
}));
|
||
}, getImgList: function(t2) {
|
||
if (t2) {
|
||
var e2 = t2.split(",");
|
||
return e2;
|
||
}
|
||
return [];
|
||
}, getImgFirst: function(t2) {
|
||
if (t2) {
|
||
var e2 = t2.split(",");
|
||
return e2[0];
|
||
}
|
||
return "";
|
||
}, onSearch: function() {
|
||
this.searchInfo.pageNumber = 1, this.getList();
|
||
}, resetForm: function(t2) {
|
||
this.$refs[t2].resetFields(), this.searchInfo.pageNumber = 1, this.getList();
|
||
}, handleSizeChange: function(t2) {
|
||
this.searchInfo.pageSize = t2, this.searchInfo.pageNumber = 1, this.getList();
|
||
}, handleCurrentChange: function(t2) {
|
||
this.searchInfo.pageNumber = t2, this.getList();
|
||
}, addAll: function() {
|
||
this.$emit("clickBatch");
|
||
}, setDetail: function(t2) {
|
||
this.$emit("clickDetail", t2);
|
||
} } }, l = c, u = (n("cfb9"), n("829d")), d = Object(u["a"])(l, r, o, false, null, null, null), h = d.exports, f = function() {
|
||
var t2 = this, e2 = t2.$createElement, n2 = t2._self._c || e2;
|
||
return n2("div", [n2("div", { staticClass: "backBar" }, [n2("el-card", { attrs: { shadow: "never" } }, [n2("el-page-header", { attrs: { content: "轮播图设置" }, on: { back: t2.goBack } })], 1)], 1), t2._v(" "), n2("div", [n2("el-card", { staticClass: "box-card", attrs: { shadow: "never" } }, [n2("el-form", { ref: "addForm", staticClass: "demo-ruleForm", staticStyle: { "margin-top": "20px" }, attrs: { model: t2.addForm, rules: t2.rules, "label-width": "100px" } }, [n2("el-form-item", { staticClass: "addContent", attrs: { label: "轮播图", prop: "name" } }, [n2("el-upload", { class: { AddBtn: !t2.showBtn }, attrs: { "list-type": "picture-card", action: "", limit: 6, "http-request": t2.uploadImg, "on-success": t2.handleAvatarSuccess, "before-upload": t2.beforeAvatarUpload, "on-remove": t2.removeImg, accept: ".jpg,.jpeg,.png", "file-list": t2.addForm.imgList } }, [n2("i", { staticClass: "el-icon-plus" }), t2._v(" "), n2("div", { staticClass: "el-upload__tip", attrs: { slot: "tip" }, slot: "tip" }, [n2("div", { staticClass: "uploadTip" }, [t2._v("1. 图片允许分辨率为690*300,格式为jpg/png文件")]), t2._v(" "), n2("div", { staticClass: "uploadTip" }, [t2._v("2. 每次最多上传6张图片,且不超过500kb")])])])], 1), t2._v(" "), "item" == t2.type ? n2("el-form-item", { attrs: { label: "适用范围", prop: "name" } }, [n2("el-input", { staticStyle: { width: "500px" }, attrs: { disabled: true }, model: { value: t2.testTxt, callback: function(e3) {
|
||
t2.testTxt = e3;
|
||
}, expression: "testTxt" } })], 1) : t2._e(), t2._v(" "), "batch" == t2.type ? n2("el-form-item", { attrs: { label: "适用范围", prop: "name" } }, [n2("div", { staticClass: "selectCommunity" }, [t2.projectList.length > 0 ? n2("el-card", { staticClass: "box-card", staticStyle: { "margin-top": "20px" }, attrs: { shadow: "never" } }, [n2("div", { staticClass: "clearfix", attrs: { slot: "header" }, slot: "header" }, [n2("span", [t2._v("小区")])]), t2._v(" "), n2("div", [n2("el-checkbox", { attrs: { indeterminate: t2.isIndeterminateProject }, on: { change: t2.changeAllProject }, model: { value: t2.checkAllProject, callback: function(e3) {
|
||
t2.checkAllProject = e3;
|
||
}, expression: "checkAllProject" } }, [t2._v("全选")]), t2._v(" "), n2("div", { staticStyle: { margin: "15px 0" } }), t2._v(" "), n2("el-checkbox-group", { on: { change: t2.changeProject }, model: { value: t2.checkedProjectList, callback: function(e3) {
|
||
t2.checkedProjectList = e3;
|
||
}, expression: "checkedProjectList" } }, t2._l(t2.projectList, (function(e3) {
|
||
return n2("el-checkbox", { key: e3.id, attrs: { label: e3.uuid } }, [t2._v(t2._s(e3.name))]);
|
||
})), 1)], 1)]) : t2._e()], 1)]) : t2._e(), t2._v(" "), n2("el-form-item", [n2("el-button", { attrs: { type: "primary" }, on: { click: t2.onSubmit } }, [t2._v("确认发布")]), t2._v(" "), n2("el-button", { on: { click: t2.goBack } }, [t2._v("取消")])], 1)], 1)], 1)], 1)]);
|
||
}, p = [], m = (n("d31c"), n("b5aa"), n("3ef1")), g = (n("aa18"), n("1bc7"), n("a450"), n("90e7")), b = n("e862"), v = { props: ["type"], data: function() {
|
||
return { testTxt: "物业公司-小区", companyList: [], companyIds: [], checkAllCompany: false, isIndeterminateCompany: false, checkedCompanyList: [], projectList: [], projectIds: [], checkAllProject: false, isIndeterminateProject: false, checkedProjectList: [], showBtn: true, addForm: { imgList: [] }, rules: {}, info: {} };
|
||
}, mounted: function() {
|
||
this.getAllCompany();
|
||
}, methods: { init: function(t2) {
|
||
console.log(t2), this.info = t2, this.testTxt = "".concat(this.info.topOrganizationalName).concat("-" + this.info.name);
|
||
}, getAllCompany: function() {
|
||
var t2 = JSON.parse(localStorage.getItem("companyInfo")).osId;
|
||
this.checkedCompanyList = [t2], this.getSelectProject(t2);
|
||
}, getSelectProject: function(t2) {
|
||
var e2 = this;
|
||
Object(b["f"])({ id: t2 }).then((function(t3) {
|
||
t3 && t3.data ? (e2.projectList = t3.data, t3.data.forEach((function(t4) {
|
||
e2.projectIds.push(t4.uuid);
|
||
})), e2.checkAllProject = true, e2.checkedProjectList = e2.projectIds) : (e2.projectList = [], e2.projectIds = [], e2.checkedProjectList = [], e2.selectProject = []);
|
||
}));
|
||
}, beforeAvatarUpload: function(t2) {
|
||
var e2 = this, n2 = ["image/jpeg", "image/png"], a2 = n2.includes(t2.type), i2 = t2.size / 1024 < 500;
|
||
if (!a2) return this.$message.error("上传图片只能是 jpg、png 格式!"), false;
|
||
if (!i2) return this.$message.error("上传图片大小不能超过 500kb !"), false;
|
||
var r2 = new Promise((function(e3, n3) {
|
||
var a3 = 690, i3 = 300, r3 = window.URL || window.webkitURL, o2 = new Image();
|
||
o2.onload = function() {
|
||
var t3 = o2.width == a3 && o2.height == i3;
|
||
t3 ? e3() : n3();
|
||
}, o2.src = r3.createObjectURL(t2);
|
||
})).then((function() {
|
||
return t2;
|
||
}), (function() {
|
||
return e2.$message.error("上传图片尺寸不符合,推荐分辨率 690*300 !"), Promise.reject();
|
||
}));
|
||
return a2 && i2 && r2;
|
||
}, uploadImg: (function() {
|
||
var t2 = Object(m["a"])(regeneratorRuntime.mark((function t3(e3) {
|
||
var n2, a2, i2, r2, o2;
|
||
return regeneratorRuntime.wrap((function(t4) {
|
||
while (1) switch (t4.prev = t4.next) {
|
||
case 0:
|
||
return t4.prev = 0, n2 = e3.file, a2 = new FormData(), a2.append("file", n2), t4.next = 1, Object(g["o"])(a2);
|
||
case 1:
|
||
if (i2 = t4.sent, !i2 || !i2.data || 0 !== i2.data.code) {
|
||
t4.next = 2;
|
||
break;
|
||
}
|
||
r2 = i2.data.data.fullUrl, e3.onSuccess({ name: n2.name, url: r2 }, n2), this.$message.success("图片上传成功"), t4.next = 3;
|
||
break;
|
||
case 2:
|
||
throw new Error(i2.data.message || "上传失败");
|
||
case 3:
|
||
t4.next = 5;
|
||
break;
|
||
case 4:
|
||
t4.prev = 4, o2 = t4["catch"](0), console.error("上传失败:", o2), this.$message.error("图片上传失败: ".concat(o2.message || "未知错误")), e3.onError("上传失败");
|
||
case 5:
|
||
case "end":
|
||
return t4.stop();
|
||
}
|
||
}), t3, this, [[0, 4]]);
|
||
})));
|
||
function e2(e3) {
|
||
return t2.apply(this, arguments);
|
||
}
|
||
return e2;
|
||
})(), handleAvatarSuccess: function(t2, e2, n2) {
|
||
t2 && t2.url && (e2.url = t2.url, e2.response = t2), this.addForm.imgList = n2.map((function(t3) {
|
||
return t3.response && t3.response.url && (t3.url = t3.response.url), t3.url && t3.url.startsWith("blob:") && t3.response && t3.response.url && (t3.url = t3.response.url), t3;
|
||
})), this.addForm.imgList.length >= 6 && (this.showBtn = false);
|
||
}, removeImg: function(t2, e2) {
|
||
this.addForm.imgList = e2, this.addForm.imgList.length >= 6 ? this.showBtn = false : this.showBtn = true;
|
||
}, changeAllCompany: function(t2) {
|
||
this.checkedCompanyList = t2 ? this.companyIds : [], this.isIndeterminateCompany = false, this.projectList = [], this.projectIds = [];
|
||
}, changeCompany: function(t2) {
|
||
var e2 = t2.length;
|
||
this.checkAllCompany = e2 === this.companyIds.length, this.isIndeterminateCompany = e2 > 0 && e2 < this.companyIds.length, this.checkedCompanyList = t2, 1 == t2.length ? this.getSelectProject(t2[0]) : (this.projectIds = [], this.projectList = [], this.checkedProjectList = [], this.selectProject = []);
|
||
}, changeAllProject: function(t2) {
|
||
this.checkedProjectList = t2 ? this.projectIds : [], this.selectProject = t2 ? this.projectIds : [], this.isIndeterminateProject = false;
|
||
}, changeProject: function(t2) {
|
||
var e2 = t2.length;
|
||
this.checkAllProject = e2 === this.projectIds.length, this.isIndeterminateProject = e2 > 0 && e2 < this.projectIds.length, this.checkedProjectList = t2;
|
||
}, onSubmit: function() {
|
||
if (!this.addForm.imgList.length) return this.$message({ message: "请先上传banner图!", type: "warning" }), false;
|
||
var t2 = [];
|
||
if (this.addForm.imgList.forEach((function(e3) {
|
||
var n3 = "";
|
||
e3.response && e3.response.url ? n3 = e3.response.url : e3.url && !e3.url.startsWith("blob:") && (n3 = e3.url), n3 ? t2.push({ imageName: e3.name, imageUrl: n3 }) : console.warn("图片未上传成功,跳过:", e3.name);
|
||
})), 0 === t2.length) return this.$message({ message: "请确保所有图片都已上传成功!", type: "warning" }), false;
|
||
if ("item" == this.type) {
|
||
var e2 = { companyIdList: [this.info.id], imageList: t2, projectUuidList: [this.info.uuid], createBy: "系统管理员", setSource: 3 };
|
||
this.postAdd(e2);
|
||
} else {
|
||
console.log(this.checkedCompanyList), console.log(this.checkedProjectList);
|
||
var n2 = {};
|
||
if (!(this.checkedCompanyList.length > 0)) return this.$message({ message: "请选择物业公司和小区!", type: "warning" }), false;
|
||
if (1 == this.checkedCompanyList.length && this.checkedProjectList.length <= 0) return this.$message({ message: "请选择当前公司下的小区!", type: "warning" }), false;
|
||
n2 = 1 == this.checkedCompanyList.length ? { companyIdList: this.checkedCompanyList, projectUuidList: this.checkedProjectList, imageList: t2, createBy: "系统管理员", setSource: 3 } : { companyIdList: this.checkedCompanyList, imageList: t2, createBy: "系统管理员", setSource: 3 }, this.postAdd(n2);
|
||
}
|
||
}, postAdd: function(t2) {
|
||
var e2 = this;
|
||
Object(b["a"])(t2).then((function(t3) {
|
||
e2.$message({ type: "success", message: "上传成功!" }), e2.goBack();
|
||
}));
|
||
}, goBack: function() {
|
||
"item" == this.type ? this.$emit("back", "item") : this.$emit("back", "batch");
|
||
} } }, y = v, k = (n("c78e"), Object(u["a"])(y, f, p, false, null, null, null)), _ = k.exports, j = function() {
|
||
var t2 = this, e2 = t2.$createElement, n2 = t2._self._c || e2;
|
||
return n2("div", { staticClass: "detailContent" }, [n2("div", { staticClass: "backBar" }, [n2("el-card", { attrs: { shadow: "never" } }, [n2("el-page-header", { attrs: { content: "轮播设置【" + t2.info.topOrganizationalName + "-" + t2.info.name + "】" }, on: { back: t2.goBack } })], 1)], 1), t2._v(" "), n2("el-tabs", { attrs: { type: "border-card" }, model: { value: t2.detailActive, callback: function(e3) {
|
||
t2.detailActive = e3;
|
||
}, expression: "detailActive" } }, [n2("el-tab-pane", { attrs: { label: "当前轮播图", name: "active" } }, [n2("div", { staticClass: "tableBtn" }, [n2("el-button", { attrs: { type: "warning" }, on: { click: t2.stopAllBanner } }, [t2._v("全部停用")])], 1), t2._v(" "), n2("div", [n2("el-table", { ref: "table", attrs: { "header-cell-style": { background: "#eef1f6", color: "#606266" }, data: t2.usedList, align: "center", "row-key": "time", border: "" } }, [n2("el-table-column", { attrs: { label: "序号", type: "index", align: "center", width: "80" } }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "轮播图" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
||
return [n2("el-image", { staticStyle: { width: "150px", height: "75px" }, attrs: { src: e3.row.imageUrl, "preview-src-list": [e3.row.imageUrl] } }, [n2("span", { staticStyle: { "line-height": "75px" }, attrs: { slot: "error" }, slot: "error" }, [t2._v("-")])])];
|
||
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "启用时间" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
||
return [t2._v(t2._s(e3.row.updateDate || "-"))];
|
||
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "启用人" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
||
return [t2._v(t2._s(e3.row.createBy || "-"))];
|
||
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "操作", width: "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
||
return [n2("el-button", { staticClass: "textBtn-err", attrs: { type: "text" }, on: { click: function(n3) {
|
||
return t2.stopBanner(e3.row);
|
||
} } }, [t2._v("停用")])];
|
||
} }]) })], 1)], 1)]), t2._v(" "), n2("el-tab-pane", { attrs: { label: "轮播图图集", name: "list" } }, [n2("div", { staticClass: "tableBtn" }, [n2("el-button", { attrs: { type: "danger" }, on: { click: t2.batchDelBanner } }, [t2._v("批量删除")]), t2._v(" "), n2("el-button", { attrs: { type: "primary" }, on: { click: t2.addItem } }, [t2._v("新增")])], 1), t2._v(" "), n2("div", [n2("el-table", { attrs: { "header-cell-style": { background: "#eef1f6", color: "#606266" }, data: t2.allList, align: "center", border: "" }, on: { "selection-change": t2.selectionChange } }, [n2("el-table-column", { attrs: { align: "center", type: "selection", width: "55" } }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "轮播图" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
||
return [n2("el-image", { staticStyle: { width: "150px", height: "75px" }, attrs: { src: e3.row.imageUrl, "preview-src-list": [e3.row.imageUrl] } }, [n2("span", { staticStyle: { "line-height": "75px" }, attrs: { slot: "error" }, slot: "error" }, [t2._v("-")])])];
|
||
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "状态" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
||
return [n2("span", [t2._v(t2._s(1 == e3.row.isEnable ? "已启用" : "未启用"))])];
|
||
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "创建时间" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
||
return [t2._v(t2._s(e3.row.updateDate || "-"))];
|
||
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "创建人" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
||
return [t2._v(t2._s(e3.row.createBy || "-"))];
|
||
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "操作", width: "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
||
return [n2("el-button", { class: 0 == e3.row.isEnable ? "textBtn-success" : "textBtn-err", attrs: { type: "text" }, on: { click: function(n3) {
|
||
return t2.startBanner(e3.row);
|
||
} } }, [t2._v(t2._s(0 == e3.row.isEnable ? "启用" : "停用"))]), t2._v(" "), n2("el-button", { attrs: { type: "text" }, on: { click: function(n3) {
|
||
return t2.delBanner(e3.row);
|
||
} } }, [t2._v("删除")])];
|
||
} }]) })], 1)], 1), t2._v(" "), n2("div", { staticClass: "paginationSet" }, [n2("el-pagination", { attrs: { background: "", "current-page": t2.imgList.pageNumber, "page-sizes": [10, 30, 50, 100], "page-size": t2.imgList.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: t2.total }, on: { "size-change": t2.handleSizeChange, "current-change": t2.handleCurrentChange } })], 1)])], 1)], 1);
|
||
}, L = [], I = n("e7e2"), C = n.n(I), S = { props: ["info"], data: function() {
|
||
return { total: 0, imgList: { pageNumber: 1, pageSize: 10 }, usedList: [], allList: [], selectIds: [], detailActive: "active" };
|
||
}, mounted: function() {
|
||
this.getAllList(), this.getUsedList();
|
||
var t2 = document.querySelector(".el-table__body-wrapper tbody"), e2 = this;
|
||
C.a.create(t2, { onEnd: function(t3) {
|
||
e2.usedList.splice(t3.newIndex, 0, e2.usedList.splice(t3.oldIndex, 1)[0]);
|
||
var n2 = e2.usedList.slice(0);
|
||
e2.usedList = [], e2.$nextTick((function() {
|
||
e2.usedList = n2, e2.postSort(e2.usedList);
|
||
}));
|
||
} });
|
||
}, methods: { getAllList: function() {
|
||
var t2 = this;
|
||
this.imgList.companyId = this.info.id, this.imgList.projectUuid = this.info.uuid, Object(b["c"])(this.imgList).then((function(e2) {
|
||
t2.allList = e2.data.records, t2.total = e2.data.rowsCount;
|
||
}));
|
||
}, getUsedList: function() {
|
||
var t2 = this, e2 = { companyId: this.info.id, projectUuid: this.info.uuid, isEnable: 1 };
|
||
Object(b["c"])(e2).then((function(e3) {
|
||
t2.usedList = e3.data.records;
|
||
}));
|
||
}, postSort: function(t2) {
|
||
var e2 = this, n2 = t2;
|
||
n2.forEach((function(t3, e3) {
|
||
t3.sort = e3 + 1;
|
||
})), Object(b["g"])({ sortList: n2 }).then((function(t3) {
|
||
e2.$message({ message: "排序设置成功", type: "success" }), e2.getUsedList();
|
||
}));
|
||
}, stopBanner: function(t2) {
|
||
var e2 = this;
|
||
this.$confirm("此操作将停用该启用的banner图, 是否继续?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then((function() {
|
||
var n2 = { id: t2.id, projectUuid: e2.info.uuid, stopAll: 0 };
|
||
Object(b["h"])(n2).then((function(t3) {
|
||
e2.$message({ type: "success", message: "停用设置成功!" }), e2.getAllList(), e2.getUsedList();
|
||
}));
|
||
})).catch((function() {
|
||
}));
|
||
}, stopAllBanner: function() {
|
||
var t2 = this;
|
||
this.$confirm("此操作将停用所有已启用的banner图, 是否继续?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then((function() {
|
||
var e2 = { stopAll: 1, projectUuid: t2.info.uuid };
|
||
Object(b["h"])(e2).then((function(e3) {
|
||
t2.$message({ type: "success", message: "停用所有设置成功!" }), t2.getAllList(), t2.getUsedList();
|
||
}));
|
||
})).catch((function() {
|
||
}));
|
||
}, startBanner: function(t2) {
|
||
var e2 = this, n2 = { id: t2.id, projectUuid: this.info.uuid };
|
||
Object(b["d"])(n2).then((function(t3) {
|
||
e2.$message({ type: "success", message: "启用设置成功!" }), e2.getAllList(), e2.getUsedList();
|
||
}));
|
||
}, selectionChange: function(t2) {
|
||
var e2 = this;
|
||
this.selectIds = [], t2.length > 0 ? t2.forEach((function(t3) {
|
||
e2.selectIds.push(t3.id);
|
||
})) : this.selectIds = [];
|
||
}, batchDelBanner: function() {
|
||
var t2 = this;
|
||
if (!this.selectIds.length) return this.$message({ message: "请选择要删除的banner图!", type: "warning" }), false;
|
||
this.$confirm("此操作将删除所选的banner图, 是否继续?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then((function() {
|
||
t2.delItem(t2.selectIds);
|
||
})).catch((function() {
|
||
}));
|
||
}, delBanner: function(t2) {
|
||
var e2 = this;
|
||
this.$confirm("此操作将删除当前banner图, 是否继续?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then((function() {
|
||
e2.delItem([t2.id]);
|
||
})).catch((function() {
|
||
}));
|
||
}, delItem: function(t2) {
|
||
var e2 = this, n2 = { idList: t2 };
|
||
Object(b["b"])(n2).then((function(t3) {
|
||
e2.$message({ type: "success", message: "删除成功!" }), e2.getAllList(), e2.getUsedList();
|
||
}));
|
||
}, handleSizeChange: function(t2) {
|
||
this.imgList.pageSize = t2, this.imgList.pageNumber = 1, this.getAllList();
|
||
}, handleCurrentChange: function(t2) {
|
||
this.imgList.pageNumber = t2, this.getAllList();
|
||
}, addItem: function() {
|
||
this.$emit("clickAdd", this.info);
|
||
}, goBack: function() {
|
||
this.$emit("back");
|
||
} } }, w = S, x = (n("445c"), Object(u["a"])(w, j, L, false, null, null, null)), O = x.exports, B = function() {
|
||
var t2 = this, e2 = t2.$createElement, n2 = t2._self._c || e2;
|
||
return n2("div", [t2.configTop ? n2("div", [n2("div", { staticClass: "topSearch" }, [n2("el-form", { ref: "searchInfo", staticClass: "demo-form-inline", attrs: { inline: true, model: t2.searchInfo } }, [n2("el-form-item", { attrs: { label: "小区名称", prop: "name" } }, [n2("el-input", { attrs: { clearable: "", placeholder: "小区名称" }, model: { value: t2.searchInfo.name, callback: function(e3) {
|
||
t2.$set(t2.searchInfo, "name", e3);
|
||
}, expression: "searchInfo.name" } })], 1), t2._v(" "), n2("el-form-item", { attrs: { label: "服务名称", prop: "frequentlyServiceName" } }, [n2("el-input", { attrs: { clearable: "", placeholder: "服务名称" }, model: { value: t2.searchInfo.frequentlyServiceName, callback: function(e3) {
|
||
t2.$set(t2.searchInfo, "frequentlyServiceName", e3);
|
||
}, expression: "searchInfo.frequentlyServiceName" } })], 1), t2._v(" "), n2("el-form-item", [n2("el-button", { on: { click: function(e3) {
|
||
return t2.resetForm("searchInfo");
|
||
} } }, [t2._v("重置")]), t2._v(" "), n2("el-button", { attrs: { type: "primary" }, on: { click: t2.onSearch } }, [t2._v("查询")])], 1)], 1)], 1), t2._v(" "), n2("div", [n2("el-table", { attrs: { "header-cell-style": { background: "#eef1f6", color: "#606266" }, data: t2.tableData, align: "center", border: "" } }, [n2("el-table-column", { attrs: { label: "序号", align: "center", width: "80", fixed: "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
||
return [n2("span", [t2._v(t2._s(e3.$index + (t2.searchInfo.pageNumber - 1) * t2.searchInfo.pageSize + 1))])];
|
||
} }], null, false, 757905432) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "物业公司名称", fixed: "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
||
return [t2._v(t2._s(e3.row.topOrganizationalName || "-"))];
|
||
} }], null, false, 2331134506) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "项目名称" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
||
return [t2._v(t2._s(e3.row.name || "-"))];
|
||
} }], null, false, 2577856951) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "常用服务", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
||
return [t2._v(t2._s(e3.row.projectServiceNames || "-"))];
|
||
} }], null, false, 1400937388) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "操作", fixed: "right", width: "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
||
return [n2("el-button", { attrs: { type: "text" }, on: { click: function(n3) {
|
||
return t2.setDetail(e3.row);
|
||
} } }, [t2._v("编辑")])];
|
||
} }], null, false, 261008517) })], 1)], 1), t2._v(" "), n2("div", { staticClass: "paginationSet" }, [n2("el-pagination", { attrs: { background: "", "current-page": t2.searchInfo.pageNumber, "page-sizes": [10, 30, 50, 100], "page-size": t2.searchInfo.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: t2.total }, on: { "size-change": t2.handleSizeChange, "current-change": t2.handleCurrentChange } })], 1)]) : t2._e(), t2._v(" "), t2.config ? n2("div", [n2("config", { attrs: { info: t2.detailInfo }, on: { back: t2.backList } })], 1) : t2._e()]);
|
||
}, P = [], A = function() {
|
||
var t2 = this, e2 = t2.$createElement, n2 = t2._self._c || e2;
|
||
return n2("div", { staticClass: "detailContent" }, [n2("div", { staticClass: "backBar" }, [n2("el-card", { attrs: { shadow: "never" } }, [n2("el-page-header", { attrs: { content: "常用服务配置" }, on: { back: t2.goBack } })], 1)], 1), t2._v(" "), n2("el-card", { staticClass: "box-card" }, [n2("div", { staticClass: "clearfix", attrs: { slot: "header" }, slot: "header" }, [n2("div", { staticClass: "cardHeader" }, [n2("div", { staticClass: "header-notes" }, [n2("div", { staticClass: "header-notes-title" }, [t2._v("物业公司:")]), n2("el-input", { attrs: { disabled: "", readonly: "" }, model: { value: t2.info.topOrganizationalName, callback: function(e3) {
|
||
t2.$set(t2.info, "topOrganizationalName", e3);
|
||
}, expression: "info.topOrganizationalName" } })], 1), t2._v(" "), n2("div", { staticClass: "header-notes" }, [n2("div", { staticClass: "header-notes-title" }, [t2._v("项目名称:")]), n2("el-input", { attrs: { disabled: "", readonly: "" }, model: { value: t2.info.name, callback: function(e3) {
|
||
t2.$set(t2.info, "name", e3);
|
||
}, expression: "info.name" } })], 1)]), t2._v(" "), n2("div", { staticClass: "cardHeader" }, [n2("span", [t2._v("设置常用服务 "), n2("i", { staticClass: "el-icon-question notes-icons" }), n2("i", { staticClass: "notes" }, [t2._v("必须且仅能设置4个常用服务")])])])]), t2._v(" "), t2.tableData.serviceList ? n2("div", { staticClass: "serviceList" }, t2._l(t2.tableData.serviceList[0], (function(e3, a2) {
|
||
return n2("div", { key: a2, staticClass: "serviceItem" }, [n2("div", { staticClass: "serviceItemTitle" }, [t2._v(t2._s("1" === a2 ? "基础服务" : "2" === a2 ? "公共服务" : "生活服务") + ":")]), t2._v(" "), n2("div", { staticClass: "serviceItemConfiglist" }, t2._l(e3, (function(e4, a3) {
|
||
return n2("el-checkbox", { key: a3, attrs: { "true-label": 1, "false-label": 0, disabled: true === t2.checkBoxDisabled && 0 === e4.isFrequently }, on: { change: function(n3) {
|
||
return t2.setThisIsFrequently(n3, e4);
|
||
} }, model: { value: e4.isFrequently, callback: function(n3) {
|
||
t2.$set(e4, "isFrequently", n3);
|
||
}, expression: "it.isFrequently" } }, [t2._v(t2._s(e4.name))]);
|
||
})), 1)]);
|
||
})), 0) : n2("div", { staticClass: "nodata-notes" }, [t2._v("\n 暂无已启用的服务,请在对应项目配置相关服务\n ")])])], 1);
|
||
}, $ = [], z = (n("b3d7"), n("f747")), N = { props: ["info"], data: function() {
|
||
return { searchInfo: { pageNumber: 1, pageSize: 10, name: "", status: "", type: "", projectUuid: "" }, total: 0, tableData: {}, planCategory: [{ value: 1, label: "基础服务" }, { value: 2, label: "公共服务" }, { value: 3, label: "生活服务" }], taskStatus: [{ value: 1, label: "已启用" }, { value: 2, label: "未启用" }], hasSelect: 0 };
|
||
}, computed: { checkBoxDisabled: function() {
|
||
for (var t2 = this.tableData.serviceList[0], e2 = 0, n2 = 0, a2 = Object.values(t2); n2 < a2.length; n2++) {
|
||
var i2 = a2[n2];
|
||
i2.map((function(t3) {
|
||
1 === t3.isFrequently && ++e2;
|
||
}));
|
||
}
|
||
return this.hasSelect = e2, !(e2 < 4);
|
||
} }, mounted: function() {
|
||
this.searchInfo.projectUuid = this.info.uuid, this.getList();
|
||
}, methods: { getList: function() {
|
||
var t2 = this;
|
||
Object(z["c"])(this.searchInfo).then((function(e2) {
|
||
0 === e2.code && (t2.tableData = e2.data);
|
||
}));
|
||
}, onSearch: function() {
|
||
this.searchInfo.pageNumber = 1, this.getList();
|
||
}, resetForm: function(t2) {
|
||
this.$refs[t2].resetFields(), this.searchInfo.pageNumber = 1, this.getList();
|
||
}, handleSizeChange: function(t2) {
|
||
this.searchInfo.pageSize = t2, this.searchInfo.pageNumber = 1, this.getList();
|
||
}, handleCurrentChange: function(t2) {
|
||
this.searchInfo.pageNumber = t2, this.getList();
|
||
}, addItem: function() {
|
||
this.$emit("clickAdd", this.info);
|
||
}, goBack: function() {
|
||
this.$emit("back");
|
||
}, setThisIsFrequently: function(t2, e2) {
|
||
var n2 = this;
|
||
console.log("val", t2), console.log("row", e2);
|
||
var a2 = { isFrequently: 1 === t2 ? 1 : 2, id: e2.id, projectUuid: this.info.uuid };
|
||
if (this.hasSelect > 4) return this.$message({ type: "error", message: "设置常用服务,必须且仅能设置4个常用服务" }), false;
|
||
Object(z["h"])(a2).then((function(t3) {
|
||
0 === t3.code ? n2.$message({ type: "success", message: "更新成功" }) : n2.$message({ type: "error", message: "更新失败" });
|
||
}));
|
||
} } }, U = N, T = (n("6ea68"), Object(u["a"])(U, A, $, false, null, null, null)), D = T.exports, F = { components: { config: D }, data: function() {
|
||
return { configTop: true, config: false, total: 0, searchInfo: { pageNumber: 1, pageSize: 10, name: "", organizationalName: "", frequentlyServiceName: "", isServiceList: 1 }, tableData: [], detailInfo: {} };
|
||
}, mounted: function() {
|
||
this.searchInfo.organizationalName = JSON.parse(localStorage.getItem("companyInfo")).fullName, this.getList();
|
||
}, methods: { getList: function() {
|
||
var t2 = this;
|
||
Object(z["d"])(this.searchInfo).then((function(e2) {
|
||
t2.tableData = e2.data.records, t2.total = e2.data.rowsCount;
|
||
}));
|
||
}, onSearch: function() {
|
||
this.searchInfo.pageNumber = 1, this.getList();
|
||
}, resetForm: function(t2) {
|
||
this.$refs[t2].resetFields(), this.searchInfo.pageNumber = 1, this.getList();
|
||
}, handleSizeChange: function(t2) {
|
||
this.searchInfo.pageSize = t2, this.searchInfo.pageNumber = 1, this.getList();
|
||
}, handleCurrentChange: function(t2) {
|
||
this.searchInfo.pageNumber = t2, this.getList();
|
||
}, backList: function() {
|
||
this.configTop = true, this.config = false, this.getList();
|
||
}, setDetail: function(t2) {
|
||
this.detailInfo = t2, this.configTop = false, this.config = true;
|
||
} } }, E = F, q = (n("d31a"), Object(u["a"])(E, B, P, false, null, null, null)), R = q.exports, M = { components: { Banner: h, Add: _, Detail: O, projectServiceConfig: R }, data: function() {
|
||
return { list: true, add: false, detail: false, homeActive: "banner", detailInfo: {} };
|
||
}, mounted: function() {
|
||
}, methods: { addBannerItem: function(t2) {
|
||
console.log(t2), this.addType = "item", this.list = false, this.add = true, this.detail = false, this.$nextTick((function() {
|
||
this.$refs.addBanner.init(t2);
|
||
}));
|
||
}, addBannerBatch: function() {
|
||
this.addType = "batch", this.list = false, this.add = true, this.detail = false;
|
||
}, setDetail: function(t2) {
|
||
this.detailInfo = t2, this.list = false, this.add = false, this.detail = true;
|
||
}, backList: function(t2) {
|
||
"item" == t2 ? (this.list = false, this.add = false, this.detail = true, this.$nextTick((function() {
|
||
this.$refs.bannerDetail.detailActive = "list", this.$refs.bannerDetail.getAllList(), this.$refs.bannerDetail.getUsedList();
|
||
}))) : (this.list = true, this.add = false, this.detail = false, this.$nextTick((function() {
|
||
this.$refs.bannerList.getList();
|
||
})));
|
||
} } }, J = M, H = (n("8b49"), Object(u["a"])(J, a, i, false, null, null, null));
|
||
e["default"] = H.exports;
|
||
}, "8b49": function(t, e, n) {
|
||
"use strict";
|
||
n("fe2e");
|
||
}, "90e7": function(t, e, n) {
|
||
"use strict";
|
||
n.d(e, "g", (function() {
|
||
return i;
|
||
})), n.d(e, "m", (function() {
|
||
return r;
|
||
})), n.d(e, "f", (function() {
|
||
return o;
|
||
})), n.d(e, "l", (function() {
|
||
return s;
|
||
})), n.d(e, "h", (function() {
|
||
return c;
|
||
})), n.d(e, "n", (function() {
|
||
return l;
|
||
})), n.d(e, "a", (function() {
|
||
return u;
|
||
})), n.d(e, "b", (function() {
|
||
return d;
|
||
})), n.d(e, "c", (function() {
|
||
return h;
|
||
})), n.d(e, "e", (function() {
|
||
return f;
|
||
})), n.d(e, "d", (function() {
|
||
return p;
|
||
})), n.d(e, "i", (function() {
|
||
return m;
|
||
})), n.d(e, "j", (function() {
|
||
return g;
|
||
})), n.d(e, "o", (function() {
|
||
return b;
|
||
})), n.d(e, "k", (function() {
|
||
return v;
|
||
}));
|
||
var a = n("b775");
|
||
function i(t2) {
|
||
return Object(a["a"])({ url: "/hakocompany/DeductionInfo/findById", method: "post", data: t2 });
|
||
}
|
||
function r(t2) {
|
||
return Object(a["a"])({ url: "/hakocompany/DeductionInfo/update", method: "post", data: t2 });
|
||
}
|
||
function o(t2) {
|
||
return Object(a["a"])({ url: "/hakocompany/CollectionInfoApi/findById", method: "post", data: t2 });
|
||
}
|
||
function s(t2) {
|
||
return Object(a["a"])({ url: "/hakocompany/CollectionInfoApi/update", method: "post", data: t2 });
|
||
}
|
||
function c(t2) {
|
||
return Object(a["a"])({ url: "/hakocompany/ChargePushConfigApi/findById", method: "post", data: t2 });
|
||
}
|
||
function l(t2) {
|
||
return Object(a["a"])({ url: "/hakocompany/ChargePushConfigApi/update", method: "post", data: t2 });
|
||
}
|
||
function u(t2) {
|
||
return Object(a["a"])({ url: "/company/ProjectSatisfactionConfig/pageList", method: "post", data: t2 });
|
||
}
|
||
function d(t2) {
|
||
return Object(a["a"])({ url: "/company/ProjectSatisfactionConfig/update", method: "post", data: t2 });
|
||
}
|
||
function h(t2) {
|
||
return Object(a["a"])({ url: "/hakocompany/CockpitConfig/create", method: "post", data: t2 });
|
||
}
|
||
function f(t2) {
|
||
return Object(a["a"])({ url: "/hakocompany/CockpitConfig/findByCompanyIdAndType", method: "post", data: t2 });
|
||
}
|
||
function p(t2) {
|
||
return Object(a["a"])({ url: "/hakocompany/CockpitConfig/sceneMenuList", method: "post", data: t2 });
|
||
}
|
||
function m(t2) {
|
||
return Object(a["a"])({ url: "/hakocompany/ProjectConfig/pageList", method: "post", data: t2 });
|
||
}
|
||
function g(t2) {
|
||
return Object(a["a"])({ url: "/hakocompany/ProjectConfig/updateExponentByProjectUuid", method: "post", data: t2 });
|
||
}
|
||
function b(t2, e2) {
|
||
return Object(a["a"])({ url: "/oss/upload", isFile: true, isReturnResponse: true, headers: { "Content-Type": "multipart/form-data;charset=UTF-8" }, method: "post", data: t2, onUploadProgress: e2 && e2.onUploadProgress });
|
||
}
|
||
function v(t2) {
|
||
return Object(a["a"])({ url: "/hakocompany/ProjectConfig/updateVisitPollRateByProjectUuid", method: "post", data: t2 });
|
||
}
|
||
}, b3d7: function(t, e, n) {
|
||
var a = n("e99b"), i = n("d3ef")(false);
|
||
a(a.S, "Object", { values: function(t2) {
|
||
return i(t2);
|
||
} });
|
||
}, bf4a: function(t, e, n) {
|
||
}, c78e: function(t, e, n) {
|
||
"use strict";
|
||
n("e7c6");
|
||
}, cfb9: function(t, e, n) {
|
||
"use strict";
|
||
n("d24a");
|
||
}, d24a: function(t, e, n) {
|
||
}, d31a: function(t, e, n) {
|
||
"use strict";
|
||
n("2d76");
|
||
}, d3ef: function(t, e, n) {
|
||
var a = n("26df"), i = n("93ca"), r = n("3471"), o = n("35d4").f;
|
||
t.exports = function(t2) {
|
||
return function(e2) {
|
||
var n2, s = r(e2), c = i(s), l = c.length, u = 0, d = [];
|
||
while (l > u) n2 = c[u++], a && !o.call(s, n2) || d.push(t2 ? [n2, s[n2]] : s[n2]);
|
||
return d;
|
||
};
|
||
};
|
||
}, e7c6: function(t, e, n) {
|
||
}, e862: function(t, e, n) {
|
||
"use strict";
|
||
n.d(e, "a", (function() {
|
||
return i;
|
||
})), n.d(e, "e", (function() {
|
||
return r;
|
||
})), n.d(e, "i", (function() {
|
||
return o;
|
||
})), n.d(e, "f", (function() {
|
||
return s;
|
||
})), n.d(e, "c", (function() {
|
||
return c;
|
||
})), n.d(e, "g", (function() {
|
||
return l;
|
||
})), n.d(e, "d", (function() {
|
||
return u;
|
||
})), n.d(e, "h", (function() {
|
||
return d;
|
||
})), n.d(e, "b", (function() {
|
||
return h;
|
||
}));
|
||
var a = n("b775");
|
||
function i(t2) {
|
||
return Object(a["a"])({ url: "/hakocompany/ProjectImageManagement/batchSetMultiCompany", method: "post", data: t2 });
|
||
}
|
||
function r(t2) {
|
||
return Object(a["a"])({ url: "/company/organizationalStructure/findById", method: "post", data: t2 });
|
||
}
|
||
function o(t2) {
|
||
return Object(a["a"])({ url: "/company/organizationalStructure/updateAgeConf", method: "post", data: t2 });
|
||
}
|
||
function s(t2) {
|
||
return Object(a["a"])({ url: "/company/organizationalStructure/findProjectListByCompanyId", method: "post", data: t2 });
|
||
}
|
||
function c(t2) {
|
||
return Object(a["a"])({ url: "/hakocompany/ProjectImageManagement/pageList", method: "post", data: t2 });
|
||
}
|
||
function l(t2) {
|
||
return Object(a["a"])({ url: "/hakocompany/ProjectImageManagement/sort", method: "post", data: t2 });
|
||
}
|
||
function u(t2) {
|
||
return Object(a["a"])({ url: "/hakocompany/ProjectImageManagement/enable", method: "post", data: t2 });
|
||
}
|
||
function d(t2) {
|
||
return Object(a["a"])({ url: "/hakocompany/ProjectImageManagement/stop", method: "post", data: t2 });
|
||
}
|
||
function h(t2) {
|
||
return Object(a["a"])({ url: "/hakocompany/ProjectImageManagement/deleteBatch", method: "post", data: t2 });
|
||
}
|
||
}, f6b0: function(t, e, n) {
|
||
"use strict";
|
||
n.d(e, "b", (function() {
|
||
return i;
|
||
})), n.d(e, "a", (function() {
|
||
return r;
|
||
}));
|
||
var a = n("b775");
|
||
function i(t2) {
|
||
return Object(a["a"])({ url: "/company/organizationalStructure/findAllPageList", method: "post", data: t2 });
|
||
}
|
||
function r(t2) {
|
||
return Object(a["a"])({ url: "/hakocompany/TaskStatisticsReport/exportProjectReport", method: "POST", responseType: "blob", data: t2 });
|
||
}
|
||
}, f747: function(t, e, n) {
|
||
"use strict";
|
||
n.d(e, "b", (function() {
|
||
return i;
|
||
})), n.d(e, "a", (function() {
|
||
return r;
|
||
})), n.d(e, "k", (function() {
|
||
return o;
|
||
})), n.d(e, "e", (function() {
|
||
return s;
|
||
})), n.d(e, "i", (function() {
|
||
return c;
|
||
})), n.d(e, "j", (function() {
|
||
return l;
|
||
})), n.d(e, "c", (function() {
|
||
return u;
|
||
})), n.d(e, "h", (function() {
|
||
return d;
|
||
})), n.d(e, "d", (function() {
|
||
return h;
|
||
})), n.d(e, "f", (function() {
|
||
return f;
|
||
})), n.d(e, "g", (function() {
|
||
return p;
|
||
}));
|
||
var a = n("b775");
|
||
function i(t2) {
|
||
return Object(a["a"])({ url: "/hakocompany/ProjectServiceConfig/pageList", method: "post", data: t2 });
|
||
}
|
||
function r(t2) {
|
||
return Object(a["a"])({ url: "/hakocompany/ProjectServiceConfig/create", method: "post", data: t2 });
|
||
}
|
||
function o(t2) {
|
||
return Object(a["a"])({ url: "/hakocompany/ProjectServiceConfig/update", method: "post", data: t2 });
|
||
}
|
||
function s(t2) {
|
||
return Object(a["a"])({ url: "/hakocompany/ProjectServiceConfig/configPageList", method: "post", data: t2 });
|
||
}
|
||
function c(t2) {
|
||
return Object(a["a"])({ url: "/hakocompany/ProjectServiceConfigRela/enable", method: "post", data: t2 });
|
||
}
|
||
function l(t2) {
|
||
return Object(a["a"])({ url: "/hakocompany/ProjectServiceConfigRela/stop", method: "post", data: t2 });
|
||
}
|
||
function u(t2) {
|
||
return Object(a["a"])({ url: "/hakocompany/ProjectServiceConfigRela/findEnableListByProjectUuid", method: "post", data: t2 });
|
||
}
|
||
function d(t2) {
|
||
return Object(a["a"])({ url: "/hakocompany/ProjectServiceConfigRela/setFrequently", method: "post", data: t2 });
|
||
}
|
||
function h(t2) {
|
||
return Object(a["a"])({ url: "/company/organizationalStructure/projectServicePageList", method: "post", data: t2 });
|
||
}
|
||
function f(t2) {
|
||
return Object(a["a"])({ url: "/hakocompany/MeteringConfig/pageList", method: "post", data: t2 });
|
||
}
|
||
function p(t2) {
|
||
return Object(a["a"])({ url: "/hakocompany/MeteringConfig/update", method: "post", data: t2 });
|
||
}
|
||
}, fe2e: function(t, e, n) {
|
||
} }]);
|