34 lines
1022 B
JavaScript
34 lines
1022 B
JavaScript
"use strict";
|
|
const common_vendor = require("../../common/vendor.js");
|
|
const request_index = require("../../request/index.js");
|
|
function Apply(data) {
|
|
return request_index.request({
|
|
url: `/api/employessapply/apply`,
|
|
method: "post",
|
|
data
|
|
});
|
|
}
|
|
function getOrgInfo(title) {
|
|
return request_index.request({
|
|
url: `/api/employessapply/getOrgInfo?title=${title}&pageSize=-1&openId=${common_vendor.index.getStorageSync("openid")}`,
|
|
method: "get"
|
|
});
|
|
}
|
|
function getEmployeesOrgRela(openId) {
|
|
return request_index.request({
|
|
url: `/api/employessapply/getEmployeesOrgRela?openId=${openId}`,
|
|
method: "get"
|
|
});
|
|
}
|
|
function getIndex(openId) {
|
|
return request_index.request({
|
|
url: `/api/employessapply/getEmployeesOrgRela?openId=${openId}&status=2`,
|
|
method: "get"
|
|
});
|
|
}
|
|
exports.Apply = Apply;
|
|
exports.getEmployeesOrgRela = getEmployeesOrgRela;
|
|
exports.getIndex = getIndex;
|
|
exports.getOrgInfo = getOrgInfo;
|
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/yuangongindex/api.js.map
|