路由报表模板配置页面
This commit is contained in:
@@ -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) {
|
||||
@@ -28,6 +41,19 @@ export function queryCsDictTree(pid: string) {
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据id查询字典值
|
||||
*/
|
||||
export const getDictTreeById = (id: any) => {
|
||||
let form = new FormData()
|
||||
form.append('id', id)
|
||||
return createAxios({
|
||||
url: '/system-boot/dictTree/queryById',
|
||||
method: 'POST',
|
||||
data:form
|
||||
})
|
||||
}
|
||||
|
||||
// 字典树接口通过id
|
||||
export function queryByid(id: string) {
|
||||
let form = new FormData()
|
||||
@@ -42,7 +68,6 @@ export function queryByid(id: string) {
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
//新增字典树数据
|
||||
export const addDictTree = (data: any) => {
|
||||
return createAxios({
|
||||
@@ -52,12 +77,19 @@ export const addDictTree = (data: any) => {
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 编辑统计指标配置项
|
||||
export const updateStatistical = (data) => {
|
||||
export const updateStatistical = (data: any) => {
|
||||
return createAxios({
|
||||
url: '/system-boot/dic/update',
|
||||
method: 'PUT',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 单位绑定
|
||||
export function codeDicTree(data: any) {
|
||||
return createAxios({
|
||||
url: '/system-boot/dic/codeDicTree',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user