按钮权限

This commit is contained in:
hanchaobo
2024-02-06 15:36:34 +08:00
parent e00184fc1d
commit 408cdcedd5
4 changed files with 115 additions and 42 deletions
+28 -20
View File
@@ -89,35 +89,43 @@ export function queryCaseFlowInfo(data) {
// 根据机构id查询模板
export function getTemplate(data) {
return request({
url: `/deptIdentify/getTemplate`,
method: 'get',
params: data
})
return request({
url: `/deptIdentify/getTemplate`,
method: 'get',
params: data
})
}
// 根据身份证获取生日和性别
export function getInfoByIdCard(query) {
return request({
url: '/caseApplication/getInfoByIdCard',
method: 'get',
params: query
})
return request({
url: '/caseApplication/getInfoByIdCard',
method: 'get',
params: query
})
}
/** 新增案件 */
export function caseApplicationInsert(data) {
return request({
url: '/caseApplication/insert',
method: 'post',
data: data
})
return request({
url: '/caseApplication/insert',
method: 'post',
data: data
})
}
// 修改立案申请接口
export function updateComfire(data) {
return request({
url: "/caseApplication/update",
method: "post",
data: data,
})
return request({
url: "/caseApplication/update",
method: "post",
data: data,
})
}
//提交案件
export function caseAppSubmit(data) {
return request({
'url': `/caseApplication/submit`,
method: 'post',
data: data
})
}