124
This commit is contained in:
45
src/api/newlz.js
Normal file
45
src/api/newlz.js
Normal file
@ -0,0 +1,45 @@
|
||||
// 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"
|
||||
});
|
||||
};
|
Reference in New Issue
Block a user