123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165 |
- import request from '@/router/axios';
- //分页获取清表
- export const getList = (params) => {
- return request({
- url: '/api/blade-manager/exceltab/list',
- method: 'get',
- params
- })
- }
- // 关联清表树all
- export const tabLazytreeAll = (params) => {
- return request({
- url: '/api/blade-manager/exceltab/tab-lazytree-all',
- method: 'get',
- params
- })
- };
- //清表树
- export const tabLazytree = (params) => {
- return request({
- url: '/api/blade-manager/exceltab/tab-lazytree',
- method: 'get',
- params
- })
- };
- //获取列表信息
- export const detailExcel = (params) => {
- return request({
- url: '/api/blade-manager/exceltab/detail',
- method: 'get',
- params
- })
- }
- //元素识别获取列表信息
- export const getExcelHtmlCol = (params) => {
- return request({
- url: '/api/blade-manager/exceltab/get-excel-html-col',
- method: 'get',
- params
- })
- }
- //清表编辑 wbs 下拉框选择
- export const getWbsTypeList = (params) => {
- return request({
- url: '/api/blade-manager/exceltab/getWbsTypeList',
- method: 'get',
- params
- })
- }
- //清表类型
- export const excelType = (params) => {
- return request({
- url: ' /api/blade-system/dict-biz/dictionary',
- method: 'get',
- params
- })
- }
- //懒加载节点树形结构
- export const wbstree = (params) => {
- return request({
- url: ' /api/blade-manager/exceltab/lazy-tree',
- method: 'get',
- params
- })
- }
- //wbs树获取表
- export const selectByNodeTable = (params) => {
- return request({
- url: ' /api/blade-manager/exceltab/selectByNodeTable',
- method: 'get',
- params
- })
- }
- // 添加编辑清表
- export const Excelmodify = (row) => {
- return request({
- url: '/api/blade-manager/exceltab/sava-dataInfo',
- method: 'post',
- data: row
- })
- }
- // 上传清表
- export const uploadExcel = (row) => {
- return request({
- // ty application/json
- url: '/api/blade-manager/exceltab/put-file-attach',
- method: 'post',
- data: row
- })
- }
- // 删除excel文件
- export const deleteExcel = (row) => {
- return request({
- url: '/api/blade-manager/exceltab/update',
- method: 'post',
- data: row
- })
- }
- export const deleteExcelshu = (ids) => {
- return request({
- url: '/api/blade-manager/exceltab/remove',
- method: 'post',
- params: {
- ids,
- }
- })
- }
- //关联清表保存
- export const saveLinkTab = (params) => {
- return request({
- url: ' /api/blade-manager/exceltab/save-linkTab',
- method: 'get',
- params
- })
- }
- //清表生成html
- export const getExcelHtml = (params) => {
- return request({
- url: ' /api/blade-manager/exceltab/get-excel-html',
- method: 'get',
- params
- })
- }
- //清表生成html
- export const submitExcelRelationWbsTreeAndElement = (data) => {
- return request({
- url: ' /api/blade-manager/wbsFormElement/submitExcelRelationWbsTreeAndElement',
- method: 'post',
- data
- })
- }
- //取消关联
- export const cancelRelation = (params) => {
- return request({
- url: ' /api/blade-manager/wbsFormElement/cancelRelation',
- method: 'get',
- params
- })
- }
- export const getLazytree = (params) => {
- return request({
- url: '/api/blade-manager/wbsTree/lazy-tree',
- method: 'get',
- params
- })
- }
|