Commit 14a40512 authored by lei's avatar lei

信息查看内容开发

parent 426dd9db
// 信息分类接口
import request from '@/utils/request'
// 获取所有类别
export function getAllCategory(params) {
return request({
url: '/api/informationClass/findInformationClassByPidTree',
method: 'get',
params
})
}
// 2、根据名称获取信息分类
export function getNameCategory(param) {
return request({
url: '/api/informationClass/findInformationClassByName',
method: 'get',
params: param
})
}
// 3.新增信息分类
export function addClassification(data) {
return request({
url: '/api/informationClass/insertInformationClass',
method: 'post',
data
})
}
// 4、修改信息分类
export function editClassification(data) {
return request({
url: '/api/informationClass/updateInformationClass',
method: 'put',
data
})
}
// 5.删除
export function deleteTypeDict(params) {
return request({
url: '/api/informationClass/deleteInformationClassById',
method: 'delete',
params
})
}
// 6.根据信息分类获取人员信息
export function getClassifyUserMessage(param) {
return request({
url: '/api/informationClass/findInformationClassByUserId',
method: 'get',
params: param
})
}
// 7.新增信息分类
export function changeClassInput(data) {
return request({
url: '/api/tabAssignWeight/updateByIdWeight',
method: 'post',
data
})
}
import request from '@/utils/request' import request from '@/utils/request'
// 信息类别 Tree 列表 // 信息类别 Tree 列表
export function reqInformationTreeList(params){ export function reqInformationTreeList(params) {
return request({ return request({
url: '/api/informationClass/findInformationClassByPid', url: '/api/informationClass/findInformationClassByPid',
method: 'get', method: 'get',
params, params
}) })
} }
// 信息类别 Tree 列表 // 信息类别 Tree 列表
export function reqAllInfoTreeList(params){ export function reqAllInfoTreeList(params) {
return request({ return request({
url: '/api/informationClass/findAllInformationClass', url: '/api/informationClass/findAllInformationClass',
method: 'get', method: 'get',
params, params
}) })
} }
// 构建好的 Tree 列表 // 构建好的 Tree 列表
export function reqAllInfoTreeBuild(params){ export function reqAllInfoTreeBuild(params) {
return request({ return request({
url: '/api/informationClass/findInformationClassByPidTree', url: '/api/informationClass/findInformationClassByPidTree',
method: 'get', method: 'get',
params, params
}) })
} }
\ No newline at end of file
import request from '@/utils/request'
// 信息类别 Tree 列表
export function reqInformationTreeList(params){
return request({
url: '/api/informationClass/findInformationClassByPid',
method: 'get',
params,
})
}
// 信息类别 Tree 列表
export function reqAllInfoTreeList(params){
return request({
url: '/api/informationClass/findAllInformationClass',
method: 'get',
params,
})
}
// 构建好的 Tree 列表
export function reqAllInfoTreeBuild(params){
return request({
url: '/api/informationClass/findInformationClassByPidTree',
method: 'get',
params,
})
}
\ No newline at end of file
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment