|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div id="danwei">
|
|
|
<el-row>
|
|
|
- <el-col :span="24">
|
|
|
+ <el-col :span="24" v-if="enterList && enterList.length > 0">
|
|
|
<el-tabs v-model="activeName" type="border-card" :before-leave="handleClick">
|
|
|
<el-tab-pane v-for="(item, index) in danweiList" :key="index">
|
|
|
<span slot="label">{{ item.title }}</span>
|
|
@@ -17,17 +17,23 @@
|
|
|
</el-tabs>
|
|
|
<el-link :inderline="false" class="moreLink" :style="`color:${Color}`" @click="moreClick()">MORE<i class="el-icon-video-play"></i> </el-link>
|
|
|
</el-col>
|
|
|
+ <el-col :span="24" v-else>
|
|
|
+ <no-data></no-data>
|
|
|
+ </el-col>
|
|
|
</el-row>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+import noData from '@publics/src/layout/noData.vue';
|
|
|
export default {
|
|
|
name: 'danwei',
|
|
|
props: {
|
|
|
danweiList: null,
|
|
|
},
|
|
|
- components: {},
|
|
|
+ components: {
|
|
|
+ noData,
|
|
|
+ },
|
|
|
data: () => ({
|
|
|
activeName: '',
|
|
|
Color: '#850000',
|