Files
lz_web_qwgl/src/api/newlz.js

46 lines
1.0 KiB
JavaScript
Raw Normal View History

2025-06-08 22:23:25 +08:00
// http://localhost:9529/mosty-api/mosty-jcz/tbQwXfll/getXfllList?jllx=02&pageSize=20&pageCurrent=1
import request from "@/utils/request";
const api = "/mosty-api/mosty-qwzx";
/**
* 获取民警|辅警列表
* @param {*} params
* @returns
*/
export const getTbJcglXfll = (params) => {
return request({
url: api + "/tbQwglXfll/getXfllList",
method: "GET",
params
});
};
// 新增数据辅警
export const getTbJcglXflladd = (data) => {
return request({
url: api + "/tbQwglXfll/add",
method: "post",
data
});
};
// 修改数据辅警
export const getTbJcglXflledit = (data) => {
return request({
url: api + "/tbQwglXfll/edit",
method: "post",
data
});
};
//身份证查询个人信息
export const getTbJcglXfllegetXfllBySfz = (id) => {
return request({
url: api + `/tbQwglXfll/getXfllBySfz/${id}`,
method: "post"
});
};
// 离职
export const getTbJcglXfllzList = (id) => {
return request({
url: api + `/tbQwglXfll/lzXfll/${id}`,
method: "post"
});
};