|
@@ -1,59 +0,0 @@
|
|
|
-<template>
|
|
|
- <el-dialog :title='`${systemName}-${dialogInfo.label}`' :visible.sync='visible' :fullscreen='true'>
|
|
|
- <div class='top'></div>
|
|
|
- <a-tabs
|
|
|
- v-if='Object.keys(dialogInfo).length>0 && dialogInfo.children.length>0'
|
|
|
- :default-active-key='dialogInfo.children[0].id'
|
|
|
- size='small'
|
|
|
- @change='fn'
|
|
|
- >
|
|
|
- <a-tab-pane v-for='(value,index) in dialogInfo.children' :key='"u"+index' :tab='`${value.label}`'>
|
|
|
- <img v-if='value.id.slice(2,4)=="YL"' src='@/assets/imgs/eq.jpg' />
|
|
|
- <tableList v-else></tableList>
|
|
|
- </a-tab-pane>
|
|
|
- </a-tabs>
|
|
|
- </el-dialog>
|
|
|
-</template>
|
|
|
-<script>
|
|
|
-import tableList from './table/eqListTable'
|
|
|
-
|
|
|
-export default {
|
|
|
- props: ['dialogInfo', 'systemName'],
|
|
|
- data() {
|
|
|
- return {
|
|
|
- visible: false
|
|
|
- }
|
|
|
- },
|
|
|
- components: { tableList },
|
|
|
- methods: {
|
|
|
- showModal() {
|
|
|
- this.visible = true
|
|
|
- }
|
|
|
- }
|
|
|
-}
|
|
|
-</script>
|
|
|
-<style lang="less" scoped>
|
|
|
-.top {
|
|
|
- width: 1366px;
|
|
|
- height: 1px;
|
|
|
- background: rgba(0, 0, 0, 0.06);
|
|
|
-}
|
|
|
-</style>
|
|
|
-<style lang="less">
|
|
|
-.ant-tabs-bar {
|
|
|
- border: none;
|
|
|
-}
|
|
|
-.ant-tabs-tab {
|
|
|
- text-align: center;
|
|
|
- background: rgba(255, 255, 255, 1);
|
|
|
- border-radius: 0px 4px 4px 0px;
|
|
|
- border: 1px solid rgba(217, 217, 217, 1);
|
|
|
- font-size: 14px;
|
|
|
- color: #1f2429;
|
|
|
- margin: 0;
|
|
|
- padding: 5px 15px !important;
|
|
|
-}
|
|
|
-.ant-select {
|
|
|
- margin-right: 12px;
|
|
|
-}
|
|
|
-</style>
|