|
@@ -246,7 +246,6 @@
|
|
|
import otherMission from './components/otherMission';
|
|
import otherMission from './components/otherMission';
|
|
|
import OrderPrint from '@/components/print/OrderPrint';
|
|
import OrderPrint from '@/components/print/OrderPrint';
|
|
|
import bomList from './components/bomList';
|
|
import bomList from './components/bomList';
|
|
|
- import { getTaskListById } from '@/api/mainData/index.js';
|
|
|
|
|
import dictMixins from '@/mixins/dictMixins';
|
|
import dictMixins from '@/mixins/dictMixins';
|
|
|
import {
|
|
import {
|
|
|
reportPage,
|
|
reportPage,
|
|
@@ -1140,7 +1139,18 @@
|
|
|
if (typeof res.taskTypeProcessDiagrams == 'string') {
|
|
if (typeof res.taskTypeProcessDiagrams == 'string') {
|
|
|
this.tabList = [];
|
|
this.tabList = [];
|
|
|
} else {
|
|
} else {
|
|
|
- this.tabList = res.taskTypeProcessDiagrams;
|
|
|
|
|
|
|
+ const list = res.taskTypeProcessDiagrams.filter(
|
|
|
|
|
+ (i) => !i.taskTypeName?.includes('工具')
|
|
|
|
|
+ );
|
|
|
|
|
+
|
|
|
|
|
+ const index = list.findIndex((i) =>
|
|
|
|
|
+ i.taskTypeName.includes('挤压干燥')
|
|
|
|
|
+ );
|
|
|
|
|
+ if (index > -1) {
|
|
|
|
|
+ list[index].taskTypeName = '升温干燥';
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ this.tabList = list;
|
|
|
}
|
|
}
|
|
|
// this.activeName = this.tabList[0]?.taskTypeName || ''
|
|
// this.activeName = this.tabList[0]?.taskTypeName || ''
|
|
|
this.chooseItem = this.tabList[0]?.taskTypeName;
|
|
this.chooseItem = this.tabList[0]?.taskTypeName;
|