645 lines
58 KiB
JavaScript
645 lines
58 KiB
JavaScript
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-092f8c28"], { "1b3c": function(e, t, a) {
|
|
}, 4486: function(e, t, a) {
|
|
"use strict";
|
|
a("8093");
|
|
}, "48fb": function(e, t, a) {
|
|
"use strict";
|
|
a.d(t, "l", (function() {
|
|
return n;
|
|
})), a.d(t, "n", (function() {
|
|
return o;
|
|
})), a.d(t, "e", (function() {
|
|
return r;
|
|
})), a.d(t, "f", (function() {
|
|
return i;
|
|
})), a.d(t, "m", (function() {
|
|
return s;
|
|
})), a.d(t, "j", (function() {
|
|
return c;
|
|
})), a.d(t, "d", (function() {
|
|
return u;
|
|
})), a.d(t, "k", (function() {
|
|
return d;
|
|
})), a.d(t, "c", (function() {
|
|
return f;
|
|
})), a.d(t, "h", (function() {
|
|
return p;
|
|
})), a.d(t, "i", (function() {
|
|
return m;
|
|
})), a.d(t, "b", (function() {
|
|
return h;
|
|
})), a.d(t, "a", (function() {
|
|
return v;
|
|
})), a.d(t, "g", (function() {
|
|
return b;
|
|
}));
|
|
var l = a("b775");
|
|
function n(e2) {
|
|
return Object(l["a"])({ url: "/hakocompany/WxminiUser/wxminiUserCount", method: "post", data: e2 });
|
|
}
|
|
function o(e2) {
|
|
return Object(l["a"])({ url: "/hakocompany/WxminiUser/wxminiUserPageList", method: "post", data: e2 });
|
|
}
|
|
function r(e2) {
|
|
return Object(l["a"])({ url: "/hakocompany/AgreeInteractive/pageList", method: "post", data: e2 });
|
|
}
|
|
function i(e2) {
|
|
return Object(l["a"])({ url: "/hakocompany/ScoreComment/pageList", method: "post", data: e2 });
|
|
}
|
|
function s(e2) {
|
|
return Object(l["a"])({ url: "/hakocompany/WxminiUser/export", method: "post", responseType: "blob", data: e2 });
|
|
}
|
|
function c(e2) {
|
|
return Object(l["a"])({ url: "/hakocompany/TaskInspectionsStandard/queryTaskStandard", method: "post", data: e2 });
|
|
}
|
|
function u(e2) {
|
|
return Object(l["a"])({ url: "/hakocompany/AgreeInteractive/download", method: "POST", responseType: "blob", data: e2 });
|
|
}
|
|
function d(e2) {
|
|
return Object(l["a"])({ url: "/hakocompany/ScoreComment/download", method: "POST", responseType: "blob", data: e2 });
|
|
}
|
|
function f(e2) {
|
|
return Object(l["a"])({ url: "/hakocompany/ReadRecord/pageList", method: "post", data: e2 });
|
|
}
|
|
function p(e2) {
|
|
return Object(l["a"])({ url: "/hakocompany/WxminiUser/loginPageList", method: "post", data: e2 });
|
|
}
|
|
function m(e2) {
|
|
return Object(l["a"])({ url: "/hakocompany/ProjectMonthRecord/pageList", method: "post", data: e2 });
|
|
}
|
|
function h(e2) {
|
|
return Object(l["a"])({ url: "/hakocompany/ProjectMonthRecord/findById", method: "post", data: e2 });
|
|
}
|
|
function v(e2) {
|
|
return Object(l["a"])({ url: "/hakocompany/ProjectMonthRecord/companyTotal", method: "post", data: e2 });
|
|
}
|
|
function b(e2) {
|
|
return Object(l["a"])({ url: "/hakocompany/AgentConfig/findCustomerVisitById", method: "post", data: e2 });
|
|
}
|
|
}, "58d6": function(e, t, a) {
|
|
"use strict";
|
|
a("5c1c");
|
|
}, "5c1c": function(e, t, a) {
|
|
}, "67d5": function(e, t, a) {
|
|
"use strict";
|
|
a.d(t, "i", (function() {
|
|
return n;
|
|
})), a.d(t, "j", (function() {
|
|
return o;
|
|
})), a.d(t, "f", (function() {
|
|
return r;
|
|
})), a.d(t, "b", (function() {
|
|
return i;
|
|
})), a.d(t, "c", (function() {
|
|
return s;
|
|
})), a.d(t, "k", (function() {
|
|
return c;
|
|
})), a.d(t, "e", (function() {
|
|
return u;
|
|
})), a.d(t, "d", (function() {
|
|
return d;
|
|
})), a.d(t, "h", (function() {
|
|
return f;
|
|
})), a.d(t, "a", (function() {
|
|
return p;
|
|
})), a.d(t, "g", (function() {
|
|
return m;
|
|
}));
|
|
var l = a("b775");
|
|
function n(e2) {
|
|
return Object(l["a"])({ url: "/hakocompany/Role/pageList", method: "post", data: e2 });
|
|
}
|
|
function o(e2) {
|
|
return Object(l["a"])({ url: "/company/organizationalStructure/selectOsList", method: "post", data: e2 });
|
|
}
|
|
function r(e2) {
|
|
return Object(l["a"])({ url: "/company/organizationalStructure/findOsTree", method: "post", data: e2 });
|
|
}
|
|
function i(e2) {
|
|
return Object(l["a"])({ url: "/hakocompany/Role/create", method: "post", data: e2 });
|
|
}
|
|
function s(e2) {
|
|
return Object(l["a"])({ url: "/hakocompany/Role/delete", method: "post", data: e2 });
|
|
}
|
|
function c(e2) {
|
|
return Object(l["a"])({ url: "/hakocompany/Role/update", method: "post", data: e2 });
|
|
}
|
|
function u(e2) {
|
|
return Object(l["a"])({ url: "/hakocompany/RoleMenuRel/findByRoleIdAndClienId", method: "post", data: e2 });
|
|
}
|
|
function d(e2) {
|
|
return Object(l["a"])({ url: "/hakocompany/OrganizationRoleRel/findByRoleId", method: "post", data: e2 });
|
|
}
|
|
function f(e2) {
|
|
return Object(l["a"])({ url: "/company/member/pageListForRole", method: "post", data: e2 });
|
|
}
|
|
function p(e2) {
|
|
return Object(l["a"])({ url: "/company/MemberRoleRel/batchDelete", method: "post", data: e2 });
|
|
}
|
|
function m(e2) {
|
|
return Object(l["a"])({ url: "/hakocompany/account/findProjectByRole", method: "post", data: e2 });
|
|
}
|
|
}, "77f6": 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 cardSet" }, [a2("el-tabs", { attrs: { type: "border-card" }, model: { value: e2.homeActive, callback: function(t3) {
|
|
e2.homeActive = t3;
|
|
}, expression: "homeActive" } }, [a2("el-tab-pane", { attrs: { label: "点赞", name: "thumbsup" } }, [a2("thumbsup")], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "评分/评论", name: "comment" } }, [a2("comment")], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "转发", name: "forward" } }, [a2("forward")], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "阅读", name: "read" } }, [a2("read")], 1)], 1)], 1);
|
|
}, n = [], o = function() {
|
|
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
|
return a2("div", [a2("div", { staticClass: "topSearch" }, [a2("el-form", { ref: "searchInfo", staticClass: "demo-form-inline", attrs: { inline: true, model: e2.searchInfo } }, [a2("el-form-item", { attrs: { prop: "projectUuid" } }, [a2("el-select", { staticClass: "select-dom", attrs: { clearable: "", placeholder: "请选择项目" }, model: { value: e2.searchInfo.projectUuid, callback: function(t3) {
|
|
e2.$set(e2.searchInfo, "projectUuid", t3);
|
|
}, expression: "searchInfo.projectUuid" } }, e2._l(e2.projectList, (function(e3) {
|
|
return a2("el-option", { key: e3.uuid, attrs: { label: e3.name, value: e3.uuid } });
|
|
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "type" } }, [a2("el-select", { staticClass: "select-dom", attrs: { clearable: "", placeholder: "点赞对象" }, model: { value: e2.searchInfo.type, callback: function(t3) {
|
|
e2.$set(e2.searchInfo, "type", t3);
|
|
}, expression: "searchInfo.type" } }, e2._l(e2.typeList, (function(e3) {
|
|
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
|
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "locationName" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "空间网格" }, model: { value: e2.searchInfo.locationName, callback: function(t3) {
|
|
e2.$set(e2.searchInfo, "locationName", t3);
|
|
}, expression: "searchInfo.locationName" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "planModel" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "作业计划类型" }, model: { value: e2.searchInfo.planModel, callback: function(t3) {
|
|
e2.$set(e2.searchInfo, "planModel", t3);
|
|
}, expression: "searchInfo.planModel" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "eventName" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "作业事项" }, model: { value: e2.searchInfo.eventName, callback: function(t3) {
|
|
e2.$set(e2.searchInfo, "eventName", t3);
|
|
}, expression: "searchInfo.eventName" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "userName" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "用户姓名" }, model: { value: e2.searchInfo.userName, callback: function(t3) {
|
|
e2.$set(e2.searchInfo, "userName", t3);
|
|
}, expression: "searchInfo.userName" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "userMobile" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "用户手机号" }, model: { value: e2.searchInfo.userMobile, callback: function(t3) {
|
|
e2.$set(e2.searchInfo, "userMobile", t3);
|
|
}, expression: "searchInfo.userMobile" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "memberName" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "被点赞人" }, model: { value: e2.searchInfo.memberName, callback: function(t3) {
|
|
e2.$set(e2.searchInfo, "memberName", t3);
|
|
}, expression: "searchInfo.memberName" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "name" } }, [a2("el-date-picker", { attrs: { type: "daterange", "range-separator": "至", format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd", "start-placeholder": "开始时间", "end-placeholder": "结束时间" }, on: { change: e2.GetzhifuTime }, model: { value: e2.queryTime, callback: function(t3) {
|
|
e2.queryTime = t3;
|
|
}, expression: "queryTime" } })], 1), e2._v(" "), a2("el-form-item", [a2("el-button", { attrs: { type: "primary" }, on: { click: e2.onSearch } }, [e2._v("查询")]), e2._v(" "), a2("el-button", { on: { click: function(t3) {
|
|
return e2.resetForm("searchInfo");
|
|
} } }, [e2._v("重置")])], 1)], 1)], 1), e2._v(" "), a2("div", { staticClass: "tableDownload" }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary", loading: e2.downloadLoading }, on: { click: e2.exportExcel } }, [e2._v("下载Excel")])], 1), e2._v(" "), a2("div", [a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: e2.tableLoading, expression: "tableLoading" }], attrs: { "header-cell-style": { background: "#eef1f6", color: "#606266" }, data: e2.tableData, align: "center", border: "" } }, [a2("el-table-column", { attrs: { label: "序号", align: "center", width: "80", fixed: "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(t3.$index + (e2.searchInfo.pageNumber - 1) * e2.searchInfo.pageSize + 1))])];
|
|
} }]) }), 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.projectName || "-"))])];
|
|
} }]) }), 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(e2._f("getItemType")(t3.row.type, e2.typeList)))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "用户姓名", prop: "userName", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(t3.row.userName || "-"))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "用户手机号", prop: "userMobile" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(t3.row.userMobile || "-"))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "点赞明细", "min-width": "90", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
|
|
return e2.getTargetDetailes(t3.row);
|
|
} } }, [e2._v("查看")])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "被点赞人", prop: "memberName", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(t3.row.memberName || "-"))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "点赞时间", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(t3.row.createDate || "-"))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "作业网格位置", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(t3.row.locationName || "-"))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "作业计划类型", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(t3.row.planModel || "-"))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "作业事项", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(t3.row.eventName || "-"))])];
|
|
} }]) })], 1)], 1), e2._v(" "), a2("div", { staticClass: "paginationSet" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.searchInfo.pageNumber, "page-sizes": [10, 30, 50, 100], "page-size": e2.searchInfo.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.total }, on: { "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1)]);
|
|
}, r = [], i = (a("fc02"), a("e8b2")), s = a("dce5"), c = a("67d5"), u = a("48fb"), d = { data: function() {
|
|
return { agreeTypeList: s["f"], forwardTypeList: s["K"], projectList: [], total: 0, searchInfo: { companyId: 0, pageNumber: 1, pageSize: 10, projectUuid: "", spaceLocation: "", planModel: "", eventName: "", memberName: "", userMobile: "", userName: "", startTime: "", endTime: "", type: "" }, typeNameList: [{ value: "员工", label: "员工" }, { value: "计划作业", label: "计划作业" }, { value: "非计划作业", label: "非计划作业" }, { value: "项目周报", label: "项目周报" }, { value: "体检整改报告", label: "体检整改报告" }], queryTime: "", tableData: [], tableLoading: false, downloadLoading: false, typeList: [] };
|
|
}, mounted: function() {
|
|
this.typeList = [].concat(Object(i["a"])(this.agreeTypeList), Object(i["a"])(this.forwardTypeList)), this.searchInfo.companyId = JSON.parse(localStorage.getItem("companyInfo")).osId, this.getList(), this.getProjectInfo();
|
|
}, methods: { getList: function() {
|
|
var e2 = this;
|
|
this.tableLoading = true, Object(u["e"])(this.searchInfo).then((function(t2) {
|
|
e2.tableLoading = false, e2.tableData = t2.data.records, e2.total = t2.data.rowsCount;
|
|
})).catch((function() {
|
|
e2.tableLoading = false;
|
|
}));
|
|
}, GetzhifuTime: function() {
|
|
null != this.queryTime && (this.searchInfo.startTime = this.queryTime[0] + " 00:00:00", this.searchInfo.endTime = this.queryTime[1] + " 23:59:59");
|
|
}, getProjectInfo: function() {
|
|
var e2 = this, t2 = JSON.parse(window.localStorage.getItem("companyInfo")).osId;
|
|
Object(c["j"])({ id: t2, attribute: 1 }).then((function(t3) {
|
|
0 === t3.code && t3.data ? e2.projectList = t3.data : e2.projectList = [];
|
|
}));
|
|
}, getTargetDetailes: function(e2) {
|
|
if (1 === e2.type) this.openNewWindow("taskDetails", e2.target);
|
|
else if (2 === e2.type) {
|
|
var t2 = e2.target.indexOf("OPS") >= 0;
|
|
t2 ? this.openNewWindow("temporaryDetail", e2.target) : this.openNewWindow("serviceOrderDetail", e2.target);
|
|
} else 3 === e2.type ? this.openNewWindow("serviceReport", e2.target) : 5 === e2.type ? this.openNewWindow("rectificationReport", e2.target) : 6 === e2.type ? this.getPlanInfo(e2) : this.$message({ type: "success", message: "功能开发中,敬请期待。。。" });
|
|
}, openNewWindow: function(e2, t2) {
|
|
var a2 = "".concat(window.location.origin, "/#/details/").concat(e2, "?id=").concat(t2);
|
|
window.open("".concat(a2));
|
|
}, getPlanInfo: function(e2) {
|
|
var t2 = this, a2 = e2.target.split("-");
|
|
Object(u["j"])({ taskStandardUuid: a2[1] }).then((function(e3) {
|
|
t2.openNewWindow("taskDetails", e3.data.taskNo);
|
|
}));
|
|
}, onSearch: function() {
|
|
this.searchInfo.pageNumber = 1, this.getList();
|
|
}, resetForm: function(e2) {
|
|
this.$refs[e2].resetFields(), this.searchInfo.pageNumber = 1, this.queryTime = null, this.searchInfo.startTime = "", this.searchInfo.endTime = "", this.getList();
|
|
}, handleSizeChange: function(e2) {
|
|
this.searchInfo.pageSize = e2, this.searchInfo.pageNumber = 1, this.getList();
|
|
}, handleCurrentChange: function(e2) {
|
|
this.searchInfo.pageNumber = e2, this.getList();
|
|
}, exportExcel: function() {
|
|
var e2 = this, t2 = this.searchInfo, a2 = JSON.parse(window.localStorage.getItem("companyInfo")).fullName, l2 = "".concat(a2, "-点赞统计报表.xls");
|
|
this.downloadLoading = true, Object(u["d"])(t2).then((function(t3) {
|
|
e2.downloadLoading = false;
|
|
var a3 = new Blob([t3], { type: "application/vnd.ms-excel;charset=UTF-8" });
|
|
if (window.navigator.msSaveOrOpenBlob) navigator.msSaveBlob(a3);
|
|
else {
|
|
var n2 = document.createElement("a");
|
|
n2.download = l2, n2.href = URL.createObjectURL(a3), n2.click(), URL.revokeObjectURL(n2.href), document.body.removeChild(n2);
|
|
}
|
|
})).catch((function(t3) {
|
|
e2.downloadLoading = false;
|
|
}));
|
|
} } }, f = d, p = (a("4486"), a("829d")), m = Object(p["a"])(f, o, r, false, null, null, null), h = m.exports, v = function() {
|
|
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
|
return a2("div", [a2("div", { staticClass: "topSearch" }, [a2("el-form", { ref: "searchInfo", staticClass: "demo-form-inline", attrs: { inline: true, model: e2.searchInfo } }, [a2("el-form-item", { attrs: { prop: "projectUuid" } }, [a2("el-select", { staticClass: "select-dom", attrs: { clearable: "", placeholder: "请选择项目" }, model: { value: e2.searchInfo.projectUuid, callback: function(t3) {
|
|
e2.$set(e2.searchInfo, "projectUuid", t3);
|
|
}, expression: "searchInfo.projectUuid" } }, e2._l(e2.projectList, (function(e3) {
|
|
return a2("el-option", { key: e3.uuid, attrs: { label: e3.name, value: e3.uuid } });
|
|
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "type" } }, [a2("el-select", { staticClass: "select-dom", attrs: { clearable: "", placeholder: "评价对象" }, model: { value: e2.searchInfo.type, callback: function(t3) {
|
|
e2.$set(e2.searchInfo, "type", t3);
|
|
}, expression: "searchInfo.type" } }, e2._l(e2.typeList, (function(e3) {
|
|
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
|
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "locationName" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "空间网格" }, model: { value: e2.searchInfo.locationName, callback: function(t3) {
|
|
e2.$set(e2.searchInfo, "locationName", t3);
|
|
}, expression: "searchInfo.locationName" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "planModel" } }, [a2("el-select", { attrs: { placeholder: "请选择作业计划类型", clearable: true }, model: { value: e2.searchInfo.planModel, callback: function(t3) {
|
|
e2.$set(e2.searchInfo, "planModel", t3);
|
|
}, expression: "searchInfo.planModel" } }, e2._l(e2.planModeLArr, (function(e3) {
|
|
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
|
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "eventName" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "作业事项" }, model: { value: e2.searchInfo.eventName, callback: function(t3) {
|
|
e2.$set(e2.searchInfo, "eventName", t3);
|
|
}, expression: "searchInfo.eventName" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "source" } }, [a2("el-select", { staticClass: "select-dom", attrs: { clearable: "", placeholder: "来源身份" }, model: { value: e2.searchInfo.source, callback: function(t3) {
|
|
e2.$set(e2.searchInfo, "source", t3);
|
|
}, expression: "searchInfo.source" } }, e2._l(e2.sourceList, (function(e3) {
|
|
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
|
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "userName" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "用户姓名" }, model: { value: e2.searchInfo.userName, callback: function(t3) {
|
|
e2.$set(e2.searchInfo, "userName", t3);
|
|
}, expression: "searchInfo.userName" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "userMobile" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "用户手机号" }, model: { value: e2.searchInfo.userMobile, callback: function(t3) {
|
|
e2.$set(e2.searchInfo, "userMobile", t3);
|
|
}, expression: "searchInfo.userMobile" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "fractionList" } }, [a2("el-select", { staticClass: "select-dom", attrs: { multiple: "", "collapse-tags": "", clearable: "", placeholder: "评分" }, model: { value: e2.searchInfo.fractionList, callback: function(t3) {
|
|
e2.$set(e2.searchInfo, "fractionList", t3);
|
|
}, expression: "searchInfo.fractionList" } }, e2._l(e2.fractionArrList, (function(e3) {
|
|
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
|
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "memberName" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "被评价人" }, model: { value: e2.searchInfo.memberName, callback: function(t3) {
|
|
e2.$set(e2.searchInfo, "memberName", t3);
|
|
}, expression: "searchInfo.memberName" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "name" } }, [a2("el-date-picker", { attrs: { type: "daterange", "range-separator": "至", format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd", "start-placeholder": "评价开始时间", "end-placeholder": "评价结束时间" }, on: { change: e2.GetzhifuTime }, model: { value: e2.queryTime, callback: function(t3) {
|
|
e2.queryTime = t3;
|
|
}, expression: "queryTime" } })], 1), e2._v(" "), a2("el-form-item", [a2("el-button", { on: { click: function(t3) {
|
|
return e2.resetForm("searchInfo");
|
|
} } }, [e2._v("重置")]), e2._v(" "), a2("el-button", { attrs: { type: "primary" }, on: { click: e2.onSearch } }, [e2._v("查询")])], 1)], 1)], 1), e2._v(" "), a2("div", { staticClass: "tableDownload" }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary", loading: e2.downloadLoading }, on: { click: e2.exportExcel } }, [e2._v("下载Excel")])], 1), e2._v(" "), a2("div", [a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: e2.tableLoading, expression: "tableLoading" }], attrs: { "header-cell-style": { background: "#eef1f6", color: "#606266" }, data: e2.tableData, align: "center", border: "" } }, [a2("el-table-column", { attrs: { label: "序号", align: "center", width: "80", fixed: "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(t3.$index + (e2.searchInfo.pageNumber - 1) * e2.searchInfo.pageSize + 1))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "项目名称", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(t3.row.projectName || "-"))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "评价对象", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(e2._f("getItemType")(t3.row.type, e2.typeList)))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "作业网格位置", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(t3.row.locationName || "-"))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "作业计划类型", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(e2._f("getItemType")(t3.row.planModel, e2.planModeLArr)))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "作业事项", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(t3.row.eventName || "-"))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "来源身份", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(e2._f("getItemType")(t3.row.source, e2.sourceList)))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "用户姓名", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(t3.row.userName || "-"))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "用户手机号", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(t3.row.userMobile || "-"))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "评分", "min-width": "180" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("el-rate", { attrs: { disabled: "", "text-color": "#ff9900", "show-score": "", "score-template": "{value}" }, model: { value: t3.row.fraction, callback: function(a3) {
|
|
e2.$set(t3.row, "fraction", a3);
|
|
}, expression: "scope.row.fraction" } })];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "评价内容", "min-width": "160", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(t3.row.content || "-"))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "评价图片", width: "130", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [t3.row.img ? a2("el-image", { staticStyle: { width: "100px", height: "50px" }, attrs: { src: e2.getUrl(t3.row.img), "preview-src-list": e2.getSrcList(t3.row.img) } }) : a2("span", [e2._v("-")])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "评价明细", "min-width": "200", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
|
|
return e2.getTargetDetailes(t3.row);
|
|
} } }, [e2._v("查看")])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "被评价人", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(t3.row.memberName || "-"))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "评价时间", "min-width": "160", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(t3.row.createDate || "-"))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "低分跟踪工单", "min-width": "200", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("div", { staticClass: "detailesLink", on: { click: function(a3) {
|
|
return e2.gotTargetDetailes(t3.row);
|
|
} } }, [e2._v("\n " + e2._s(t3.row.worderNo || "") + "\n ")])];
|
|
} }]) })], 1)], 1), e2._v(" "), a2("div", { staticClass: "paginationSet" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.searchInfo.pageNumber, "page-sizes": [10, 30, 50, 100], "page-size": e2.searchInfo.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.total }, on: { "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1), e2._v(" "), a2("el-dialog", { attrs: { title: "回访详情", visible: e2.detailDialogVisible, width: "800px" }, on: { "update:visible": function(t3) {
|
|
e2.detailDialogVisible = t3;
|
|
} } }, [a2("el-descriptions", { attrs: { column: 2, border: "", size: "small" } }, [a2("el-descriptions-item", { attrs: { label: "楼栋单元房号" } }, [e2._v("\n " + e2._s(e2.joinAddress(e2.visitDetail.buildingName, e2.visitDetail.unitName, e2.visitDetail.roomNum) || "-") + "\n ")]), e2._v(" "), a2("el-descriptions-item", { attrs: { label: "拜访时间" } }, [e2._v("\n " + e2._s(e2.visitDetail.visitTime || "-") + "\n ")]), e2._v(" "), a2("el-descriptions-item", { attrs: { label: "拜访对象" } }, [e2._v("\n " + e2._s(e2.visitDetail.houseMemberName || "-") + "\n ")]), e2._v(" "), a2("el-descriptions-item", { attrs: { label: "拜访方式" } }, [e2._v("\n " + e2._s(e2._f("getItemType")(e2.visitDetail.visitType, e2.visitWayList)) + "\n ")]), e2._v(" "), a2("el-descriptions-item", { attrs: { label: "拜访记录", span: 2 } }, [e2._v("\n " + e2._s(e2.visitDetail.remark || "-") + "\n ")]), e2._v(" "), a2("el-descriptions-item", { attrs: { label: "欠费原因" } }, [e2._v("\n " + e2._s(e2.fmtVisitReason(e2.visitDetail.visitReason, e2.visitDetail.subReason)) + "\n ")]), e2._v(" "), a2("el-descriptions-item", { attrs: { label: "来源" } }, [e2._v("\n " + e2._s(e2.fmtSource(e2.visitDetail.source)) + "\n ")]), e2._v(" "), a2("el-descriptions-item", { attrs: { label: "回访通知方式" } }, [e2._v("\n " + e2._s(e2.fmtPollNoticeType(e2.visitDetail.pollNoticeType)) + "\n ")]), e2._v(" "), a2("el-descriptions-item", { attrs: { label: "查阅时间" } }, [e2._v("\n " + e2._s(e2.visitDetail.readTime || "-") + "\n ")]), e2._v(" "), a2("el-descriptions-item", { attrs: { label: "工单号" } }, [e2._v("\n " + e2._s(e2.visitDetail.orderNo || "-") + "\n ")]), e2._v(" "), a2("el-descriptions-item", { attrs: { label: "提交人" } }, [e2._v("\n " + e2._s(e2.visitDetail.memberName || "-") + "\n ")]), e2._v(" "), a2("el-descriptions-item", { attrs: { label: "提交时间" } }, [e2._v("\n " + e2._s(e2.visitDetail.submitTime || "-") + "\n ")]), e2._v(" "), a2("el-descriptions-item", { attrs: { label: "照片", span: 2 } }, [e2.getImgList(e2.visitDetail.pictureUrl).length ? e2._l(e2.getImgList(e2.visitDetail.pictureUrl), (function(t3, l2) {
|
|
return a2("el-image", { key: l2, staticStyle: { width: "100px", height: "60px", "margin-right": "8px" }, attrs: { src: t3, "preview-src-list": e2.getImgList(e2.visitDetail.pictureUrl) } });
|
|
})) : a2("span", [e2._v("-")])], 2), e2._v(" "), a2("el-descriptions-item", { attrs: { label: "视频", span: 2 } }, [e2.getVideoList(e2.visitDetail.mediaUrl).length ? e2._l(e2.getVideoList(e2.visitDetail.mediaUrl), (function(t3, l2) {
|
|
return a2("a", { key: l2, staticStyle: { "margin-right": "12px" }, attrs: { href: t3, target: "_blank" } }, [e2._v("视频" + e2._s(l2 + 1))]);
|
|
})) : a2("span", [e2._v("-")])], 2)], 1), e2._v(" "), a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { on: { click: function(t3) {
|
|
e2.detailDialogVisible = false;
|
|
} } }, [e2._v("关闭")])], 1)], 1)], 1);
|
|
}, b = [], g = (a("e5b4"), a("1bc7"), a("c5cb"), a("0c84"), a("2843"), a("e680"), a("8f53")), y = { data: function() {
|
|
return { agreeTypeList: s["f"], forwardTypeList: s["K"], planModeLArr: g["i"], projectList: [], total: 0, searchInfo: { companyId: 0, pageNumber: 1, pageSize: 10, projectUuid: "", locationName: "", planModel: "", eventName: "", userName: "", userMobile: "", memberName: "", startTime: "", endTime: "", source: "", type: "", fractionList: [] }, sourceList: s["zb"], typeNameList: [{ value: "员工", label: "员工" }, { value: "支付", label: "支付" }, { value: "计划作业", label: "计划作业" }, { value: "非计划作业", label: "非计划作业" }, { value: "项目周报", label: "项目周报" }, { value: "体检整改报告", label: "体检整改报告" }], fractionArrList: [{ value: "0.5", label: "0.5" }, { value: "1", label: "1" }, { value: "1.5", label: "1.5" }, { value: "2", label: "2" }, { value: "2.5", label: "2.5" }, { value: "3", label: "3" }, { value: "3.5", label: "3.5" }, { value: "4", label: "4" }, { value: "4.5", label: "4.5" }, { value: "5", label: "5" }], queryTime: [], tableData: [], tableLoading: false, downloadLoading: false, typeList: [], detailDialogVisible: false, visitDetail: {} };
|
|
}, mounted: function() {
|
|
this.typeList = [].concat(Object(i["a"])(this.agreeTypeList), Object(i["a"])(this.forwardTypeList)), this.searchInfo.companyId = JSON.parse(localStorage.getItem("companyInfo")).osId, this.initDefaultDate(), this.getList(), this.getProjectInfo();
|
|
}, methods: { initDefaultDate: function() {
|
|
var e2 = /* @__PURE__ */ new Date(), t2 = e2.getFullYear(), a2 = e2.getMonth(), l2 = new Date(t2, a2, 1), n2 = function(e3) {
|
|
return e3 < 10 ? "0" + e3 : "" + e3;
|
|
}, o2 = function(e3) {
|
|
return e3.getFullYear() + "-" + n2(e3.getMonth() + 1) + "-" + n2(e3.getDate());
|
|
}, r2 = o2(l2), i2 = o2(e2);
|
|
this.queryTime = [r2, i2], this.searchInfo.startTime = r2 + " 00:00:00", this.searchInfo.endTime = i2 + " 23:59:59";
|
|
}, getList: function() {
|
|
var e2 = this;
|
|
if (this.tableLoading = true, this.searchInfo.fractionList.length > 0) {
|
|
var t2 = JSON.parse(JSON.stringify(this.searchInfo.fractionList)), a2 = [];
|
|
t2.map((function(e3) {
|
|
if ("1" == e3 || "2" == e3 || "3" == e3 || "4" == e3 || "5" == e3) {
|
|
var t3 = e3 + ".0";
|
|
a2.push(e3), a2.push(t3);
|
|
} else a2.push(e3);
|
|
})), this.searchInfo.fractionList = this.uniqueArr(a2);
|
|
}
|
|
Object(u["f"])(this.searchInfo).then((function(t3) {
|
|
e2.tableLoading = false;
|
|
var a3 = t3.data.records;
|
|
a3.length > 0 && a3.map((function(e3) {
|
|
e3.fraction = Number(e3.fraction);
|
|
})), e2.tableData = a3, e2.total = t3.data.rowsCount;
|
|
})).catch((function() {
|
|
e2.tableLoading = false;
|
|
}));
|
|
}, getProjectInfo: function() {
|
|
var e2 = this, t2 = JSON.parse(window.localStorage.getItem("companyInfo")).osId;
|
|
Object(c["j"])({ id: t2, attribute: 1 }).then((function(t3) {
|
|
0 === t3.code && t3.data ? e2.projectList = t3.data : e2.projectList = [];
|
|
}));
|
|
}, uniqueArr: function(e2) {
|
|
return Array.from(new Set(e2));
|
|
}, GetzhifuTime: function() {
|
|
null != this.queryTime && (this.searchInfo.startTime = this.queryTime[0] + " 00:00:00", this.searchInfo.endTime = this.queryTime[1] + " 23:59:59");
|
|
}, getTargetDetailes: function(e2) {
|
|
var t2 = this;
|
|
if (1 === e2.type) this.openNewWindow("taskDetails", e2.target);
|
|
else if (2 === e2.type) {
|
|
var a2 = e2.target.indexOf("OPS") >= 0;
|
|
a2 ? this.openNewWindow("temporaryDetail", e2.target) : this.openNewWindow("serviceOrderDetail", e2.target);
|
|
} else 3 === e2.type ? this.openNewWindow("serviceReport", e2.target) : 5 === e2.type ? this.openNewWindow("rectificationReport", e2.target) : 6 === e2.type ? this.getPlanInfo(e2) : 17 === e2.type ? Object(u["g"])({ id: e2.target }).then((function(e3) {
|
|
t2.visitDetail = e3 && e3.data ? e3.data : e3, t2.detailDialogVisible = true;
|
|
})) : this.$message({ type: "success", message: "功能开发中,敬请期待。。。" });
|
|
}, gotTargetDetailes: function(e2) {
|
|
if (e2.workNo) {
|
|
var t2 = e2.workNo.indexOf("OPS") >= 0;
|
|
t2 ? this.openNewWindow("temporaryDetail", e2.workNo) : this.openNewWindow("serviceOrderDetail", e2.workNo);
|
|
}
|
|
}, getPlanInfo: function(e2) {
|
|
var t2 = this, a2 = e2.target.split("-");
|
|
Object(u["j"])({ taskStandardUuid: a2[1] }).then((function(e3) {
|
|
t2.openNewWindow("taskDetails", e3.data.taskNo);
|
|
}));
|
|
}, openNewWindow: function(e2, t2) {
|
|
var a2 = "".concat(window.location.origin, "/#/details/").concat(e2, "?id=").concat(t2);
|
|
window.open("".concat(a2));
|
|
}, onSearch: function() {
|
|
this.searchInfo.pageNumber = 1, this.getList();
|
|
}, resetForm: function(e2) {
|
|
this.$refs[e2].resetFields(), this.searchInfo.pageNumber = 1, this.queryTime = null, this.searchInfo.startTime = "", this.searchInfo.endTime = "", this.getList();
|
|
}, handleSizeChange: function(e2) {
|
|
this.searchInfo.pageSize = e2, this.searchInfo.pageNumber = 1, this.getList();
|
|
}, handleCurrentChange: function(e2) {
|
|
this.searchInfo.pageNumber = e2, this.getList();
|
|
}, getUrl: function(e2) {
|
|
if (e2) {
|
|
var t2 = this.getSrcList(e2);
|
|
return t2[0];
|
|
}
|
|
}, getSrcList: function(e2) {
|
|
if (e2) {
|
|
var t2 = e2.split(",");
|
|
return t2;
|
|
}
|
|
}, exportExcel: function() {
|
|
var e2 = this, t2 = this.searchInfo, a2 = JSON.parse(window.localStorage.getItem("companyInfo")).fullName, l2 = "".concat(a2, "-评论统计报表.xls");
|
|
this.downloadLoading = true, Object(u["k"])(t2).then((function(t3) {
|
|
e2.downloadLoading = false;
|
|
var a3 = new Blob([t3], { type: "application/vnd.ms-excel;charset=UTF-8" });
|
|
if (window.navigator.msSaveOrOpenBlob) navigator.msSaveBlob(a3);
|
|
else {
|
|
var n2 = document.createElement("a");
|
|
n2.download = l2, n2.href = URL.createObjectURL(a3), n2.click(), URL.revokeObjectURL(n2.href), document.body.removeChild(n2);
|
|
}
|
|
})).catch((function(t3) {
|
|
e2.downloadLoading = false;
|
|
}));
|
|
}, formatJson: function(e2) {
|
|
try {
|
|
return JSON.stringify(e2, null, 2);
|
|
} catch (t2) {
|
|
return String(e2);
|
|
}
|
|
}, joinAddress: function(e2, t2, a2) {
|
|
var l2 = [e2, t2, a2].filter(Boolean);
|
|
return l2.join("-");
|
|
}, fmtSource: function(e2) {
|
|
var t2 = { 1: "主动发起", 2: "人工", 3: "回访", 4: "催费模型", 5: "催费工单", 6: "分类布置智能体", 7: "拜访智能体", 8: "回款智能体" };
|
|
return t2[e2] || (null == e2 ? "-" : String(e2));
|
|
}, fmtPollNoticeType: function(e2) {
|
|
var t2 = { 1: "仅公众号", 2: "短信+公众号" };
|
|
return t2[e2] || (null == e2 ? "-" : String(e2));
|
|
}, fmtVisitReason: function(e2, t2) {
|
|
if (null == e2) return "-";
|
|
var a2 = s["g"].find((function(t3) {
|
|
return t3.value === Number(e2);
|
|
})), l2 = a2 ? a2.label : "原因(".concat(e2, ")");
|
|
if (null == t2 || "" === t2 || 0 === Number(t2)) return l2;
|
|
var n2 = "子原因(".concat(t2, ")");
|
|
if (a2 && Array.isArray(a2.children)) {
|
|
var o2 = a2.children.find((function(e3) {
|
|
return e3.subValue === Number(t2);
|
|
}));
|
|
o2 && o2.subLabel && (n2 = o2.subLabel);
|
|
}
|
|
return "".concat(l2, " / ").concat(n2);
|
|
}, getImgList: function(e2) {
|
|
return e2 ? e2.split(",").filter(Boolean) : [];
|
|
}, getVideoList: function(e2) {
|
|
return e2 ? e2.split(",").filter(Boolean) : [];
|
|
} } }, _ = y, w = (a("c881"), Object(p["a"])(_, v, b, false, null, null, null)), I = w.exports, k = function() {
|
|
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
|
return a2("div", [a2("div", { staticClass: "topSearch" }, [a2("el-form", { ref: "searchInfo", staticClass: "demo-form-inline", attrs: { inline: true, model: e2.searchInfo } }, [a2("el-form-item", { attrs: { prop: "projectUuid" } }, [a2("el-select", { staticClass: "select-dom", attrs: { clearable: "", placeholder: "请选择项目" }, model: { value: e2.searchInfo.projectUuid, callback: function(t3) {
|
|
e2.$set(e2.searchInfo, "projectUuid", t3);
|
|
}, expression: "searchInfo.projectUuid" } }, e2._l(e2.projectList, (function(e3) {
|
|
return a2("el-option", { key: e3.uuid, attrs: { label: e3.name, value: e3.uuid } });
|
|
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "type" } }, [a2("el-select", { staticClass: "select-dom", attrs: { clearable: "", placeholder: "转发对象" }, model: { value: e2.searchInfo.type, callback: function(t3) {
|
|
e2.$set(e2.searchInfo, "type", t3);
|
|
}, expression: "searchInfo.type" } }, e2._l(e2.forwardTypeList, (function(e3) {
|
|
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
|
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "name" } }, [a2("el-date-picker", { attrs: { type: "daterange", "range-separator": "至", format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd", "start-placeholder": "开始时间", "end-placeholder": "结束时间" }, on: { change: e2.getTime }, model: { value: e2.queryTime, callback: function(t3) {
|
|
e2.queryTime = t3;
|
|
}, expression: "queryTime" } })], 1), e2._v(" "), a2("el-form-item", [a2("el-button", { attrs: { type: "primary" }, on: { click: e2.onSearch } }, [e2._v("查询")]), e2._v(" "), a2("el-button", { on: { click: function(t3) {
|
|
return e2.resetForm("searchInfo");
|
|
} } }, [e2._v("重置")])], 1)], 1)], 1), e2._v(" "), a2("div", [a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: e2.tableLoading, expression: "tableLoading" }], attrs: { "header-cell-style": { background: "#eef1f6", color: "#606266" }, data: e2.tableData, align: "center", border: "" } }, [a2("el-table-column", { attrs: { label: "序号", align: "center", width: "80", fixed: "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(t3.$index + (e2.searchInfo.pageNumber - 1) * e2.searchInfo.pageSize + 1))])];
|
|
} }]) }), 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.projectName || "-"))])];
|
|
} }]) }), 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(e2._f("getItemType")(t3.row.type, e2.forwardTypeList)))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "转发明细", "min-width": "220", prop: "userName", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(t3.row.userName || "-"))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "身份来源", prop: "userMobile", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(t3.row.userMobile || "-"))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "转发人", prop: "memberName", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(t3.row.memberName || "-"))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "转发时间", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(t3.row.createDate || "-"))])];
|
|
} }]) })], 1)], 1), e2._v(" "), a2("div", { staticClass: "paginationSet" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.searchInfo.pageNumber, "page-sizes": [10, 30, 50, 100], "page-size": e2.searchInfo.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.total }, on: { "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1)]);
|
|
}, L = [], N = { data: function() {
|
|
return { forwardTypeList: s["K"], projectList: [], total: 0, searchInfo: { companyId: 0, pageNumber: 1, pageSize: 10, projectUuid: "", startTime: "", endTime: "", type: "" }, queryTime: "", tableData: [], tableLoading: false, downloadLoading: false };
|
|
}, mounted: function() {
|
|
this.searchInfo.companyId = JSON.parse(localStorage.getItem("companyInfo")).osId, this.getProjectInfo();
|
|
}, methods: { getList: function() {
|
|
}, getTime: function() {
|
|
null != this.queryTime && (this.searchInfo.startTime = this.queryTime[0] + " 00:00:00", this.searchInfo.endTime = this.queryTime[1] + " 23:59:59");
|
|
}, getProjectInfo: function() {
|
|
var e2 = this, t2 = JSON.parse(window.localStorage.getItem("companyInfo")).osId;
|
|
Object(c["j"])({ id: t2, attribute: 1 }).then((function(t3) {
|
|
0 === t3.code && t3.data ? e2.projectList = t3.data : e2.projectList = [];
|
|
}));
|
|
}, onSearch: function() {
|
|
this.searchInfo.pageNumber = 1, this.getList();
|
|
}, resetForm: function(e2) {
|
|
this.$refs[e2].resetFields(), this.searchInfo.pageNumber = 1, this.queryTime = null, this.searchInfo.startTime = "", this.searchInfo.endTime = "", this.getList();
|
|
}, handleSizeChange: function(e2) {
|
|
this.searchInfo.pageSize = e2, this.searchInfo.pageNumber = 1, this.getList();
|
|
}, handleCurrentChange: function(e2) {
|
|
this.searchInfo.pageNumber = e2, this.getList();
|
|
}, exportExcel: function() {
|
|
var e2 = this, t2 = this.searchInfo, a2 = JSON.parse(window.localStorage.getItem("companyInfo")).fullName, l2 = "".concat(a2, "-点赞统计报表.xls");
|
|
this.downloadLoading = true, agreeInteractiveExport(t2).then((function(t3) {
|
|
e2.downloadLoading = false;
|
|
var a3 = new Blob([t3], { type: "application/vnd.ms-excel;charset=UTF-8" });
|
|
if (window.navigator.msSaveOrOpenBlob) navigator.msSaveBlob(a3);
|
|
else {
|
|
var n2 = document.createElement("a");
|
|
n2.download = l2, n2.href = URL.createObjectURL(a3), n2.click(), URL.revokeObjectURL(n2.href), document.body.removeChild(n2);
|
|
}
|
|
})).catch((function(t3) {
|
|
e2.downloadLoading = false;
|
|
}));
|
|
} } }, S = N, j = (a("d716"), Object(p["a"])(S, k, L, false, null, null, null)), T = j.exports, x = function() {
|
|
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
|
return a2("div", [a2("div", { staticClass: "topSearch" }, [a2("el-form", { ref: "searchInfo", staticClass: "demo-form-inline", attrs: { inline: true, model: e2.searchInfo } }, [a2("el-form-item", { attrs: { prop: "projectName" } }, [a2("el-select", { staticClass: "select-dom", attrs: { clearable: "", placeholder: "请选择项目" }, model: { value: e2.searchInfo.projectName, callback: function(t3) {
|
|
e2.$set(e2.searchInfo, "projectName", t3);
|
|
}, expression: "searchInfo.projectName" } }, e2._l(e2.projectList, (function(e3) {
|
|
return a2("el-option", { key: e3.uuid, attrs: { label: e3.name, value: e3.name } });
|
|
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "type" } }, [a2("el-select", { staticClass: "select-dom", attrs: { clearable: "", placeholder: "阅读对象" }, model: { value: e2.searchInfo.type, callback: function(t3) {
|
|
e2.$set(e2.searchInfo, "type", t3);
|
|
}, expression: "searchInfo.type" } }, e2._l(e2.forwardTypeList, (function(e3) {
|
|
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
|
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "name" } }, [a2("el-date-picker", { attrs: { type: "daterange", "range-separator": "至", format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd", "start-placeholder": "开始时间", "end-placeholder": "结束时间", clearable: false }, on: { change: e2.getTime }, model: { value: e2.queryTime, callback: function(t3) {
|
|
e2.queryTime = t3;
|
|
}, expression: "queryTime" } })], 1), e2._v(" "), a2("el-form-item", [a2("el-button", { attrs: { type: "primary" }, on: { click: e2.onSearch } }, [e2._v("查询")]), e2._v(" "), a2("el-button", { on: { click: function(t3) {
|
|
return e2.resetForm("searchInfo");
|
|
} } }, [e2._v("重置")])], 1)], 1)], 1), e2._v(" "), a2("div", [a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: e2.tableLoading, expression: "tableLoading" }], attrs: { "header-cell-style": { background: "#eef1f6", color: "#606266" }, data: e2.tableData, align: "center", border: "" } }, [a2("el-table-column", { attrs: { label: "序号", align: "center", width: "80", fixed: "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(t3.$index + (e2.searchInfo.pageNumber - 1) * e2.searchInfo.pageSize + 1))])];
|
|
} }]) }), 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.projectName || "-"))])];
|
|
} }]) }), 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(e2._f("getItemType")(t3.row.type, e2.forwardTypeList)))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "阅读明细", "min-width": "220", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(t3.row.readSketch))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "提交时间", prop: "createTime", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(t3.row.createTime || "-"))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "身份来源", prop: "source", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(1 == t3.row.source ? "员工" : ""))])];
|
|
} }]) }), 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.memberName || "-"))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "阅读时间", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(t3.row.updateDate || "-"))])];
|
|
} }]) })], 1)], 1), e2._v(" "), a2("div", { staticClass: "paginationSet" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.searchInfo.pageNumber, "page-sizes": [10, 30, 50, 100], "page-size": e2.searchInfo.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.total }, on: { "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1)]);
|
|
}, O = [], D = { data: function() {
|
|
return { forwardTypeList: s["K"], projectList: [], total: 0, searchInfo: { companyId: 0, pageNumber: 1, pageSize: 10, projectName: "", startTime: "", endTime: "", type: "" }, queryTime: "", tableData: [], tableLoading: false, downloadLoading: false };
|
|
}, mounted: function() {
|
|
this.searchInfo.companyId = JSON.parse(localStorage.getItem("companyInfo")).osId, this.getList(), this.getProjectInfo();
|
|
}, methods: { getList: function() {
|
|
var e2 = this;
|
|
this.tableLoading = true, Object(u["c"])(this.searchInfo).then((function(t2) {
|
|
e2.tableLoading = false, e2.tableData = t2.data.records, e2.total = t2.data.rowsCount;
|
|
})).catch((function() {
|
|
e2.tableLoading = false;
|
|
}));
|
|
}, getTime: function() {
|
|
null != this.queryTime && (this.searchInfo.startTime = this.queryTime[0] + " 00:00:00", this.searchInfo.endTime = this.queryTime[1] + " 23:59:59");
|
|
}, getProjectInfo: function() {
|
|
var e2 = this, t2 = JSON.parse(window.localStorage.getItem("companyInfo")).osId;
|
|
Object(c["j"])({ id: t2, attribute: 1 }).then((function(t3) {
|
|
0 === t3.code && t3.data ? e2.projectList = t3.data : e2.projectList = [];
|
|
}));
|
|
}, onSearch: function() {
|
|
this.searchInfo.pageNumber = 1, this.getList();
|
|
}, resetForm: function(e2) {
|
|
this.$refs[e2].resetFields(), this.searchInfo.pageNumber = 1, this.queryTime = null, this.searchInfo.startTime = "", this.searchInfo.endTime = "", this.getList();
|
|
}, handleSizeChange: function(e2) {
|
|
this.searchInfo.pageSize = e2, this.searchInfo.pageNumber = 1, this.getList();
|
|
}, handleCurrentChange: function(e2) {
|
|
this.searchInfo.pageNumber = e2, this.getList();
|
|
}, exportExcel: function() {
|
|
var e2 = this, t2 = this.searchInfo, a2 = JSON.parse(window.localStorage.getItem("companyInfo")).fullName, l2 = "".concat(a2, "-点赞统计报表.xls");
|
|
this.downloadLoading = true, agreeInteractiveExport(t2).then((function(t3) {
|
|
e2.downloadLoading = false;
|
|
var a3 = new Blob([t3], { type: "application/vnd.ms-excel;charset=UTF-8" });
|
|
if (window.navigator.msSaveOrOpenBlob) navigator.msSaveBlob(a3);
|
|
else {
|
|
var n2 = document.createElement("a");
|
|
n2.download = l2, n2.href = URL.createObjectURL(a3), n2.click(), URL.revokeObjectURL(n2.href), document.body.removeChild(n2);
|
|
}
|
|
})).catch((function(t3) {
|
|
e2.downloadLoading = false;
|
|
}));
|
|
}, handleClear: function() {
|
|
console.log("被触发----------"), this.searchInfo.startTime = "", this.searchInfo.endTime = "";
|
|
} } }, C = D, M = (a("58d6"), Object(p["a"])(C, x, O, false, null, null, null)), U = M.exports, z = { components: { thumbsup: h, comment: I, forward: T, read: U }, data: function() {
|
|
return { homeActive: "thumbsup" };
|
|
}, mounted: function() {
|
|
}, methods: {} }, R = z, $ = (a("c55c"), Object(p["a"])(R, l, n, false, null, null, null));
|
|
t["default"] = $.exports;
|
|
}, 8093: function(e, t, a) {
|
|
}, "8f53": function(e, t, a) {
|
|
"use strict";
|
|
a.d(t, "g", (function() {
|
|
return l;
|
|
})), a.d(t, "h", (function() {
|
|
return n;
|
|
})), a.d(t, "n", (function() {
|
|
return o;
|
|
})), a.d(t, "l", (function() {
|
|
return r;
|
|
})), a.d(t, "m", (function() {
|
|
return i;
|
|
})), a.d(t, "i", (function() {
|
|
return s;
|
|
})), a.d(t, "b", (function() {
|
|
return c;
|
|
})), a.d(t, "a", (function() {
|
|
return u;
|
|
})), a.d(t, "f", (function() {
|
|
return d;
|
|
})), a.d(t, "e", (function() {
|
|
return f;
|
|
})), a.d(t, "j", (function() {
|
|
return p;
|
|
})), a.d(t, "c", (function() {
|
|
return m;
|
|
})), a.d(t, "d", (function() {
|
|
return h;
|
|
}));
|
|
var l = [{ 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: "未受理" }], n = [{ value: 1, label: "房屋认证" }, { value: 2, label: "门禁申请" }, { value: 3, label: "车辆月卡" }, { value: 4, label: "投诉报修" }, { 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: "服务拒绝" }], r = [{ value: 1, label: "预算管控表" }, { value: 2, label: "现金流表" }, { value: 3, label: "利润表" }, { value: 4, label: "资产负债表" }, { value: 5, label: "提供给业委会收支表" }], i = [{ 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 }], s = [{ 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 }], c = [{ value: 0, label: "无" }, { value: 1, label: "物业管理费" }, { value: 2, label: "停车费" }, { value: 3, label: "多经" }, { value: 4, label: "代收代付" }], u = [{ value: 0, 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: 10, label: "代收代付" }, { value: 9, label: "其它" }], d = [{ value: 1, label: "流入" }, { value: 2, label: "流出" }], f = [{ value: 1, label: "收入" }, { value: 2, label: "支出" }], p = [{ value: 1, label: "低" }, { value: 2, label: "一般" }, { value: 3, label: "紧急" }], m = [{ 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 }], h = [{ 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 }];
|
|
}, c265: function(e, t, a) {
|
|
}, c55c: function(e, t, a) {
|
|
"use strict";
|
|
a("c265");
|
|
}, c881: function(e, t, a) {
|
|
"use strict";
|
|
a("1b3c");
|
|
}, d716: function(e, t, a) {
|
|
"use strict";
|
|
a("f736");
|
|
}, f736: function(e, t, a) {
|
|
} }]);
|