|
@@ -185,6 +185,19 @@
|
|
</template>
|
|
</template>
|
|
<CollectionCom ref="collectionComRef"
|
|
<CollectionCom ref="collectionComRef"
|
|
/></el-tab-pane>
|
|
/></el-tab-pane>
|
|
|
|
+ <el-tab-pane name="brazeComRef" label="钎焊指引">
|
|
|
|
+ <template #label>
|
|
|
|
+ <span
|
|
|
|
+ >钎焊指引
|
|
|
|
+ <el-badge
|
|
|
|
+ :value="tabCount.brazeCount"
|
|
|
|
+ class="item"
|
|
|
|
+ type="primary"
|
|
|
|
+ />
|
|
|
|
+ </span>
|
|
|
|
+ </template>
|
|
|
|
+ <BrazeCom ref="brazeComRef"/>
|
|
|
|
+ </el-tab-pane>
|
|
</el-tabs>
|
|
</el-tabs>
|
|
</el-main>
|
|
</el-main>
|
|
</el-container>
|
|
</el-container>
|
|
@@ -205,6 +218,7 @@ import FaultCom from "@/views/pro/traceability/components/faultCom.vue";
|
|
import MediaCom from "./components/mediaCom.vue";
|
|
import MediaCom from "./components/mediaCom.vue";
|
|
import ExcelCom from "./components/excelCom.vue";
|
|
import ExcelCom from "./components/excelCom.vue";
|
|
import CollectionCom from "./components/collectionCom.vue";
|
|
import CollectionCom from "./components/collectionCom.vue";
|
|
|
|
+import BrazeCom from "./components/brazeCom.vue";
|
|
// 传入一个url,后面不带/
|
|
// 传入一个url,后面不带/
|
|
const { form, data, option, search, page, toDeleteIds, Methords, Utils } =
|
|
const { form, data, option, search, page, toDeleteIds, Methords, Utils } =
|
|
useCrud({
|
|
useCrud({
|
|
@@ -227,6 +241,7 @@ const faultComRef = ref(null);
|
|
const mediaComRef = ref(null);
|
|
const mediaComRef = ref(null);
|
|
const excelComRef = ref(null);
|
|
const excelComRef = ref(null);
|
|
const collectionComRef = ref(null);
|
|
const collectionComRef = ref(null);
|
|
|
|
+const brazeComRef = ref(null);
|
|
let defaultTabName = ref("traceabilityComRef");
|
|
let defaultTabName = ref("traceabilityComRef");
|
|
//tab页组件
|
|
//tab页组件
|
|
const tabNameComRef = new Map([
|
|
const tabNameComRef = new Map([
|
|
@@ -239,6 +254,7 @@ const tabNameComRef = new Map([
|
|
["mediaComRef", mediaComRef],
|
|
["mediaComRef", mediaComRef],
|
|
["excelComRef", excelComRef],
|
|
["excelComRef", excelComRef],
|
|
["collectionComRef", collectionComRef],
|
|
["collectionComRef", collectionComRef],
|
|
|
|
+ ["brazeComRef", brazeComRef]
|
|
]);
|
|
]);
|
|
let temRow = ref({});
|
|
let temRow = ref({});
|
|
const tabsEvent = (pane, ev) => {
|
|
const tabsEvent = (pane, ev) => {
|
|
@@ -282,6 +298,7 @@ let tabCount = reactive({
|
|
fault: "",
|
|
fault: "",
|
|
medias: "",
|
|
medias: "",
|
|
excel: "",
|
|
excel: "",
|
|
|
|
+ brazeCount: ""
|
|
});
|
|
});
|
|
|
|
|
|
const handleCellClick = (row, column, event) => {
|
|
const handleCellClick = (row, column, event) => {
|