路由权限重构

This commit is contained in:
2026-09-16 11:04:34 +08:00
parent 30c2a79f51
commit c35f7252d1
15 changed files with 2773 additions and 1400 deletions
+1 -1
View File
@@ -171,7 +171,7 @@ const tabChange = (k: string) => {
// 高风险场景查看变更
const openSceneChange = (record: any) => {
routerPushByKey('home_highriskdetail', { query: { params: JSON.stringify(record) } })
routerPushByKey('details_index', { query: { params: JSON.stringify(record) } })
};
// 查看分析记录
const viewAnalysis = (record: any) => {
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -91,7 +91,7 @@ const opts = computed<Opt[]>(() => {
// 打开详情、修改重报
const openDetail = (c: any,type:string = '') => {
if(type==='detail'){
routerPushByKey("my_highriskdetail",{ query: { id: c.change_id.toString() } });
routerPushByKey("details_index",{ query: { id: c.change_id.toString() } });
}
if(type==='edit'){
routerPushByKey("my_initiatechange",{ query: { id: c.change_id.toString() } });
+1 -1
View File
@@ -61,7 +61,7 @@ const downloadFile = (record: any) => {
};
// 打开变更单
const openChange = (record: any) => {
routerPushByKey('home_highriskdetail', { query: { params: JSON.stringify(record) } })
routerPushByKey('details_index', { query: { params: JSON.stringify(record) } })
};
// 填写投用日期
const fillUseTime = (record: any) => {
+1 -1
View File
@@ -136,7 +136,7 @@ const downloadTemplate = (record: any) => {
};
// 打开变更单
const openChange = (record: any) => {
routerPushByKey('home_highriskdetail', { query: { params: JSON.stringify(record) } })
routerPushByKey('details_index', { query: { params: JSON.stringify(record) } })
};
onMounted(() => {