895 lines
72 KiB
JavaScript
895 lines
72 KiB
JavaScript
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-217697e7", "chunk-2d0aa9e6"], { "0302": function(e, t, a) {
|
||
}, "127f": function(e, t, a) {
|
||
"use strict";
|
||
a.d(t, "a", (function() {
|
||
return l;
|
||
}));
|
||
var l = function() {
|
||
function e2() {
|
||
return (65536 * (1 + Math.random()) | 0).toString(16).substring(1);
|
||
}
|
||
return "".concat(+/* @__PURE__ */ new Date(), "_").concat(e2()).concat(e2());
|
||
};
|
||
}, "3ba0": function(e, t, a) {
|
||
}, "402f": function(e, t, a) {
|
||
}, 6396: function(e, t, a) {
|
||
"use strict";
|
||
Math.easeInOutQuad = function(e2, t2, a2, l) {
|
||
return e2 /= l / 2, e2 < 1 ? a2 / 2 * e2 * e2 + t2 : (e2--, -a2 / 2 * (e2 * (e2 - 2) - 1) + t2);
|
||
};
|
||
(function() {
|
||
window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame;
|
||
})();
|
||
}, "68a0": function(e, t, a) {
|
||
}, "748b": function(e, t, a) {
|
||
"use strict";
|
||
a("402f");
|
||
}, "7fea": function(e, t, a) {
|
||
"use strict";
|
||
a("68a0");
|
||
}, "87c9": function(e, t, a) {
|
||
"use strict";
|
||
a("3ba0");
|
||
}, "8f53": function(e, t, a) {
|
||
"use strict";
|
||
a.d(t, "y", (function() {
|
||
return l;
|
||
})), a.d(t, "t", (function() {
|
||
return n;
|
||
})), a.d(t, "v", (function() {
|
||
return i;
|
||
})), a.d(t, "B", (function() {
|
||
return o;
|
||
})), a.d(t, "n", (function() {
|
||
return r;
|
||
})), a.d(t, "a", (function() {
|
||
return s;
|
||
})), a.d(t, "K", (function() {
|
||
return u;
|
||
})), a.d(t, "s", (function() {
|
||
return c;
|
||
})), a.d(t, "u", (function() {
|
||
return d;
|
||
})), a.d(t, "x", (function() {
|
||
return p;
|
||
})), a.d(t, "G", (function() {
|
||
return f;
|
||
})), a.d(t, "I", (function() {
|
||
return b;
|
||
})), a.d(t, "M", (function() {
|
||
return v;
|
||
})), a.d(t, "N", (function() {
|
||
return m;
|
||
})), a.d(t, "z", (function() {
|
||
return h;
|
||
})), a.d(t, "i", (function() {
|
||
return g;
|
||
})), a.d(t, "d", (function() {
|
||
return y;
|
||
})), a.d(t, "p", (function() {
|
||
return _;
|
||
})), a.d(t, "H", (function() {
|
||
return w;
|
||
})), a.d(t, "e", (function() {
|
||
return k;
|
||
})), a.d(t, "h", (function() {
|
||
return x;
|
||
})), a.d(t, "m", (function() {
|
||
return S;
|
||
})), a.d(t, "q", (function() {
|
||
return C;
|
||
})), a.d(t, "A", (function() {
|
||
return I;
|
||
})), a.d(t, "E", (function() {
|
||
return T;
|
||
})), a.d(t, "F", (function() {
|
||
return N;
|
||
})), a.d(t, "r", (function() {
|
||
return q;
|
||
})), a.d(t, "D", (function() {
|
||
return j;
|
||
})), a.d(t, "o", (function() {
|
||
return L;
|
||
})), a.d(t, "L", (function() {
|
||
return O;
|
||
})), a.d(t, "j", (function() {
|
||
return $;
|
||
})), a.d(t, "f", (function() {
|
||
return F;
|
||
})), a.d(t, "w", (function() {
|
||
return U;
|
||
})), a.d(t, "g", (function() {
|
||
return B;
|
||
})), a.d(t, "k", (function() {
|
||
return M;
|
||
})), a.d(t, "J", (function() {
|
||
return z;
|
||
})), a.d(t, "C", (function() {
|
||
return A;
|
||
})), a.d(t, "l", (function() {
|
||
return D;
|
||
})), a.d(t, "b", (function() {
|
||
return P;
|
||
})), a.d(t, "c", (function() {
|
||
return E;
|
||
}));
|
||
var l = [{ value: 1, label: "低" }, { value: 2, label: "一般" }, { value: 3, label: "紧急" }], n = [{ value: 1, label: "待受理" }, { value: 2, label: "已派单" }, { value: 3, label: "已接单" }, { value: 4, label: "处理中" }, { value: 5, label: "已完成" }, { value: 6, label: "已回访" }, { value: 7, label: "已关闭" }, { value: 8, label: "已延后" }, { value: 9, label: "待评价" }, { value: 10, label: "已评价" }, { value: 11, label: "未受理" }], i = [{ value: 11, label: "公区整改" }, { value: 12, label: "住户服务" }, { value: 13, label: "通用工单" }, { value: 15, label: "工单审核" }], o = [{ value: 1, label: "邻里关系" }, { value: 2, label: "清洁卫生" }, { value: 3, label: "投诉报修" }, { value: 4, label: "房屋认证" }, { value: 5, label: "月卡申请" }, { value: 6, label: "门禁申请" }, { value: 7, label: "个人维修" }, { value: 8, label: "工区维修" }, { value: 9, label: "订单服务" }, { value: 10, label: "管家服务" }], r = [{ label: "日", value: 0 }, { label: "周", value: 1 }, { label: "月", value: 2 }, { label: "年", value: 4 }], s = [{ label: "普通", value: 1 }, { label: "培训", value: 2 }, { label: "认证", value: 3 }], u = [{ value: 1, label: "正常" }, { value: 2, label: "预警" }, { value: 3, label: "超时" }], c = [{ value: 1, label: "服务提交" }, { value: 2, label: "服务受理" }, { value: 3, label: "服务处理" }, { value: 4, label: "服务评价" }, { value: 5, label: "服务完成" }, { value: 6, label: "服务拒绝" }], d = [{ value: 1, label: "房屋认证" }, { value: 2, label: "门禁申请" }, { value: 3, label: "车辆月卡" }, { value: 4, label: "投诉报修" }], p = [{ value: 1, label: "巡检" }, { value: 2, label: "维保" }, { value: 3, label: "抄表" }, { value: 4, label: "保洁" }, { value: 5, label: "绿化" }, { value: 6, label: "拜访" }], f = [{ value: 1, label: "未执行" }, { value: 2, label: "执行中" }, { value: 3, label: "已完成" }, { value: 4, label: "超时" }, { value: 5, label: "领取超时" }, { value: 9, label: "超时完成" }, { value: 12, label: "超时预警" }], b = [{ label: "巡检类", value: 1 }, { label: "维保类", value: 2 }, { label: "抄表类", value: 3 }, { label: "清洁类", value: 4 }, { label: "绿化类", value: 5 }, { label: "上门拜访类", value: 6 }, { label: "维修类", value: 7 }, { label: "服务礼仪类", value: 8 }, { label: "内部管控类", value: 9 }, { label: "社区温度类", value: 10 }], v = [{ label: "人事管控类", value: 1 }, { label: "财务管控类", value: 2 }, { label: "事务管控类", value: 3 }, { label: "物料管控类", value: 4 }], m = [{ label: "人", value: 1 }, { label: "财", value: 2 }, { label: "事", value: 3 }, { label: "物", value: 4 }], h = [{ label: "普通", value: 1 }, { label: "培训", value: 2 }, { label: "认证", value: 3 }], g = [{ label: "日", value: 0 }, { label: "周", value: 1 }, { label: "月", value: 2 }, { label: "年", value: 4 }], y = [{ label: "全员收费", value: 1 }, { label: "全员突击", value: 2 }, { label: "全员巡查", value: 3 }, { label: "全员保洁", value: 4 }], _ = [{ label: "X(新增默认)", value: "X" }, { label: "A", value: "A" }, { label: "B", value: "B" }, { label: "C", value: "C" }, { label: "D", value: "D" }, { label: "E", value: "E" }], w = [{ label: "自管", value: 1 }, { label: "外包", value: 2 }], k = [{ label: "内勤", value: 1 }, { label: "外勤", value: 2 }], x = [{ label: "固定作业", value: 1 }, { label: "移动作业", value: 2 }], S = [{ label: "发现问题", value: 1 }, { label: "处理问题", value: 2 }], C = [{ label: "人", value: 1 }, { label: "物", value: 2 }], I = [{ label: "客户服务", value: 1 }, { label: "安全服务", value: 2 }, { label: "设施设备管理", value: 3 }, { label: "环境管理", value: 4 }, { label: "基础资料", value: 5 }], T = [{ label: "设备标准", value: 1 }, { label: "空间服务标准", value: 2 }, { label: "物品标准", value: 3 }, { label: "绿化养护标准", value: 5 }, { label: "内部标准", value: 6 }, { label: "体检标准", value: 7 }, { label: "项目标准", value: 8 }], N = [{ label: "1A", value: 1 }, { label: "2A", value: 2 }, { label: "3A", value: 3 }, { label: "4A", value: 4 }, { label: "5A", value: 5 }], q = [{ value: 1, label: "1星级" }, { value: 2, label: "2星级" }, { value: 3, label: "3星级" }, { value: 4, label: "4星级" }, { value: 5, label: "5星级" }], j = [{ label: "业务收入", value: 1 }, { label: "经营收入", value: 2 }, { label: "资产处置收益", value: 3 }, { label: "其他收益", value: 4 }, { label: "营业外收入", value: 5 }, { label: "投资收益", value: 6 }, { label: "筹资活动", value: 7 }, { label: "清洁卫生费", value: 8 }, { label: "安全保卫费", value: 9 }, { label: "绿化养护费", value: 10 }, { label: "工程维护费", value: 11 }, { label: "能源费", value: 12 }, { label: "职工薪酬", value: 13 }, { label: "行政办公费", value: 14 }, { label: "其他物业管理成本", value: 15 }, { label: "停车场经营成本", value: 16 }, { label: "物业经营成本", value: 17 }, { label: "其他业务成本", value: 18 }, { label: "税金及附加", value: 19 }, { label: "财务费用", value: 20 }, { label: "资产减值损失", value: 21 }, { label: "营业外支出", value: 22 }, { label: "所得税费用", value: 23 }, { label: "投资费用", value: 24 }, { label: "筹资费用", value: 25 }, { label: "资本支出", value: 26 }, { label: "代收代付项", value: 27 }], L = [{ label: "水表", value: 1 }, { label: "电表", value: 2 }, { label: "暖气表", value: 3 }, { label: "燃气表", value: 4 }, { label: "热水表", value: 5 }], O = [{ label: "普通", value: 1 }, { label: "一般", value: 2 }, { label: "重要", value: 3 }], $ = [{ label: "房屋认证", value: 1 }, { label: "门禁申请", value: 2 }, { label: "车辆月卡", value: 3 }, { label: "现场品质", value: 4 }, { label: "邻里关系", value: 6 }, { label: "投诉", value: 7 }, { label: "到家服务", value: 8 }, { label: "公区维修", value: 9 }, { label: "满意度调查", value: 10 }, { label: "业委会会议", value: 11 }, { label: "政务沟通", value: 12 }, { label: "客户拜访", value: 13 }, { label: "门禁权限申请", value: 14 }, { label: "服务态度", value: 15 }], F = [{ label: "设备整改", value: 2 }, { label: "电梯整改", value: 3 }, { label: "清洁卫生[内控]", value: 4 }, { label: "车场整改", value: 5 }, { label: "安防整改", value: 6 }, { label: "绿化整改", value: 7 }, { label: "历史工单-1", value: 12 }, { label: "历史工单-2", value: 13 }, { label: "能源整改", value: 15 }, { label: "审批工单", value: 16 }, { label: "内部整改", value: 17 }, { label: "行政", value: 18 }, { label: "人事", value: 19 }, { label: "财务", value: 20 }, { label: "市场", value: 21 }], U = [{ label: "主动服务", value: 1 }, { label: "设备管理", value: 2 }, { label: "电梯管理", value: 3 }, { label: "清洁卫生", value: 4 }, { label: "车场运营", value: 5 }, { label: "安防管理", value: 6 }, { label: "绿化管理", value: 7 }, { label: "业委会会议", value: 8 }, { label: "政务沟通", value: 9 }, { label: "客户拜访", value: 10 }, { label: "能源计划", value: 11 }, { label: "审批工单", value: 12 }, { label: "内部整改", value: 13 }], B = [{ label: "设备管理标准", value: 1 }, { label: "内部管控标准", value: 2 }, { label: "清洁管理标准", value: 3 }, { label: "安全管理标准", value: 4 }, { label: "绿化养护标准", value: 5 }, { label: "消防管控标准", value: 6 }, { label: "电梯管理标准", value: 7 }, { label: "停车场管理标准", value: 8 }, { label: "能源管理标准", value: 9 }], M = [{ label: "产权人", value: 1 }, { label: "亲属", value: 2 }, { label: "租户", value: 3 }, { label: "好友", value: 4 }, { label: "访客", value: 5 }, { label: "产权人(共有)", value: 6 }], z = [{ label: "感知器", value: 1 }, { label: "控制器", value: 2 }, { label: "动作器", value: 3 }], A = [{ label: "日报", value: 1 }, { label: "周报", value: 2 }, { label: "月报", value: 3 }, { label: "季度", value: 4 }, { label: "半年", value: 5 }, { label: "年度", value: 6 }], D = [{ label: "安全生产", value: 1 }, { label: "效益", value: 2 }, { label: "满意", value: 3 }], P = [{ label: "一般", value: [1, 2, 3] }, { label: "重要", value: [4, 5, 6] }, { label: "非常重要", value: [7, 8, 9] }], E = [{ value: 0, label: "不合格" }, { value: 1, label: "合格" }, { value: 2, label: "AI判定中" }, { value: 3, label: "无需AI验收" }, { value: 4, label: "AI标准缺失" }, { value: 5, label: "智能体未配置" }, { value: 6, label: "无权益请充值" }];
|
||
}, 9383: function(e, t, a) {
|
||
"use strict";
|
||
a("9fca");
|
||
}, "9af8": function(e, t, a) {
|
||
e.exports = a.p + "static/img/waiting.46d85db3.png";
|
||
}, "9fca": function(e, t, a) {
|
||
}, d382: function(e, t, a) {
|
||
"use strict";
|
||
a.r(t);
|
||
var l = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", { staticClass: "app-container bgHeight" }, [a2("el-tabs", { staticClass: "thirdTabs", attrs: { value: e2.activeName, type: "border-card" }, on: { "tab-click": e2.handleClick } }, [a2("el-tab-pane", { attrs: { label: "通知记录", name: "noticeList" } }, [a2("noticeList")], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "通知模板", name: "HEWC" } }, [a2("waitTab")], 1)], 1)], 1);
|
||
}, n = [], i = a("69b7"), o = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", { staticClass: "app-container bgHeight" }, [e2.infoList ? a2("el-card", { staticClass: "box-card", attrs: { shadow: "never" } }, [a2("div", { staticClass: "planLst", attrs: { slot: "header" }, slot: "header" }, [a2("span", { staticClass: "planTitle" }, [e2._v("通知列表")]), e2._v(" "), a2("div", [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: e2.addMsg } }, [e2._v("新增通知")])], 1)]), e2._v(" "), a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: e2.listLoading, expression: "listLoading" }], attrs: { border: "", data: e2.listTable, "header-cell-style": e2.headClass, "tooltip-effect": "dark" } }, [a2("el-table-column", { attrs: { label: "#", align: "center", width: "50" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(t3.$index + (e2.query.pageNumber - 1) * e2.query.pageSize + 1) + "\n ")])];
|
||
} }], null, false, 2770601025) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "所属项目" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(t3.row.projectName))])];
|
||
} }], null, false, 1456381044) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "标题", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(t3.row.title))])];
|
||
} }], null, false, 1808518502) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "通知类型" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("div", [e2._v("\n " + e2._s(e2.filterTypeName(t3.row)) + "\n ")])];
|
||
} }], null, false, 4010673889) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "内容" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("div", { staticClass: "checkDetailes", on: { click: function(a3) {
|
||
return e2.checkDetailes(t3.row);
|
||
} } }, [e2._v("\n 查看\n ")])];
|
||
} }], null, false, 2332234233) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "签约房屋数" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("el-button", { attrs: { slot: "reference", type: "text" }, on: { click: function(a3) {
|
||
return e2.showTable(t3.row);
|
||
} }, slot: "reference" }, [e2._v(e2._s(t3.row.signingHouseCount || 0))])];
|
||
} }], null, false, 176992517) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "已读" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("el-button", { attrs: { slot: "reference", type: "text" }, on: { click: function(a3) {
|
||
return e2.read(t3.row);
|
||
} }, slot: "reference" }, [e2._v(e2._s(t3.row.haveReadCount ? t3.row.haveReadCount : 0))])];
|
||
} }], null, false, 4197952859) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "操作人" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(t3.row.senderName))])];
|
||
} }], null, false, 2167545450) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "操作时间" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(t3.row.sendTime))])];
|
||
} }], null, false, 548906895) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "状态" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(e2._f("getItemType")(t3.row.sendStatus, e2.statusList)))])];
|
||
} }], null, false, 4270315670) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "操作" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: function(a3) {
|
||
return e2.renewals(t3.row, "view");
|
||
} } }, [e2._v("查看")]), e2._v(" "), 1 != t3.row.sendStatus ? a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: function(a3) {
|
||
return e2.renewals(t3.row, "edit");
|
||
} } }, [e2._v("编辑")]) : e2._e(), e2._v(" "), 1 === t3.row.sendStatus ? a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: function(a3) {
|
||
return e2.withdraw(t3.row);
|
||
} } }, [e2._v("撤回")]) : e2._e()];
|
||
} }], null, false, 2100658313) })], 1), e2._v(" "), a2("div", { staticClass: "paginations" }, [a2("Pagination", { attrs: { total: e2.pageTotal }, on: { handleCurrentChange: function(t3) {
|
||
return e2.handleCurrentChange(t3, 1);
|
||
}, handleSizeChange: function(t3) {
|
||
return e2.handleSizeChange(t3, 1);
|
||
} } })], 1)], 1) : e2._e(), e2._v(" "), e2.viewInfo ? a2("div", [a2("noticeInfor", { ref: "noticeInfor", attrs: { type: e2.type }, on: { goBack: e2.goBack } })], 1) : e2._e(), e2._v(" "), a2("el-dialog", { attrs: { title: "签约房屋列表", width: "80%", visible: e2.contractBuildingShow }, on: { "update:visible": function(t3) {
|
||
e2.contractBuildingShow = t3;
|
||
} } }, [a2("div", { staticClass: "app-container bgHeight" }, [a2("div", [a2("div", { ref: "box", staticClass: "searchStys transition_dom", style: { height: e2.is_show ? "180px" : "80px" } }, [a2("el-form", { ref: "query2", attrs: { model: e2.query2 } }, [a2("div", { ref: "form_box", staticClass: "searchBar" }, [a2("div", { staticClass: "searchInput" }, [a2("el-row", { attrs: { gutter: 20 } }, [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "precinctId" } }, [a2("el-select", { attrs: { placeholder: "请选择管理区", filterable: "", clearable: "" }, on: { change: e2.selectChange }, model: { value: e2.query2.precinctId, callback: function(t3) {
|
||
e2.$set(e2.query2, "precinctId", t3);
|
||
}, expression: "query2.precinctId" } }, e2._l(e2.managementArea, (function(e3) {
|
||
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "buildingId" } }, [a2("el-select", { attrs: { placeholder: "请选择楼栋", filterable: "", clearable: "" }, on: { change: e2.changeBuild }, model: { value: e2.query2.buildingId, callback: function(t3) {
|
||
e2.$set(e2.query2, "buildingId", t3);
|
||
}, expression: "query2.buildingId" } }, e2._l(e2.building, (function(e3) {
|
||
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "unitId" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "请选择单元" }, on: { change: e2.changeUnit }, model: { value: e2.query2.unitId, callback: function(t3) {
|
||
e2.$set(e2.query2, "unitId", t3);
|
||
}, expression: "query2.unitId" } }, e2._l(e2.unitList, (function(e3) {
|
||
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "roomNum" } }, [a2("el-input", { attrs: { placeholder: "房号", clearable: "" }, model: { value: e2.query2.roomNum, callback: function(t3) {
|
||
e2.$set(e2.query2, "roomNum", t3);
|
||
}, expression: "query2.roomNum" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "signingName" } }, [a2("el-input", { attrs: { placeholder: "姓名", clearable: "" }, model: { value: e2.query2.signingName, callback: function(t3) {
|
||
e2.$set(e2.query2, "signingName", t3);
|
||
}, expression: "query2.signingName" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "mobile" } }, [a2("el-input", { attrs: { placeholder: "手机号", clearable: "" }, model: { value: e2.query2.mobile, callback: function(t3) {
|
||
e2.$set(e2.query2, "mobile", t3);
|
||
}, expression: "query2.mobile" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { prop: "queryTime" } }, [a2("el-date-picker", { attrs: { type: "daterange", "range-separator": "至", format: "yyyy-MM-dd 00:00:00", "value-format": "yyyy-MM-dd 00:00:00", "start-placeholder": "签约开始日期", "end-placeholder": "签约结束日期" }, model: { value: e2.queryTime, callback: function(t3) {
|
||
e2.queryTime = t3;
|
||
}, expression: "queryTime" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "postponeOrderNo" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "请选择身份" }, model: { value: e2.query2.identityType, callback: function(t3) {
|
||
e2.$set(e2.query2, "identityType", t3);
|
||
}, expression: "query2.identityType" } }, e2._l(e2.identityList, (function(e3) {
|
||
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1)], 1)], 1), e2._v(" "), a2("div", { staticClass: "searchBtn" }, [a2("el-form-item", [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(t3) {
|
||
return e2.resetForm("query2");
|
||
} } }, [e2._v("重置")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: e2.onSearch } }, [e2._v("查询")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: e2.upAndDown } }, [e2._v(e2._s(e2.is_show ? "收起" : "展开")), a2("i", { class: [e2.is_show ? "el-icon-arrow-up" : "el-icon-arrow-down"] })])], 1)], 1)])])], 1), e2._v(" "), a2("el-card", { staticClass: "box-card", attrs: { shadow: "never" } }, [a2("div", { staticClass: "planLst", attrs: { slot: "header" }, slot: "header" }, [a2("span", { staticClass: "planTitle" }, [e2._v("签约房屋列表")])]), e2._v(" "), a2("el-table", { attrs: { border: "", data: e2.listTable2, "header-cell-style": e2.headClass, "tooltip-effect": "dark" } }, [a2("el-table-column", { attrs: { label: "#", align: "center", "min-width": "50" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(t3.$index + (e2.query.pageNumber - 1) * e2.query.pageSize + 1) + "\n ")])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { prop: "precinctName", align: "center", "min-width": "90", label: "管理区" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(t3.row.precinctName || "我是管理区"))])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "90", "show-overflow-tooltip": "", label: "楼栋" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(t3.row.buildingName || "我是楼栋"))])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "90", "show-overflow-tooltip": "", label: "单元" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(t3.row.unitName || "我是单元"))])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { prop: "roomNum", align: "center", "min-width": "150", "show-overflow-tooltip": "", label: "房号" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(t3.row.roomNum))])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "姓名", "min-width": "150" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("div", [e2._v("\n " + e2._s(t3.row.signingName) + "\n ")])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { "show-overflow-tooltip": "", align: "center", "min-width": "150", label: "手机号" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.mobile) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { prop: "identityType", align: "center", label: "身份" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.identityType, e2.identityList)) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { prop: "createTime", align: "center", "min-width": "110", label: "签约时间", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.createTime) + "\n ")];
|
||
} }]) })], 1), e2._v(" "), a2("div", { staticClass: "paginations" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.query2.pageNumber, "page-sizes": [10, 30, 50, 100, 200], "page-size": e2.query2.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.pageTotal2 }, on: { "update:currentPage": function(t3) {
|
||
return e2.$set(e2.query2, "pageNumber", t3);
|
||
}, "update:current-page": function(t3) {
|
||
return e2.$set(e2.query2, "pageNumber", t3);
|
||
}, "size-change": function(t3) {
|
||
return e2.handleSizeChange(t3, 2);
|
||
}, "current-change": function(t3) {
|
||
return e2.handleCurrentChange(t3, 2);
|
||
} } })], 1)], 1)], 1)])]), e2._v(" "), a2("el-dialog", { staticClass: "dialogHead", attrs: { title: "通知公告详情", visible: e2.msgVisible, width: "40%" }, on: { "update:visible": function(t3) {
|
||
e2.msgVisible = t3;
|
||
} } }, [a2("div", { staticClass: "noteicsDetailes", domProps: { innerHTML: e2._s(e2.noteicsDetailes) } }), e2._v(" "), a2("div", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(t3) {
|
||
e2.msgVisible = false;
|
||
} } }, [e2._v("关闭")])], 1)]), e2._v(" "), a2("readTable", { ref: "readTable", attrs: { showRead: e2.showRead }, on: { readDialogClose: e2.readDialogClose } })], 1);
|
||
}, r = [], s = a("2b74"), u = a("8f53"), c = a("333d"), d = a("b775");
|
||
function p(e2) {
|
||
return Object(d["a"])({ url: "/appproject/BannerMessage/pageList", method: "post", data: e2 });
|
||
}
|
||
function f(e2) {
|
||
return Object(d["a"])({ url: "/project/BannerMessage/create", method: "post", data: e2 });
|
||
}
|
||
function b(e2) {
|
||
return Object(d["a"])({ url: "/appproject/BannerMessage/update", method: "post", data: e2 });
|
||
}
|
||
function v(e2) {
|
||
return Object(d["a"])({ url: "/project/BannerMessage/findById", method: "post", data: e2 });
|
||
}
|
||
function m(e2) {
|
||
return Object(d["a"])({ url: "/appproject/BannerMessage/listType", method: "post", data: e2 });
|
||
}
|
||
function h(e2) {
|
||
return Object(d["a"])({ url: "/appproject/CenterMsgDetail/pageList", method: "post", data: e2 });
|
||
}
|
||
function g(e2) {
|
||
return Object(d["a"])({ url: "/appproject/CenterMsgDetail/export", responseType: "blob", method: "post", data: e2 });
|
||
}
|
||
var y = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", { staticClass: "ruleGroupInfo" }, [a2("el-card", { staticClass: "box-card" }, [a2("el-page-header", { attrs: { content: e2.content }, on: { back: e2.goBack } }), e2._v(" "), a2("div", { staticClass: "rule typeface" }, [e2._v("公告详情")]), e2._v(" "), a2("div", { staticClass: "vote-form" }, [a2("el-form", { ref: "ruleForm", staticClass: "demo-ruleForm", attrs: { model: e2.ruleForm, rules: e2.rules, "label-width": "130px" } }, [a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "公告标题:", prop: "title" } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入公告标题", maxlength: "128", "show-word-limit": "" }, model: { value: e2.ruleForm.title, callback: function(t3) {
|
||
e2.$set(e2.ruleForm, "title", "string" === typeof t3 ? t3.trim() : t3);
|
||
}, expression: "ruleForm.title" } })], 1)], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "显示时间:", prop: "showTime" } }, [a2("el-date-picker", { attrs: { format: "yyyy-MM-dd HH:mm:ss", "value-format": "yyyy-MM-dd HH:mm:ss", type: "datetime", placeholder: "选择显示时间" }, model: { value: e2.ruleForm.showTime, callback: function(t3) {
|
||
e2.$set(e2.ruleForm, "showTime", t3);
|
||
}, expression: "ruleForm.showTime" } }), e2._v(" "), a2("span", { staticClass: "timeTip" }, [a2("i", { staticClass: "el-icon-info" }), e2._v("公告详情展示的时间,若不填写则展示真实发布时间!")])], 1)], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { staticClass: "is-required", attrs: { label: "通知项目:" } }, [a2("el-input", { attrs: { disabled: "", readonly: "", placeholder: "请输入公告标题" }, model: { value: e2.projectName, callback: function(t3) {
|
||
e2.projectName = t3;
|
||
}, expression: "projectName" } })], 1)], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "是否公约:" } }, [a2("div", { staticStyle: { display: "flex", "align-items": "center" } }, [a2("el-switch", { attrs: { disabled: e2.disabled, "active-color": "#13ce66", "inactive-color": "#ff4949", "inactive-value": 1, "active-value": 2 }, model: { value: e2.ruleForm.isConvention, callback: function(t3) {
|
||
e2.$set(e2.ruleForm, "isConvention", t3);
|
||
}, expression: "ruleForm.isConvention" } }), e2._v(" "), a2("span", { staticStyle: { "margin-left": "20px" } }, [e2._v(e2._s(1 == e2.ruleForm.isConvention ? "不需要签约" : "需要签约"))])], 1)])], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [e2.disabled2 ? e2._e() : a2("el-form-item", { attrs: { label: "通知类型:", prop: "typeId" } }, [a2("el-select", { attrs: { disabled: e2.disabled2, placeholder: "请选择通知类型" }, model: { value: e2.ruleForm.typeId, callback: function(t3) {
|
||
e2.$set(e2.ruleForm, "typeId", t3);
|
||
}, expression: "ruleForm.typeId" } }, e2._l(e2.noticeTypeList, (function(e3, t3) {
|
||
return a2("el-option", { key: t3, attrs: { label: e3.typeName, value: e3.id, disabled: e3.disabled } });
|
||
})), 1)], 1)], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "通知封面:", prop: "bannerUrl" } }, [a2("AliOSSUpload", { attrs: { limit: 1, disabled: e2.disabled, imgStore: e2.coverImgStore, accept: e2.accept, allowFileType: e2.allowFileType2, fileList: e2.fileListInfo, isChangeFileName: true, showFileList: true, listType: "picture-card" }, on: { getUploadData: e2.getUploadData2 } })], 1)], 1)], 1)], 1)], 1), e2._v(" "), a2("div", { staticClass: "rule typeface" }, [e2._v("通知正文")]), e2._v(" "), a2("div", { staticClass: "vote-questions" }, [a2("div", { staticClass: "vote-questions-list" }, [a2("tinymce", { attrs: { value: e2.ruleForm.content, imgStore: e2.imgStore, height: 500, disabled: e2.disabled }, on: { initStatus: e2.initStatus }, model: { value: e2.ruleForm.content, callback: function(t3) {
|
||
e2.$set(e2.ruleForm, "content", t3);
|
||
}, expression: "ruleForm.content" } })], 1)]), e2._v(" "), a2("div", { staticClass: "vote-submit-options" }, [a2("el-button", { attrs: { size: "small" }, on: { click: e2.cancel } }, [e2._v("取消")]), e2._v(" "), a2("el-button", { attrs: { type: "primary", size: "small", disabled: e2.disabled, loading: e2.buttonLoading }, on: { click: e2.save } }, [e2._v("保存")]), e2._v(" "), a2("el-button", { attrs: { type: "primary", size: "small", disabled: e2.disabled, loading: e2.buttonLoading }, on: { click: e2.publish } }, [e2._v("发布")])], 1)], 1)], 1);
|
||
}, _ = [], w = a("8988"), k = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", { staticClass: "tinymce-container", class: { fullscreen: e2.fullscreen }, style: { width: e2.containerWidth } }, [a2("textarea", { staticClass: "tinymce-textarea", attrs: { id: e2.tinymceId, disabled: e2.disabled } }), e2._v(" "), e2.disabled ? e2._e() : a2("div", { staticClass: "editor-custom-btn-container" }, [a2("editorImage", { staticClass: "editor-upload-btn", attrs: { color: "#1890ff", disabled: e2.disabled, imgStore: e2.imgStore }, on: { successCBK: e2.imageSuccessCBK } })], 1)]);
|
||
}, x = [], S = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", { staticClass: "upload-container" }, [e2.disabled ? e2._e() : a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], style: { background: e2.color, borderColor: e2.color }, attrs: { icon: "el-icon-upload", disabled: e2.disabled, size: "mini", type: "primary" }, on: { click: function(t3) {
|
||
e2.dialogVisible = true;
|
||
} } }, [e2._v("\n 上传图片\n ")]), e2._v(" "), a2("el-dialog", { attrs: { visible: e2.dialogVisible, center: true, "append-to-body": true }, on: { "update:visible": function(t3) {
|
||
e2.dialogVisible = t3;
|
||
}, close: e2.closeDialog } }, [a2("el-upload", { staticClass: "editor-slide-upload", attrs: { action: "", multiple: false, "http-request": e2.uploadRequest, "file-list": e2.fileList, "show-file-list": true, "on-remove": e2.handleRemove, "on-success": e2.handleSuccess, "before-upload": e2.beforeUpload, limit: e2.limit, "list-type": "picture-card" } }, [e2.uploadResult.length < e2.limit ? e2._t("uploadButton", [a2("i", { staticClass: "el-icon-plus upload-plus", attrs: { slot: "default" }, slot: "default" })]) : e2._e()], 2), e2._v(" "), a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { disabled: e2.disabled }, on: { click: e2.closeDialog } }, [e2._v("取消")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary", disabled: e2.disabled }, on: { click: e2.handleSubmit } }, [e2._v("确定")])], 1)], 1)], 1);
|
||
}, C = [], I = a("b562"), T = a("127f");
|
||
function N() {
|
||
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
||
var e2, t2, a2 = "function" == typeof Symbol ? Symbol : {}, l2 = a2.iterator || "@@iterator", n2 = a2.toStringTag || "@@toStringTag";
|
||
function i2(a3, l3, n3, i3) {
|
||
var s3 = l3 && l3.prototype instanceof r2 ? l3 : r2, u3 = Object.create(s3.prototype);
|
||
return q(u3, "_invoke", (function(a4, l4, n4) {
|
||
var i4, r3, s4, u4 = 0, c3 = n4 || [], d3 = false, p3 = { p: 0, n: 0, v: e2, a: f2, f: f2.bind(e2, 4), d: function(t3, a5) {
|
||
return i4 = t3, r3 = 0, s4 = e2, p3.n = a5, o2;
|
||
} };
|
||
function f2(a5, l5) {
|
||
for (r3 = a5, s4 = l5, t2 = 0; !d3 && u4 && !n5 && t2 < c3.length; t2++) {
|
||
var n5, i5 = c3[t2], f3 = p3.p, b2 = i5[2];
|
||
a5 > 3 ? (n5 = b2 === l5) && (s4 = i5[(r3 = i5[4]) ? 5 : (r3 = 3, 3)], i5[4] = i5[5] = e2) : i5[0] <= f3 && ((n5 = a5 < 2 && f3 < i5[1]) ? (r3 = 0, p3.v = l5, p3.n = i5[1]) : f3 < b2 && (n5 = a5 < 3 || i5[0] > l5 || l5 > b2) && (i5[4] = a5, i5[5] = l5, p3.n = b2, r3 = 0));
|
||
}
|
||
if (n5 || a5 > 1) return o2;
|
||
throw d3 = true, l5;
|
||
}
|
||
return function(n5, c4, b2) {
|
||
if (u4 > 1) throw TypeError("Generator is already running");
|
||
for (d3 && 1 === c4 && f2(c4, b2), r3 = c4, s4 = b2; (t2 = r3 < 2 ? e2 : s4) || !d3; ) {
|
||
i4 || (r3 ? r3 < 3 ? (r3 > 1 && (p3.n = -1), f2(r3, s4)) : p3.n = s4 : p3.v = s4);
|
||
try {
|
||
if (u4 = 2, i4) {
|
||
if (r3 || (n5 = "next"), t2 = i4[n5]) {
|
||
if (!(t2 = t2.call(i4, s4))) throw TypeError("iterator result is not an object");
|
||
if (!t2.done) return t2;
|
||
s4 = t2.value, r3 < 2 && (r3 = 0);
|
||
} else 1 === r3 && (t2 = i4.return) && t2.call(i4), r3 < 2 && (s4 = TypeError("The iterator does not provide a '" + n5 + "' method"), r3 = 1);
|
||
i4 = e2;
|
||
} else if ((t2 = (d3 = p3.n < 0) ? s4 : a4.call(l4, p3)) !== o2) break;
|
||
} catch (t3) {
|
||
i4 = e2, r3 = 1, s4 = t3;
|
||
} finally {
|
||
u4 = 1;
|
||
}
|
||
}
|
||
return { value: t2, done: d3 };
|
||
};
|
||
})(a3, n3, i3), true), u3;
|
||
}
|
||
var o2 = {};
|
||
function r2() {
|
||
}
|
||
function s2() {
|
||
}
|
||
function u2() {
|
||
}
|
||
t2 = Object.getPrototypeOf;
|
||
var c2 = [][l2] ? t2(t2([][l2]())) : (q(t2 = {}, l2, (function() {
|
||
return this;
|
||
})), t2), d2 = u2.prototype = r2.prototype = Object.create(c2);
|
||
function p2(e3) {
|
||
return Object.setPrototypeOf ? Object.setPrototypeOf(e3, u2) : (e3.__proto__ = u2, q(e3, n2, "GeneratorFunction")), e3.prototype = Object.create(d2), e3;
|
||
}
|
||
return s2.prototype = u2, q(d2, "constructor", u2), q(u2, "constructor", s2), s2.displayName = "GeneratorFunction", q(u2, n2, "GeneratorFunction"), q(d2), q(d2, n2, "Generator"), q(d2, l2, (function() {
|
||
return this;
|
||
})), q(d2, "toString", (function() {
|
||
return "[object Generator]";
|
||
})), (N = function() {
|
||
return { w: i2, m: p2 };
|
||
})();
|
||
}
|
||
function q(e2, t2, a2, l2) {
|
||
var n2 = Object.defineProperty;
|
||
try {
|
||
n2({}, "", {});
|
||
} catch (e3) {
|
||
n2 = 0;
|
||
}
|
||
q = function(e3, t3, a3, l3) {
|
||
function i2(t4, a4) {
|
||
q(e3, t4, (function(e4) {
|
||
return this._invoke(t4, a4, e4);
|
||
}));
|
||
}
|
||
t3 ? n2 ? n2(e3, t3, { value: a3, enumerable: !l3, configurable: !l3, writable: !l3 }) : e3[t3] = a3 : (i2("next", 0), i2("throw", 1), i2("return", 2));
|
||
}, q(e2, t2, a2, l2);
|
||
}
|
||
function j(e2, t2, a2, l2, n2, i2, o2) {
|
||
try {
|
||
var r2 = e2[i2](o2), s2 = r2.value;
|
||
} catch (e3) {
|
||
return void a2(e3);
|
||
}
|
||
r2.done ? t2(s2) : Promise.resolve(s2).then(l2, n2);
|
||
}
|
||
function L(e2) {
|
||
return function() {
|
||
var t2 = this, a2 = arguments;
|
||
return new Promise((function(l2, n2) {
|
||
var i2 = e2.apply(t2, a2);
|
||
function o2(e3) {
|
||
j(i2, l2, n2, o2, r2, "next", e3);
|
||
}
|
||
function r2(e3) {
|
||
j(i2, l2, n2, o2, r2, "throw", e3);
|
||
}
|
||
o2(void 0);
|
||
}));
|
||
};
|
||
}
|
||
var O = { 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 e2 = [];
|
||
return { dialogVisible: false, uploadList: [], uploadMap: {}, listObj: {}, fileList: [], uploadResult: e2 };
|
||
}, methods: { isImage: function(e2) {
|
||
var t2 = ["image/jpeg", "image/png", "image/gif"];
|
||
return -1 != t2.indexOf(e2.type);
|
||
}, isVideo: function(e2) {
|
||
return -1 != ["video/mp4", "video/ogg", "video/flv", "video/avi", "video/wmv", "video/rmvb"].indexOf(e2.type);
|
||
}, isFile: function(e2) {
|
||
var t2 = ["application/msword", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/vnd.ms-excel", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/pdf"], a2 = [".doc", ".docx", ".pdf", ".xls", ".xlsx"], l2 = e2.name.slice(e2.name.lastIndexOf("."));
|
||
return e2.type ? -1 != t2.indexOf(e2.type) : -1 != a2.indexOf(l2);
|
||
}, uploadInfo: function() {
|
||
if (6 == this.uploadResult.length) {
|
||
var e2 = "", t2 = this.allowFileType;
|
||
if (-1 !== t2.indexOf("image")) return e2 = "图片最多上传6张", void this.message(e2);
|
||
if (-1 !== t2.indexOf("video")) e2 = "视频最多上传6个", this.message(e2);
|
||
else if (-1 !== t2.indexOf("file")) return e2 = "文件最多上传6份", void this.message(e2);
|
||
}
|
||
}, beforeUpload: function(e2) {
|
||
var t2 = e2.size / 1024 / 1024 < 10, a2 = this.allowFileType;
|
||
if (!(-1 !== a2.indexOf("image") && this.isImage(e2) || (-1 !== a2.indexOf("file") && this.isFile(e2) || -1 !== a2.indexOf("video") && this.isVideo(e2)) && t2)) return this.$message.error("请上传正确的文件类型且上传的文件大小不能超过10MB哦!"), false;
|
||
this.isLoad = true;
|
||
}, add0: function(e2) {
|
||
return e2 < 10 ? "0" + e2 : e2;
|
||
}, getYearMonthDay: function() {
|
||
var e2 = /* @__PURE__ */ new Date(), t2 = e2.getFullYear(), a2 = e2.getMonth() + 1, l2 = e2.getDate();
|
||
return "" + t2 + this.add0(a2) + this.add0(l2);
|
||
}, message: function(e2) {
|
||
this.$message({ message: e2, type: "error" });
|
||
}, checkAllSuccess: function() {
|
||
var e2 = this;
|
||
return Object.keys(this.listObj).every((function(t2) {
|
||
return e2.listObj[t2].hasSuccess;
|
||
}));
|
||
}, closeDialog: function() {
|
||
this.uploadList = [], this.uploadMap = {}, this.listObj = {}, this.fileList = [], this.uploadResult = [], this.dialogVisible = false;
|
||
}, handleSuccess: function(e2, t2) {
|
||
}, handleSubmit: function() {
|
||
this.$emit("successCBK", this.uploadResult), this.uploadList = [], this.uploadMap = {}, this.listObj = {}, this.fileList = [], this.uploadResult = [], this.dialogVisible = false, this.$message({ message: "添加图片成功,可在编辑器中选中图片进行尺寸编辑", duration: 5e3 });
|
||
}, handleRemove: function(e2) {
|
||
for (var t2 = e2.uid, a2 = Object.keys(this.listObj), l2 = 0, n2 = a2.length; l2 < n2; l2++) if (this.listObj[a2[l2]].uid === t2) return void delete this.listObj[a2[l2]];
|
||
}, uploadRequest: function(e2) {
|
||
console.log("fileVm", e2);
|
||
var t2 = this, a2 = e2.file, l2 = a2.name.lastIndexOf("."), n2 = a2.name.length, i2 = a2.name.substring(l2 + 1, n2), o2 = "";
|
||
o2 = Object(T["a"])() + "." + i2;
|
||
var r2 = this.isImage(a2) ? "image" : this.isVideo(a2) ? "video" : this.isFile(a2) ? "file" : a2.type, s2 = new FormData();
|
||
s2.append("file", a2);
|
||
var u2 = (function() {
|
||
var l3 = L(N().m((function l4() {
|
||
var n3, i3, u3, c2, d2, p2;
|
||
return N().w((function(l5) {
|
||
while (1) switch (l5.p = l5.n) {
|
||
case 0:
|
||
return l5.p = 0, console.log("开始上传文件:", o2), l5.n = 1, Object(I["b"])(s2);
|
||
case 1:
|
||
if (n3 = l5.v, console.log("上传响应完整数据:111", n3.data.data), !n3 || 0 != n3.data.code) {
|
||
l5.n = 2;
|
||
break;
|
||
}
|
||
n3.data && n3.data.data.fullUrl ? (i3 = n3.data.data.fullUrl, u3 = { fileType: r2, fileName: o2, filePath: i3, fileOrName: a2.name, uid: a2.uid, fileId: Object(T["a"])() }, t2.uploadResult.push(u3), console.log("文件信息已添加到 uploadResult:", u3)) : console.warn("响应中缺少 data 或 fullUrl 字段:", n3), l5.n = 3;
|
||
break;
|
||
case 2:
|
||
throw console.warn("上传接口返回错误码:", n3), new Error(n3.message || "上传失败");
|
||
case 3:
|
||
t2.uploadList.splice(t2.uploadList.indexOf(o2), 1), delete t2.uploadMap[o2], t2.uploadList.length ? (c2 = t2.uploadList[0], t2.uploadMap[c2] && t2.uploadMap[c2]()) : (t2.isLoad = false, t2.$message.success("上传成功!"), e2.onSuccess()), l5.n = 5;
|
||
break;
|
||
case 4:
|
||
l5.p = 4, p2 = l5.v, console.error("上传失败:", p2), t2.$message.error("上传失败: ".concat(p2.message || "未知错误")), t2.uploadList.splice(t2.uploadList.indexOf(o2), 1), delete t2.uploadMap[o2], t2.uploadList.length ? (d2 = t2.uploadList[0], t2.uploadMap[d2] && t2.uploadMap[d2]()) : t2.isLoad = false;
|
||
case 5:
|
||
return l5.a(2);
|
||
}
|
||
}), l4, null, [[0, 4]]);
|
||
})));
|
||
return function() {
|
||
return l3.apply(this, arguments);
|
||
};
|
||
})();
|
||
0 === this.uploadList.length && u2(), this.uploadList.push(o2), this.uploadMap[o2] = u2;
|
||
} } }, $ = O, F = (a("f804"), a("829d")), U = Object(F["a"])($, S, C, false, null, "463ce9de", null), B = U.exports, M = ["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"], z = M, A = ["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"], D = A;
|
||
function P(e2, t2) {
|
||
var a2 = "undefined" != typeof Symbol && e2[Symbol.iterator] || e2["@@iterator"];
|
||
if (!a2) {
|
||
if (Array.isArray(e2) || (a2 = E(e2)) || t2 && e2 && "number" == typeof e2.length) {
|
||
a2 && (e2 = a2);
|
||
var l2 = 0, n2 = function() {
|
||
};
|
||
return { s: n2, n: function() {
|
||
return l2 >= e2.length ? { done: true } : { done: false, value: e2[l2++] };
|
||
}, e: function(e3) {
|
||
throw e3;
|
||
}, f: n2 };
|
||
}
|
||
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 i2, o2 = true, r2 = false;
|
||
return { s: function() {
|
||
a2 = a2.call(e2);
|
||
}, n: function() {
|
||
var e3 = a2.next();
|
||
return o2 = e3.done, e3;
|
||
}, e: function(e3) {
|
||
r2 = true, i2 = e3;
|
||
}, f: function() {
|
||
try {
|
||
o2 || null == a2.return || a2.return();
|
||
} finally {
|
||
if (r2) throw i2;
|
||
}
|
||
} };
|
||
}
|
||
function E(e2, t2) {
|
||
if (e2) {
|
||
if ("string" == typeof e2) return R(e2, t2);
|
||
var a2 = {}.toString.call(e2).slice(8, -1);
|
||
return "Object" === a2 && e2.constructor && (a2 = e2.constructor.name), "Map" === a2 || "Set" === a2 ? Array.from(e2) : "Arguments" === a2 || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a2) ? R(e2, t2) : void 0;
|
||
}
|
||
}
|
||
function R(e2, t2) {
|
||
(null == t2 || t2 > e2.length) && (t2 = e2.length);
|
||
for (var a2 = 0, l2 = Array(t2); a2 < t2; a2++) l2[a2] = e2[a2];
|
||
return l2;
|
||
}
|
||
var H = [];
|
||
function V() {
|
||
return window.tinymce;
|
||
}
|
||
var G = function(e2, t2) {
|
||
var a2 = document.getElementById(e2), l2 = t2 || function() {
|
||
};
|
||
if (!a2) {
|
||
var n2 = document.createElement("script");
|
||
n2.src = e2, n2.id = e2, document.body.appendChild(n2), H.push(l2);
|
||
var i2 = "onload" in n2 ? o2 : r2;
|
||
i2(n2);
|
||
}
|
||
function o2(t3) {
|
||
t3.onload = function() {
|
||
this.onerror = this.onload = null;
|
||
var e3, a3 = P(H);
|
||
try {
|
||
for (a3.s(); !(e3 = a3.n()).done; ) {
|
||
var l3 = e3.value;
|
||
l3(null, t3);
|
||
}
|
||
} catch (n3) {
|
||
a3.e(n3);
|
||
} finally {
|
||
a3.f();
|
||
}
|
||
H = null;
|
||
}, t3.onerror = function() {
|
||
this.onerror = this.onload = null, l2(new Error("Failed to load " + e2), t3);
|
||
};
|
||
}
|
||
function r2(e3) {
|
||
e3.onreadystatechange = function() {
|
||
if ("complete" === this.readyState || "loaded" === this.readyState) {
|
||
this.onreadystatechange = null;
|
||
var t3, a3 = P(H);
|
||
try {
|
||
for (a3.s(); !(t3 = a3.n()).done; ) {
|
||
var l3 = t3.value;
|
||
l3(null, e3);
|
||
}
|
||
} catch (n3) {
|
||
a3.e(n3);
|
||
} finally {
|
||
a3.f();
|
||
}
|
||
H = null;
|
||
}
|
||
};
|
||
}
|
||
a2 && l2 && (V() ? l2(null, a2) : H.push(l2));
|
||
}, K = G, Q = "https://sqy-oss-test.oss-cn-guangzhou.aliyuncs.com/static/js/tinymce_5.10.7/tinymce.min.js", J = { name: "Tinymce", components: { editorImage: B }, 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 e2 = this.width;
|
||
return /^[\d]+(\.[\d]+)?$/.test(e2) ? "".concat(e2, "px") : e2;
|
||
} }, watch: { value: function(e2) {
|
||
var t2 = this;
|
||
!this.hasChange && this.hasInit && this.$nextTick((function() {
|
||
return window.tinymce.get(t2.tinymceId).setContent(e2 || "");
|
||
}));
|
||
}, language: function() {
|
||
var e2 = this;
|
||
this.destroyTinymce(), this.$nextTick((function() {
|
||
return e2.initTinymce();
|
||
}));
|
||
} }, mounted: function() {
|
||
this.init();
|
||
}, activated: function() {
|
||
window.tinymce && this.initTinymce();
|
||
}, deactivated: function() {
|
||
this.destroyTinymce();
|
||
}, destroyed: function() {
|
||
this.destroyTinymce();
|
||
}, methods: { init: function() {
|
||
var e2 = this;
|
||
K(Q, (function(t2) {
|
||
t2 ? e2.$message.error(t2.message) : e2.initTinymce();
|
||
}));
|
||
}, initTinymce: function() {
|
||
var e2 = this, 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 : D, menubar: !this.disabled && this.menubar, plugins: this.disabled ? [] : z, 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(a2) {
|
||
t2.$emit("initStatus"), t2.value && a2.setContent(t2.value), t2.hasInit = true, a2.on("NodeChange Change KeyUp SetContent", (function() {
|
||
e2.hasChange = true, a2.getContent() ? t2.$emit("input", a2.getContent()) : t2.hasChange = false;
|
||
}));
|
||
}, setup: function(e3) {
|
||
e3.on("FullscreenStateChanged", (function(e4) {
|
||
t2.fullscreen = e4.state;
|
||
}));
|
||
} });
|
||
}, destroyTinymce: function() {
|
||
var e2 = window.tinymce.get(this.tinymceId);
|
||
this.fullscreen && e2.execCommand("mceFullScreen"), e2 && e2.destroy();
|
||
}, setContent: function(e2) {
|
||
var t2 = this;
|
||
this.$nextTick((function() {
|
||
return window.tinymce.get(t2.tinymceId).setContent(e2);
|
||
})), this.$forceUpdate();
|
||
}, getContent: function() {
|
||
var e2 = this;
|
||
this.$nextTick((function() {
|
||
return window.tinymce.get(e2.tinymceId).getContent();
|
||
})), this.$forceUpdate();
|
||
}, imageSuccessCBK: function(e2) {
|
||
var t2 = this;
|
||
e2.forEach((function(e3) {
|
||
window.tinymce.get(t2.tinymceId).insertContent('<img class="wscnph" src="'.concat(e3.filePath, '" style="max-width:100%;"/>'));
|
||
}));
|
||
} } }, W = J, X = (a("87c9"), Object(F["a"])(W, k, x, false, null, "14ad6ff6", null)), Y = X.exports, Z = { components: { AliOSSUpload: w["a"], Tinymce: Y }, props: { type: { type: String, default: "" } }, data: function() {
|
||
return { userInfo: {}, companyId: "", imgStore: "noticeImgStore/bodyPicture/", content: "通知公告详情", projectLists: [], checkAll: false, isIndeterminate: true, show: false, projectName: this.$store.state.community_name, projectUuid: this.$store.state.community_uuid, ruleForm: { title: "", showTime: "", projectUuidList: [], typeId: "", bannerUrl: "", content: "", isConvention: 2 }, rules: { title: [{ required: true, message: "请输入投票主题", trigger: "blur" }], 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, disabled2: true };
|
||
}, mounted: function() {
|
||
this.companyId = this.$store.state.companyId, this.userInfo = this.$store.state.user.userInfo;
|
||
}, watch: { "ruleForm.isConvention": function(e2, t2) {
|
||
1 == e2 ? (this.disabled2 = false, this.ruleForm.typeId = "") : this.disabled2 = true;
|
||
} }, methods: { getInfoLst: function(e2) {
|
||
void 0 != e2 && e2.id && (this.noticeId = e2.id), this.getNoticeTypeList(), this.content = "add" === this.type ? "新建公告" : "编辑公告", "view" === this.type || "edit" === this.type ? "view" === this.type ? (console.log("查看触发----------+"), this.disabled = true) : (console.log("编辑触发----------+"), this.disabled = false) : "add" === this.type && (console.log("新增触发----------+"), this.noticeId = 0);
|
||
}, initStatus: function() {
|
||
"view" !== this.type && "edit" !== this.type || this.getQuestionFindById(this.noticeId);
|
||
}, getNoticeTypeList: function() {
|
||
var e2 = this, t2 = { companyId: this.companyId, pageNumber: -1, pageSize: -1 };
|
||
m(t2).then((function(t3) {
|
||
t3.data.records.forEach((function(e3) {
|
||
11 == e3.id && (e3.disabled = true);
|
||
})), e2.noticeTypeList = t3.data.records;
|
||
}));
|
||
}, getQuestionFindById: function(e2) {
|
||
var t2 = this;
|
||
v({ id: e2 }).then((function(a2) {
|
||
if (0 === a2.code && a2.data) {
|
||
var l2 = a2.data, n2 = l2.title, i2 = l2.typeId, o2 = l2.companyId, r2 = l2.bannerUrl, s2 = l2.content, u2 = l2.showTime, c2 = l2.isConvention;
|
||
i2 = i2 || (t2.noticeTypeList.length > 0 ? t2.noticeTypeList[0].typeId : null), t2.$nextTick((function() {
|
||
t2.ruleForm = { id: e2, title: n2, showTime: u2, typeId: i2, companyId: o2, bannerUrl: r2, content: s2, isConvention: c2 }, console.log("回显数据被触发", t2.ruleForm);
|
||
})), t2.fileListInfo = r2 ? [{ url: r2 }] : [], t2.$forceUpdate();
|
||
}
|
||
}));
|
||
}, getUploadData2: function(e2) {
|
||
var t2 = [];
|
||
e2 && e2.length > 0 && e2.forEach((function(e3) {
|
||
t2.push(e3.filePath);
|
||
})), this.ruleForm.bannerUrl = t2.join(";");
|
||
}, cancel: function() {
|
||
this.goBack();
|
||
}, save: function() {
|
||
this.submitQuestionInfor(0);
|
||
}, publish: function() {
|
||
this.submitQuestionInfor(1);
|
||
}, submitQuestionInfor: function(e2) {
|
||
var t2 = this, a2 = this.companyId, l2 = this.$store.state.user.userInfo, n2 = this.noticeTypeList.find((function(e3) {
|
||
return e3.id === t2.ruleForm.typeId;
|
||
})), i2 = Object.assign(this.ruleForm, { companyId: a2, senderUuid: l2.memberUuid, senderName: l2.memberName, projectName: this.projectName, projectUuid: this.projectUuid, 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" });
|
||
n2 && Object.assign(this.ruleForm, { typeName: n2.typeName }), this.$refs["ruleForm"].validate((function(a3) {
|
||
if (!a3) return t2.$message({ type: "error", message: "请检查通知公告内容是否输入和选择." }), false;
|
||
t2.buttonLoading = true, 0 === t2.noticeId ? (i2 = Object.assign(i2, { sendStatus: 0 === e2 ? 3 : 1 }), f(i2).then((function(e3) {
|
||
0 === e3.code ? (t2.$message({ type: "success", message: "新增通知公告成功" }), t2.buttonLoading = false, t2.goBack()) : (t2.$message({ type: "error", message: e3.message }), t2.buttonLoading = false);
|
||
})).catch((function() {
|
||
t2.buttonLoading = false;
|
||
}))) : (i2 = Object.assign(i2, { sendStatus: 0 === e2 ? 3 : 1 }), b(i2).then((function(e3) {
|
||
0 === e3.code ? (t2.$message({ type: "success", message: "更新通知公告成功" }), t2.buttonLoading = false, t2.goBack()) : (t2.$message({ type: "error", message: e3.message }), t2.buttonLoading = false);
|
||
})).catch((function() {
|
||
t2.buttonLoading = false;
|
||
})));
|
||
}));
|
||
}, goBack: function() {
|
||
this.$emit("goBack");
|
||
} } }, ee = Z, te = (a("9383"), Object(F["a"])(ee, y, _, false, null, "8294e05a", null)), ae = te.exports;
|
||
function le(e2) {
|
||
return Object(d["a"])({ url: "/appproject/SigningMessage/pageList", method: "post", data: e2 });
|
||
}
|
||
var ne = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", { staticClass: "readTable" }, [a2("el-dialog", { attrs: { title: "已读信息列表", width: "80%", visible: e2.showRead, "show-close": true }, on: { close: e2.dialogClose } }, [a2("div", { staticClass: "app-container bgHeight" }, [a2("div", [a2("div", { ref: "box", staticClass: "searchStys transition_dom" }, [a2("el-form", { ref: "query", attrs: { model: e2.query } }, [a2("div", { ref: "form_box", staticClass: "searchBar" }, [a2("div", { staticClass: "searchInput" }, [a2("el-row", { attrs: { gutter: 20 } }, [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "roomNum" } }, [a2("el-input", { attrs: { placeholder: "房屋号", clearable: "" }, model: { value: e2.query.roomNum, callback: function(t3) {
|
||
e2.$set(e2.query, "roomNum", t3);
|
||
}, expression: "query.roomNum" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "toUserName" } }, [a2("el-input", { attrs: { placeholder: "姓名", clearable: "" }, model: { value: e2.query.toUserName, callback: function(t3) {
|
||
e2.$set(e2.query, "toUserName", t3);
|
||
}, expression: "query.toUserName" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "toUserMobile" } }, [a2("el-input", { attrs: { placeholder: "手机号", clearable: "" }, model: { value: e2.query.toUserMobile, callback: function(t3) {
|
||
e2.$set(e2.query, "toUserMobile", t3);
|
||
}, expression: "query.toUserMobile" } })], 1)], 1)], 1)], 1), e2._v(" "), a2("div", { staticClass: "searchBtn" }, [a2("el-form-item", [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(t3) {
|
||
return e2.resetForm("query");
|
||
} } }, [e2._v("重置")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: e2.onSearch } }, [e2._v("查询")])], 1)], 1)])])], 1), e2._v(" "), a2("el-card", { staticClass: "box-card", attrs: { shadow: "never" } }, [a2("div", { staticClass: "planLst", attrs: { slot: "header" }, slot: "header" }, [a2("span", { staticClass: "planTitle" }, [e2._v("已读信息列表")]), e2._v(" "), a2("el-button", { attrs: { type: "primary", loading: e2.downloading }, on: { click: e2.downExcel } }, [e2._v("下载Excel")])], 1), e2._v(" "), a2("el-table", { attrs: { border: "", data: e2.readList, "header-cell-style": e2.headClass, "tooltip-effect": "dark" } }, [a2("el-table-column", { attrs: { label: "#", align: "center", "min-width": "50" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(t3.$index + (e2.query.pageNumber - 1) * e2.query.pageSize + 1) + "\n ")])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "90", label: "房屋号" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(e2.filterHouseName(t3.row)))])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "姓名", "min-width": "150" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("div", [e2._v("\n " + e2._s(t3.row.toUserName || "-") + "\n ")])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { "show-overflow-tooltip": "", align: "center", "min-width": "150", label: "手机号" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.toUserMobile || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { "show-overflow-tooltip": "", align: "center", "min-width": "150", label: "阅读时间" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.readTime || "-") + "\n ")];
|
||
} }]) })], 1), e2._v(" "), a2("div", { staticClass: "paginations" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.query.pageNumber, "page-sizes": [10, 30, 50, 100, 200], "page-size": e2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.total }, on: { "update:currentPage": function(t3) {
|
||
return e2.$set(e2.query, "pageNumber", t3);
|
||
}, "update:current-page": function(t3) {
|
||
return e2.$set(e2.query, "pageNumber", t3);
|
||
}, "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1)], 1)], 1)])])], 1);
|
||
}, ie = [], oe = { name: "ReadTable", props: { showRead: { type: Boolean, default: false } }, data: function() {
|
||
return { total: 0, readList: [], query: { pageNumber: 1, pageSize: 10, roomNum: "", toUserName: "", toUserMobile: "", projectUuid: "", messageKey: "", messageType: 2 }, downloading: false };
|
||
}, mounted: function() {
|
||
}, methods: { filterHouseName: function(e2) {
|
||
return e2.buildingName && e2.precinctName && e2.unitName && e2.roomNum ? e2.buildingName + "-" + e2.precinctName + "-" + e2.unitName + "-" + e2.roomNum : "-";
|
||
}, initData: function(e2) {
|
||
this.query.projectUuid = this.$store.state.community_uuid, this.query.messageKey = e2, this.query.pageNumber = 1, this.query.pageSize = 10, this.query.roomNum = "", this.query.toUserName = "", this.query.toUserMobile = "", this.getList();
|
||
}, getList: function() {
|
||
var e2 = this;
|
||
h(this.query).then((function(t2) {
|
||
0 == t2.code && (e2.readList = t2.data.records, e2.total = t2.data.rowsCount);
|
||
}));
|
||
}, headClass: function() {
|
||
return "text-align:center;background:#FAFAFA;";
|
||
}, resetForm: function(e2) {
|
||
this.$refs[e2].resetFields(), this.getList();
|
||
}, onSearch: function() {
|
||
this.getList();
|
||
}, handleSizeChange: function(e2) {
|
||
this.query.pageSize = e2, this.query.pageNumber = 1, this.getList();
|
||
}, handleCurrentChange: function(e2) {
|
||
this.query.pageNumber = e2, this.getList();
|
||
}, dialogClose: function() {
|
||
this.$emit("readDialogClose", false);
|
||
}, downExcel: function() {
|
||
var e2 = this;
|
||
g(this.query).then((function(t2) {
|
||
var a2 = new Blob([t2], { type: "application/vnd.ms-excel;charset=UTF-8" });
|
||
if (window.navigator.msSaveOrOpenBlob) navigator.msSaveBlob(a2);
|
||
else {
|
||
var l2 = document.createElement("a");
|
||
l2.download = "已读信息列表.xls", l2.href = URL.createObjectURL(a2), l2.click(), URL.revokeObjectURL(l2.href), document.body.removeChild(l2), e2.downloading = false;
|
||
}
|
||
})).catch((function(t2) {
|
||
e2.downloading = false;
|
||
}));
|
||
} } }, re = oe, se = Object(F["a"])(re, ne, ie, false, null, "5aafa5e5", null), ue = se.exports;
|
||
function ce(e2) {
|
||
return ce = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e3) {
|
||
return typeof e3;
|
||
} : function(e3) {
|
||
return e3 && "function" == typeof Symbol && e3.constructor === Symbol && e3 !== Symbol.prototype ? "symbol" : typeof e3;
|
||
}, ce(e2);
|
||
}
|
||
function de(e2, t2) {
|
||
var a2 = Object.keys(e2);
|
||
if (Object.getOwnPropertySymbols) {
|
||
var l2 = Object.getOwnPropertySymbols(e2);
|
||
t2 && (l2 = l2.filter((function(t3) {
|
||
return Object.getOwnPropertyDescriptor(e2, t3).enumerable;
|
||
}))), a2.push.apply(a2, l2);
|
||
}
|
||
return a2;
|
||
}
|
||
function pe(e2) {
|
||
for (var t2 = 1; t2 < arguments.length; t2++) {
|
||
var a2 = null != arguments[t2] ? arguments[t2] : {};
|
||
t2 % 2 ? de(Object(a2), true).forEach((function(t3) {
|
||
fe(e2, t3, a2[t3]);
|
||
})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e2, Object.getOwnPropertyDescriptors(a2)) : de(Object(a2)).forEach((function(t3) {
|
||
Object.defineProperty(e2, t3, Object.getOwnPropertyDescriptor(a2, t3));
|
||
}));
|
||
}
|
||
return e2;
|
||
}
|
||
function fe(e2, t2, a2) {
|
||
return (t2 = be(t2)) in e2 ? Object.defineProperty(e2, t2, { value: a2, enumerable: true, configurable: true, writable: true }) : e2[t2] = a2, e2;
|
||
}
|
||
function be(e2) {
|
||
var t2 = ve(e2, "string");
|
||
return "symbol" == ce(t2) ? t2 : t2 + "";
|
||
}
|
||
function ve(e2, t2) {
|
||
if ("object" != ce(e2) || !e2) return e2;
|
||
var a2 = e2[Symbol.toPrimitive];
|
||
if (void 0 !== a2) {
|
||
var l2 = a2.call(e2, t2 || "default");
|
||
if ("object" != ce(l2)) return l2;
|
||
throw new TypeError("@@toPrimitive must return a primitive value.");
|
||
}
|
||
return ("string" === t2 ? String : Number)(e2);
|
||
}
|
||
var me = { components: { Pagination: c["a"], noticeInfor: ae, readTable: ue }, data: function() {
|
||
return { identityList: u["k"], type: "add", msgInfo: {}, community_uuid: "", community_name: "", userInfo: {}, viewInfo: false, infoList: true, msgVisible: false, isShow: false, pageTotal: 0, pageTotal2: 0, listLoading: false, listTable: [], taskDate: "", addForm: { title: "", content: "" }, query: { pageNumber: 1, pageSize: 10 }, query2: { pageNumber: 1, pageSize: 10 }, statusList: [{ value: 3, label: "未发布" }, { value: 1, label: "已发布" }, { value: 2, label: "已撤回" }], noteicsDetailes: null, contractBuildingShow: false, is_show: false, queryTime: "", listTable2: [], selectHouse: "", managementArea: [], unitList: [], building: [], noticeTypeList: [], showRead: false };
|
||
}, created: function() {
|
||
this.community_uuid = this.$store.state.community_uuid, this.community_name = this.$store.state.community_name, this.userInfo = this.$store.state.user.userInfo, this.headClass();
|
||
}, mounted: function() {
|
||
this.getlist(1), this.getAreaList(), this.getNoticeTypeList();
|
||
}, methods: { getNoticeTypeList: function() {
|
||
var e2 = this, t2 = { companyId: this.$store.state.companyId, pageNumber: -1, pageSize: -1 };
|
||
m(t2).then((function(t3) {
|
||
e2.noticeTypeList = t3.data.records;
|
||
}));
|
||
}, filterTypeName: function(e2) {
|
||
if (2 == e2.isConvention) return "管理规约";
|
||
var t2 = this.noticeTypeList.find((function(t3) {
|
||
return t3.id == e2.typeId;
|
||
}));
|
||
return t2 ? t2.typeName : "-";
|
||
}, changeUnit: function() {
|
||
this.$forceUpdate();
|
||
}, selectChange: function(e2) {
|
||
this.building = [], this.query2.buildingId = "", this.unitList = [], this.query2.unitId = "", e2 && this.getBuild();
|
||
}, changeBuild: function() {
|
||
this.unitList = [], this.query2.unitId = "", this.getUnit();
|
||
}, getBuild: function() {
|
||
var e2 = this;
|
||
Object(s["x"])({ precinctId: this.query2.precinctId, projectCode: this.$store.state.community_uuid, projectName: this.$store.state.community_name }).then((function(t2) {
|
||
e2.building = t2.data;
|
||
}));
|
||
}, getAreaList: function() {
|
||
var e2 = this, t2 = { projectUuid: this.$store.state.community_uuid, pageNumber: -1, pageSize: -1 };
|
||
Object(s["f"])(t2).then((function(t3) {
|
||
0 === t3.code && (e2.managementArea = t3.data);
|
||
}));
|
||
}, getUnit: function() {
|
||
var e2 = this;
|
||
Object(s["mb"])({ pageNumber: -1, pageSize: -1, projectCode: this.$store.state.community_uuid, buildingId: this.query2.buildingId }).then((function(t2) {
|
||
e2.unitList = t2.data.records;
|
||
}));
|
||
}, upAndDown: function() {
|
||
this.is_show = !this.is_show;
|
||
}, showTable: function(e2) {
|
||
this.contractBuildingShow = true, this.selectHouse = e2, this.getlist(2, e2);
|
||
}, read: function(e2) {
|
||
this.showRead = true, this.$refs.readTable.initData(e2.id);
|
||
}, readDialogClose: function(e2) {
|
||
this.showRead = e2;
|
||
}, getlist: function(e2) {
|
||
var t2 = this;
|
||
1 == e2 ? (this.listLoading = true, this.query.projectUuids = [this.$store.state.community_uuid], p(this.query).then((function(e3) {
|
||
0 == e3.code && (t2.listTable = e3.data.records, t2.pageTotal = e3.data.rowsCount);
|
||
})), this.listLoading = false) : le(pe({ bannerMessageId: this.selectHouse.id, projectUuid: this.$store.state.community_uuid }, this.query2)).then((function(e3) {
|
||
0 == e3.code && (t2.listTable2 = e3.data.records, t2.pageTotal2 = e3.data.rowsCount);
|
||
}));
|
||
}, onSearch: function() {
|
||
Array.isArray(this.queryTime) ? (this.query2.startTime = this.queryTime[0], this.query2.endTime = this.queryTime[1]) : (this.query2.startTime = null, this.query2.endTime = null), this.query2.pageNumber = 1, this.getlist(2);
|
||
}, handleSizeChange: function(e2, t2) {
|
||
1 == t2 ? (this.query.pageSize = e2.limit, this.query.pageNumber = 1, this.getlist(1)) : (this.query2.pageSize = e2, this.query2.pageNumber = 1, this.getlist(2));
|
||
}, handleCurrentChange: function(e2, t2) {
|
||
1 == t2 ? (this.query.pageNumber = e2.currentPage, this.getlist(1)) : (this.query2.pageNumber = e2, this.getlist(2));
|
||
}, resetForm: function(e2) {
|
||
this.queryTime = "", this.$refs[e2].resetFields(), this.getlist(2);
|
||
}, renewals: function(e2, t2) {
|
||
var a2 = this, l2 = e2;
|
||
this.type = t2, this.viewInfo = true, this.infoList = false, this.$nextTick((function() {
|
||
a2.$refs.noticeInfor.getInfoLst(l2);
|
||
}));
|
||
}, checkDetailes: function(e2) {
|
||
this.noteicsDetailes = e2.content, this.msgVisible = true;
|
||
}, headClass: function() {
|
||
return "text-align:center;background:#FAFAFA;";
|
||
}, addMsg: function() {
|
||
var e2 = this;
|
||
this.type = "add", this.viewInfo = true, this.infoList = false, this.$nextTick((function() {
|
||
e2.$refs.noticeInfor.getInfoLst();
|
||
}));
|
||
}, postAdd: function() {
|
||
var e2 = this;
|
||
this.addForm.projectUuid = this.community_uuid, this.addForm.projectName = this.community_name, f(this.addForm).then((function(t2) {
|
||
e2.$message({ message: "添加成功", type: "success" }), e2.msgVisible = false, e2.getlist(1);
|
||
}));
|
||
}, release: function(e2) {
|
||
var t2 = this;
|
||
this.msgInfo = Object.assign({}, e2), this.$confirm("此操作将发布该公告并向小区住户展示, 是否继续?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then((function() {
|
||
t2.updateStatus(1);
|
||
})).catch((function() {
|
||
}));
|
||
}, withdraw: function(e2) {
|
||
var t2 = this;
|
||
this.msgInfo = Object.assign({}, e2), this.$confirm("此操作将撤回该公告并不再向小区住户展示, 是否继续?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then((function() {
|
||
t2.updateStatus(2);
|
||
})).catch((function() {
|
||
}));
|
||
}, updateStatus: function(e2) {
|
||
var t2 = this;
|
||
this.msgInfo.sendStatus = e2, this.msgInfo.sendTime = parseInt((/* @__PURE__ */ new Date()).getTime()), this.msgInfo.senderName = this.userInfo.memberName, this.msgInfo.senderUuid = this.userInfo.memberUuid, b(this.msgInfo).then((function(e3) {
|
||
t2.$message({ type: "success", message: "操作成功!" }), t2.getlist();
|
||
}));
|
||
}, goBack: function() {
|
||
this.viewInfo = false, this.infoList = true, this.getlist(1);
|
||
} } }, he = me, ge = (a("748b"), Object(F["a"])(he, o, r, false, null, "62285810", null)), ye = ge.exports, _e = { name: "houseManage", components: { waitTab: i["a"], noticeList: ye }, data: function() {
|
||
return { activeName: "noticeList" };
|
||
}, methods: { handleClick: function(e2) {
|
||
var t2 = e2.paneName;
|
||
this.activeName = t2;
|
||
} } }, we = _e, ke = (a("7fea"), Object(F["a"])(we, l, n, false, null, "2069986e", null));
|
||
t["default"] = ke.exports;
|
||
}, f804: function(e, t, a) {
|
||
"use strict";
|
||
a("0302");
|
||
} }]);
|