diff --git a/src/views/task/simulationTask/components/demandTable.vue b/src/views/task/simulationTask/components/demandTable.vue index 77b4bf72..1bdb37e4 100644 --- a/src/views/task/simulationTask/components/demandTable.vue +++ b/src/views/task/simulationTask/components/demandTable.vue @@ -74,10 +74,7 @@ {{ disposeMemberList(row, 'tMemberList') }} @@ -259,7 +256,7 @@ const showTaskListDialogFun = (row: any) => { const data = res.data?.data || []; if (data.length > 0) { showTaskDetailDialog.value = true; - currentTaskInfo.value = data[0]; + currentTaskInfo.value = { ...data[0], demandId: row.uuid }; } else { ElMessage.warning('当前需求下没有任务'); } diff --git a/src/views/task/simulationTask/mySend/index.vue b/src/views/task/simulationTask/mySend/index.vue index 93f60079..ecd123ae 100644 --- a/src/views/task/simulationTask/mySend/index.vue +++ b/src/views/task/simulationTask/mySend/index.vue @@ -2,8 +2,8 @@
- - + + { setPageStorage('isSend', val); @@ -135,7 +135,7 @@ const tabChangeFun = (val: any) => { }; const taskParams = computed(() => { - if (isSend.value) { + if (isSend.value === 'true') { // 已分发的任务 return { type: 3 }; } else { @@ -156,7 +156,7 @@ const actionList = ref([ click: (row: any) => { // 从需求来的任务,走分发逻辑,lyric定制逻辑 if ( - !isSend.value && + !(isSend.value === 'true') && enableConfigByTenant([TENANT_ENUM.LYRIC]) && row['tag9'] === 'FROM_DEMAND' ) { diff --git a/src/views/task/simulationTask/newDemand/components/index.vue b/src/views/task/simulationTask/newDemand/components/index.vue index 8c99ba01..6ab037e9 100644 --- a/src/views/task/simulationTask/newDemand/components/index.vue +++ b/src/views/task/simulationTask/newDemand/components/index.vue @@ -4,7 +4,7 @@
- +
机器人仿真待办
@@ -12,7 +12,7 @@
- +
动画仿真待办
@@ -20,7 +20,7 @@
- +
工业设计待办
@@ -28,7 +28,7 @@
- +
公差分析待办
@@ -36,7 +36,7 @@
- +
有限元仿真待办
@@ -44,7 +44,7 @@
- +
物流仿真待办
@@ -122,12 +122,14 @@ import Industry from './industry.vue'; import Logistics from './logistics.vue'; import Robot from './robot.vue'; import Tolerance from './tolerance.vue'; -import RobotBg from '@/assets/imgs/projectList/project-blue.png'; -import AnimationBg from '@/assets/imgs/projectList/project-green.png'; -import IndustryBg from '@/assets/imgs/projectList/project-blue.png'; -import ToleranceBg from '@/assets/imgs/projectList/project-green.png'; -import FiniteElementBg from '@/assets/imgs/projectList/project-green.png'; -import LogisticsBg from '@/assets/imgs/projectList/project-blue.png'; +import projectGreen from '@/assets/imgs/projectList/project-green.png'; +import projectBlue from '@/assets/imgs/projectList/project-blue.png'; +// import RobotBg from './imgs/robot.png'; +// import AnimationBg from './imgs/animation.png'; +// import IndustryBg from './imgs/industry.png'; +// import ToleranceBg from './imgs/tolerance.png'; +// import FiniteElementBg from './imgs/finiteElement.png'; +// import LogisticsBg from './imgs/logistics.png'; // import PlanBg from './imgs/plan.png'; import { addDemandNoPermissionApi } from '@/api/project/demand'; import { enableConfigByTenant, TENANT_ENUM } from '@/tenants/tenant'; diff --git a/src/views/task/simulationTask/newDemand/createDemand.vue b/src/views/task/simulationTask/newDemand/createDemand.vue index e77c361d..a857c3e8 100644 --- a/src/views/task/simulationTask/newDemand/createDemand.vue +++ b/src/views/task/simulationTask/newDemand/createDemand.vue @@ -1,9 +1,9 @@ diff --git a/src/views/task/simulationTask/newDemand/index.vue b/src/views/task/simulationTask/newDemand/index.vue index 7b92034d..eb093b09 100644 --- a/src/views/task/simulationTask/newDemand/index.vue +++ b/src/views/task/simulationTask/newDemand/index.vue @@ -25,228 +25,34 @@ @click="syncDemandList" >同步 - 创建待办 - - -
- - - -
- - - - - - - - - -
-
- -
-
-
- - - -
-
- - - - - - -
-
- 确认 -
-
- -
- -
- 继续创建 - 查看列表 -
-
+