1057 lines
64 KiB
JavaScript
1057 lines
64 KiB
JavaScript
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-9ea4229c"], { "07aa": function(t, e, n) {
|
|
"use strict";
|
|
n("42af");
|
|
}, "0b37": function(t, e, n) {
|
|
"use strict";
|
|
n.d(e, "a", (function() {
|
|
return a;
|
|
})), n.d(e, "b", (function() {
|
|
return i;
|
|
})), n.d(e, "c", (function() {
|
|
return o;
|
|
})), n.d(e, "d", (function() {
|
|
return r;
|
|
})), n.d(e, "f", (function() {
|
|
return s;
|
|
})), n.d(e, "e", (function() {
|
|
return c;
|
|
}));
|
|
n("8dee"), n("e680"), n("4057"), n("fc02");
|
|
function a(t2, e2) {
|
|
var n2, a2, i2, o2;
|
|
try {
|
|
n2 = t2.toString().split(".")[1].length;
|
|
} catch (s2) {
|
|
n2 = 0;
|
|
}
|
|
try {
|
|
a2 = e2.toString().split(".")[1].length;
|
|
} catch (s2) {
|
|
a2 = 0;
|
|
}
|
|
if (o2 = Math.abs(n2 - a2), i2 = Math.pow(10, Math.max(n2, a2)), o2 > 0) {
|
|
var r2 = Math.pow(10, o2);
|
|
n2 > a2 ? (t2 = Number(t2.toString().replace(".", "")), e2 = Number(e2.toString().replace(".", "")) * r2) : (t2 = Number(t2.toString().replace(".", "")) * r2, e2 = Number(e2.toString().replace(".", "")));
|
|
} else t2 = Number(t2.toString().replace(".", "")), e2 = Number(e2.toString().replace(".", ""));
|
|
return (t2 + e2) / i2;
|
|
}
|
|
function i(t2, e2) {
|
|
var n2, a2, i2 = 0, o2 = 0;
|
|
try {
|
|
i2 = t2.toString().split(".")[1].length;
|
|
} catch (r2) {
|
|
}
|
|
try {
|
|
o2 = e2.toString().split(".")[1].length;
|
|
} catch (r2) {
|
|
}
|
|
return n2 = Number(t2.toString().replace(".", "")), a2 = Number(e2.toString().replace(".", "")), n2 / a2 * Math.pow(10, o2 - i2);
|
|
}
|
|
function o(t2, e2) {
|
|
var n2 = 0, a2 = t2.toString(), i2 = e2.toString();
|
|
try {
|
|
n2 += a2.split(".")[1].length;
|
|
} catch (o2) {
|
|
}
|
|
try {
|
|
n2 += i2.split(".")[1].length;
|
|
} catch (o2) {
|
|
}
|
|
return Number(a2.replace(".", "")) * Number(i2.replace(".", "")) / Math.pow(10, n2);
|
|
}
|
|
function r(t2, e2) {
|
|
var n2, a2, i2, o2;
|
|
try {
|
|
n2 = t2.toString().split(".")[1].length;
|
|
} catch (r2) {
|
|
n2 = 0;
|
|
}
|
|
try {
|
|
a2 = e2.toString().split(".")[1].length;
|
|
} catch (r2) {
|
|
a2 = 0;
|
|
}
|
|
return i2 = Math.pow(10, Math.max(n2, a2)), o2 = n2 >= a2 ? n2 : a2, (Math.round(t2 * i2 - e2 * i2) / i2).toFixed(o2);
|
|
}
|
|
function s(t2, e2) {
|
|
if (0 == t2 && (t2 = 0), /[^[\-|0-9][0-9]*]/.test(t2)) return "0";
|
|
if (null == t2 || "" === t2) return "";
|
|
t2 = t2.toString().replace(/^(-\d*)$/, "$1."), t2 = t2.toString().replace(/^(\d*)$/, "$1."), t2 = (t2 + "00").replace(/(\d*\.\d\d)\d*/, "$1"), t2 = t2.replace(".", ",");
|
|
var n2 = /(\d)(\d{3},)/;
|
|
while (n2.test(t2)) t2 = t2.replace(n2, "$1,$2");
|
|
if (t2 = t2.replace(/,(\d\d)$/, ".$1"), 0 === e2 || void 0 === e2) {
|
|
var a2 = t2.split(".");
|
|
"00" == a2[1] && (t2 = a2[0]);
|
|
}
|
|
return t2;
|
|
}
|
|
function c(t2, e2) {
|
|
t2 = t2.toString();
|
|
var n2 = t2.indexOf(".");
|
|
return t2 = -1 !== n2 ? t2.substring(0, e2 + n2 + 1) : t2.substring(0), parseFloat(t2).toFixed(e2);
|
|
}
|
|
}, "0edc": 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 bgHeight" }, [n2("el-tabs", { attrs: { value: t2.activeName, type: "border-card" }, on: { "tab-click": t2.handleClick } }, [n2("el-tab-pane", { attrs: { label: "通知记录", name: "notificationRecord" } }, ["notificationRecord" === t2.activeName ? n2("notificationRecord") : t2._e()], 1), t2._v(" "), n2("el-tab-pane", { attrs: { label: "通知类型", name: "notificationType" } }, ["notificationType" === t2.activeName ? n2("notificationType") : t2._e()], 1)], 1)], 1);
|
|
}, i = [], o = function() {
|
|
var t2 = this, e2 = t2.$createElement, n2 = t2._self._c || e2;
|
|
return n2("div", { staticClass: "kidneyBeanList" }, [t2.infoList ? n2("div", [n2("el-card", { staticClass: "box-card" }, [n2("el-row", [n2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [n2("el-input", { attrs: { clearable: "", placeholder: "通知标题" }, model: { value: t2.query.title, callback: function(e3) {
|
|
t2.$set(t2.query, "title", e3);
|
|
}, expression: "query.title" } })], 1), t2._v(" "), n2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [n2("el-select", { attrs: { clearable: "", placeholder: "通知类型" }, model: { value: t2.query.typeId, callback: function(e3) {
|
|
t2.$set(t2.query, "typeId", e3);
|
|
}, expression: "query.typeId" } }, t2._l(t2.noticeTypeList, (function(t3, e3) {
|
|
return n2("el-option", { key: e3, attrs: { label: t3.typeName, value: t3.id } });
|
|
})), 1)], 1), t2._v(" "), n2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [n2("el-select", { attrs: { clearable: "", placeholder: "通知状态" }, model: { value: t2.query.sendStatus, callback: function(e3) {
|
|
t2.$set(t2.query, "sendStatus", e3);
|
|
}, expression: "query.sendStatus" } }, t2._l(t2.statusList, (function(t3, e3) {
|
|
return n2("el-option", { key: e3, attrs: { label: t3.label, value: t3.value } });
|
|
})), 1)], 1), t2._v(" "), n2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [n2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(e3) {
|
|
return t2.resetForm();
|
|
} } }, [t2._v("重置")]), t2._v(" "), n2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: t2.onSearch } }, [t2._v("查询")])], 1)], 1)], 1), t2._v(" "), n2("el-card", { staticClass: "box-card", staticStyle: { "margin-top": "15px" } }, [n2("div", { staticClass: "planLst" }, [n2("span", { staticStyle: { color: "#2f2c2c", "font-size": "16px" } }, [t2._v("通知列表")]), t2._v(" "), n2("span", { staticClass: "add" }, [n2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: t2.addNotices } }, [t2._v("新增通知")])], 1)]), t2._v(" "), n2("el-table", { staticStyle: { width: "100%", "margin-top": "15px" }, attrs: { border: "", data: t2.tableData, "header-cell-style": t2.headClass } }, [n2("el-table-column", { attrs: { label: "#", align: "center", width: "50" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(e3.$index + (t2.query.pageNumber - 1) * t2.query.pageSize + 1) + "\n ")])];
|
|
} }], null, false, 3311124033) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", prop: "title", label: "项目", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v(t2._s(t2.setProjectNames(e3.row.projectUuids)))];
|
|
} }], null, false, 898388628) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", prop: "title", label: "标题", "show-overflow-tooltip": "" } }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", prop: "typeId", label: "类型" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v(t2._s(t2._f("getItemType")(e3.row.typeId, t2.noticeTypeList, "id", "typeName")))];
|
|
} }], null, false, 2857791444) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", prop: "haveReadCount", label: "已读" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("el-button", { attrs: { slot: "reference", type: "text" }, on: { click: function(n3) {
|
|
return t2.read(e3.row);
|
|
} }, slot: "reference" }, [t2._v(t2._s(e3.row.haveReadCount ? e3.row.haveReadCount : 0))])];
|
|
} }], null, false, 4197952859) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", prop: "sendTime", label: "操作时间" } }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", prop: "sendStatus", label: "状态" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v(t2._s(t2._f("getItemType")(e3.row.sendStatus, t2.statusList)))];
|
|
} }], null, false, 1135773581) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "操作" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: function(n3) {
|
|
return t2.renewals(e3.row, "view");
|
|
} } }, [t2._v("查看")]), t2._v(" "), 1 != e3.row.sendStatus ? n2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: function(n3) {
|
|
return t2.renewals(e3.row, "edit");
|
|
} } }, [t2._v("编辑")]) : t2._e(), t2._v(" "), 1 === e3.row.sendStatus ? n2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: function(n3) {
|
|
return t2.updataNotice(e3.row);
|
|
} } }, [t2._v("撤回")]) : t2._e()];
|
|
} }], null, false, 1897567844) })], 1), t2._v(" "), n2("div", { staticClass: "paginations" }, [n2("el-pagination", { attrs: { background: "", "current-page": t2.query.pageNumber, "page-sizes": [10, 20, 30, 50], "page-size": t2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: t2.pageTotal }, on: { "update:currentPage": function(e3) {
|
|
return t2.$set(t2.query, "pageNumber", e3);
|
|
}, "update:current-page": function(e3) {
|
|
return t2.$set(t2.query, "pageNumber", e3);
|
|
}, "size-change": t2.handleSizeChange, "current-change": t2.handleCurrentChange } })], 1)], 1), t2._v(" "), n2("readTable", { ref: "readTable", attrs: { showRead: t2.showRead }, on: { readDialogClose: t2.readDialogClose } })], 1) : t2._e(), t2._v(" "), t2.viewInfo ? n2("div", [n2("noticeInfor", { ref: "noticeInfor", attrs: { type: t2.type }, on: { goBack: t2.goBack } })], 1) : t2._e()]);
|
|
}, r = [], s = (n("1bc7"), n("c24f"), n("b775"));
|
|
function c(t2) {
|
|
return Object(s["a"])({ url: "/hakocompany/Notice/listType", method: "POST", data: t2 });
|
|
}
|
|
function l(t2) {
|
|
return Object(s["a"])({ url: "/hakocompany/Notice/createType", method: "POST", data: t2 });
|
|
}
|
|
function u(t2) {
|
|
return Object(s["a"])({ url: "/hakocompany/Notice/updateType", method: "post", data: t2 });
|
|
}
|
|
function d(t2) {
|
|
return Object(s["a"])({ url: "/hakocompany/Notice/delType", method: "post", data: t2 });
|
|
}
|
|
function p(t2) {
|
|
return Object(s["a"])({ url: "/hakocompany/Notice/listNotice", method: "post", data: t2 });
|
|
}
|
|
function m(t2) {
|
|
return Object(s["a"])({ url: "/hakocompany/Notice/findById", method: "post", data: t2 });
|
|
}
|
|
function f(t2) {
|
|
return Object(s["a"])({ url: "/hakocompany/Notice/create", method: "post", data: t2 });
|
|
}
|
|
function h(t2) {
|
|
return Object(s["a"])({ url: "/hakocompany/Notice/update", method: "post", data: t2 });
|
|
}
|
|
function g(t2) {
|
|
return Object(s["a"])({ url: "/hakocompany/Notice/pageList", method: "post", data: t2 });
|
|
}
|
|
function b(t2) {
|
|
return Object(s["a"])({ url: "/hakocompany/Notice/export", responseType: "blob", method: "post", data: t2 });
|
|
}
|
|
n("0b37");
|
|
var y = function() {
|
|
var t2 = this, e2 = t2.$createElement, n2 = t2._self._c || e2;
|
|
return n2("div", { staticClass: "ruleGroupInfo" }, [n2("el-card", { staticClass: "box-card" }, [n2("el-page-header", { attrs: { content: t2.content }, on: { back: t2.goBack } }), t2._v(" "), n2("div", { staticClass: "rule typeface" }, [t2._v("公告详情")]), t2._v(" "), n2("div", { staticClass: "vote-form" }, [n2("el-form", { ref: "ruleForm", staticClass: "demo-ruleForm", attrs: { model: t2.ruleForm, rules: t2.rules, "label-width": "130px" } }, [n2("el-row", [n2("el-col", { attrs: { span: 12 } }, [n2("el-form-item", { attrs: { label: "公告标题:", prop: "title" } }, [n2("el-input", { attrs: { disabled: t2.disabled, placeholder: "请输入公告标题", maxlength: "128", "show-word-limit": "" }, model: { value: t2.ruleForm.title, callback: function(e3) {
|
|
t2.$set(t2.ruleForm, "title", "string" === typeof e3 ? e3.trim() : e3);
|
|
}, expression: "ruleForm.title" } })], 1)], 1)], 1), t2._v(" "), n2("el-row", [n2("el-col", [n2("el-form-item", { staticClass: "is-required", attrs: { label: "通知项目:", prop: "projectUuidList" } }, [n2("div", { staticClass: "vote-projects" }, [n2("div", { staticClass: "vote-projects-items" }, [n2("div", { staticClass: "projects-list" }, [n2("el-checkbox", { staticClass: "projects-checkAll", attrs: { disabled: t2.disabled, indeterminate: t2.isIndeterminate }, on: { change: function(e3) {
|
|
return t2.handleCheckAllChange(e3);
|
|
} }, model: { value: t2.checkAll, callback: function(e3) {
|
|
t2.checkAll = e3;
|
|
}, expression: "checkAll" } }, [t2._v("全选")])], 1), t2._v(" "), n2("div", { staticClass: "projects-checkbox" }, [n2("el-checkbox-group", { staticClass: "projects-checkbox-checkbox", style: { height: t2.show ? "auto" : t2.projectLists.length > 5 ? "80px" : "40px" }, attrs: { disabled: t2.disabled }, model: { value: t2.ruleForm.projectUuidList, callback: function(e3) {
|
|
t2.$set(t2.ruleForm, "projectUuidList", e3);
|
|
}, expression: "ruleForm.projectUuidList" } }, t2._l(t2.projectLists, (function(e3) {
|
|
return n2("el-checkbox", { key: e3.uuid, staticClass: "projects-checkbox-item", attrs: { label: e3.uuid } }, [t2._v(t2._s(e3.name))]);
|
|
})), 1), t2._v(" "), t2.projectLists.length > 10 ? n2("el-button", { staticClass: "projects-show", attrs: { type: "primary", icon: t2.show ? "el-icon-arrow-up" : "el-icon-arrow-down", size: "mini" }, on: { click: function(e3) {
|
|
return t2.showSelects();
|
|
} } }, [t2._v(t2._s(t2.show ? "收起" : "展开"))]) : t2._e()], 1)])])])], 1)], 1), t2._v(" "), n2("el-row", [n2("el-col", { attrs: { span: 12 } }, [n2("el-form-item", { attrs: { label: "通知类型:", prop: "typeId" } }, [n2("el-select", { attrs: { disabled: t2.disabled, placeholder: "请选择通知类型" }, model: { value: t2.ruleForm.typeId, callback: function(e3) {
|
|
t2.$set(t2.ruleForm, "typeId", e3);
|
|
}, expression: "ruleForm.typeId" } }, t2._l(t2.noticeTypeList, (function(t3, e3) {
|
|
return n2("el-option", { key: e3, attrs: { label: t3.typeName, value: t3.id } });
|
|
})), 1)], 1)], 1)], 1), t2._v(" "), n2("el-row", [n2("el-col", { attrs: { span: 12 } }, [n2("el-form-item", { attrs: { label: "显示时间:", prop: "showTime" } }, [n2("el-date-picker", { attrs: { format: "yyyy-MM-dd HH:mm:ss", "value-format": "yyyy-MM-dd HH:mm:ss", type: "datetime", placeholder: "选择显示时间" }, model: { value: t2.ruleForm.showTime, callback: function(e3) {
|
|
t2.$set(t2.ruleForm, "showTime", e3);
|
|
}, expression: "ruleForm.showTime" } }), t2._v(" "), n2("span", { staticClass: "timeTip" }, [n2("i", { staticClass: "el-icon-info" }), t2._v("首页公告和公告详情展示的时间,若不填写则展示真实发布时间!")])], 1)], 1)], 1), t2._v(" "), n2("el-row", [n2("el-col", { attrs: { span: 12 } }, [n2("el-form-item", { attrs: { label: "通知封面:", prop: "bannerUrl" } }, [n2("AliOSSUpload", { attrs: { limit: 1, disabled: t2.disabled, imgStore: t2.coverImgStore, accept: t2.accept, allowFileType: t2.allowFileType2, fileList: t2.fileListInfo, isChangeFileName: true, showFileList: true, listType: "picture-card" }, on: { getUploadData: t2.getUploadData2 } })], 1)], 1)], 1)], 1)], 1), t2._v(" "), n2("div", { staticClass: "rule typeface" }, [t2._v("通知正文")]), t2._v(" "), n2("div", { staticClass: "vote-questions" }, [n2("div", { staticClass: "vote-questions-list" }, [n2("tinymce", { attrs: { value: t2.ruleForm.content, imgStore: t2.imgStore, height: 500, disabled: t2.disabled }, on: { initStatus: t2.initStatus }, model: { value: t2.ruleForm.content, callback: function(e3) {
|
|
t2.$set(t2.ruleForm, "content", e3);
|
|
}, expression: "ruleForm.content" } })], 1)]), t2._v(" "), n2("div", { staticClass: "vote-submit-options" }, [n2("el-button", { attrs: { size: "small" }, on: { click: t2.cancel } }, [t2._v("取消")]), t2._v(" "), n2("el-button", { attrs: { type: "primary", size: "small", disabled: t2.disabled, loading: t2.buttonLoading }, on: { click: t2.save } }, [t2._v("保存")]), t2._v(" "), n2("el-button", { attrs: { type: "primary", size: "small", disabled: t2.disabled, loading: t2.buttonLoading }, on: { click: t2.publish } }, [t2._v("发布")])], 1)], 1)], 1);
|
|
}, v = [], w = (n("e5b4"), n("a450"), n("aa18"), n("982e"), n("67d5")), _ = n("4513"), S = n("8988"), k = function() {
|
|
var t2 = this, e2 = t2.$createElement, n2 = t2._self._c || e2;
|
|
return n2("div", { staticClass: "tinymce-container", class: { fullscreen: t2.fullscreen }, style: { width: t2.containerWidth } }, [n2("textarea", { staticClass: "tinymce-textarea", attrs: { id: t2.tinymceId, disabled: t2.disabled } }), t2._v(" "), t2.disabled ? t2._e() : n2("div", { staticClass: "editor-custom-btn-container" }, [n2("editorImage", { staticClass: "editor-upload-btn", attrs: { color: "#1890ff", disabled: t2.disabled, imgStore: t2.imgStore }, on: { successCBK: t2.imageSuccessCBK } })], 1)]);
|
|
}, j = [], C = (n("e680"), function() {
|
|
var t2 = this, e2 = t2.$createElement, n2 = t2._self._c || e2;
|
|
return n2("div", { staticClass: "upload-container" }, [t2.disabled ? t2._e() : n2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], style: { background: t2.color, borderColor: t2.color }, attrs: { icon: "el-icon-upload", disabled: t2.disabled, size: "mini", type: "primary" }, on: { click: function(e3) {
|
|
t2.dialogVisible = true;
|
|
} } }, [t2._v("\n 上传图片\n ")]), t2._v(" "), n2("el-dialog", { attrs: { visible: t2.dialogVisible, center: true, "append-to-body": true }, on: { "update:visible": function(e3) {
|
|
t2.dialogVisible = e3;
|
|
}, close: t2.closeDialog } }, [n2("el-upload", { staticClass: "editor-slide-upload", attrs: { action: "", multiple: false, "http-request": t2.uploadRequest, "file-list": t2.fileList, "show-file-list": true, "on-remove": t2.handleRemove, "on-success": t2.handleSuccess, "before-upload": t2.beforeUpload, limit: t2.limit, "list-type": "picture-card" } }, [t2.uploadResult.length < t2.limit ? t2._t("uploadButton", [n2("i", { staticClass: "el-icon-plus upload-plus", attrs: { slot: "default" }, slot: "default" })]) : t2._e()], 2), t2._v(" "), n2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [n2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { disabled: t2.disabled }, on: { click: t2.closeDialog } }, [t2._v("取消")]), t2._v(" "), n2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary", disabled: t2.disabled }, on: { click: t2.handleSubmit } }, [t2._v("确定")])], 1)], 1)], 1);
|
|
}), I = [], N = (n("b5aa"), n("3ef1")), x = (n("a7e5"), n("32ea"), n("90e7")), O = n("127f"), T = { name: "EditorSlideUpload", props: { color: { type: String, default: "#1890ff" }, imgStore: { type: String, default: "" }, disabled: { type: Boolean, default: false }, limit: { type: Number, default: 99 }, allowFileType: { default: function() {
|
|
return ["file", "image", "video"];
|
|
}, type: Array } }, data: function() {
|
|
var t2 = [];
|
|
return { dialogVisible: false, uploadList: [], uploadMap: {}, listObj: {}, fileList: [], uploadResult: t2, isLoad: false };
|
|
}, methods: { isImage: function(t2) {
|
|
var e2 = ["image/jpeg", "image/png", "image/gif", "image/bmp", "image/webp"];
|
|
return e2.includes(t2.type);
|
|
}, isVideo: function(t2) {
|
|
var e2 = ["video/mp4", "video/ogg", "video/flv", "video/avi", "video/wmv", "video/rmvb", "video/mov", "video/mkv"];
|
|
return e2.includes(t2.type);
|
|
}, isFile: function(t2) {
|
|
var e2 = ["application/msword", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/vnd.ms-excel", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/pdf", "text/plain", "application/zip", "application/x-zip-compressed"];
|
|
return e2.includes(t2.type);
|
|
}, uploadInfo: function() {
|
|
if (this.uploadResult.length >= this.limit) {
|
|
var t2 = "", e2 = this.allowFileType;
|
|
if (e2.includes("image")) return t2 = "图片最多上传".concat(this.limit, "张"), this.message(t2), false;
|
|
if (e2.includes("video")) t2 = "视频最多上传".concat(this.limit, "个"), this.message(t2);
|
|
else if (e2.includes("file")) return t2 = "文件最多上传".concat(this.limit, "份"), this.message(t2), false;
|
|
}
|
|
return true;
|
|
}, beforeUpload: function(t2) {
|
|
var e2 = t2.size / 1024 / 1024 < 10;
|
|
if (!e2) return this.$message.error("上传的文件大小不能超过10MB!"), false;
|
|
var n2 = this.allowFileType, a2 = n2.includes("image") && this.isImage(t2) || n2.includes("video") && this.isVideo(t2) || n2.includes("file") && this.isFile(t2);
|
|
return a2 ? (this.isLoad = true, true) : (this.$message.error("请上传正确的文件类型!"), false);
|
|
}, add0: function(t2) {
|
|
return t2 < 10 ? "0" + t2 : t2;
|
|
}, getYearMonthDay: function() {
|
|
var t2 = /* @__PURE__ */ new Date(), e2 = t2.getFullYear(), n2 = t2.getMonth() + 1, a2 = t2.getDate();
|
|
return "" + e2 + this.add0(n2) + this.add0(a2);
|
|
}, message: function(t2) {
|
|
this.$message({ message: t2, type: "error" });
|
|
}, checkAllSuccess: function() {
|
|
var t2 = this;
|
|
return Object.keys(this.listObj).every((function(e2) {
|
|
return t2.listObj[e2].hasSuccess;
|
|
}));
|
|
}, closeDialog: function() {
|
|
this.uploadList = [], this.uploadMap = {}, this.listObj = {}, this.fileList = [], this.uploadResult = [], this.dialogVisible = false;
|
|
}, handleSuccess: function(t2, e2) {
|
|
console.log("upload success", t2, e2);
|
|
}, handleSubmit: function() {
|
|
this.$emit("successCBK", this.uploadResult), this.uploadList = [], this.uploadMap = {}, this.listObj = {}, this.fileList = [], this.uploadResult = [], this.dialogVisible = false, this.$message({ message: "添加文件成功", type: "success", duration: 3e3 });
|
|
}, handleRemove: function(t2) {
|
|
var e2 = t2.uid, n2 = this.uploadResult.findIndex((function(t3) {
|
|
return t3.uid === e2;
|
|
}));
|
|
n2 > -1 && this.uploadResult.splice(n2, 1);
|
|
for (var a2 = Object.keys(this.listObj), i2 = 0, o2 = a2.length; i2 < o2; i2++) if (this.listObj[a2[i2]].uid === e2) return void delete this.listObj[a2[i2]];
|
|
}, uploadRequest: (function() {
|
|
var t2 = Object(N["a"])(regeneratorRuntime.mark((function t3(e3) {
|
|
var n2, a2, i2, o2, r2, s2, c2, l2, u2, d2;
|
|
return regeneratorRuntime.wrap((function(t4) {
|
|
while (1) switch (t4.prev = t4.next) {
|
|
case 0:
|
|
if (this, n2 = e3.file, this.uploadInfo()) {
|
|
t4.next = 1;
|
|
break;
|
|
}
|
|
return this.isLoad = false, t4.abrupt("return");
|
|
case 1:
|
|
return t4.prev = 1, a2 = "", i2 = n2.name.lastIndexOf("."), i2 > 0 && (a2 = n2.name.substring(i2 + 1)), o2 = Object(O["a"])() + (a2 ? "." + a2 : ""), r2 = this.isImage(n2) ? "image" : this.isVideo(n2) ? "video" : (this.isFile(n2), "file"), s2 = new FormData(), s2.append("file", n2), t4.next = 2, Object(x["o"])(s2);
|
|
case 2:
|
|
if (c2 = t4.sent, !c2 || !c2.data || 0 !== c2.data.code) {
|
|
t4.next = 3;
|
|
break;
|
|
}
|
|
l2 = c2.data.data.fullUrl || c2.data.data.url, u2 = { fileType: r2, fileName: o2, filePath: l2, fileOrName: n2.name, uid: n2.uid, fileId: Object(O["a"])() }, this.uploadResult.push(u2), this.isLoad = false, this.$message.success("上传成功!"), e3.onSuccess(), t4.next = 4;
|
|
break;
|
|
case 3:
|
|
throw new Error(c2.data.message || "上传失败");
|
|
case 4:
|
|
t4.next = 6;
|
|
break;
|
|
case 5:
|
|
t4.prev = 5, d2 = t4["catch"](1), console.error("上传失败:", d2), this.$message.error("上传失败: ".concat(d2.message || "未知错误")), this.isLoad = false;
|
|
case 6:
|
|
case "end":
|
|
return t4.stop();
|
|
}
|
|
}), t3, this, [[1, 5]]);
|
|
})));
|
|
function e2(e3) {
|
|
return t2.apply(this, arguments);
|
|
}
|
|
return e2;
|
|
})() } }, L = T, q = (n("953d8"), n("829d")), $ = Object(q["a"])(L, C, I, false, null, "3f0f8483", null), F = $.exports, U = ["advlist anchor autolink colorpicker contextmenu directionality emoticons fullscreen hr image imagetools insertdatetime link lists media nonbreaking noneditable pagebreak paste preview print save searchreplace spellchecker tabfocus table template textcolor textpattern visualblocks visualchars wordcount"], R = U, z = ["searchreplace formatselect fontsizeselect lineheight bold italic underline strikethrough alignleft aligncenter alignright outdent indent blockquote undo redo removeformat subscript superscript", "hr bullist numlist link image charmap preview anchor pagebreak insertdatetime media table emoticons forecolor backcolor fullscreen"], B = z;
|
|
n("9f60"), n("94f0"), n("0c84"), n("2843"), n("4057");
|
|
function D(t2, e2) {
|
|
var n2 = "undefined" != typeof Symbol && t2[Symbol.iterator] || t2["@@iterator"];
|
|
if (!n2) {
|
|
if (Array.isArray(t2) || (n2 = P(t2)) || e2 && t2 && "number" == typeof t2.length) {
|
|
n2 && (t2 = n2);
|
|
var a2 = 0, i2 = function() {
|
|
};
|
|
return { s: i2, n: function() {
|
|
return a2 >= t2.length ? { done: true } : { done: false, value: t2[a2++] };
|
|
}, e: function(t3) {
|
|
throw t3;
|
|
}, f: i2 };
|
|
}
|
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
}
|
|
var o2, r2 = true, s2 = false;
|
|
return { s: function() {
|
|
n2 = n2.call(t2);
|
|
}, n: function() {
|
|
var t3 = n2.next();
|
|
return r2 = t3.done, t3;
|
|
}, e: function(t3) {
|
|
s2 = true, o2 = t3;
|
|
}, f: function() {
|
|
try {
|
|
r2 || null == n2.return || n2.return();
|
|
} finally {
|
|
if (s2) throw o2;
|
|
}
|
|
} };
|
|
}
|
|
function P(t2, e2) {
|
|
if (t2) {
|
|
if ("string" == typeof t2) return M(t2, e2);
|
|
var n2 = {}.toString.call(t2).slice(8, -1);
|
|
return "Object" === n2 && t2.constructor && (n2 = t2.constructor.name), "Map" === n2 || "Set" === n2 ? Array.from(t2) : "Arguments" === n2 || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2) ? M(t2, e2) : void 0;
|
|
}
|
|
}
|
|
function M(t2, e2) {
|
|
(null == e2 || e2 > t2.length) && (e2 = t2.length);
|
|
for (var n2 = 0, a2 = Array(e2); n2 < e2; n2++) a2[n2] = t2[n2];
|
|
return a2;
|
|
}
|
|
var A = [];
|
|
function E() {
|
|
return window.tinymce;
|
|
}
|
|
var J = function(t2, e2) {
|
|
var n2 = document.getElementById(t2), a2 = e2 || function() {
|
|
};
|
|
if (!n2) {
|
|
var i2 = document.createElement("script");
|
|
i2.src = t2, i2.id = t2, document.body.appendChild(i2), A.push(a2);
|
|
var o2 = "onload" in i2 ? r2 : s2;
|
|
o2(i2);
|
|
}
|
|
function r2(e3) {
|
|
e3.onload = function() {
|
|
this.onerror = this.onload = null;
|
|
var t3, n3 = D(A);
|
|
try {
|
|
for (n3.s(); !(t3 = n3.n()).done; ) {
|
|
var a3 = t3.value;
|
|
a3(null, e3);
|
|
}
|
|
} catch (i3) {
|
|
n3.e(i3);
|
|
} finally {
|
|
n3.f();
|
|
}
|
|
A = null;
|
|
}, e3.onerror = function() {
|
|
this.onerror = this.onload = null, a2(new Error("Failed to load " + t2), e3);
|
|
};
|
|
}
|
|
function s2(t3) {
|
|
t3.onreadystatechange = function() {
|
|
if ("complete" === this.readyState || "loaded" === this.readyState) {
|
|
this.onreadystatechange = null;
|
|
var e3, n3 = D(A);
|
|
try {
|
|
for (n3.s(); !(e3 = n3.n()).done; ) {
|
|
var a3 = e3.value;
|
|
a3(null, t3);
|
|
}
|
|
} catch (i3) {
|
|
n3.e(i3);
|
|
} finally {
|
|
n3.f();
|
|
}
|
|
A = null;
|
|
}
|
|
};
|
|
}
|
|
n2 && a2 && (E() ? a2(null, n2) : A.push(a2));
|
|
}, V = J, H = "https://sqy-oss-test.oss-cn-guangzhou.aliyuncs.com/static/js/tinymce_5.10.7/tinymce.min.js", Q = { name: "Tinymce", components: { editorImage: F }, props: { id: { type: String, default: function() {
|
|
return "vue-tinymce-" + +/* @__PURE__ */ new Date() + (1e3 * Math.random()).toFixed(0);
|
|
} }, value: { type: String, default: "" }, toolbar: { type: Array, required: false, default: function() {
|
|
return [];
|
|
} }, menubar: { type: String, default: "file edit insert view format table" }, height: { type: [Number, String], required: false, default: 500 }, width: { type: [Number, String], required: false, default: "auto" }, imgStore: { type: String, default: "" }, disabled: { type: Boolean, default: false } }, data: function() {
|
|
return { hasChange: false, hasInit: false, tinymceId: this.id, fullscreen: false, languageTypeList: { en: "en", zh: "zh_CN", es: "es_MX", ja: "ja" } };
|
|
}, computed: { language: function() {
|
|
return this.languageTypeList[this.$store.getters.language];
|
|
}, containerWidth: function() {
|
|
var t2 = this.width;
|
|
return /^[\d]+(\.[\d]+)?$/.test(t2) ? "".concat(t2, "px") : t2;
|
|
} }, watch: { value: function(t2) {
|
|
var e2 = this;
|
|
!this.hasChange && this.hasInit && this.$nextTick((function() {
|
|
return window.tinymce.get(e2.tinymceId).setContent(t2 || "");
|
|
}));
|
|
}, language: function() {
|
|
var t2 = this;
|
|
this.destroyTinymce(), this.$nextTick((function() {
|
|
return t2.initTinymce();
|
|
}));
|
|
} }, mounted: function() {
|
|
this.init();
|
|
}, activated: function() {
|
|
window.tinymce && this.initTinymce();
|
|
}, deactivated: function() {
|
|
this.destroyTinymce();
|
|
}, destroyed: function() {
|
|
this.destroyTinymce();
|
|
}, methods: { init: function() {
|
|
var t2 = this;
|
|
V(H, (function(e2) {
|
|
e2 ? t2.$message.error(e2.message) : t2.initTinymce();
|
|
}));
|
|
}, initTinymce: function() {
|
|
var t2 = this;
|
|
window.tinymce.init({ readonly: this.disabled ? 1 : 0, language: this.language, selector: "#".concat(this.tinymceId), height: this.height, branding: false, statusbar: false, body_class: "panel-body ", object_resizing: false, toolbar: this.disabled ? [] : this.toolbar.length > 0 ? this.toolbar : B, menubar: !this.disabled && this.menubar, plugins: this.disabled ? [] : R, fontsize_formats: "12px 13px 14px 15px 16px 18px 20px 22px 24px 28px 30px 36px 48px 56px 72px", default_font_size: "14px", end_container_on_empty_block: true, powerpaste_word_import: "clean", code_dialog_height: 450, code_dialog_width: 750, advlist_bullet_styles: "square", advlist_number_styles: "default", imagetools_cors_hosts: [], default_link_target: "_blank", link_title: false, nonbreaking_force_tab: true, lineheight_formats: "1 1.1 1.2 1.3 1.4 1.5 1.75 2 2.15 2.2 2.5 3", content_style: "p {margin: 0px; border:0px ; padding: 0px}", init_instance_callback: function(e2) {
|
|
t2.$emit("initStatus"), t2.value && e2.setContent(t2.value), t2.hasInit = true, e2.on("NodeChange Change KeyUp SetContent", (function() {
|
|
t2.hasChange = true, e2.getContent() ? t2.$emit("input", e2.getContent()) : t2.hasChange = false;
|
|
}));
|
|
}, setup: function(e2) {
|
|
e2.on("FullscreenStateChanged", (function(e3) {
|
|
t2.fullscreen = e3.state;
|
|
}));
|
|
} });
|
|
}, destroyTinymce: function() {
|
|
var t2 = window.tinymce.get(this.tinymceId);
|
|
this.fullscreen && t2.execCommand("mceFullScreen"), t2 && t2.destroy();
|
|
}, setContent: function(t2) {
|
|
var e2 = this;
|
|
this.$nextTick((function() {
|
|
return window.tinymce.get(e2.tinymceId).setContent(t2);
|
|
})), this.$forceUpdate();
|
|
}, getContent: function() {
|
|
var t2 = this;
|
|
this.$nextTick((function() {
|
|
return window.tinymce.get(t2.tinymceId).getContent();
|
|
})), this.$forceUpdate();
|
|
}, imageSuccessCBK: function(t2) {
|
|
var e2 = this;
|
|
t2.forEach((function(t3) {
|
|
window.tinymce.get(e2.tinymceId).insertContent('<img class="wscnph" src="'.concat(t3.filePath, '" style="max-width:100%;"/>'));
|
|
}));
|
|
} } }, G = Q, K = (n("7900"), Object(q["a"])(G, k, j, false, null, "4972438a", null)), W = K.exports, Y = { components: { AliOSSUpload: S["a"], Tinymce: W }, props: { type: { type: String, default: "" } }, data: function() {
|
|
return { memberId: "", imgStore: "noticeImgStore/bodyPicture/", content: "通知公告详情", projectLists: [], checkAll: false, isIndeterminate: true, show: false, ruleForm: { title: "", projectUuidList: [], typeId: "", showTime: "", bannerUrl: "", content: "" }, rules: { title: [{ required: true, message: "请输入投票主题", trigger: "blur" }], projectUuidList: [{ required: true, message: "请选择通知项目", trigger: "change" }], typeId: [{ required: true, message: "请选择通知类型", trigger: "change" }] }, noticeTypeList: [], disabled: false, accept: ".jpg, .JPG, .jpeg, .gif, .GIF, .MPEG, .MPG, .png, .PNG", allowFileType2: ["image"], fileListInfo: [], coverImgStore: "noticeImgStore/coverImg/", buttonLoading: false };
|
|
}, mounted: function() {
|
|
this.memberId = window.localStorage.getItem("memberId");
|
|
}, methods: { getInfoLst: function(t2) {
|
|
void 0 != t2 && t2.id && (this.noticeId = t2.id), this.getMemberInfor(), this.getNoticeTypeList(), this.getProjectInfo(), this.content = "add" === this.type ? "新建公告" : "编辑公告", "view" === this.type || "edit" === this.type ? "view" === this.type ? this.disabled = true : this.disabled = false : "add" === this.type && (this.noticeId = 0);
|
|
}, initStatus: function() {
|
|
"view" !== this.type && "edit" !== this.type || this.getQuestionFindById(this.noticeId);
|
|
}, getMemberInfor: function() {
|
|
Object(_["p"])({ id: this.memberId }).then((function(t2) {
|
|
if (0 === t2.code && null != t2.data) {
|
|
var e2 = t2.data.memberAddReqDTO;
|
|
localStorage.setItem("memberInfor", JSON.stringify(e2));
|
|
}
|
|
}));
|
|
}, getNoticeTypeList: function() {
|
|
var t2 = this, e2 = { companyId: JSON.parse(window.localStorage.getItem("companyInfo")).osId, pageNumber: -1, pageSize: -1 };
|
|
c(e2).then((function(e3) {
|
|
t2.noticeTypeList = e3.data.records;
|
|
}));
|
|
}, getProjectInfo: function() {
|
|
var t2 = this, e2 = JSON.parse(window.localStorage.getItem("companyInfo")).osId;
|
|
Object(w["j"])({ id: e2, attribute: 1 }).then((function(e3) {
|
|
var n2 = e3.data;
|
|
t2.projectLists = n2;
|
|
}));
|
|
}, getQuestionFindById: function(t2) {
|
|
var e2 = this;
|
|
m({ id: t2 }).then((function(n2) {
|
|
if (0 === n2.code && n2.data) {
|
|
var a2 = n2.data, i2 = a2.title, o2 = a2.typeId, r2 = a2.projectUuids, s2 = a2.companyId, c2 = a2.showTime, l2 = a2.bannerUrl, u2 = a2.content;
|
|
r2 = JSON.parse(r2);
|
|
var d2 = r2.map((function(t3) {
|
|
return t3["projectUuid"];
|
|
}));
|
|
e2.$nextTick((function() {
|
|
e2.ruleForm = { id: t2, title: i2, showTime: c2, projectUuidList: d2, typeId: o2, companyId: s2, bannerUrl: l2, content: u2 };
|
|
})), e2.fileListInfo = l2 ? [{ url: l2 }] : [], e2.$forceUpdate();
|
|
}
|
|
}));
|
|
}, handleCheckAllChange: function(t2, e2) {
|
|
var n2 = this;
|
|
t2 ? (this.$nextTick((function() {
|
|
n2.ruleForm.projectUuidList = n2.projectLists.map((function(t3) {
|
|
return t3["uuid"];
|
|
}));
|
|
})), this.isIndeterminate = true, this.$forceUpdate()) : (this.$nextTick((function() {
|
|
n2.ruleForm.projectUuidList = [];
|
|
})), this.isIndeterminate = false, this.$forceUpdate());
|
|
}, getUploadData2: function(t2) {
|
|
var e2 = [];
|
|
t2 && t2.length > 0 && t2.forEach((function(t3) {
|
|
e2.push(t3.filePath);
|
|
})), this.ruleForm.bannerUrl = e2.join(";");
|
|
}, showSelects: function() {
|
|
this.show = !this.show;
|
|
}, cancel: function() {
|
|
this.goBack();
|
|
}, save: function() {
|
|
this.submitQuestionInfor(0);
|
|
}, publish: function() {
|
|
this.submitQuestionInfor(1);
|
|
}, submitQuestionInfor: function(t2) {
|
|
var e2 = this, n2 = JSON.parse(window.localStorage.getItem("companyInfo")).osId, a2 = JSON.parse(window.localStorage.getItem("memberInfor")), i2 = [];
|
|
this.projectLists.forEach((function(t3) {
|
|
e2.ruleForm.projectUuidList.includes(t3.uuid) && i2.push({ projectName: t3.name, projectUuid: t3.uuid });
|
|
}));
|
|
var o2 = this.noticeTypeList.find((function(t3) {
|
|
return t3.id === e2.ruleForm.typeId;
|
|
})), r2 = Object.assign(this.ruleForm, { typeName: o2.typeName, companyId: n2, senderUuid: a2.uuid, senderName: a2.name, projectUuids: JSON.stringify(i2), sendTime: parseInt((/* @__PURE__ */ new Date()).getTime()), bannerUrl: this.ruleForm.bannerUrl ? this.ruleForm.bannerUrl : "https://sqy-oss-test.oss-cn-guangzhou.aliyuncs.com/static/image/bannerUrl.png" });
|
|
this.$refs["ruleForm"].validate((function(n3) {
|
|
if (!n3) return e2.$message({ type: "error", message: "请检查通知公告内容是否输入和选择." }), false;
|
|
e2.buttonLoading = true, 0 === e2.noticeId ? (r2 = Object.assign(r2, { sendStatus: 0 === t2 ? 3 : 1 }), f(r2).then((function(t3) {
|
|
0 === t3.code ? (e2.$message({ type: "success", message: "新增通知公告成功" }), e2.buttonLoading = false, e2.goBack()) : (e2.$message({ type: "error", message: t3.message }), e2.buttonLoading = false);
|
|
})).catch((function() {
|
|
e2.buttonLoading = false;
|
|
}))) : (r2 = Object.assign(r2, { sendStatus: 0 === t2 ? 3 : 1 }), h(r2).then((function(t3) {
|
|
0 === t3.code ? (e2.$message({ type: "success", message: "更新通知公告成功" }), e2.buttonLoading = false, e2.goBack()) : (e2.$message({ type: "error", message: t3.message }), e2.buttonLoading = false);
|
|
})).catch((function() {
|
|
e2.buttonLoading = false;
|
|
})));
|
|
}));
|
|
}, goBack: function() {
|
|
this.$emit("goBack");
|
|
} } }, X = Y, Z = (n("07aa"), Object(q["a"])(X, y, v, false, null, "17b6f7f6", null)), tt = Z.exports, et = function() {
|
|
var t2 = this, e2 = t2.$createElement, n2 = t2._self._c || e2;
|
|
return n2("div", { staticClass: "readTable" }, [n2("el-dialog", { attrs: { title: "已读信息列表", width: "80%", visible: t2.showRead, "show-close": true }, on: { close: t2.dialogClose } }, [n2("div", { staticClass: "app-container bgHeight" }, [n2("div", [n2("div", { ref: "box", staticClass: "searchStys transition_dom" }, [n2("el-form", { ref: "query", attrs: { model: t2.query } }, [n2("div", { ref: "form_box", staticClass: "searchBar" }, [n2("div", { staticClass: "searchInput" }, [n2("el-row", { attrs: { gutter: 20 } }, [n2("el-col", { attrs: { span: 6 } }, [n2("el-form-item", { attrs: { prop: "roomNum" } }, [n2("el-input", { attrs: { placeholder: "房屋号", clearable: "" }, model: { value: t2.query.roomNum, callback: function(e3) {
|
|
t2.$set(t2.query, "roomNum", e3);
|
|
}, expression: "query.roomNum" } })], 1)], 1), t2._v(" "), n2("el-col", { attrs: { span: 6 } }, [n2("el-form-item", { attrs: { prop: "toUserName" } }, [n2("el-input", { attrs: { placeholder: "姓名", clearable: "" }, model: { value: t2.query.toUserName, callback: function(e3) {
|
|
t2.$set(t2.query, "toUserName", e3);
|
|
}, expression: "query.toUserName" } })], 1)], 1), t2._v(" "), n2("el-col", { attrs: { span: 6 } }, [n2("el-form-item", { attrs: { prop: "toUserMobile" } }, [n2("el-input", { attrs: { placeholder: "手机号", clearable: "" }, model: { value: t2.query.toUserMobile, callback: function(e3) {
|
|
t2.$set(t2.query, "toUserMobile", e3);
|
|
}, expression: "query.toUserMobile" } })], 1)], 1)], 1)], 1), t2._v(" "), n2("div", { staticClass: "searchBtn" }, [n2("el-form-item", [n2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(e3) {
|
|
return t2.resetForm("query");
|
|
} } }, [t2._v("重置")]), t2._v(" "), n2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: t2.onSearch } }, [t2._v("查询")])], 1)], 1)])])], 1), t2._v(" "), n2("el-card", { staticClass: "box-card", attrs: { shadow: "never" } }, [n2("div", { staticClass: "planLst", attrs: { slot: "header" }, slot: "header" }, [n2("span", { staticClass: "planTitle" }, [t2._v("已读信息列表")]), t2._v(" "), n2("el-button", { attrs: { type: "primary", loading: t2.downloading }, on: { click: t2.downExcel } }, [t2._v("下载Excel")])], 1), t2._v(" "), n2("el-table", { attrs: { border: "", data: t2.readList, "header-cell-style": t2.headClass, "tooltip-effect": "dark" } }, [n2("el-table-column", { attrs: { label: "#", align: "center", "min-width": "50" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(e3.$index + (t2.query.pageNumber - 1) * t2.query.pageSize + 1) + "\n ")])];
|
|
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "min-width": "90", label: "房屋号" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(t2.filterHouseName(e3.row)))])];
|
|
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "姓名", "min-width": "150" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("div", [t2._v("\n " + t2._s(e3.row.toUserName || "-") + "\n ")])];
|
|
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { "show-overflow-tooltip": "", align: "center", "min-width": "150", label: "手机号" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.toUserMobile || "-") + "\n ")];
|
|
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { "show-overflow-tooltip": "", align: "center", "min-width": "150", label: "阅读时间" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.readTime || "-") + "\n ")];
|
|
} }]) })], 1), t2._v(" "), n2("div", { staticClass: "paginations" }, [n2("el-pagination", { attrs: { background: "", "current-page": t2.query.pageNumber, "page-sizes": [10, 30, 50, 100, 200], "page-size": t2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: t2.total }, on: { "update:currentPage": function(e3) {
|
|
return t2.$set(t2.query, "pageNumber", e3);
|
|
}, "update:current-page": function(e3) {
|
|
return t2.$set(t2.query, "pageNumber", e3);
|
|
}, "size-change": t2.handleSizeChange, "current-change": t2.handleCurrentChange } })], 1)], 1)], 1)])])], 1);
|
|
}, nt = [], at = { name: "ReadTable", props: { showRead: { type: Boolean, default: false } }, data: function() {
|
|
return { total: 0, readList: [], query: { pageNumber: 1, pageSize: 10, roomNum: "", toUserName: "", toUserMobile: "", projectUuids: [], noticeId: "", messageType: 2 }, downloading: false };
|
|
}, mounted: function() {
|
|
}, methods: { filterHouseName: function(t2) {
|
|
return t2.buildingName && t2.precinctName && t2.unitName && t2.roomNum ? t2.buildingName + "-" + t2.precinctName + "-" + t2.unitName + "-" + t2.roomNum : "-";
|
|
}, initData: function(t2) {
|
|
this.query.projectUuids = JSON.parse(t2.projectUuids).map((function(t3) {
|
|
return t3.projectUuid;
|
|
})), this.query.noticeId = t2.id, this.query.pageNumber = 1, this.query.pageSize = 10, this.query.roomNum = "", this.query.toUserName = "", this.query.toUserMobile = "", this.getList();
|
|
}, getList: function() {
|
|
var t2 = this;
|
|
g(this.query).then((function(e2) {
|
|
0 == e2.code && (t2.readList = e2.data.records, t2.total = e2.data.rowsCount);
|
|
}));
|
|
}, headClass: function() {
|
|
return "text-align:center;background:#FAFAFA;";
|
|
}, resetForm: function(t2) {
|
|
this.$refs[t2].resetFields(), this.getList();
|
|
}, onSearch: function() {
|
|
this.getList();
|
|
}, handleSizeChange: function(t2) {
|
|
this.query.pageSize = t2, this.query.pageNumber = 1, this.getList();
|
|
}, handleCurrentChange: function(t2) {
|
|
this.query.pageNumber = t2, this.getList();
|
|
}, dialogClose: function() {
|
|
this.$emit("readDialogClose", false);
|
|
}, downExcel: function() {
|
|
var t2 = this;
|
|
b(this.query).then((function(e2) {
|
|
var n2 = new Blob([e2], { type: "application/vnd.ms-excel;charset=UTF-8" });
|
|
if (window.navigator.msSaveOrOpenBlob) navigator.msSaveBlob(n2);
|
|
else {
|
|
var a2 = document.createElement("a");
|
|
a2.download = "已读信息列表.xls", a2.href = URL.createObjectURL(n2), a2.click(), URL.revokeObjectURL(a2.href), document.body.removeChild(a2), t2.downloading = false;
|
|
}
|
|
})).catch((function(e2) {
|
|
t2.downloading = false;
|
|
}));
|
|
} } }, it = at, ot = (n("1cb7"), Object(q["a"])(it, et, nt, false, null, "331bb67e", null)), rt = ot.exports, st = { name: "noticeList", components: { noticeInfor: tt, readTable: rt }, data: function() {
|
|
return { companyInfo: {}, type: "add", pageTotal: 0, viewInfo: false, infoList: true, statusList: [{ value: 3, label: "未发布" }, { value: 1, label: "已发布" }, { value: 2, label: "已撤回" }], noticeTypeList: [], query: { title: "", companyId: JSON.parse(window.localStorage.getItem("companyInfo")).osId, sendStatus: "", typeId: "", pageNumber: 1, pageSize: 10 }, tableData: [], showRead: false };
|
|
}, watch: {}, mounted: function() {
|
|
this.memberId = window.localStorage.getItem("memberId"), this.headClass(), this.getNoticeTypeList(), this.getlistData();
|
|
}, methods: { readDialogClose: function(t2) {
|
|
this.showRead = t2;
|
|
}, read: function(t2) {
|
|
this.showRead = true, this.$refs.readTable.initData(t2);
|
|
}, getNoticeTypeList: function() {
|
|
var t2 = this, e2 = { companyId: JSON.parse(window.localStorage.getItem("companyInfo")).osId, pageNumber: -1, pageSize: -1 };
|
|
c(e2).then((function(e3) {
|
|
t2.noticeTypeList = e3.data.records;
|
|
}));
|
|
}, getlistData: function() {
|
|
var t2 = this;
|
|
p(this.query).then((function(e2) {
|
|
t2.tableData = e2.data.records, t2.pageTotal = e2.data.rowsCount;
|
|
}));
|
|
}, setProjectNames: function(t2) {
|
|
if (t2 && t2.length > 0) {
|
|
var e2 = [];
|
|
return t2 = JSON.parse(t2), t2.forEach((function(t3) {
|
|
e2.push(t3.projectName);
|
|
})), e2.join(",");
|
|
}
|
|
return "-";
|
|
}, updataNotice: function(t2) {
|
|
var e2 = this;
|
|
this.$confirm("此操作将撤回该通知公告, 是否继续?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then((function() {
|
|
h({ id: t2.id, sendStatus: 2, sendTime: parseInt((/* @__PURE__ */ new Date()).getTime()) }).then((function(t3) {
|
|
0 === t3.code ? (e2.$message({ type: "success", message: "操作成功!" }), e2.getlistData()) : e2.$message({ type: "error", message: "操作失败!" });
|
|
}));
|
|
})).catch((function() {
|
|
}));
|
|
}, addNotices: function() {
|
|
var t2 = this;
|
|
this.type = "add", this.viewInfo = true, this.infoList = false, this.$nextTick((function() {
|
|
t2.$refs.noticeInfor.getInfoLst();
|
|
}));
|
|
}, renewals: function(t2, e2) {
|
|
var n2 = this, a2 = t2;
|
|
this.type = e2, this.viewInfo = true, this.infoList = false, this.$nextTick((function() {
|
|
n2.$refs.noticeInfor.getInfoLst(a2);
|
|
}));
|
|
}, getBack: function() {
|
|
this.viewInfo = false, this.infoList = true, this.query.pageNumber = 1, this.getlistData();
|
|
}, onSearch: function() {
|
|
this.query.pageNumber = 1, this.getlistData();
|
|
}, goBack: function() {
|
|
this.viewInfo = false, this.infoList = true, this.getlistData();
|
|
}, handleSizeChange: function(t2) {
|
|
this.query.pageSize = t2, this.getlistData();
|
|
}, handleCurrentChange: function(t2) {
|
|
this.query.pageNumber = t2, this.getlistData();
|
|
}, resetForm: function() {
|
|
this.query.pageNumber = 1, this.query.projectName = "", this.query.title = "", this.query.sendStatus = "", this.query.typeId = "", this.getlistData();
|
|
}, headClass: function() {
|
|
return "text-align:center;background:#FAFAFA;";
|
|
} } }, ct = st, lt = (n("fab8"), Object(q["a"])(ct, o, r, false, null, "64f44794", null)), ut = lt.exports, dt = function() {
|
|
var t2 = this, e2 = t2.$createElement, n2 = t2._self._c || e2;
|
|
return n2("div", { staticClass: "kidneyBeanList" }, [n2("div", [n2("el-card", { staticClass: "box-card", staticStyle: { "margin-top": "15px" } }, [n2("div", { staticClass: "planLst" }, [n2("span", { staticStyle: { color: "#2f2c2c", "font-size": "16px" } }, [t2._v("类型列表")]), t2._v(" "), n2("span", { staticClass: "add" }, [n2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: t2.addNoticesType } }, [t2._v("新增类型")])], 1)]), t2._v(" "), n2("el-table", { staticStyle: { width: "100%", "margin-top": "15px" }, attrs: { border: "", data: t2.tableData, "header-cell-style": t2.headClass } }, [n2("el-table-column", { attrs: { label: "#", align: "center", width: "50" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(e3.$index + (t2.query.pageNumber - 1) * t2.query.pageSize + 1) + " ")])];
|
|
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", prop: "typeName", label: "类型名称" } }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", prop: "pn", label: "应用条数" } }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "操作" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: function(n3) {
|
|
return t2.editNoticeType(e3.row);
|
|
} } }, [t2._v("编辑")]), t2._v(" "), n2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: function(n3) {
|
|
return t2.deleteNoticeType(e3.row);
|
|
} } }, [t2._v("删除")])];
|
|
} }]) })], 1), t2._v(" "), n2("div", { staticClass: "paginations" }, [n2("el-pagination", { attrs: { background: "", "current-page": t2.query.pageNumber, "page-sizes": [10, 20, 30, 50], "page-size": t2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: t2.pageTotal }, on: { "update:currentPage": function(e3) {
|
|
return t2.$set(t2.query, "pageNumber", e3);
|
|
}, "update:current-page": function(e3) {
|
|
return t2.$set(t2.query, "pageNumber", e3);
|
|
}, "size-change": t2.handleSizeChange, "current-change": t2.handleCurrentChange } })], 1)], 1)], 1), t2._v(" "), n2("el-dialog", { attrs: { title: "公告类型", visible: t2.dialogFormVisible, width: "30%" }, on: { "update:visible": function(e3) {
|
|
t2.dialogFormVisible = e3;
|
|
} } }, [n2("el-form", { ref: "ruleForm", attrs: { model: t2.form, rules: t2.formRules } }, [n2("el-form-item", { attrs: { label: "类型名称", prop: "typeName", "label-width": t2.formLabelWidth } }, [n2("el-input", { attrs: { autocomplete: "off" }, model: { value: t2.form.typeName, callback: function(e3) {
|
|
t2.$set(t2.form, "typeName", e3);
|
|
}, expression: "form.typeName" } })], 1)], 1), t2._v(" "), n2("div", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [n2("el-button", { on: { click: function(e3) {
|
|
return t2.resetForm("ruleForm");
|
|
} } }, [t2._v("取消")]), t2._v(" "), n2("el-button", { attrs: { type: "primary" }, on: { click: function(e3) {
|
|
return t2.submitForm("ruleForm");
|
|
} } }, [t2._v("确认提交")])], 1)], 1)], 1);
|
|
}, pt = [], mt = { components: {}, data: function() {
|
|
return { pageTotal: 0, query: { companyId: JSON.parse(window.localStorage.getItem("companyInfo")).osId, pageNumber: 1, pageSize: 10 }, formLabelWidth: "120px", dialogFormVisible: false, form: { typeName: "" }, formRules: { typeName: [{ required: true, message: "请输入类型名称", trigger: "blur" }] }, type: "add", editInfor: {}, tableData: [] };
|
|
}, mounted: function() {
|
|
this.headClass(), this.getlistData();
|
|
}, methods: { onSearch: function() {
|
|
this.query.pageNumber = 1, this.getlistData();
|
|
}, getlistData: function() {
|
|
var t2 = this;
|
|
c(this.query).then((function(e2) {
|
|
t2.tableData = e2.data.records, t2.pageTotal = e2.data.rowsCount;
|
|
}));
|
|
}, addNoticesType: function() {
|
|
this.type = "add", this.form.typeName = "", this.dialogFormVisible = true;
|
|
}, submitForm: function(t2) {
|
|
var e2 = this;
|
|
this.$refs[t2].validate((function(t3) {
|
|
if (!t3) return false;
|
|
var n2 = { companyId: JSON.parse(window.localStorage.getItem("companyInfo")).osId, typeName: e2.form.typeName };
|
|
"add" === e2.type ? l(n2).then((function(t4) {
|
|
0 === t4.code && t4.data ? (e2.$message({ type: "success", message: "创建成功!" }), e2.getlistData(), e2.dialogFormVisible = false) : e2.$message({ type: "error", message: "创建失败!" });
|
|
})) : (n2 = Object.assign(n2, { id: e2.editInfor.id }), u(n2).then((function(t4) {
|
|
0 === t4.code && t4.data ? (e2.$message({ type: "success", message: "编辑成功!" }), e2.getlistData(), e2.dialogFormVisible = false) : e2.$message({ type: "error", message: "编辑失败!" });
|
|
})));
|
|
}));
|
|
}, resetForm: function(t2) {
|
|
this.$refs[t2].resetFields(), this.dialogFormVisible = false;
|
|
}, editNoticeType: function(t2) {
|
|
this.type = "edit", this.form.typeName = t2.typeName, this.editInfor = t2, this.dialogFormVisible = true;
|
|
}, deleteNoticeType: function(t2) {
|
|
var e2 = this;
|
|
this.$confirm("此操作将删除该通知公告类型, 是否继续?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then((function() {
|
|
d({ id: t2.id }).then((function(t3) {
|
|
0 === t3.code ? e2.$message({ type: "success", message: "操作成功!" }) : e2.$message({ type: "error", message: "操作失败!" });
|
|
}));
|
|
})).catch((function() {
|
|
}));
|
|
}, handleSizeChange: function(t2) {
|
|
this.query.pageSize = t2, this.getlistData();
|
|
}, handleCurrentChange: function(t2) {
|
|
this.query.pageNumber = t2, this.getlistData();
|
|
}, headClass: function() {
|
|
return "text-align:center;background:#FAFAFA;";
|
|
} } }, ft = mt, ht = (n("1c64"), Object(q["a"])(ft, dt, pt, false, null, "27f236b8", null)), gt = ht.exports, bt = function() {
|
|
var t2 = this, e2 = t2.$createElement, n2 = t2._self._c || e2;
|
|
return n2("div");
|
|
}, yt = [], vt = {}, wt = vt, _t = Object(q["a"])(wt, bt, yt, false, null, null, null), St = _t.exports, kt = { name: "notification", components: { notificationRecord: ut, notificationType: gt, notificationTemplate: St }, data: function() {
|
|
return { activeName: "notificationRecord" };
|
|
}, methods: { handleClick: function(t2) {
|
|
var e2 = t2.paneName;
|
|
this.activeName = e2;
|
|
} } }, jt = kt, Ct = Object(q["a"])(jt, a, i, false, null, null, null);
|
|
e["default"] = Ct.exports;
|
|
}, "127f": function(t, e, n) {
|
|
"use strict";
|
|
n.d(e, "a", (function() {
|
|
return a;
|
|
}));
|
|
n("4057");
|
|
var a = function() {
|
|
function t2() {
|
|
return (65536 * (1 + Math.random()) | 0).toString(16).substring(1);
|
|
}
|
|
return "".concat(+/* @__PURE__ */ new Date(), "_").concat(t2()).concat(t2());
|
|
};
|
|
}, "159e": function(t, e, n) {
|
|
}, "1c64": function(t, e, n) {
|
|
"use strict";
|
|
n("87a47");
|
|
}, "1cb7": function(t, e, n) {
|
|
"use strict";
|
|
n("c496");
|
|
}, "42af": function(t, e, n) {
|
|
}, 4513: function(t, e, n) {
|
|
"use strict";
|
|
n.d(e, "v", (function() {
|
|
return i;
|
|
})), n.d(e, "w", (function() {
|
|
return o;
|
|
})), n.d(e, "x", (function() {
|
|
return r;
|
|
})), n.d(e, "l", (function() {
|
|
return s;
|
|
})), n.d(e, "t", (function() {
|
|
return c;
|
|
})), n.d(e, "j", (function() {
|
|
return l;
|
|
})), n.d(e, "o", (function() {
|
|
return u;
|
|
})), n.d(e, "u", (function() {
|
|
return d;
|
|
})), n.d(e, "b", (function() {
|
|
return p;
|
|
})), n.d(e, "p", (function() {
|
|
return m;
|
|
})), n.d(e, "D", (function() {
|
|
return f;
|
|
})), n.d(e, "B", (function() {
|
|
return h;
|
|
})), n.d(e, "q", (function() {
|
|
return g;
|
|
})), n.d(e, "c", (function() {
|
|
return b;
|
|
})), n.d(e, "s", (function() {
|
|
return y;
|
|
})), n.d(e, "i", (function() {
|
|
return v;
|
|
})), n.d(e, "n", (function() {
|
|
return w;
|
|
})), n.d(e, "a", (function() {
|
|
return _;
|
|
})), n.d(e, "g", (function() {
|
|
return S;
|
|
})), n.d(e, "d", (function() {
|
|
return k;
|
|
})), n.d(e, "f", (function() {
|
|
return j;
|
|
})), n.d(e, "C", (function() {
|
|
return C;
|
|
})), n.d(e, "m", (function() {
|
|
return I;
|
|
})), n.d(e, "y", (function() {
|
|
return N;
|
|
})), n.d(e, "r", (function() {
|
|
return x;
|
|
})), n.d(e, "e", (function() {
|
|
return O;
|
|
})), n.d(e, "z", (function() {
|
|
return T;
|
|
})), n.d(e, "A", (function() {
|
|
return L;
|
|
})), n.d(e, "h", (function() {
|
|
return q;
|
|
})), n.d(e, "k", (function() {
|
|
return $;
|
|
}));
|
|
var a = n("b775");
|
|
function i() {
|
|
return Object(a["a"])({ url: "/company/organizationalStructure/updateOrgnization", method: "post" });
|
|
}
|
|
function o(t2) {
|
|
return Object(a["a"])({ url: "/company/organizationalStructure/findOsTree", method: "post", data: t2 });
|
|
}
|
|
function r(t2) {
|
|
return Object(a["a"])({ url: "/company/organizationalStructure/findOsTreeV2", method: "post", data: t2 });
|
|
}
|
|
function s(t2) {
|
|
return Object(a["a"])({ url: "/company/OrganizationRoleRel/findProjectByRoleIdAndParent", method: "post", data: t2 });
|
|
}
|
|
function c(t2) {
|
|
return Object(a["a"])({ url: "/company/member/pageListByCompanyId", method: "post", data: t2 });
|
|
}
|
|
function l(t2) {
|
|
return Object(a["a"])({ url: "/company/member/findByProjectUuidAndJobUuid", method: "post", data: t2 });
|
|
}
|
|
function u(t2) {
|
|
return Object(a["a"])({ url: "/company/member/getList", method: "post", data: t2 });
|
|
}
|
|
function d(t2) {
|
|
return Object(a["a"])({ url: "/company/organizationalStructure/findOsPathList", method: "post", data: t2 });
|
|
}
|
|
function p(t2) {
|
|
return Object(a["a"])({ url: "/company/member/create", method: "post", data: t2 });
|
|
}
|
|
function m(t2) {
|
|
return Object(a["a"])({ url: "/company/member/findById", method: "post", data: t2 });
|
|
}
|
|
function f(t2) {
|
|
return Object(a["a"])({ url: "/company/member/update", method: "post", data: t2 });
|
|
}
|
|
function h(t2) {
|
|
return Object(a["a"])({ url: "/company/member/suspendMember", method: "post", data: t2 });
|
|
}
|
|
function g(t2) {
|
|
return Object(a["a"])({ url: "/enterprise/os/memberQuit/".concat(t2.memberUuid), method: "post" });
|
|
}
|
|
function b(t2) {
|
|
return Object(a["a"])({ url: "/company/organizationalStructure/create", method: "post", data: t2 });
|
|
}
|
|
function y(t2) {
|
|
return Object(a["a"])({ url: "/company/organizationalStructure/update", method: "post", data: t2 });
|
|
}
|
|
function v(t2) {
|
|
return Object(a["a"])({ url: "/company/member/findByProjectUuid", method: "post", data: t2 });
|
|
}
|
|
function w(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/Job/getJobList", method: "post", data: t2 });
|
|
}
|
|
function _(t2) {
|
|
return Object(a["a"])({ url: "/company/member/ChangeDepartment", method: "post", data: t2 });
|
|
}
|
|
function S(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/Role/pageList", method: "post", data: t2 });
|
|
}
|
|
function k(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/MemberRoleRel/create", method: "post", data: t2 });
|
|
}
|
|
function j(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/MemberRoleRel/findByMemberId", method: "post", data: t2 });
|
|
}
|
|
function C(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/MemberRoleRel/update", method: "post", data: t2 });
|
|
}
|
|
function I(t2) {
|
|
return Object(a["a"])({ url: "/company/member/getList", method: "POST", data: t2 });
|
|
}
|
|
function N(t2) {
|
|
return Object(a["a"])({ url: "/company/member/queryByStaff", method: "POST", data: t2 });
|
|
}
|
|
function x(t2) {
|
|
return Object(a["a"])({ url: "/company/member/memberQuit", method: "POST", data: t2 });
|
|
}
|
|
function O(t2) {
|
|
return Object(a["a"])({ url: "/company/organizationalStructure/delete", method: "POST", data: t2 });
|
|
}
|
|
function T(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/Space/queryInitData", method: "POST", data: t2 });
|
|
}
|
|
function L(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/Space/queryList", method: "POST", data: t2 });
|
|
}
|
|
function q(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/Space/findByProId", method: "POST", data: t2 });
|
|
}
|
|
function $(t2) {
|
|
return Object(a["a"])({ url: "/company/organizationalStructure/findOSListByRoleId", method: "POST", data: t2 });
|
|
}
|
|
}, "67d5": function(t, e, n) {
|
|
"use strict";
|
|
n.d(e, "i", (function() {
|
|
return i;
|
|
})), n.d(e, "j", (function() {
|
|
return o;
|
|
})), n.d(e, "f", (function() {
|
|
return r;
|
|
})), n.d(e, "b", (function() {
|
|
return s;
|
|
})), n.d(e, "c", (function() {
|
|
return c;
|
|
})), n.d(e, "k", (function() {
|
|
return l;
|
|
})), n.d(e, "e", (function() {
|
|
return u;
|
|
})), n.d(e, "d", (function() {
|
|
return d;
|
|
})), n.d(e, "h", (function() {
|
|
return p;
|
|
})), n.d(e, "a", (function() {
|
|
return m;
|
|
})), n.d(e, "g", (function() {
|
|
return f;
|
|
}));
|
|
var a = n("b775");
|
|
function i(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/Role/pageList", method: "post", data: t2 });
|
|
}
|
|
function o(t2) {
|
|
return Object(a["a"])({ url: "/company/organizationalStructure/selectOsList", method: "post", data: t2 });
|
|
}
|
|
function r(t2) {
|
|
return Object(a["a"])({ url: "/company/organizationalStructure/findOsTree", method: "post", data: t2 });
|
|
}
|
|
function s(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/Role/create", method: "post", data: t2 });
|
|
}
|
|
function c(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/Role/delete", method: "post", data: t2 });
|
|
}
|
|
function l(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/Role/update", method: "post", data: t2 });
|
|
}
|
|
function u(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/RoleMenuRel/findByRoleIdAndClienId", method: "post", data: t2 });
|
|
}
|
|
function d(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/OrganizationRoleRel/findByRoleId", method: "post", data: t2 });
|
|
}
|
|
function p(t2) {
|
|
return Object(a["a"])({ url: "/company/member/pageListForRole", method: "post", data: t2 });
|
|
}
|
|
function m(t2) {
|
|
return Object(a["a"])({ url: "/company/MemberRoleRel/batchDelete", method: "post", data: t2 });
|
|
}
|
|
function f(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/account/findProjectByRole", method: "post", data: t2 });
|
|
}
|
|
}, "6ccb": function(t, e, n) {
|
|
}, 7900: function(t, e, n) {
|
|
"use strict";
|
|
n("8065");
|
|
}, 8065: function(t, e, n) {
|
|
}, "87a47": function(t, e, n) {
|
|
}, "90e7": function(t, e, n) {
|
|
"use strict";
|
|
n.d(e, "g", (function() {
|
|
return i;
|
|
})), n.d(e, "m", (function() {
|
|
return o;
|
|
})), n.d(e, "f", (function() {
|
|
return r;
|
|
})), 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 p;
|
|
})), n.d(e, "e", (function() {
|
|
return m;
|
|
})), n.d(e, "d", (function() {
|
|
return f;
|
|
})), n.d(e, "i", (function() {
|
|
return h;
|
|
})), n.d(e, "j", (function() {
|
|
return g;
|
|
})), n.d(e, "o", (function() {
|
|
return b;
|
|
})), n.d(e, "k", (function() {
|
|
return y;
|
|
}));
|
|
var a = n("b775");
|
|
function i(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/DeductionInfo/findById", method: "post", data: t2 });
|
|
}
|
|
function o(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/DeductionInfo/update", method: "post", data: t2 });
|
|
}
|
|
function r(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 p(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/CockpitConfig/create", method: "post", data: t2 });
|
|
}
|
|
function m(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/CockpitConfig/findByCompanyIdAndType", method: "post", data: t2 });
|
|
}
|
|
function f(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/CockpitConfig/sceneMenuList", method: "post", data: t2 });
|
|
}
|
|
function h(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 y(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/ProjectConfig/updateVisitPollRateByProjectUuid", method: "post", data: t2 });
|
|
}
|
|
}, "953d8": function(t, e, n) {
|
|
"use strict";
|
|
n("159e");
|
|
}, c496: function(t, e, n) {
|
|
}, fab8: function(t, e, n) {
|
|
"use strict";
|
|
n("6ccb");
|
|
} }]);
|