|
@@ -16,6 +16,7 @@ const activeName = ref("仪器配置");
|
|
|
|
|
|
import configAddVue from "./components/ConfigAdd.vue";
|
|
import configAddVue from "./components/ConfigAdd.vue";
|
|
import globalAddVue from "./components/globalDataAdd.vue";
|
|
import globalAddVue from "./components/globalDataAdd.vue";
|
|
|
|
+import SecondHeader from "@/views/modules/conmon/SecondHeader.vue";
|
|
|
|
|
|
const handleClick = (tab: TabsPaneContext, event: Event) => {
|
|
const handleClick = (tab: TabsPaneContext, event: Event) => {
|
|
// console.log(tab, event);
|
|
// console.log(tab, event);
|
|
@@ -168,6 +169,7 @@ const globalHandledel = (index: number, row: any) => {
|
|
|
|
|
|
<template>
|
|
<template>
|
|
<div class="global-config">
|
|
<div class="global-config">
|
|
|
|
+ <SecondHeader>全局配置</SecondHeader>
|
|
<el-tabs v-model="activeName" class="demo-tabs" @tab-click="handleClick">
|
|
<el-tabs v-model="activeName" class="demo-tabs" @tab-click="handleClick">
|
|
<el-tab-pane label="仪器配置" name="仪器配置">
|
|
<el-tab-pane label="仪器配置" name="仪器配置">
|
|
<div class="global-config-pane">
|
|
<div class="global-config-pane">
|
|
@@ -271,6 +273,8 @@ const globalHandledel = (index: number, row: any) => {
|
|
|
|
|
|
<style scoped lang="scss">
|
|
<style scoped lang="scss">
|
|
.global-config {
|
|
.global-config {
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 100vh;
|
|
.demo-tabs {
|
|
.demo-tabs {
|
|
// background-color: red;
|
|
// background-color: red;
|
|
::v-deep .el-tabs__nav-scroll {
|
|
::v-deep .el-tabs__nav-scroll {
|