车间主任首页
This commit is contained in:
@@ -57,7 +57,7 @@ const exportFile = async () => {
|
||||
}
|
||||
// 查看
|
||||
const openRow = (r: any) => {
|
||||
routerPushByKey("details_index",{ query: { id: r?.change_id?.toString(),status:r?.status?.toString() || '',key:'my_effect' } });
|
||||
routerPushByKey("details_index",{ query: { id: r?.change_id?.toString(),key:'my_effect' } });
|
||||
};
|
||||
|
||||
// 分页改变
|
||||
|
||||
@@ -35,7 +35,7 @@ const list = ref<any[]>([]);
|
||||
|
||||
// 查看变更
|
||||
const jumpTo = (r: any) => {
|
||||
routerPushByKey("details_index",{ query: { id: r?.change_id?.toString(),status:r?.status?.toString() || '',key:'my_highrisk' } });
|
||||
routerPushByKey("details_index",{ query: { id: r?.change_id?.toString(),key:'my_highrisk' } });
|
||||
};
|
||||
// 查看分析记录
|
||||
const viewAnalysis = (record: any) => {
|
||||
|
||||
@@ -82,7 +82,7 @@ const jumpTo = (act: string) => {
|
||||
// 打开详情、修改重报
|
||||
const openDetail = (c: any,type:string = '') => {
|
||||
if(type==='detail'){
|
||||
routerPushByKey("details_index",{ query: { id: c?.change_id?.toString(),status:c?.status?.toString() || '',key:'my_mytask' } });
|
||||
routerPushByKey("details_index",{ query: { id: c?.change_id?.toString(),key:'my_mytask' } });
|
||||
}
|
||||
if(type==='edit'){
|
||||
routerPushByKey("my_initiatechange",{ query: { id: c?.change_id?.toString() } });
|
||||
|
||||
@@ -44,7 +44,7 @@ const downloadFile = (file: any) => {
|
||||
};
|
||||
// 打开变更单
|
||||
const openChange = (record: any) => {
|
||||
routerPushByKey("details_index",{ query: { id: record?.id?.toString(),status:record?.status?.toString() || '',key:'my_pendingchange' } });
|
||||
routerPushByKey("details_index",{ query: { id: record?.id?.toString(),key:'my_pendingchange' } });
|
||||
};
|
||||
|
||||
// 分页改变
|
||||
|
||||
@@ -79,7 +79,7 @@ const downloadTemplate = (record: any) => {
|
||||
};
|
||||
// 打开变更单
|
||||
const openChange = (r: any) => {
|
||||
routerPushByKey("details_index",{ query: { id: r?.id?.toString(),status:r?.status?.toString() || '',key:'my_pssr' } });
|
||||
routerPushByKey("details_index",{ query: { id: r?.id?.toString(),key:'my_pssr' } });
|
||||
};
|
||||
|
||||
// 分页改变
|
||||
|
||||
Reference in New Issue
Block a user