Files
wysite/output/sourcemaps/hc-etms.sqygj.cn/static/js/chunk-12965fa2.1e2ec9bd.js

87 lines
5.0 KiB
JavaScript

(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-12965fa2"], { "2bf3": function(t, e, a) {
}, "4cfb": function(t, e, a) {
"use strict";
a.d(e, "e", (function() {
return o;
})), a.d(e, "h", (function() {
return r;
})), a.d(e, "f", (function() {
return u;
})), a.d(e, "g", (function() {
return i;
})), 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 o(t2) {
return Object(n["a"])({ url: "/hakocompany/QywxContact/pageList", method: "post", data: t2 });
}
function r(t2) {
return Object(n["a"])({ url: "/hakocompany/QywxContact/syncContactData", method: "post", data: t2 });
}
function u(t2) {
return Object(n["a"])({ url: "/hakocompany/QywxContractTagGroup/pageList", method: "post", data: t2 });
}
function i(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 });
}
}, dce7: 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" }, [a2("div", { staticClass: "planLst" }, [a2("span", { staticClass: "planTitle" }, [t2._v("企业客户标签列表")])]), 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: "220", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [a2("span", [t2._v(t2._s(e3.row.groupName || "-"))])];
} }]) }), 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.tags, (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)];
} }]) })], 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)]);
}, o = [], r = a("4cfb"), u = { data: function() {
return { query: { pageNumber: 1, pageSize: 10 }, companyId: "", pageTotal: 0, tableData: [], tableLoading: false };
}, mounted: function() {
this.companyId = JSON.parse(localStorage.getItem("companyInfo")).osId, this.getlistData();
}, methods: { getlistData: function() {
var t2 = this;
this.tableLoading = true, this.query.companyId = this.companyId, Object(r["f"])(this.query).then((function(e2) {
0 === e2.code && e2.data ? (t2.tableData = e2.data.records, t2.pageTotal = e2.data.rowsCount) : t2.tableData = [], t2.tableLoading = false;
})).catch((function() {
t2.tableLoading = false;
}));
}, handleSizeChange: function(t2) {
this.query.pageSize = t2, this.getlistData();
}, handleCurrentChange: function(t2) {
this.query.pageNumber = t2, this.getlistData();
}, headClass: function() {
return "text-align:center;background:#FAFAFA;";
} } }, i = u, s = (a("f508"), a("829d")), c = Object(s["a"])(i, n, o, false, null, "1b641fd5", null);
e["default"] = c.exports;
}, f508: function(t, e, a) {
"use strict";
a("2bf3");
} }]);