暂存表单联调

This commit is contained in:
zhujiyan
2024-05-11 17:09:36 +08:00
parent 3b6222e672
commit cb17256295
9 changed files with 5055 additions and 2714 deletions

View File

@@ -0,0 +1,16 @@
import createAxios from '@/utils/request'
import { SUPERVISION_BOOT } from '@/utils/constantRequest'
const MAPPING_PATH = SUPERVISION_BOOT + '/workflow/wfForm'
/**
* 提交表单数据
*/
export const submitFormData = (data: any) => {
return createAxios({
url: '/supervision-boot/userReport/add',
method: 'POST',
data: data
})
}

View File

@@ -13,6 +13,19 @@ export function queryByCode(code: string) {
data: form
})
}
// 字典树接口2
export function queryByAllCode() {
let form = new FormData()
// form.append('code', code)
return createAxios({
url: '/system-boot/dictTree/queryTree',
method: 'GET',
headers: {
'Content-Type': 'application/x-www-form-urlencoded'
},
// data: form
})
}
// 字典树接口通过code
export function queryCsDictTree(pid: string) {