Compare commits
3 Commits
lx
...
8cd3ed3f8c
| Author | SHA1 | Date | |
|---|---|---|---|
| 8cd3ed3f8c | |||
| 9407ad5446 | |||
| 3606ab7cf8 |
@ -1005,35 +1005,35 @@ const handleEnable = async (row) => {
|
|||||||
|
|
||||||
// 导航相关方法
|
// 导航相关方法
|
||||||
const handleInspection1 = () => {
|
const handleInspection1 = () => {
|
||||||
router.push('/rili/rili');
|
router.push('/znxj/rili');
|
||||||
};
|
};
|
||||||
const handleInspection2 = () => {
|
const handleInspection2 = () => {
|
||||||
router.push('/rili/InspectionManagement');
|
router.push('/znxj/xjgl/InspectionManagement');
|
||||||
};
|
};
|
||||||
const handleInspection3 = () => {
|
const handleInspection3 = () => {
|
||||||
router.push('/rili/shiyanguanli');
|
router.push('/znxj/sygl/shiyanguanli');
|
||||||
};
|
};
|
||||||
const handleInspection4 = () => {
|
const handleInspection4 = () => {
|
||||||
router.push('/rili/baoxiuguanli');
|
router.push('/znxj/bxgl/baoxiuguanli');
|
||||||
};
|
};
|
||||||
const handleInspection5 = () => {
|
const handleInspection5 = () => {
|
||||||
router.push('/rili/qiangxiuguanli');
|
router.push('/znxj/qxgl/qiangxiuguanli');
|
||||||
};
|
};
|
||||||
const handleInspection6 = () => {
|
const handleInspection6 = () => {
|
||||||
router.push('/rili/gongdanliebiao');
|
router.push('/znxj/gdgl/gongdanliebiao');
|
||||||
};
|
};
|
||||||
const handleInspection7 = () => {
|
const handleInspection7 = () => {
|
||||||
router.push('/rili/renyuanzhuangtai');
|
router.push('/znxj/ywzz/renyuanzhuangtai');
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleInspectionManagement1 = () => {
|
const handleInspectionManagement1 = () => {
|
||||||
router.push('/rili/InspectionManagement');
|
router.push('/znxj/xjgl/InspectionManagement');
|
||||||
};
|
};
|
||||||
const handleInspectionManagement2 = () => {
|
const handleInspectionManagement2 = () => {
|
||||||
router.push('/rili/xunjianrenwu');
|
router.push('/znxj/xjgl/xunjianrenwu');
|
||||||
};
|
};
|
||||||
const handleInspectionManagement3 = () => {
|
const handleInspectionManagement3 = () => {
|
||||||
router.push('/rili/xunjianjihua');
|
router.push('/znxj/xjgl/xunjianjihua');
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@ -333,34 +333,34 @@ const handleCreateTeam = () => {
|
|||||||
|
|
||||||
// 导航路由跳转
|
// 导航路由跳转
|
||||||
const handleInspection1 = () => {
|
const handleInspection1 = () => {
|
||||||
router.push('/rili/rili');
|
router.push('/znxj/rili');
|
||||||
};
|
};
|
||||||
const handleInspection2 = () => {
|
const handleInspection2 = () => {
|
||||||
router.push('/rili/InspectionManagement');
|
router.push('/znxj/xjgl/InspectionManagement');
|
||||||
};
|
};
|
||||||
const handleInspection3 = () => {
|
const handleInspection3 = () => {
|
||||||
router.push('/rili/shiyanguanli');
|
router.push('/znxj/sygl/shiyanguanli');
|
||||||
};
|
};
|
||||||
const handleInspection4 = () => {
|
const handleInspection4 = () => {
|
||||||
router.push('/rili/baoxiuguanli');
|
router.push('/znxj/bxgl/baoxiuguanli');
|
||||||
};
|
};
|
||||||
const handleInspection5 = () => {
|
const handleInspection5 = () => {
|
||||||
router.push('/rili/qiangxiuguanli');
|
router.push('/znxj/qxgl/qiangxiuguanli');
|
||||||
};
|
};
|
||||||
const handleInspection6 = () => {
|
const handleInspection6 = () => {
|
||||||
router.push('/rili/gongdanliebiao');
|
router.push('/znxj/gdgl/gongdanliebiao');
|
||||||
};
|
};
|
||||||
const handleInspection7 = () => {
|
const handleInspection7 = () => {
|
||||||
router.push('/rili/renyuanzhuangtai');
|
router.push('/znxj/ywzz/renyuanzhuangtai');
|
||||||
};
|
};
|
||||||
const handleInspectionManagement1 = () => {
|
const handleInspectionManagement1 = () => {
|
||||||
router.push('/rili/renyuanzhuangtai');
|
router.push('/znxj/ywzz/renyuanzhuangtai');
|
||||||
};
|
};
|
||||||
const handleInspectionManagement2 = () => {
|
const handleInspectionManagement2 = () => {
|
||||||
router.push('/rili/cheliangzhuangtai');
|
router.push('/znxj/ywzz/cheliangzhuangtai');
|
||||||
};
|
};
|
||||||
const handleInspectionManagement3 = () => {
|
const handleInspectionManagement3 = () => {
|
||||||
router.push('/rili/banzhuzhuangtai');
|
router.push('/znxj/ywzz/banzhuzhuangtai');
|
||||||
};
|
};
|
||||||
|
|
||||||
// ECharts实例
|
// ECharts实例
|
||||||
|
|||||||
@ -1047,32 +1047,32 @@ const handleSaveResult = async () => {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
const handleInspectionManagement1 = () => {
|
const handleInspectionManagement1 = () => {
|
||||||
router.push('/rili/baoxiuguanli');
|
router.push('/znxj/bxgl/baoxiuguanli');
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleInspectionManagement2 = () => {
|
const handleInspectionManagement2 = () => {
|
||||||
router.push('/rili/baoxiujilu');
|
router.push('/znxj/bxgl/baoxiujilu');
|
||||||
};
|
};
|
||||||
const handleInspection1 = () => {
|
const handleInspection1 = () => {
|
||||||
router.push('/rili/rili');
|
router.push('/znxj/rili');
|
||||||
};
|
};
|
||||||
const handleInspection2 = () => {
|
const handleInspection2 = () => {
|
||||||
router.push('/rili/InspectionManagement');
|
router.push('/znxj/xjgl/InspectionManagement');
|
||||||
};
|
};
|
||||||
const handleInspection3 = () => {
|
const handleInspection3 = () => {
|
||||||
router.push('/rili/shiyanguanli');
|
router.push('/znxj/sygl/shiyanguanli');
|
||||||
};
|
};
|
||||||
const handleInspection4 = () => {
|
const handleInspection4 = () => {
|
||||||
router.push('/rili/baoxiuguanli');
|
router.push('/znxj/bxgl/baoxiuguanli');
|
||||||
};
|
};
|
||||||
const handleInspection5 = () => {
|
const handleInspection5 = () => {
|
||||||
router.push('/rili/qiangxiuguanli');
|
router.push('/znxj/qxgl/qiangxiuguanli');
|
||||||
};
|
};
|
||||||
const handleInspection6 = () => {
|
const handleInspection6 = () => {
|
||||||
router.push('/rili/gongdanliebiao');
|
router.push('/znxj/gdgl/gongdanliebiao');
|
||||||
};
|
};
|
||||||
const handleInspection7 = () => {
|
const handleInspection7 = () => {
|
||||||
router.push('/rili/renyuanzhuangtai');
|
router.push('/znxj/ywzz/renyuanzhuangtai');
|
||||||
};
|
};
|
||||||
|
|
||||||
// 组件挂载时获取数据
|
// 组件挂载时获取数据
|
||||||
|
|||||||
@ -885,36 +885,33 @@ const handleEvaluateTask = (record) => {
|
|||||||
|
|
||||||
// 导航事件
|
// 导航事件
|
||||||
const handleInspectionManagement1 = () => {
|
const handleInspectionManagement1 = () => {
|
||||||
router.push('/rili/baoxiuguanli');
|
router.push('/znxj/bxgl/baoxiuguanli');
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleInspectionManagement2 = () => {
|
const handleInspectionManagement2 = () => {
|
||||||
router.push('/rili/baoxiujilu');
|
router.push('/znxj/bxgl/baoxiujilu');
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleInspection1 = () => {
|
const handleInspection1 = () => {
|
||||||
router.push('/rili/rili');
|
router.push('/znxj/rili');
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleInspection2 = () => {
|
const handleInspection2 = () => {
|
||||||
router.push('/rili/InspectionManagement');
|
router.push('/znxj/xjgl/InspectionManagement');
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleInspection3 = () => {
|
const handleInspection3 = () => {
|
||||||
router.push('/rili/shiyanguanli');
|
router.push('/znxj/sygl/shiyanguanli');
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleInspection4 = () => {
|
const handleInspection4 = () => {
|
||||||
router.push('/rili/baoxiuguanli');
|
router.push('/znxj/bxgl/baoxiuguanli');
|
||||||
};
|
};
|
||||||
const handleInspection5 = () => {
|
const handleInspection5 = () => {
|
||||||
router.push('/rili/qiangxiuguanli');
|
router.push('/znxj/qxgl/qiangxiuguanli');
|
||||||
};
|
};
|
||||||
const handleInspection6 = () => {
|
const handleInspection6 = () => {
|
||||||
router.push('/rili/gongdanliebiao');
|
router.push('/znxj/gdgl/gongdanliebiao');
|
||||||
};
|
};
|
||||||
const handleInspection7 = () => {
|
const handleInspection7 = () => {
|
||||||
router.push('/rili/renyuanzhuangtai');
|
router.push('/znxj/ywzz/renyuanzhuangtai');
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@ -299,34 +299,34 @@ const handleDispatch = (row) => {
|
|||||||
|
|
||||||
// 导航路由跳转
|
// 导航路由跳转
|
||||||
const handleInspection1 = () => {
|
const handleInspection1 = () => {
|
||||||
router.push('/rili/rili');
|
router.push('/znxj/rili');
|
||||||
};
|
};
|
||||||
const handleInspection2 = () => {
|
const handleInspection2 = () => {
|
||||||
router.push('/rili/InspectionManagement');
|
router.push('/znxj/xjgl/InspectionManagement');
|
||||||
};
|
};
|
||||||
const handleInspection3 = () => {
|
const handleInspection3 = () => {
|
||||||
router.push('/rili/shiyanguanli');
|
router.push('/znxj/sygl/shiyanguanli');
|
||||||
};
|
};
|
||||||
const handleInspection4 = () => {
|
const handleInspection4 = () => {
|
||||||
router.push('/rili/baoxiuguanli');
|
router.push('/znxj/bxgl/baoxiuguanli');
|
||||||
};
|
};
|
||||||
const handleInspection5 = () => {
|
const handleInspection5 = () => {
|
||||||
router.push('/rili/qiangxiuguanli');
|
router.push('/znxj/qxgl/qiangxiuguanli');
|
||||||
};
|
};
|
||||||
const handleInspection6 = () => {
|
const handleInspection6 = () => {
|
||||||
router.push('/rili/gongdanliebiao');
|
router.push('/znxj/gdgl/gongdanliebiao');
|
||||||
};
|
};
|
||||||
const handleInspection7 = () => {
|
const handleInspection7 = () => {
|
||||||
router.push('/rili/renyuanzhuangtai');
|
router.push('/znxj/ywzz/renyuanzhuangtai');
|
||||||
};
|
};
|
||||||
const handleInspectionManagement1 = () => {
|
const handleInspectionManagement1 = () => {
|
||||||
router.push('/rili/renyuanzhuangtai');
|
router.push('/znxj/ywzz/renyuanzhuangtai');
|
||||||
};
|
};
|
||||||
const handleInspectionManagement2 = () => {
|
const handleInspectionManagement2 = () => {
|
||||||
router.push('/rili/cheliangzhuangtai');
|
router.push('/znxj/ywzz/cheliangzhuangtai');
|
||||||
};
|
};
|
||||||
const handleInspectionManagement3 = () => {
|
const handleInspectionManagement3 = () => {
|
||||||
router.push('/rili/banzhuzhuangtai');
|
router.push('/znxj/ywzz/banzhuzhuangtai');
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@ -234,13 +234,6 @@
|
|||||||
<el-form-item label="工单描述">
|
<el-form-item label="工单描述">
|
||||||
<el-input v-model="createForm.resultDescription" type="textarea" :rows="3" placeholder="请描述该工单完成后预期达成的成果" />
|
<el-input v-model="createForm.resultDescription" type="textarea" :rows="3" placeholder="请描述该工单完成后预期达成的成果" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item label="是否需要执行人" prop="needAssignee">
|
|
||||||
<el-radio-group v-model="createForm.needAssignee">
|
|
||||||
<el-radio label="true">是,指定执行人</el-radio>
|
|
||||||
<el-radio label="false">否,由系统分配</el-radio>
|
|
||||||
</el-radio-group>
|
|
||||||
</el-form-item>
|
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
<template #footer>
|
<template #footer>
|
||||||
@ -1276,35 +1269,35 @@ const handleSaveDraft = () => {
|
|||||||
|
|
||||||
// 导航路由跳转
|
// 导航路由跳转
|
||||||
const handleInspection1 = () => {
|
const handleInspection1 = () => {
|
||||||
router.push('/rili/rili');
|
router.push('/znxj/rili');
|
||||||
};
|
};
|
||||||
const handleInspection2 = () => {
|
const handleInspection2 = () => {
|
||||||
router.push('/rili/InspectionManagement');
|
router.push('/znxj/xjgl/InspectionManagement');
|
||||||
};
|
};
|
||||||
const handleInspection3 = () => {
|
const handleInspection3 = () => {
|
||||||
router.push('/rili/shiyanguanli');
|
router.push('/znxj/sygl/shiyanguanli');
|
||||||
};
|
};
|
||||||
const handleInspection4 = () => {
|
const handleInspection4 = () => {
|
||||||
router.push('/rili/baoxiuguanli');
|
router.push('/znxj/bxgl/baoxiuguanli');
|
||||||
};
|
};
|
||||||
const handleInspection5 = () => {
|
const handleInspection5 = () => {
|
||||||
router.push('/rili/qiangxiuguanli');
|
router.push('/znxj/qxgl/qiangxiuguanli');
|
||||||
};
|
};
|
||||||
const handleInspection6 = () => {
|
const handleInspection6 = () => {
|
||||||
router.push('/rili/gongdanliebiao');
|
router.push('/znxj/gdgl/gongdanliebiao');
|
||||||
};
|
};
|
||||||
const handleInspection7 = () => {
|
const handleInspection7 = () => {
|
||||||
router.push('/rili/renyuanzhuangtai');
|
router.push('/znxj/ywzz/renyuanzhuangtai');
|
||||||
};
|
};
|
||||||
const handleInspectionManagement1 = () => {
|
const handleInspectionManagement1 = () => {
|
||||||
router.push('/rili/gongdanliebiao');
|
router.push('/znxj/gdgl/gongdanliebiao');
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleInspectionManagement2 = () => {
|
const handleInspectionManagement2 = () => {
|
||||||
router.push('/rili/paidanjilu');
|
router.push('/znxj/gdgl/paidanjilu');
|
||||||
};
|
};
|
||||||
const handleInspectionManagement3 = () => {
|
const handleInspectionManagement3 = () => {
|
||||||
router.push('/rili/zhixingjilu');
|
router.push('/znxj/gdgl/zhixingjilu');
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@ -560,25 +560,25 @@ const handleDelete = (id) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const handleInspection1 = () => {
|
const handleInspection1 = () => {
|
||||||
router.push('/rili/rili');
|
router.push('/znxj/rili');
|
||||||
};
|
};
|
||||||
const handleInspection2 = () => {
|
const handleInspection2 = () => {
|
||||||
router.push('/rili/InspectionManagement');
|
router.push('/znxj/xjgl/InspectionManagement');
|
||||||
};
|
};
|
||||||
const handleInspection3 = () => {
|
const handleInspection3 = () => {
|
||||||
router.push('/rili/shiyanguanli');
|
router.push('/znxj/sygl/shiyanguanli');
|
||||||
};
|
};
|
||||||
const handleInspection4 = () => {
|
const handleInspection4 = () => {
|
||||||
router.push('/rili/baoxiuguanli');
|
router.push('/znxj/bxgl/baoxiuguanli');
|
||||||
};
|
};
|
||||||
const handleInspection5 = () => {
|
const handleInspection5 = () => {
|
||||||
router.push('/rili/qiangxiuguanli');
|
router.push('/znxj/qxgl/qiangxiuguanli');
|
||||||
};
|
};
|
||||||
const handleInspection6 = () => {
|
const handleInspection6 = () => {
|
||||||
router.push('/rili/gongdanliebiao');
|
router.push('/znxj/gdgl/gongdanliebiao');
|
||||||
};
|
};
|
||||||
const handleInspection7 = () => {
|
const handleInspection7 = () => {
|
||||||
router.push('/rili/renyuanzhuangtai');
|
router.push('/znxj/ywzz/renyuanzhuangtai');
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@ -1405,35 +1405,35 @@ const cancelCreate = () => {
|
|||||||
|
|
||||||
// 导航路由跳转
|
// 导航路由跳转
|
||||||
const handleInspection1 = () => {
|
const handleInspection1 = () => {
|
||||||
router.push('/rili/rili');
|
router.push('/znxj/rili');
|
||||||
};
|
};
|
||||||
const handleInspection2 = () => {
|
const handleInspection2 = () => {
|
||||||
router.push('/rili/InspectionManagement');
|
router.push('/znxj/xjgl/InspectionManagement');
|
||||||
};
|
};
|
||||||
const handleInspection3 = () => {
|
const handleInspection3 = () => {
|
||||||
router.push('/rili/shiyanguanli');
|
router.push('/znxj/sygl/shiyanguanli');
|
||||||
};
|
};
|
||||||
const handleInspection4 = () => {
|
const handleInspection4 = () => {
|
||||||
router.push('/rili/baoxiuguanli');
|
router.push('/znxj/bxgl/baoxiuguanli');
|
||||||
};
|
};
|
||||||
const handleInspection5 = () => {
|
const handleInspection5 = () => {
|
||||||
router.push('/rili/qiangxiuguanli');
|
router.push('/znxj/qxgl/qiangxiuguanli');
|
||||||
};
|
};
|
||||||
const handleInspection6 = () => {
|
const handleInspection6 = () => {
|
||||||
router.push('/rili/gongdanliebiao');
|
router.push('/znxj/gdgl/gongdanliebiao');
|
||||||
};
|
};
|
||||||
const handleInspection7 = () => {
|
const handleInspection7 = () => {
|
||||||
router.push('/rili/renyuanzhuangtai');
|
router.push('/znxj/ywzz/renyuanzhuangtai');
|
||||||
};
|
};
|
||||||
const handleInspectionManagement1 = () => {
|
const handleInspectionManagement1 = () => {
|
||||||
router.push('/rili/gongdanliebiao');
|
router.push('/znxj/gdgl/gongdanliebiao');
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleInspectionManagement2 = () => {
|
const handleInspectionManagement2 = () => {
|
||||||
router.push('/rili/paidanjilu');
|
router.push('/znxj/gdgl/paidanjilu');
|
||||||
};
|
};
|
||||||
const handleInspectionManagement3 = () => {
|
const handleInspectionManagement3 = () => {
|
||||||
router.push('/rili/zhixingjilu');
|
router.push('/znxj/gdgl/zhixingjilu');
|
||||||
};
|
};
|
||||||
|
|
||||||
// 关闭详情弹窗
|
// 关闭详情弹窗
|
||||||
|
|||||||
@ -698,32 +698,32 @@ const handleView = async (task) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const handleInspectionManagement1 = () => {
|
const handleInspectionManagement1 = () => {
|
||||||
router.push('/rili/qiangxiuguanli');
|
router.push('/znxj/qxgl/qiangxiuguanli');
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleInspectionManagement2 = () => {
|
const handleInspectionManagement2 = () => {
|
||||||
router.push('/rili/qiangxiujilu');
|
router.push('/znxj/qxgl/qiangxiujilu');
|
||||||
};
|
};
|
||||||
const handleInspection1 = () => {
|
const handleInspection1 = () => {
|
||||||
router.push('/rili/rili');
|
router.push('/znxj/rili');
|
||||||
};
|
};
|
||||||
const handleInspection2 = () => {
|
const handleInspection2 = () => {
|
||||||
router.push('/rili/InspectionManagement');
|
router.push('/znxj/xjgl/InspectionManagement');
|
||||||
};
|
};
|
||||||
const handleInspection3 = () => {
|
const handleInspection3 = () => {
|
||||||
router.push('/rili/shiyanguanli');
|
router.push('/znxj/sygl/shiyanguanli');
|
||||||
};
|
};
|
||||||
const handleInspection4 = () => {
|
const handleInspection4 = () => {
|
||||||
router.push('/rili/baoxiuguanli');
|
router.push('/znxj/bxgl/baoxiuguanli');
|
||||||
};
|
};
|
||||||
const handleInspection5 = () => {
|
const handleInspection5 = () => {
|
||||||
router.push('/rili/qiangxiuguanli');
|
router.push('/znxj/qxgl/qiangxiuguanli');
|
||||||
};
|
};
|
||||||
const handleInspection6 = () => {
|
const handleInspection6 = () => {
|
||||||
router.push('/rili/gongdanliebiao');
|
router.push('/znxj/gdgl/gongdanliebiao');
|
||||||
};
|
};
|
||||||
const handleInspection7 = () => {
|
const handleInspection7 = () => {
|
||||||
router.push('/rili/renyuanzhuangtai');
|
router.push('/znxj/ywzz/renyuanzhuangtai');
|
||||||
};
|
};
|
||||||
|
|
||||||
// 加载状态
|
// 加载状态
|
||||||
|
|||||||
@ -943,43 +943,38 @@ const handleTaskTab = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const handleRecordTab = () => {
|
const handleRecordTab = () => {
|
||||||
router.push('/rili/qiangxiujiilu');
|
router.push('/znxj/qiangxiujiilu');
|
||||||
};
|
};
|
||||||
|
|
||||||
// 导航事件
|
// 导航事件
|
||||||
const handleInspection1 = () => {
|
const handleInspection1 = () => {
|
||||||
router.push('/rili/rili');
|
router.push('/znxj/rili');
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleInspection2 = () => {
|
const handleInspection2 = () => {
|
||||||
router.push('/rili/InspectionManagement');
|
router.push('/znxj/xjgl/InspectionManagement');
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleInspection3 = () => {
|
const handleInspection3 = () => {
|
||||||
router.push('/rili/shiyanguanli');
|
router.push('/znxj/sygl/shiyanguanli');
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleInspection4 = () => {
|
const handleInspection4 = () => {
|
||||||
router.push('/rili/baoxiuguanli');
|
router.push('/znxj/bxgl/baoxiuguanli');
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleInspection5 = () => {
|
const handleInspection5 = () => {
|
||||||
router.push('/rili/qiangxiuguanli');
|
router.push('/znxj/qxgl/qiangxiuguanli');
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleInspection6 = () => {
|
const handleInspection6 = () => {
|
||||||
router.push('/rili/gongdanliebiao');
|
router.push('/znxj/gdgl/gongdanliebiao');
|
||||||
};
|
};
|
||||||
const handleInspection7 = () => {
|
const handleInspection7 = () => {
|
||||||
router.push('/rili/renyuanzhuangtai');
|
router.push('/znxj/ywzz/renyuanzhuangtai');
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleInspectionManagement1 = () => {
|
const handleInspectionManagement1 = () => {
|
||||||
router.push('/rili/qiangxiuguanli');
|
router.push('/znxj/qxgl/qiangxiuguanli');
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleInspectionManagement2 = () => {
|
const handleInspectionManagement2 = () => {
|
||||||
router.push('/rili/qiangxiujilu');
|
router.push('/znxj/qxgl/qiangxiujilu');
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@ -397,34 +397,34 @@ const assignTask = (person) => {
|
|||||||
|
|
||||||
// 导航路由跳转
|
// 导航路由跳转
|
||||||
const handleInspection1 = () => {
|
const handleInspection1 = () => {
|
||||||
router.push('/rili/rili');
|
router.push('/znxj/rili');
|
||||||
};
|
};
|
||||||
const handleInspection2 = () => {
|
const handleInspection2 = () => {
|
||||||
router.push('/rili/InspectionManagement');
|
router.push('/znxj/xjgl/InspectionManagement');
|
||||||
};
|
};
|
||||||
const handleInspection3 = () => {
|
const handleInspection3 = () => {
|
||||||
router.push('/rili/shiyanguanli');
|
router.push('/znxj/sygl/shiyanguanli');
|
||||||
};
|
};
|
||||||
const handleInspection4 = () => {
|
const handleInspection4 = () => {
|
||||||
router.push('/rili/baoxiuguanli');
|
router.push('/znxj/bxgl/baoxiuguanli');
|
||||||
};
|
};
|
||||||
const handleInspection5 = () => {
|
const handleInspection5 = () => {
|
||||||
router.push('/rili/qiangxiuguanli');
|
router.push('/znxj/qxgl/qiangxiuguanli');
|
||||||
};
|
};
|
||||||
const handleInspection6 = () => {
|
const handleInspection6 = () => {
|
||||||
router.push('/rili/gongdanliebiao');
|
router.push('/znxj/gdgl/gongdanliebiao');
|
||||||
};
|
};
|
||||||
const handleInspection7 = () => {
|
const handleInspection7 = () => {
|
||||||
router.push('/rili/renyuanzhuangtai');
|
router.push('/znxj/ywzz/renyuanzhuangtai');
|
||||||
};
|
};
|
||||||
const handleInspectionManagement1 = () => {
|
const handleInspectionManagement1 = () => {
|
||||||
router.push('/rili/renyuanzhuangtai');
|
router.push('/znxj/ywzz/renyuanzhuangtai');
|
||||||
};
|
};
|
||||||
const handleInspectionManagement2 = () => {
|
const handleInspectionManagement2 = () => {
|
||||||
router.push('/rili/cheliangzhuangtai');
|
router.push('/znxj/ywzz/cheliangzhuangtai');
|
||||||
};
|
};
|
||||||
const handleInspectionManagement3 = () => {
|
const handleInspectionManagement3 = () => {
|
||||||
router.push('/rili/banzhuzhuangtai');
|
router.push('/znxj/ywzz/banzhuzhuangtai');
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@ -688,34 +688,34 @@ const recentRecords = ref([]);
|
|||||||
|
|
||||||
// 9. 方法:切换顶部导航
|
// 9. 方法:切换顶部导航
|
||||||
const handleInspection1 = () => {
|
const handleInspection1 = () => {
|
||||||
router.push('/rili/rili');
|
router.push('/znxj/rili');
|
||||||
};
|
};
|
||||||
const handleInspection2 = () => {
|
const handleInspection2 = () => {
|
||||||
router.push('/rili/InspectionManagement');
|
router.push('/znxj/xjgl/InspectionManagement');
|
||||||
};
|
};
|
||||||
const handleInspection3 = () => {
|
const handleInspection3 = () => {
|
||||||
router.push('/rili/shiyanguanli');
|
router.push('/znxj/sygl/shiyanguanli');
|
||||||
};
|
};
|
||||||
const handleInspection4 = () => {
|
const handleInspection4 = () => {
|
||||||
router.push('/rili/baoxiuguanli');
|
router.push('/znxj/bxgl/baoxiuguanli');
|
||||||
};
|
};
|
||||||
const handleInspection5 = () => {
|
const handleInspection5 = () => {
|
||||||
router.push('/rili/qiangxiuguanli');
|
router.push('/znxj/qxgl/qiangxiuguanli');
|
||||||
};
|
};
|
||||||
const handleInspection6 = () => {
|
const handleInspection6 = () => {
|
||||||
router.push('/rili/gongdanliebiao');
|
router.push('/znxj/gdgl/gongdanliebiao');
|
||||||
};
|
};
|
||||||
const handleInspection7 = () => {
|
const handleInspection7 = () => {
|
||||||
router.push('/rili/renyuanzhuangtai');
|
router.push('/znxj/ywzz/renyuanzhuangtai');
|
||||||
};
|
};
|
||||||
const handleInspectionManagement1 = () => {
|
const handleInspectionManagement1 = () => {
|
||||||
router.push('/rili/shiyanguanli');
|
router.push('/znxj/sygl/shiyanguanli');
|
||||||
};
|
};
|
||||||
const handleInspectionManagement2 = () => {
|
const handleInspectionManagement2 = () => {
|
||||||
router.push('/rili/shiyanrenwu');
|
router.push('/znxj/sygl/shiyanrenwu');
|
||||||
};
|
};
|
||||||
const handleInspectionManagement3 = () => {
|
const handleInspectionManagement3 = () => {
|
||||||
router.push('/rili/shiyanjilu');
|
router.push('/znxj/sygl/shiyanjilu');
|
||||||
};
|
};
|
||||||
// 10. 方法:切换功能选项卡
|
// 10. 方法:切换功能选项卡
|
||||||
const switchTab = (tab) => {
|
const switchTab = (tab) => {
|
||||||
|
|||||||
@ -629,37 +629,37 @@ const handleSizeChange = (size) => {
|
|||||||
|
|
||||||
// 19. 导航方法
|
// 19. 导航方法
|
||||||
const handleInspection1 = () => {
|
const handleInspection1 = () => {
|
||||||
router.push('/rili/rili');
|
router.push('/znxj/rili');
|
||||||
};
|
};
|
||||||
const handleInspection2 = () => {
|
const handleInspection2 = () => {
|
||||||
router.push('/rili/InspectionManagement');
|
router.push('/znxj/xjgl/InspectionManagement');
|
||||||
};
|
};
|
||||||
const handleInspection3 = () => {
|
const handleInspection3 = () => {
|
||||||
router.push('/rili/shiyanguanli');
|
router.push('/znxj/sygl/shiyanguanli');
|
||||||
};
|
};
|
||||||
const handleInspection4 = () => {
|
const handleInspection4 = () => {
|
||||||
router.push('/rili/baoxiuguanli');
|
router.push('/znxj/bxgl/baoxiuguanli');
|
||||||
};
|
};
|
||||||
const handleInspection5 = () => {
|
const handleInspection5 = () => {
|
||||||
router.push('/rili/qiangxiuguanli');
|
router.push('/znxj/qxgl/qiangxiuguanli');
|
||||||
};
|
};
|
||||||
const handleInspection6 = () => {
|
const handleInspection6 = () => {
|
||||||
router.push('/rili/gongdanliebiao');
|
router.push('/znxj/gdgl/gongdanliebiao');
|
||||||
};
|
};
|
||||||
const handleInspection7 = () => {
|
const handleInspection7 = () => {
|
||||||
router.push('/rili/renyuanzhuangtai');
|
router.push('/znxj/ywzz/renyuanzhuangtai');
|
||||||
};
|
};
|
||||||
const handleInspectionManagement1 = () => {
|
const handleInspectionManagement1 = () => {
|
||||||
activeTab.value = 'plan';
|
activeTab.value = 'plan';
|
||||||
router.push('/rili/shiyanguanli');
|
router.push('/znxj/sygl/shiyanguanli');
|
||||||
};
|
};
|
||||||
const handleInspectionManagement2 = () => {
|
const handleInspectionManagement2 = () => {
|
||||||
activeTab.value = 'task';
|
activeTab.value = 'task';
|
||||||
router.push('/rili/shiyanrenwu');
|
router.push('/znxj/sygl/shiyanrenwu');
|
||||||
};
|
};
|
||||||
const handleInspectionManagement3 = () => {
|
const handleInspectionManagement3 = () => {
|
||||||
activeTab.value = 'record';
|
activeTab.value = 'record';
|
||||||
router.push('/rili/shiyanjilu');
|
router.push('/znxj/sygl/shiyanjilu');
|
||||||
};
|
};
|
||||||
|
|
||||||
// 20. 详情弹窗相关
|
// 20. 详情弹窗相关
|
||||||
|
|||||||
@ -440,7 +440,7 @@ import router from '@/router';
|
|||||||
import { syrenwulist, syrenwuDetail, addsyrenwu, updatesyrenwu } from '@/api/zhinengxunjian/shiyan/renwu';
|
import { syrenwulist, syrenwuDetail, addsyrenwu, updatesyrenwu } from '@/api/zhinengxunjian/shiyan/renwu';
|
||||||
import { shiyanlist } from '@/api/zhinengxunjian/shiyan';
|
import { shiyanlist } from '@/api/zhinengxunjian/shiyan';
|
||||||
import { xunjianUserlist } from '@/api/zhinengxunjian/xunjian/index';
|
import { xunjianUserlist } from '@/api/zhinengxunjian/xunjian/index';
|
||||||
import { addjiedian } from '@/api/zhinengxunjian/jiedian/index';
|
import { addjiedian, updatejiedian } from '@/api/zhinengxunjian/jiedian/index';
|
||||||
// 引入Element Plus组件(提示/空状态/骨架屏/弹窗)
|
// 引入Element Plus组件(提示/空状态/骨架屏/弹窗)
|
||||||
import { ElMessage, ElEmpty, ElSkeleton, ElForm, ElMessageBox, ElDialog } from 'element-plus';
|
import { ElMessage, ElEmpty, ElSkeleton, ElForm, ElMessageBox, ElDialog } from 'element-plus';
|
||||||
|
|
||||||
@ -831,16 +831,45 @@ const mapApiToView = (apiData) => {
|
|||||||
// 生成试验阶段信息
|
// 生成试验阶段信息
|
||||||
const getTestStage = () => {
|
const getTestStage = () => {
|
||||||
try {
|
try {
|
||||||
// 优先查找nodes数组中status为2的第一条数据
|
// 优先查找nodes数组中处于执行中或失败的节点来确定当前试验阶段
|
||||||
if (apiData && apiData.nodes && Array.isArray(apiData.nodes)) {
|
if (apiData && apiData.nodes && Array.isArray(apiData.nodes)) {
|
||||||
const firstStatusTwoNode = apiData.nodes.find((node) => {
|
// 查找执行中状态的节点
|
||||||
// 确保node存在且有status属性
|
const executingNode = apiData.nodes.find((node) => {
|
||||||
if (!node || node.status === undefined) return false;
|
if (!node || node.status === undefined) return false;
|
||||||
// 处理status可能是字符串或数字的情况
|
|
||||||
return node.status === '2' || node.status === 2;
|
return node.status === '2' || node.status === 2;
|
||||||
});
|
});
|
||||||
if (firstStatusTwoNode && firstStatusTwoNode.name) {
|
|
||||||
return firstStatusTwoNode.name;
|
// 如果有执行中的节点,根据code判断阶段
|
||||||
|
if (executingNode && executingNode.code !== undefined) {
|
||||||
|
const stepName = executingNode.name || '未命名步骤';
|
||||||
|
return `第${executingNode.code}步(${stepName})`;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查找失败状态的节点
|
||||||
|
const failedNode = apiData.nodes.find((node) => {
|
||||||
|
if (!node || node.status === undefined) return false;
|
||||||
|
return node.status === '3' || node.status === 3;
|
||||||
|
});
|
||||||
|
|
||||||
|
// 如果有失败的节点,根据code判断阶段
|
||||||
|
if (failedNode && failedNode.code !== undefined) {
|
||||||
|
const stepName = failedNode.name || '未命名步骤';
|
||||||
|
return `第${failedNode.code}步(${stepName})`;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查找已完成的节点,确定最后完成的阶段
|
||||||
|
const completedNodes = apiData.nodes.filter((node) => {
|
||||||
|
if (!node || node.status === undefined) return false;
|
||||||
|
return node.status === '4' || node.status === 4;
|
||||||
|
});
|
||||||
|
|
||||||
|
if (completedNodes.length > 0) {
|
||||||
|
// 按code排序,取最大的code
|
||||||
|
completedNodes.sort((a, b) => Number(b.code) - Number(a.code));
|
||||||
|
if (completedNodes[0].code !== undefined) {
|
||||||
|
const stepName = completedNodes[0].name || '未命名步骤';
|
||||||
|
return `第${completedNodes[0].code}步(${stepName})`;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 如果没有找到符合条件的nodes数据,检查是否有明确的试验阶段信息
|
// 如果没有找到符合条件的nodes数据,检查是否有明确的试验阶段信息
|
||||||
@ -1014,9 +1043,34 @@ const handleAction = async (task) => {
|
|||||||
return node.status === '2' || node.status === 2;
|
return node.status === '2' || node.status === 2;
|
||||||
});
|
});
|
||||||
if (firstUnfinishedNode) {
|
if (firstUnfinishedNode) {
|
||||||
|
// 使用updatejiedian接口更新节点状态,构造完整的节点信息数组
|
||||||
|
const nodeUpdateParams = [
|
||||||
|
{
|
||||||
|
...firstUnfinishedNode,
|
||||||
|
status: '3',
|
||||||
|
updateTime: new Date().toISOString(),
|
||||||
|
// 确保包含所有必需字段
|
||||||
|
createDept: firstUnfinishedNode.createDept || 0,
|
||||||
|
createBy: firstUnfinishedNode.createBy || 0,
|
||||||
|
createTime: firstUnfinishedNode.createTime || new Date().toISOString(),
|
||||||
|
updateBy: firstUnfinishedNode.updateBy || 0,
|
||||||
|
params: firstUnfinishedNode.params || {
|
||||||
|
property1: 'string',
|
||||||
|
property2: 'string'
|
||||||
|
},
|
||||||
|
module: firstUnfinishedNode.module || 'string',
|
||||||
|
orderId: firstUnfinishedNode.orderId || 0,
|
||||||
|
code: firstUnfinishedNode.code || 0,
|
||||||
|
name: firstUnfinishedNode.name || 'string',
|
||||||
|
intendedPurpose: firstUnfinishedNode.intendedPurpose || 'string',
|
||||||
|
intendedTime: firstUnfinishedNode.intendedTime || new Date().toISOString(),
|
||||||
|
finishTime: firstUnfinishedNode.finishTime || '',
|
||||||
|
remark: firstUnfinishedNode.remark || ''
|
||||||
|
}
|
||||||
|
];
|
||||||
|
await updatejiedian(nodeUpdateParams);
|
||||||
|
// 更新本地数据以反映最新状态
|
||||||
firstUnfinishedNode.status = '3';
|
firstUnfinishedNode.status = '3';
|
||||||
// 确保更新到updateParams中
|
|
||||||
updateParams.nodes = taskDetails.nodes;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (innerError) {
|
} catch (innerError) {
|
||||||
@ -1050,13 +1104,39 @@ const handleAction = async (task) => {
|
|||||||
|
|
||||||
// 将失败的步骤状态改回2(未完成)
|
// 将失败的步骤状态改回2(未完成)
|
||||||
if (taskDetails.nodes && Array.isArray(taskDetails.nodes)) {
|
if (taskDetails.nodes && Array.isArray(taskDetails.nodes)) {
|
||||||
taskDetails.nodes.forEach((node) => {
|
const failedNodes = taskDetails.nodes.filter((node) => {
|
||||||
if (node.status === '3' || node.status === 3) {
|
return node.status === '3' || node.status === 3;
|
||||||
node.status = '2';
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
// 确保更新到updateParams中
|
|
||||||
updateParams.nodes = taskDetails.nodes;
|
// 构造包含所有失败节点的完整信息数组
|
||||||
|
const nodeUpdateParams = failedNodes.map((failedNode) => ({
|
||||||
|
...failedNode,
|
||||||
|
status: '2',
|
||||||
|
updateTime: new Date().toISOString(),
|
||||||
|
// 确保包含所有必需字段
|
||||||
|
createDept: failedNode.createDept || 0,
|
||||||
|
createBy: failedNode.createBy || 0,
|
||||||
|
createTime: failedNode.createTime || new Date().toISOString(),
|
||||||
|
updateBy: failedNode.updateBy || 0,
|
||||||
|
params: failedNode.params || {
|
||||||
|
property1: 'string',
|
||||||
|
property2: 'string'
|
||||||
|
},
|
||||||
|
module: failedNode.module || 'string',
|
||||||
|
orderId: failedNode.orderId || 0,
|
||||||
|
code: failedNode.code || 0,
|
||||||
|
name: failedNode.name || 'string',
|
||||||
|
intendedPurpose: failedNode.intendedPurpose || 'string',
|
||||||
|
intendedTime: failedNode.intendedTime || new Date().toISOString(),
|
||||||
|
finishTime: failedNode.finishTime || '',
|
||||||
|
remark: failedNode.remark || ''
|
||||||
|
}));
|
||||||
|
// 一次性调用updatejiedian接口更新所有节点
|
||||||
|
await updatejiedian(nodeUpdateParams);
|
||||||
|
// 更新本地数据以反映最新状态
|
||||||
|
for (const failedNode of failedNodes) {
|
||||||
|
failedNode.status = '2';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
@ -1261,34 +1341,34 @@ const handleCancelCreateTask = () => {
|
|||||||
|
|
||||||
// ============== 5. 导航栏跳转逻辑(保持原有) ==============
|
// ============== 5. 导航栏跳转逻辑(保持原有) ==============
|
||||||
const handleInspectionManagement1 = () => {
|
const handleInspectionManagement1 = () => {
|
||||||
router.push('/rili/shiyanguanli');
|
router.push('/znxj/sygl/shiyanguanli');
|
||||||
};
|
};
|
||||||
const handleInspectionManagement2 = () => {
|
const handleInspectionManagement2 = () => {
|
||||||
router.push('/rili/shiyanrenwu');
|
router.push('/znxj/sygl/shiyanrenwu');
|
||||||
};
|
};
|
||||||
const handleInspectionManagement3 = () => {
|
const handleInspectionManagement3 = () => {
|
||||||
router.push('/rili/shiyanjilu');
|
router.push('/znxj/sygl/shiyanjilu');
|
||||||
};
|
};
|
||||||
const handleInspection1 = () => {
|
const handleInspection1 = () => {
|
||||||
router.push('/rili/rili');
|
router.push('/znxj/rili');
|
||||||
};
|
};
|
||||||
const handleInspection2 = () => {
|
const handleInspection2 = () => {
|
||||||
router.push('/rili/InspectionManagement');
|
router.push('/znxj/xjgl/InspectionManagement');
|
||||||
};
|
};
|
||||||
const handleInspection3 = () => {
|
const handleInspection3 = () => {
|
||||||
router.push('/rili/shiyanguanli');
|
router.push('/znxj/sygl/shiyanguanli');
|
||||||
};
|
};
|
||||||
const handleInspection4 = () => {
|
const handleInspection4 = () => {
|
||||||
router.push('/rili/baoxiuguanli');
|
router.push('/znxj/bxgl/baoxiuguanli');
|
||||||
};
|
};
|
||||||
const handleInspection5 = () => {
|
const handleInspection5 = () => {
|
||||||
router.push('/rili/qiangxiuguanli');
|
router.push('/znxj/qxgl/qiangxiuguanli');
|
||||||
};
|
};
|
||||||
const handleInspection6 = () => {
|
const handleInspection6 = () => {
|
||||||
router.push('/rili/gongdanliebiao');
|
router.push('/znxj/gdgl/gongdanliebiao');
|
||||||
};
|
};
|
||||||
const handleInspection7 = () => {
|
const handleInspection7 = () => {
|
||||||
router.push('/rili/renyuanzhuangtai');
|
router.push('/znxj/ywzz/renyuanzhuangtai');
|
||||||
};
|
};
|
||||||
|
|
||||||
// ============== 6. 页面初始化(加载任务列表和用户列表) ==============
|
// ============== 6. 页面初始化(加载任务列表和用户列表) ==============
|
||||||
|
|||||||
@ -603,34 +603,34 @@ onUnmounted(() => {
|
|||||||
|
|
||||||
// 导航方法
|
// 导航方法
|
||||||
const handleInspection1 = () => {
|
const handleInspection1 = () => {
|
||||||
router.push('/rili/rili');
|
router.push('/znxj/rili');
|
||||||
};
|
};
|
||||||
const handleInspection2 = () => {
|
const handleInspection2 = () => {
|
||||||
router.push('/rili/InspectionManagement');
|
router.push('/znxj/xjgl/InspectionManagement');
|
||||||
};
|
};
|
||||||
const handleInspection3 = () => {
|
const handleInspection3 = () => {
|
||||||
router.push('/rili/shiyanguanli');
|
router.push('/znxj/sygl/shiyanguanli');
|
||||||
};
|
};
|
||||||
const handleInspection4 = () => {
|
const handleInspection4 = () => {
|
||||||
router.push('/rili/baoxiuguanli');
|
router.push('/znxj/bxgl/baoxiuguanli');
|
||||||
};
|
};
|
||||||
const handleInspection5 = () => {
|
const handleInspection5 = () => {
|
||||||
router.push('/rili/qiangxiuguanli');
|
router.push('/znxj/qxgl/qiangxiuguanli');
|
||||||
};
|
};
|
||||||
const handleInspection6 = () => {
|
const handleInspection6 = () => {
|
||||||
router.push('/rili/gongdanliebiao');
|
router.push('/znxj/gdgl/gongdanliebiao');
|
||||||
};
|
};
|
||||||
const handleInspection7 = () => {
|
const handleInspection7 = () => {
|
||||||
router.push('/rili/renyuanzhuangtai');
|
router.push('/znxj/ywzz/renyuanzhuangtai');
|
||||||
};
|
};
|
||||||
const handleInspectionManagement1 = () => {
|
const handleInspectionManagement1 = () => {
|
||||||
router.push('/rili/InspectionManagement');
|
router.push('/znxj/xjgl/InspectionManagement');
|
||||||
};
|
};
|
||||||
const handleInspectionManagement2 = () => {
|
const handleInspectionManagement2 = () => {
|
||||||
router.push('/rili/xunjianrenwu');
|
router.push('/znxj/xjgl/xunjianrenwu');
|
||||||
};
|
};
|
||||||
const handleInspectionManagement3 = () => {
|
const handleInspectionManagement3 = () => {
|
||||||
router.push('/rili/xunjianjihua');
|
router.push('/znxj/xjgl/xunjianjihua');
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@ -992,35 +992,35 @@ const handleCloseDetailDialog = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const handleInspectionManagement1 = () => {
|
const handleInspectionManagement1 = () => {
|
||||||
router.push('/rili/InspectionManagement');
|
router.push('/znxj/xjgl/InspectionManagement');
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleInspectionManagement2 = () => {
|
const handleInspectionManagement2 = () => {
|
||||||
router.push('/rili/xunjianrenwu');
|
router.push('/znxj/xjgl/xunjianrenwu');
|
||||||
};
|
};
|
||||||
const handleInspectionManagement3 = () => {
|
const handleInspectionManagement3 = () => {
|
||||||
router.push('/rili/xunjianjihua');
|
router.push('/znxj/xjgl/xunjianjihua');
|
||||||
};
|
};
|
||||||
const handleInspection1 = () => {
|
const handleInspection1 = () => {
|
||||||
router.push('/rili/rili');
|
router.push('/znxj/rili');
|
||||||
};
|
};
|
||||||
const handleInspection2 = () => {
|
const handleInspection2 = () => {
|
||||||
router.push('/rili/InspectionManagement');
|
router.push('/znxj/xjgl/InspectionManagement');
|
||||||
};
|
};
|
||||||
const handleInspection3 = () => {
|
const handleInspection3 = () => {
|
||||||
router.push('/rili/shiyanguanli');
|
router.push('/znxj/sygl/shiyanguanli');
|
||||||
};
|
};
|
||||||
const handleInspection4 = () => {
|
const handleInspection4 = () => {
|
||||||
router.push('/rili/baoxiuguanli');
|
router.push('/znxj/bxgl/baoxiuguanli');
|
||||||
};
|
};
|
||||||
const handleInspection5 = () => {
|
const handleInspection5 = () => {
|
||||||
router.push('/rili/qiangxiuguanli');
|
router.push('/znxj/qxgl/qiangxiuguanli');
|
||||||
};
|
};
|
||||||
const handleInspection6 = () => {
|
const handleInspection6 = () => {
|
||||||
router.push('/rili/gongdanliebiao');
|
router.push('/znxj/gdgl/gongdanliebiao');
|
||||||
};
|
};
|
||||||
const handleInspection7 = () => {
|
const handleInspection7 = () => {
|
||||||
router.push('/rili/renyuanzhuangtai');
|
router.push('/znxj/ywzz/renyuanzhuangtai');
|
||||||
};
|
};
|
||||||
|
|
||||||
// 处理任务操作按钮点击事件
|
// 处理任务操作按钮点击事件
|
||||||
|
|||||||
@ -1533,35 +1533,35 @@ const cancelCreate = () => {
|
|||||||
|
|
||||||
// 导航路由跳转
|
// 导航路由跳转
|
||||||
const handleInspection1 = () => {
|
const handleInspection1 = () => {
|
||||||
router.push('/rili/rili');
|
router.push('/znxj/rili');
|
||||||
};
|
};
|
||||||
const handleInspection2 = () => {
|
const handleInspection2 = () => {
|
||||||
router.push('/rili/InspectionManagement');
|
router.push('/znxj/xjgl/InspectionManagement');
|
||||||
};
|
};
|
||||||
const handleInspection3 = () => {
|
const handleInspection3 = () => {
|
||||||
router.push('/rili/shiyanguanli');
|
router.push('/znxj/sygl/shiyanguanli');
|
||||||
};
|
};
|
||||||
const handleInspection4 = () => {
|
const handleInspection4 = () => {
|
||||||
router.push('/rili/baoxiuguanli');
|
router.push('/znxj/bxgl/baoxiuguanli');
|
||||||
};
|
};
|
||||||
const handleInspection5 = () => {
|
const handleInspection5 = () => {
|
||||||
router.push('/rili/qiangxiuguanli');
|
router.push('/znxj/qxgl/qiangxiuguanli');
|
||||||
};
|
};
|
||||||
const handleInspection6 = () => {
|
const handleInspection6 = () => {
|
||||||
router.push('/rili/gongdanliebiao');
|
router.push('/znxj/gdgl/gongdanliebiao');
|
||||||
};
|
};
|
||||||
const handleInspection7 = () => {
|
const handleInspection7 = () => {
|
||||||
router.push('/rili/renyuanzhuangtai');
|
router.push('/znxj/ywzz/renyuanzhuangtai');
|
||||||
};
|
};
|
||||||
const handleInspectionManagement1 = () => {
|
const handleInspectionManagement1 = () => {
|
||||||
router.push('/rili/gongdanliebiao');
|
router.push('/znxj/gdgl/gongdanliebiao');
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleInspectionManagement2 = () => {
|
const handleInspectionManagement2 = () => {
|
||||||
router.push('/rili/paidanjilu');
|
router.push('/znxj/gdgl/paidanjilu');
|
||||||
};
|
};
|
||||||
const handleInspectionManagement3 = () => {
|
const handleInspectionManagement3 = () => {
|
||||||
router.push('/rili/zhixingjilu');
|
router.push('/znxj/gdgl/zhixingjilu');
|
||||||
};
|
};
|
||||||
|
|
||||||
// 关闭详情弹窗
|
// 关闭详情弹窗
|
||||||
|
|||||||
Reference in New Issue
Block a user