|
@@ -2,196 +2,196 @@ import {httpApi} from "../../request/httpApi";
|
|
|
|
|
|
export default {
|
|
export default {
|
|
//新增或删除 合同段划分树首件关联
|
|
//新增或删除 合同段划分树首件关联
|
|
- async wbsTreeFirstSave(form) {
|
|
|
|
|
|
+ async wbsTreeFirstSave(form, msg = true) {
|
|
return httpApi({
|
|
return httpApi({
|
|
url: '/api/blade-business/treeContractFirst/saveOrDelete',
|
|
url: '/api/blade-business/treeContractFirst/saveOrDelete',
|
|
method: 'post',
|
|
method: 'post',
|
|
params: form
|
|
params: form
|
|
- });
|
|
|
|
|
|
+ },msg);
|
|
},
|
|
},
|
|
//修改树节点
|
|
//修改树节点
|
|
- async wbsTreeUpdateNode(form) {
|
|
|
|
|
|
+ async wbsTreeUpdateNode(form, msg = true) {
|
|
return httpApi({
|
|
return httpApi({
|
|
url: '/api/blade-business/informationWriteQuery/updateContractNodeParameter',
|
|
url: '/api/blade-business/informationWriteQuery/updateContractNodeParameter',
|
|
method: 'post',
|
|
method: 'post',
|
|
params: form
|
|
params: form
|
|
- });
|
|
|
|
|
|
+ },msg);
|
|
},
|
|
},
|
|
//导图结构树节点查询
|
|
//导图结构树节点查询
|
|
- async queryMappingStructureTree(form) {
|
|
|
|
|
|
+ async queryMappingStructureTree(form, msg = true) {
|
|
return httpApi({
|
|
return httpApi({
|
|
url: '/api/blade-business/informationWriteQuery/queryMappingStructureTree',
|
|
url: '/api/blade-business/informationWriteQuery/queryMappingStructureTree',
|
|
method: 'get',
|
|
method: 'get',
|
|
params: form
|
|
params: form
|
|
- });
|
|
|
|
|
|
+ },msg);
|
|
},
|
|
},
|
|
//保存或修改节点上传的图纸记录
|
|
//保存或修改节点上传的图纸记录
|
|
- async saveContractTreeDrawings(form) {
|
|
|
|
|
|
+ async saveContractTreeDrawings(form, msg = true) {
|
|
return httpApi({
|
|
return httpApi({
|
|
url: '/api/blade-business/contractTreeDrawings/saveContractTreeDrawings',
|
|
url: '/api/blade-business/contractTreeDrawings/saveContractTreeDrawings',
|
|
method: 'post',
|
|
method: 'post',
|
|
params: form
|
|
params: form
|
|
- });
|
|
|
|
|
|
+ },msg);
|
|
},
|
|
},
|
|
//删除节点
|
|
//删除节点
|
|
- async removeContractTreeNode(form) {
|
|
|
|
|
|
+ async removeContractTreeNode(form, msg = true) {
|
|
return httpApi({
|
|
return httpApi({
|
|
url: '/api/blade-business/informationWriteQuery/removeContractTreeNode',
|
|
url: '/api/blade-business/informationWriteQuery/removeContractTreeNode',
|
|
method: 'post',
|
|
method: 'post',
|
|
params: form
|
|
params: form
|
|
- });
|
|
|
|
|
|
+ },msg);
|
|
},
|
|
},
|
|
//查询当前节点下所有元素表信息
|
|
//查询当前节点下所有元素表信息
|
|
- async searchNodeAllTable(form) {
|
|
|
|
|
|
+ async searchNodeAllTable(form, msg = true) {
|
|
return httpApi({
|
|
return httpApi({
|
|
url: '/api/blade-manager/wbsTreeContract/searchNodeAllTable',
|
|
url: '/api/blade-manager/wbsTreeContract/searchNodeAllTable',
|
|
method: 'get',
|
|
method: 'get',
|
|
params: form
|
|
params: form
|
|
- });
|
|
|
|
|
|
+ },msg);
|
|
},
|
|
},
|
|
//清表生成html
|
|
//清表生成html
|
|
- async getExcelHtml(form) {
|
|
|
|
|
|
+ async getExcelHtml(form, msg = true) {
|
|
return httpApi({
|
|
return httpApi({
|
|
url: '/api/blade-manager/exceltab/get-excel-html_buss',
|
|
url: '/api/blade-manager/exceltab/get-excel-html_buss',
|
|
method: 'get',
|
|
method: 'get',
|
|
params: form
|
|
params: form
|
|
- });
|
|
|
|
|
|
+ },msg);
|
|
},
|
|
},
|
|
//填报页面数据保存
|
|
//填报页面数据保存
|
|
- async saveExcelBussData(form) {
|
|
|
|
|
|
+ async saveExcelBussData(form, msg = true) {
|
|
return httpApi({
|
|
return httpApi({
|
|
url: '/api/blade-manager/exceltab/save_buss_data',
|
|
url: '/api/blade-manager/exceltab/save_buss_data',
|
|
method: 'post',
|
|
method: 'post',
|
|
data: form
|
|
data: form
|
|
- });
|
|
|
|
|
|
+ },msg);
|
|
},
|
|
},
|
|
//懒加载项目级工程划分树
|
|
//懒加载项目级工程划分树
|
|
- async queryWbsTreePrivateByProjectIdAndId(form) {
|
|
|
|
|
|
+ async queryWbsTreePrivateByProjectIdAndId(form, msg = true) {
|
|
return httpApi({
|
|
return httpApi({
|
|
url: '/api/blade-business/informationWriteQuery/queryWbsTreePrivateByProjectIdAndId',
|
|
url: '/api/blade-business/informationWriteQuery/queryWbsTreePrivateByProjectIdAndId',
|
|
method: 'post',
|
|
method: 'post',
|
|
params: form
|
|
params: form
|
|
- });
|
|
|
|
|
|
+ },msg);
|
|
},
|
|
},
|
|
//新增节点及其子节点
|
|
//新增节点及其子节点
|
|
- async saveContractTreeNode(form) {
|
|
|
|
|
|
+ async saveContractTreeNode(form, msg = true) {
|
|
return httpApi({
|
|
return httpApi({
|
|
url: '/api/blade-business/informationWriteQuery/saveContractTreeNode',
|
|
url: '/api/blade-business/informationWriteQuery/saveContractTreeNode',
|
|
method: 'post',
|
|
method: 'post',
|
|
data: form
|
|
data: form
|
|
- });
|
|
|
|
|
|
+ },msg);
|
|
},
|
|
},
|
|
//复制节点
|
|
//复制节点
|
|
- async copyContractTreeNode(form) {
|
|
|
|
|
|
+ async copyContractTreeNode(form, msg = true) {
|
|
return httpApi({
|
|
return httpApi({
|
|
url: '/api/blade-business/informationWriteQuery/copyContractTreeNode',
|
|
url: '/api/blade-business/informationWriteQuery/copyContractTreeNode',
|
|
method: 'post',
|
|
method: 'post',
|
|
data: form
|
|
data: form
|
|
- });
|
|
|
|
|
|
+ },msg);
|
|
},
|
|
},
|
|
//自定义排序
|
|
//自定义排序
|
|
- async diySortTreeNode(form) {
|
|
|
|
|
|
+ async diySortTreeNode(form, msg = true) {
|
|
return httpApi({
|
|
return httpApi({
|
|
url: '/api/blade-business/informationWriteQuery/diySort',
|
|
url: '/api/blade-business/informationWriteQuery/diySort',
|
|
method: 'post',
|
|
method: 'post',
|
|
data: form
|
|
data: form
|
|
- });
|
|
|
|
|
|
+ },msg);
|
|
},
|
|
},
|
|
//获取表单数据
|
|
//获取表单数据
|
|
- async getBussDataInfo(form) {
|
|
|
|
|
|
+ async getBussDataInfo(form, msg = true) {
|
|
return httpApi({
|
|
return httpApi({
|
|
url: '/api/blade-manager/exceltab/get-buss-dataInfo',
|
|
url: '/api/blade-manager/exceltab/get-buss-dataInfo',
|
|
method: 'get',
|
|
method: 'get',
|
|
params: form
|
|
params: form
|
|
- });
|
|
|
|
|
|
+ },msg);
|
|
},
|
|
},
|
|
//查询节点状态
|
|
//查询节点状态
|
|
- async queryNodeStatus(form) {
|
|
|
|
|
|
+ async queryNodeStatus(form, msg = true) {
|
|
return httpApi({
|
|
return httpApi({
|
|
url: '/api/blade-business/informationWriteQuery/queryNodeStatus',
|
|
url: '/api/blade-business/informationWriteQuery/queryNodeStatus',
|
|
method: 'post',
|
|
method: 'post',
|
|
params: form
|
|
params: form
|
|
- });
|
|
|
|
|
|
+ },msg);
|
|
},
|
|
},
|
|
//单个废除
|
|
//单个废除
|
|
- async abolishOne(form) {
|
|
|
|
|
|
+ async abolishOne(form, msg = true) {
|
|
return httpApi({
|
|
return httpApi({
|
|
url: '/api/blade-business/informationWriteQuery/abolishOne',
|
|
url: '/api/blade-business/informationWriteQuery/abolishOne',
|
|
method: 'post',
|
|
method: 'post',
|
|
params: form
|
|
params: form
|
|
- });
|
|
|
|
|
|
+ },msg);
|
|
},
|
|
},
|
|
//隐藏表单
|
|
//隐藏表单
|
|
- async showBussTab(form) {
|
|
|
|
|
|
+ async showBussTab(form, msg = true) {
|
|
return httpApi({
|
|
return httpApi({
|
|
url: '/api/blade-manager/exceltab/show-buss-tab',
|
|
url: '/api/blade-manager/exceltab/show-buss-tab',
|
|
method: 'get',
|
|
method: 'get',
|
|
params: form
|
|
params: form
|
|
- });
|
|
|
|
|
|
+ },msg);
|
|
},
|
|
},
|
|
//单表pdf预览
|
|
//单表pdf预览
|
|
- async getBussPdfInfo(form) {
|
|
|
|
|
|
+ async getBussPdfInfo(form, msg = true) {
|
|
return httpApi({
|
|
return httpApi({
|
|
url: '/api/blade-manager/exceltab/get-buss-pdfInfo',
|
|
url: '/api/blade-manager/exceltab/get-buss-pdfInfo',
|
|
method: 'get',
|
|
method: 'get',
|
|
params: form
|
|
params: form
|
|
- });
|
|
|
|
|
|
+ },msg);
|
|
},
|
|
},
|
|
//表单复制
|
|
//表单复制
|
|
- async copeBussTab(form) {
|
|
|
|
|
|
+ async copeBussTab(form, msg = true) {
|
|
return httpApi({
|
|
return httpApi({
|
|
url: '/api/blade-manager/exceltab/cope-buss-tab',
|
|
url: '/api/blade-manager/exceltab/cope-buss-tab',
|
|
method: 'get',
|
|
method: 'get',
|
|
params: form
|
|
params: form
|
|
- });
|
|
|
|
|
|
+ },msg);
|
|
},
|
|
},
|
|
//多表预览
|
|
//多表预览
|
|
- async getBussPdfs(form) {
|
|
|
|
|
|
+ async getBussPdfs(form, msg = true) {
|
|
return httpApi({
|
|
return httpApi({
|
|
url: '/api/blade-manager/exceltab/get-buss-pdfs',
|
|
url: '/api/blade-manager/exceltab/get-buss-pdfs',
|
|
method: 'get',
|
|
method: 'get',
|
|
params: form
|
|
params: form
|
|
- });
|
|
|
|
|
|
+ },msg);
|
|
},
|
|
},
|
|
//获取附件列表
|
|
//获取附件列表
|
|
- async getBussFileList(form) {
|
|
|
|
|
|
+ async getBussFileList(form, msg = true) {
|
|
return httpApi({
|
|
return httpApi({
|
|
url: '/api/blade-manager/tablefile/get-buss-fileList',
|
|
url: '/api/blade-manager/tablefile/get-buss-fileList',
|
|
method: 'get',
|
|
method: 'get',
|
|
params: form
|
|
params: form
|
|
- });
|
|
|
|
|
|
+ },msg);
|
|
},
|
|
},
|
|
//逻辑删除
|
|
//逻辑删除
|
|
- async removeBussFile(form) {
|
|
|
|
|
|
+ async removeBussFile(form, msg = true) {
|
|
return httpApi({
|
|
return httpApi({
|
|
url: '/api/blade-manager/tablefile/remove',
|
|
url: '/api/blade-manager/tablefile/remove',
|
|
method: 'post',
|
|
method: 'post',
|
|
params: form
|
|
params: form
|
|
- });
|
|
|
|
|
|
+ },msg);
|
|
},
|
|
},
|
|
//用户端删除复制信息表
|
|
//用户端删除复制信息表
|
|
- async removeBussTabInfo(form) {
|
|
|
|
|
|
+ async removeBussTabInfo(form, msg = true) {
|
|
return httpApi({
|
|
return httpApi({
|
|
url: '/api/blade-manager/exceltab/remove-buss-tabInfo',
|
|
url: '/api/blade-manager/exceltab/remove-buss-tabInfo',
|
|
method: 'post',
|
|
method: 'post',
|
|
params: form
|
|
params: form
|
|
- });
|
|
|
|
|
|
+ },msg);
|
|
},
|
|
},
|
|
//复制节点填报数据
|
|
//复制节点填报数据
|
|
- async copyContractNodeSubmitBusinessData(form) {
|
|
|
|
|
|
+ async copyContractNodeSubmitBusinessData(form, msg = true) {
|
|
return httpApi({
|
|
return httpApi({
|
|
url: '/api/blade-business/informationWriteQuery/copyContractNodeSubmitBusinessData',
|
|
url: '/api/blade-business/informationWriteQuery/copyContractNodeSubmitBusinessData',
|
|
method: 'post',
|
|
method: 'post',
|
|
data: form
|
|
data: form
|
|
- });
|
|
|
|
|
|
+ },msg);
|
|
},
|
|
},
|
|
//输入框查询合同段树
|
|
//输入框查询合同段树
|
|
- async searchContractTree(form) {
|
|
|
|
|
|
+ async searchContractTree(form, msg = true) {
|
|
return httpApi({
|
|
return httpApi({
|
|
url: '/api/blade-business/informationWriteQuery/searchContractTree',
|
|
url: '/api/blade-business/informationWriteQuery/searchContractTree',
|
|
method: 'get',
|
|
method: 'get',
|
|
params: form
|
|
params: form
|
|
- })
|
|
|
|
|
|
+ },msg)
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
|