flx:新增路由配置 api

This commit is contained in:
X_Rian 2024-08-30 18:20:51 +08:00
parent f2d27cb3a4
commit 57c5e41b95
4 changed files with 128 additions and 7 deletions

View File

@ -1,5 +1,5 @@
// 文件模块接口
import { get,post } from '../http'
import {get, post } from '../http'
export const getfilelist = p => post('xmgl/projectFile/list', p); //获取文件列表
export const getstorage = p => get('/filetransfer/getstorage', p); //获取存储占用
@ -15,3 +15,8 @@ export const batchMoveFile = p => post('xmgl/projectFile/batchmovefile', p); //
export const renameFile = p => post('xmgl/projectFile/renameFile', p); //重命名文件
export const getRecoveryFile = p => post('/recoveryfile/list', p); // 获取回收站文件列表
export const deleteRecoveryFile = p => post('/recoveryfile/deleterecoveryfile', p); // 回收站文件删除
// 分页列表查询项目文件档案权限信息
export const getFileAuthorityPageList = p => get('/xmgl/projectFileAuth/page', p);
// 保存项目文件档案权限信息
export const saveFileAuthority = p => post('/xmgl/projectFileAuth/saveList', p);

View File

@ -51,4 +51,28 @@ export const addLiftingOperationApi = data => post('xmgl/liftingOperation/add',
// 编辑起重吊装作业信息
export const editLiftingOperationApi = data => post('xmgl/liftingOperation/edit', data);
// 删除起重吊装作业信息
export const deleteLiftingOperationApi = data => post('xmgl/liftingOperation/delete', data);
export const deleteLiftingOperationApi = data => post('xmgl/liftingOperation/delete', data);
// 土建工程作业
// 分页列表查询土建工程质量检测委托单信息
export const getConstructionQualityTestOrderTicketPageApi = data => get('xmgl/civilEngineeringQualityInspectionOrder/page', data);
// 通过id查询土建工程质量检测委托单信息
export const getConstructionQualityTestOrderTicketByIdApi = data => get('xmgl/civilEngineeringQualityInspectionOrder/queryById', data);
// 添加土建工程质量检测委托单信息
export const addConstructionQualityTestOrderTicketApi = data => post('xmgl/civilEngineeringQualityInspectionOrder/add', data);
// 编辑土建工程质量检测委托单信息
export const editConstructionQualityTestOrderTicketApi = data => post('xmgl/civilEngineeringQualityInspectionOrder/edit', data);
// 删除土建工程质量检测委托单信息
export const deleteConstructionQualityTestOrderTicketApi = data => post('xmgl/civilEngineeringQualityInspectionOrder/delete', data);
// 无损作业
// 分页列表查询无损检测委托单信息
export const getNonDestructiveTestOrderTicketPageApi = data => get('xmgl/nondestructiveTestOrderTicket/page', data);
// 通过id查询无损检测委托单信息
export const getNonDestructiveTestOrderTicketByIdApi = data => get('xmgl/nondestructiveTestOrderTicket/queryById', data);
// 添加无损检测委托单信息
export const addNonDestructiveTestOrderTicketApi = data => post('xmgl/nondestructiveTestOrderTicket/add', data);
// 编辑无损检测委托单信息
export const editNonDestructiveTestOrderTicketApi = data => post('xmgl/nondestructiveTestOrderTicket/edit', data);
// 删除无损检测委托单信息
export const deleteNonDestructiveTestOrderTicketApi = data => post('xmgl/nondestructiveTestOrderTicket/delete', data);

View File

@ -70,11 +70,11 @@
// // return (data.uploaded || []).indexOf(chunk.offset + 1) >= 0
// },
// headers: {
// Authorization:'Bearer'+' '+this.$store.state.userInfo.token,
// // token: Cookies.get('token', { domain: '.qiwenshare.com' }),
// 'Content-Type':'application/x-www-form-urlencoded'
// },
headers: {
Authorization:'Bearer'+' '+this.$store.state.userInfo.token,
// token: Cookies.get('token', { domain: '.qiwenshare.com' }),
// 'Content-Type':'application/x-www-form-urlencoded'
},
// method:'post',
// query: {
// projectSn:this.$store.state.projectSn

View File

@ -703,6 +703,92 @@ const routes2 = [{
component: () =>
import ("@/views/projectFront/operationManage/losslessWorks.vue"),
},
// 党建引领
// 党建引领--宣传报道
{
path: "/project/guidancePartyBuilding/publicizReport",
name: "文明施工_宣传报道",
component: () =>
import ("@/views/projectFront/guidancePartyBuilding/publicizReport.vue"),
},
// 党建引领--专题活动
{
path: "/project/guidancePartyBuilding/thematicActivitie",
name: "文明施工_专题活动",
component: () =>
import ("@/views/projectFront/guidancePartyBuilding/thematicActivitie.vue"),
},
// 党建引领--学习园地
{
path: "/project/guidancePartyBuilding/learningWorld",
name: "文明施工_学习园地",
component: () =>
import ("@/views/projectFront/guidancePartyBuilding/learningWorld.vue"),
},
// 党建引领--党建共建活动纪实
{
path: "/project/guidancePartyBuilding/constructionActivitie",
name: "文明施工_党建共建活动纪实",
component: () =>
import ("@/views/projectFront/guidancePartyBuilding/constructionActivitie.vue"),
},
// 党建引领--党建共建方案
{
path: "/project/guidancePartyBuilding/constructionScheme",
name: "文明施工_党建共建方案",
component: () =>
import ("@/views/projectFront/guidancePartyBuilding/constructionScheme.vue"),
},
// 党建引领--党建共建协议
{
path: "/project/guidancePartyBuilding/constructionAgreement",
name: "文明施工_党建共建协议",
component: () =>
import ("@/views/projectFront/guidancePartyBuilding/constructionAgreement.vue"),
},
// 党建引领--党建品牌
{
path: "/project/guidancePartyBuilding/trademark",
name: "文明施工_党建品牌",
component: () =>
import ("@/views/projectFront/guidancePartyBuilding/trademark.vue"),
},
// 党建引领--党员示范岗
{
path: "/project/guidancePartyBuilding/demonstrationPost",
name: "文明施工_党员示范岗",
component: () =>
import ("@/views/projectFront/guidancePartyBuilding/demonstrationPost.vue"),
},
// 党建引领--先锋模范
{
path: "/project/guidancePartyBuilding/pioneerModel",
name: "文明施工_先锋模范",
component: () =>
import ("@/views/projectFront/guidancePartyBuilding/pioneerModel.vue"),
},
// 党建引领--攻坚小组
{
path: "/project/guidancePartyBuilding/attackGroup",
name: "文明施工_攻坚小组",
component: () =>
import ("@/views/projectFront/guidancePartyBuilding/attackGroup.vue"),
},
// 党建引领--组织建设
{
path: "/project/guidancePartyBuilding/organizationalBuild",
name: "文明施工_组织建设",
component: () =>
import ("@/views/projectFront/guidancePartyBuilding/organizationalBuild.vue"),
},
// 党建引领--宣传视频
{
path: "/project/guidancePartyBuilding/promotionVedio",
name: "文明施工_宣传视频",
component: () =>
import ("@/views/projectFront/guidancePartyBuilding/promotionVedio.vue"),
},
// 文明施工
// 文明施工--现场会
{
@ -851,6 +937,12 @@ const routes2 = [{
component: () =>
import ("@/views/projectFront/quality/v2/projectSelfInspection.vue"),
},
{
path: "/project/safeSame/projectSelfInspection",
name: "安全管理_项目自检1",
component: () =>
import ("@/views/projectFront/safeSame/v2/projectSelfInspection.vue"),
},
// 安全管理模块 月度检查
{
path: "/project/safeSame/subTasklist",