Files
wysite/output/sourcemaps/hc-etms.sqygj.cn/static/js/chunk-67aab86e.14cc989f.js

416 lines
24 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-67aab86e"], { "0994": function(t, e, a) {
}, 4513: function(t, e, a) {
"use strict";
a.d(e, "v", (function() {
return r;
})), a.d(e, "w", (function() {
return o;
})), a.d(e, "x", (function() {
return i;
})), a.d(e, "l", (function() {
return u;
})), a.d(e, "t", (function() {
return s;
})), a.d(e, "j", (function() {
return c;
})), a.d(e, "o", (function() {
return l;
})), a.d(e, "u", (function() {
return d;
})), a.d(e, "b", (function() {
return p;
})), a.d(e, "p", (function() {
return m;
})), a.d(e, "D", (function() {
return f;
})), a.d(e, "B", (function() {
return h;
})), a.d(e, "q", (function() {
return b;
})), a.d(e, "c", (function() {
return y;
})), a.d(e, "s", (function() {
return g;
})), a.d(e, "i", (function() {
return v;
})), a.d(e, "n", (function() {
return w;
})), a.d(e, "a", (function() {
return _;
})), a.d(e, "g", (function() {
return S;
})), a.d(e, "d", (function() {
return k;
})), a.d(e, "f", (function() {
return O;
})), a.d(e, "C", (function() {
return j;
})), a.d(e, "m", (function() {
return L;
})), a.d(e, "y", (function() {
return C;
})), a.d(e, "r", (function() {
return q;
})), a.d(e, "e", (function() {
return I;
})), a.d(e, "z", (function() {
return T;
})), a.d(e, "A", (function() {
return x;
})), a.d(e, "h", (function() {
return N;
})), a.d(e, "k", (function() {
return z;
}));
var n = a("b775");
function r() {
return Object(n["a"])({ url: "/company/organizationalStructure/updateOrgnization", method: "post" });
}
function o(t2) {
return Object(n["a"])({ url: "/company/organizationalStructure/findOsTree", method: "post", data: t2 });
}
function i(t2) {
return Object(n["a"])({ url: "/company/organizationalStructure/findOsTreeV2", method: "post", data: t2 });
}
function u(t2) {
return Object(n["a"])({ url: "/company/OrganizationRoleRel/findProjectByRoleIdAndParent", method: "post", data: t2 });
}
function s(t2) {
return Object(n["a"])({ url: "/company/member/pageListByCompanyId", method: "post", data: t2 });
}
function c(t2) {
return Object(n["a"])({ url: "/company/member/findByProjectUuidAndJobUuid", method: "post", data: t2 });
}
function l(t2) {
return Object(n["a"])({ url: "/company/member/getList", method: "post", data: t2 });
}
function d(t2) {
return Object(n["a"])({ url: "/company/organizationalStructure/findOsPathList", method: "post", data: t2 });
}
function p(t2) {
return Object(n["a"])({ url: "/company/member/create", method: "post", data: t2 });
}
function m(t2) {
return Object(n["a"])({ url: "/company/member/findById", method: "post", data: t2 });
}
function f(t2) {
return Object(n["a"])({ url: "/company/member/update", method: "post", data: t2 });
}
function h(t2) {
return Object(n["a"])({ url: "/company/member/suspendMember", method: "post", data: t2 });
}
function b(t2) {
return Object(n["a"])({ url: "/enterprise/os/memberQuit/".concat(t2.memberUuid), method: "post" });
}
function y(t2) {
return Object(n["a"])({ url: "/company/organizationalStructure/create", method: "post", data: t2 });
}
function g(t2) {
return Object(n["a"])({ url: "/company/organizationalStructure/update", method: "post", data: t2 });
}
function v(t2) {
return Object(n["a"])({ url: "/company/member/findByProjectUuid", method: "post", data: t2 });
}
function w(t2) {
return Object(n["a"])({ url: "/hakocompany/Job/getJobList", method: "post", data: t2 });
}
function _(t2) {
return Object(n["a"])({ url: "/company/member/ChangeDepartment", method: "post", data: t2 });
}
function S(t2) {
return Object(n["a"])({ url: "/hakocompany/Role/pageList", method: "post", data: t2 });
}
function k(t2) {
return Object(n["a"])({ url: "/hakocompany/MemberRoleRel/create", method: "post", data: t2 });
}
function O(t2) {
return Object(n["a"])({ url: "/hakocompany/MemberRoleRel/findByMemberId", method: "post", data: t2 });
}
function j(t2) {
return Object(n["a"])({ url: "/hakocompany/MemberRoleRel/update", method: "post", data: t2 });
}
function L(t2) {
return Object(n["a"])({ url: "/company/member/getList", method: "POST", data: t2 });
}
function C(t2) {
return Object(n["a"])({ url: "/company/member/queryByStaff", method: "POST", data: t2 });
}
function q(t2) {
return Object(n["a"])({ url: "/company/member/memberQuit", method: "POST", data: t2 });
}
function I(t2) {
return Object(n["a"])({ url: "/company/organizationalStructure/delete", method: "POST", data: t2 });
}
function T(t2) {
return Object(n["a"])({ url: "/hakocompany/Space/queryInitData", method: "POST", data: t2 });
}
function x(t2) {
return Object(n["a"])({ url: "/hakocompany/Space/queryList", method: "POST", data: t2 });
}
function N(t2) {
return Object(n["a"])({ url: "/hakocompany/Space/findByProId", method: "POST", data: t2 });
}
function z(t2) {
return Object(n["a"])({ url: "/company/organizationalStructure/findOSListByRoleId", method: "POST", data: t2 });
}
}, "4cfb": function(t, e, a) {
"use strict";
a.d(e, "e", (function() {
return r;
})), a.d(e, "h", (function() {
return o;
})), a.d(e, "f", (function() {
return i;
})), a.d(e, "g", (function() {
return u;
})), a.d(e, "d", (function() {
return s;
})), a.d(e, "a", (function() {
return c;
})), a.d(e, "b", (function() {
return l;
})), a.d(e, "c", (function() {
return d;
}));
var n = a("b775");
function r(t2) {
return Object(n["a"])({ url: "/hakocompany/QywxContact/pageList", method: "post", data: t2 });
}
function o(t2) {
return Object(n["a"])({ url: "/hakocompany/QywxContact/syncContactData", method: "post", data: t2 });
}
function i(t2) {
return Object(n["a"])({ url: "/hakocompany/QywxContractTagGroup/pageList", method: "post", data: t2 });
}
function u(t2) {
return Object(n["a"])({ url: "/hakocompany/QywxUser/pageList", method: "post", data: t2 });
}
function s(t2) {
return Object(n["a"])({ url: "/hakocompany/QywxUserCheckin/pageList", method: "post", data: t2 });
}
function c(t2) {
return Object(n["a"])({ url: "/hakocompany/MemberManualAttendance/pageList", method: "post", data: t2 });
}
function l(t2) {
return Object(n["a"])({ url: "/hakocompany/MemberManualAttendance/out/excel", method: "post", responseType: "blob", data: t2 });
}
function d(t2, e2) {
return Object(n["a"])({ url: "/hakocompany/MemberManualAttendance/input/excel/".concat(e2), method: "post", isReturnResponse: true, isFile: true, responseType: "blob", headers: { "Content-Type": "multipart/form-data;charset=UTF-8" }, data: t2 });
}
}, "67d5": function(t, e, a) {
"use strict";
a.d(e, "i", (function() {
return r;
})), a.d(e, "j", (function() {
return o;
})), a.d(e, "f", (function() {
return i;
})), a.d(e, "b", (function() {
return u;
})), a.d(e, "c", (function() {
return s;
})), a.d(e, "k", (function() {
return c;
})), a.d(e, "e", (function() {
return l;
})), a.d(e, "d", (function() {
return d;
})), a.d(e, "h", (function() {
return p;
})), a.d(e, "a", (function() {
return m;
})), a.d(e, "g", (function() {
return f;
}));
var n = a("b775");
function r(t2) {
return Object(n["a"])({ url: "/hakocompany/Role/pageList", method: "post", data: t2 });
}
function o(t2) {
return Object(n["a"])({ url: "/company/organizationalStructure/selectOsList", method: "post", data: t2 });
}
function i(t2) {
return Object(n["a"])({ url: "/company/organizationalStructure/findOsTree", method: "post", data: t2 });
}
function u(t2) {
return Object(n["a"])({ url: "/hakocompany/Role/create", method: "post", data: t2 });
}
function s(t2) {
return Object(n["a"])({ url: "/hakocompany/Role/delete", method: "post", data: t2 });
}
function c(t2) {
return Object(n["a"])({ url: "/hakocompany/Role/update", method: "post", data: t2 });
}
function l(t2) {
return Object(n["a"])({ url: "/hakocompany/RoleMenuRel/findByRoleIdAndClienId", method: "post", data: t2 });
}
function d(t2) {
return Object(n["a"])({ url: "/hakocompany/OrganizationRoleRel/findByRoleId", method: "post", data: t2 });
}
function p(t2) {
return Object(n["a"])({ url: "/company/member/pageListForRole", method: "post", data: t2 });
}
function m(t2) {
return Object(n["a"])({ url: "/company/MemberRoleRel/batchDelete", method: "post", data: t2 });
}
function f(t2) {
return Object(n["a"])({ url: "/hakocompany/account/findProjectByRole", method: "post", data: t2 });
}
}, "77f6a": function(t, e, a) {
"use strict";
a.r(e);
var n = function() {
var t2 = this, e2 = t2.$createElement, a2 = t2._self._c || e2;
return a2("div", { staticClass: "workPointsManage" }, [a2("div", { staticClass: "workPointsRuleList" }, [a2("el-card", { staticClass: "box-card secarch-box" }, [a2("el-row", [a2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [a2("el-select", { staticStyle: { width: "100%" }, attrs: { filterable: "", multiple: "", "collapse-tags": "", clearable: "", placeholder: "请选择标签" }, model: { value: t2.query.tagIds, callback: function(e3) {
t2.$set(t2.query, "tagIds", e3);
}, expression: "query.tagIds" } }, t2._l(t2.tagList, (function(e3) {
return a2("el-option-group", { key: e3.id, attrs: { label: e3.groupName } }, t2._l(e3.tags, (function(t3) {
return a2("el-option", { key: t3.tagId, attrs: { label: t3.tagName, value: t3.tagId } });
})), 1);
})), 1)], 1), t2._v(" "), a2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [a2("el-select", { staticStyle: { width: "100%" }, attrs: { filterable: "", clearable: "", placeholder: "请选择添加人" }, model: { value: t2.query.userId, callback: function(e3) {
t2.$set(t2.query, "userId", e3);
}, expression: "query.userId" } }, t2._l(t2.userList, (function(t3) {
return a2("el-option", { key: t3.userId, attrs: { label: t3.name, value: t3.userId } });
})), 1)], 1), t2._v(" "), a2("el-col", { staticClass: "elCol", attrs: { span: 3 } }, [a2("el-select", { staticStyle: { width: "100%" }, attrs: { clearable: "", placeholder: "请选择客户来源" }, model: { value: t2.query.type, callback: function(e3) {
t2.$set(t2.query, "type", e3);
}, expression: "query.type" } }, [a2("el-option", { attrs: { label: "微信", value: 1 } }), t2._v(" "), a2("el-option", { attrs: { label: "企业微信", value: 2 } })], 1)], 1), t2._v(" "), a2("el-col", { staticClass: "elCol", attrs: { span: 8 } }, [a2("el-date-picker", { attrs: { type: "datetimerange", format: "yyyy-MM-dd HH:mm:ss", "value-format": "yyyy-MM-dd HH:mm:ss", "range-separator": "至", "start-placeholder": "开始日期", "end-placeholder": "结束日期", "default-time": ["00:00:00", "23:59:59"] }, model: { value: t2.bindTime, callback: function(e3) {
t2.bindTime = e3;
}, expression: "bindTime" } })], 1), t2._v(" "), a2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(e3) {
return t2.resetForm();
} } }, [t2._v("重置")]), t2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: t2.onSearch } }, [t2._v("查询")])], 1)], 1)], 1), t2._v(" "), a2("el-card", { staticClass: "box-card", staticStyle: { "margin-top": "15px" } }, [a2("div", { staticClass: "planLst" }, [a2("span", { staticClass: "planTitle" }, [t2._v("客户微信列表")]), t2._v(" "), a2("span", { staticClass: "add" }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary", size: "small", loading: t2.syncLoad, icon: "el-icon-refresh" }, on: { click: t2.syncClick } }, [t2._v("同步数据")])], 1)]), t2._v(" "), a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: t2.tableLoading, expression: "tableLoading" }], staticStyle: { width: "100%", "margin-top": "15px" }, attrs: { border: "", data: t2.tableData, "header-cell-style": t2.headClass } }, [a2("el-table-column", { attrs: { label: "#", align: "center", width: "80", fixed: "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [a2("span", [t2._v(t2._s(e3.$index + (t2.query.pageNumber - 1) * t2.query.pageSize + 1) + " ")])];
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "realName", label: "客户名称", width: "200", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [a2("span", [t2._v(t2._s(e3.row.remark && e3.row.remark === e3.row.name ? e3.row.name : e3.row.remark + "(" + e3.row.name + ")"))])];
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "realName", label: "客户手机号", width: "140", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [a2("span", [t2._v(t2._s(e3.row.remarkMobiles || "-"))])];
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "realName", label: "来源", width: "140", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [a2("span", [t2._v(t2._s(2 == e3.row.type ? "@" + e3.row.corpName : "微信"))])];
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { label: "标签", "min-width": "200" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [a2("span", t2._l(e3.row.tagList, (function(e4, n2) {
return a2("el-tag", { key: n2, staticStyle: { margin: "0 8px 8px 0", display: "inline-block" }, attrs: { type: "info" } }, [t2._v(t2._s(e4.tagName))]);
})), 1)];
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "添加人", width: "140", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [a2("span", [t2._v(t2._s(e3.row.username || "-"))])];
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "添加时间", width: "190", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [a2("span", [t2._v(t2._s(e3.row.addTime || "-") + " ")])];
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "备注", width: "120", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [a2("span", [t2._v(t2._s(e3.row.description || "-") + " ")])];
} }]) })], 1), t2._v(" "), a2("div", { staticClass: "paginations" }, [a2("el-pagination", { attrs: { background: "", "current-page": t2.query.pageNumber, "page-sizes": [10, 20, 30, 50], "page-size": t2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: t2.pageTotal }, on: { "update:currentPage": function(e3) {
return t2.$set(t2.query, "pageNumber", e3);
}, "update:current-page": function(e3) {
return t2.$set(t2.query, "pageNumber", e3);
}, "size-change": t2.handleSizeChange, "current-change": t2.handleCurrentChange } })], 1)], 1)], 1), t2._v(" "), a2("screenUser", { attrs: { show: t2.screenShow }, on: { close: t2.screenClose, callback: t2.getlistData } })], 1);
}, r = [], o = a("4cfb"), i = function() {
var t2 = this, e2 = t2.$createElement, a2 = t2._self._c || e2;
return a2("div", { staticClass: "workPointsManage" }, [a2("el-dialog", { attrs: { title: "选择同步数据的账号", visible: t2.show, width: "50%", "before-close": t2.handleClose }, on: { "update:visible": function(e3) {
t2.show = e3;
} } }, [a2("el-form", { ref: "query", staticClass: "demo-form-inline", attrs: { inline: true, model: t2.query } }, [a2("el-form-item", { attrs: { prop: "id" } }, [a2("el-select", { attrs: { placeholder: "选择项目" }, model: { value: t2.query.id, callback: function(e3) {
t2.$set(t2.query, "id", e3);
}, expression: "query.id" } }, t2._l(t2.listData, (function(t3) {
return a2("el-option", { key: t3.id, attrs: { label: t3.name, value: t3.id } });
})), 1)], 1), t2._v(" "), a2("el-form-item", { attrs: { prop: "name" } }, [a2("el-input", { attrs: { placeholder: "员工" }, model: { value: t2.query.name, callback: function(e3) {
t2.$set(t2.query, "name", e3);
}, expression: "query.name" } })], 1), t2._v(" "), a2("el-form-item", { attrs: { prop: "attribute" } }, [a2("el-select", { attrs: { placeholder: "项目负责人" }, model: { value: t2.query.attribute, callback: function(e3) {
t2.$set(t2.query, "attribute", e3);
}, expression: "query.attribute" } }, [a2("el-option", { attrs: { label: "是", value: 1 } }), t2._v(" "), a2("el-option", { attrs: { label: "否", value: null } })], 1)], 1), t2._v(" "), a2("el-form-item", [a2("el-button", { attrs: { type: "primary" }, on: { click: t2.searchClick } }, [t2._v("查询")]), t2._v(" "), a2("el-button", { on: { click: t2.resetSearch } }, [t2._v("重置")])], 1)], 1), t2._v(" "), a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: t2.tableLoading, expression: "tableLoading" }], ref: "screenTable", staticStyle: { width: "100%", "margin-top": "15px" }, attrs: { border: "", data: t2.tableData, "header-cell-style": t2.headClass }, on: { "selection-change": t2.getSelect } }, [a2("el-table-column", { attrs: { align: "center", width: "50", fixed: "", type: "selection" } }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "realName", label: "项目", "min-width": "200", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [a2("span", [t2._v(t2._s(e3.row.departmentName || "-"))])];
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "realName", label: "员工", "min-width": "150", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [a2("span", [t2._v(t2._s(e3.row.name || "-"))])];
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "realName", label: "项目负责人", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [a2("span", [t2._v(t2._s(1 == e3.row.attribute ? "是" : "否"))])];
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "岗位", "min-width": "200", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [t2._v("\n " + t2._s(e3.row.postName || "-") + "\n ")];
} }]) })], 1), t2._v(" "), a2("div", { staticClass: "paginations" }, [a2("el-pagination", { attrs: { background: "", "current-page": t2.query.pageNumber, "page-sizes": [10, 20, 30, 50], "page-size": t2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: t2.pageTotal }, on: { "update:currentPage": function(e3) {
return t2.$set(t2.query, "pageNumber", e3);
}, "update:current-page": function(e3) {
return t2.$set(t2.query, "pageNumber", e3);
}, "size-change": t2.handleSizeChange, "current-change": t2.handleCurrentChange } })], 1), t2._v(" "), a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { on: { click: t2.handleClose } }, [t2._v("取 消")]), t2._v(" "), a2("el-button", { attrs: { type: "primary", loading: t2.postLoad }, on: { click: t2.submitPost } }, [t2._v("确 定")])], 1)], 1)], 1);
}, u = [], s = (a("a450"), a("1bc7"), a("4513")), c = a("67d5"), l = { props: { show: { type: Boolean, default: false } }, data: function() {
return { tableData: [], listData: [], tableLoading: false, pageTotal: 0, query: { id: "", name: "", attribute: "", pageNumber: 1, pageSize: 10 }, postLoad: false, selectList: [] };
}, mounted: function() {
this.getMemberList(), this.getProjectList();
}, methods: { getMemberList: function() {
var t2 = this;
this.query.osId = this.query.id ? this.query.id : JSON.parse(window.localStorage.getItem("companyInfo")).osId, this.query.tag = 1, this.query.isStop = 1, this.query.onJobState = 1, this.query.bindWxUser = 1, this.tableLoading = true, Object(s["t"])(this.query).then((function(e2) {
t2.tableLoading = false, e2.data ? (t2.tableData = e2.data.records, t2.pageTotal = e2.data.rowsCount) : (t2.tableData = [], t2.pageTotal = 0);
})).catch((function(e2) {
t2.tableLoading = false;
}));
}, getProjectList: function() {
var t2 = this, e2 = { id: JSON.parse(window.localStorage.getItem("companyInfo")).osId, attribute: 1 };
Object(c["j"])(e2).then((function(e3) {
0 === e3.code && e3.data ? t2.listData = e3.data : t2.listData = [];
}));
}, getSelect: function(t2) {
t2.length > 0 ? this.selectList = t2 : this.selectList = [];
}, submitPost: function() {
var t2 = this;
if (this.selectList.length > 0) {
this.postLoad = true;
var e2 = [];
this.selectList.forEach((function(t3) {
e2.push({ memberName: t3.name, wxUserId: t3.wxUserId });
})), Object(o["h"])({ companyId: JSON.parse(window.localStorage.getItem("companyInfo")).osId, syncDTOList: e2 }).then((function(e3) {
t2.$message({ type: "success", message: "同步请求成功请1分钟后刷新页面查看最新数据" }), t2.postLoad = false, t2.$refs.screenTable.clearSelection(), t2.$emit("callback");
})).catch((function() {
t2.postLoad = false;
}));
} else this.$message("请先选择需要同步数据的账号");
}, handleClose: function() {
this.$refs.screenTable.clearSelection(), this.$emit("close");
}, handleSizeChange: function(t2) {
this.query.pageSize = t2, this.query.pageNumber = 1, this.getMemberList();
}, handleCurrentChange: function(t2) {
this.query.pageNumber = t2, this.getMemberList();
}, searchClick: function() {
this.query.pageNumber = 1, this.getMemberList();
}, resetSearch: function() {
this.$refs["query"].resetFields(), this.getMemberList();
}, headClass: function() {
return "text-align:center;background:#FAFAFA;";
} } }, d = l, p = (a("ebb1"), a("829d")), m = Object(p["a"])(d, i, u, false, null, "62440021", null), f = m.exports, h = { components: { screenUser: f }, data: function() {
return { query: { pageNumber: 1, pageSize: 10, userId: "", addStartTime: "", addEndTime: "", tagIds: [], type: "" }, bindTime: "", companyId: "", pageTotal: 0, tableData: [], syncLoad: false, tagList: [], userList: [], tableLoading: false, screenShow: false };
}, mounted: function() {
this.companyId = JSON.parse(localStorage.getItem("companyInfo")).osId, this.getlistData(), this.getTagList(), this.getQYWXuser();
}, methods: { getlistData: function() {
var t2 = this;
this.query.addStartTime = this.bindTime ? this.bindTime[0] : "", this.query.addEndTime = this.bindTime ? this.bindTime[1] : "", this.query.companyId = this.companyId, this.tableLoading = true, Object(o["e"])(this.query).then((function(e2) {
t2.tableLoading = false, 0 === e2.code && e2.data ? (t2.tableData = e2.data.records, t2.pageTotal = e2.data.rowsCount) : t2.tableData = [];
})).catch((function() {
t2.tableLoading = false;
}));
}, handleSizeChange: function(t2) {
this.query.pageSize = t2, this.getlistData();
}, handleCurrentChange: function(t2) {
this.query.pageNumber = t2, this.getlistData();
}, onSearch: function() {
this.query.pageNumber = 1, this.getlistData();
}, resetForm: function() {
this.query = { pageNumber: 1, pageSize: 10, userId: "", addStartTime: "", addEndTime: "", tagIds: [] }, this.bindTime = "", this.getlistData();
}, getTagList: function() {
var t2 = this;
Object(o["f"])({ companyId: this.companyId }).then((function(e2) {
t2.tagList = e2.data.records;
}));
}, getQYWXuser: function() {
var t2 = this, e2 = { companyId: this.companyId, mainDepartment: 1, pageNumber: -1, pageSize: -1 };
Object(o["g"])(e2).then((function(e3) {
t2.userList = e3.data.records;
}));
}, syncClick: function() {
this.screenShow = true;
}, headClass: function() {
return "text-align:center;background:#FAFAFA;";
}, screenClose: function() {
this.screenShow = false;
} } }, b = h, y = (a("fcb0"), Object(p["a"])(b, n, r, false, null, "60e20f45", null));
e["default"] = y.exports;
}, "7d98": function(t, e, a) {
}, ebb1: function(t, e, a) {
"use strict";
a("7d98");
}, fcb0: function(t, e, a) {
"use strict";
a("0994");
} }]);