|
@@ -2,74 +2,15 @@
|
|
|
<div id="danwei">
|
|
|
<el-row>
|
|
|
<el-col :span="24">
|
|
|
- <el-tabs v-model="activeName" @tab-click="handleClick">
|
|
|
- <el-tab-pane label="事业单位" name="first">
|
|
|
- <el-col :span="24" v-for="(item, index) in shiyeList" :key="index" class="shiyeList">
|
|
|
+ <el-tabs type="border-card">
|
|
|
+ <el-tab-pane v-for="(item, index) in danweiList" :key="index">
|
|
|
+ <span slot="label">{{ item.title }}</span>
|
|
|
+ <el-col :span="24" v-for="(tag, index) in item.danweiInfoList" :key="index" class="shiyeList">
|
|
|
<el-col :span="20" class="title textOver">
|
|
|
- <el-link :underline="false">{{ item.title }}</el-link>
|
|
|
+ <el-link :underline="false">{{ tag.title }}</el-link>
|
|
|
</el-col>
|
|
|
<el-col :span="4" class="time">
|
|
|
- {{ item.time }}
|
|
|
- </el-col>
|
|
|
- </el-col>
|
|
|
- </el-tab-pane>
|
|
|
- <el-tab-pane label="公务员" name="second">
|
|
|
- <el-col :span="24" v-for="(item, index) in gongwuyuanList" :key="index" class="shiyeList">
|
|
|
- <el-col :span="20" class="title textOver">
|
|
|
- <el-link :underline="false">{{ item.title }}</el-link>
|
|
|
- </el-col>
|
|
|
- <el-col :span="4" class="time">
|
|
|
- {{ item.time }}
|
|
|
- </el-col>
|
|
|
- </el-col>
|
|
|
- </el-tab-pane>
|
|
|
- <el-tab-pane label="选调生" name="third">
|
|
|
- <el-col :span="24" v-for="(item, index) in xuantiaoList" :key="index" class="shiyeList">
|
|
|
- <el-col :span="20" class="title textOver">
|
|
|
- <el-link :underline="false">{{ item.title }}</el-link>
|
|
|
- </el-col>
|
|
|
- <el-col :span="4" class="time">
|
|
|
- {{ item.time }}
|
|
|
- </el-col>
|
|
|
- </el-col>
|
|
|
- </el-tab-pane>
|
|
|
- <el-tab-pane label="西部计划" name="fourth">
|
|
|
- <el-col :span="24" v-for="(item, index) in xibuList" :key="index" class="shiyeList">
|
|
|
- <el-col :span="20" class="title textOver">
|
|
|
- <el-link :underline="false">{{ item.title }}</el-link>
|
|
|
- </el-col>
|
|
|
- <el-col :span="4" class="time">
|
|
|
- {{ item.time }}
|
|
|
- </el-col>
|
|
|
- </el-col>
|
|
|
- </el-tab-pane>
|
|
|
- <el-tab-pane label="特岗教师" name="fifth">
|
|
|
- <el-col :span="24" v-for="(item, index) in teguangList" :key="index" class="shiyeList">
|
|
|
- <el-col :span="20" class="title textOver">
|
|
|
- <el-link :underline="false">{{ item.title }}</el-link>
|
|
|
- </el-col>
|
|
|
- <el-col :span="4" class="time">
|
|
|
- {{ item.time }}
|
|
|
- </el-col>
|
|
|
- </el-col>
|
|
|
- </el-tab-pane>
|
|
|
- <el-tab-pane label="三支一扶" name="sith">
|
|
|
- <el-col :span="24" v-for="(item, index) in sanzhiList" :key="index" class="shiyeList">
|
|
|
- <el-col :span="20" class="title textOver">
|
|
|
- <el-link :underline="false">{{ item.title }}</el-link>
|
|
|
- </el-col>
|
|
|
- <el-col :span="4" class="time">
|
|
|
- {{ item.time }}
|
|
|
- </el-col>
|
|
|
- </el-col>
|
|
|
- </el-tab-pane>
|
|
|
- <el-tab-pane label="大学生村官" name="seventh">
|
|
|
- <el-col :span="24" v-for="(item, index) in xueshengList" :key="index" class="shiyeList">
|
|
|
- <el-col :span="20" class="title textOver">
|
|
|
- <el-link :underline="false">{{ item.title }}</el-link>
|
|
|
- </el-col>
|
|
|
- <el-col :span="4" class="time">
|
|
|
- {{ item.time }}
|
|
|
+ {{ tag.time }}
|
|
|
</el-col>
|
|
|
</el-col>
|
|
|
</el-tab-pane>
|
|
@@ -84,13 +25,8 @@
|
|
|
export default {
|
|
|
name: 'danwei',
|
|
|
props: {
|
|
|
- shiyeList: null,
|
|
|
- gongwuyuanList: null,
|
|
|
- xuantiaoList: null,
|
|
|
- xibuList: null,
|
|
|
- teguangList: null,
|
|
|
- sanzhiList: null,
|
|
|
- xueshengList: null,
|
|
|
+ danweiList: null,
|
|
|
+ danweiInfoList: null,
|
|
|
},
|
|
|
components: {},
|
|
|
data: () => ({
|
|
@@ -115,12 +51,12 @@ export default {
|
|
|
right: 10px;
|
|
|
color: #850000;
|
|
|
}
|
|
|
-/deep/.el-tabs__nav {
|
|
|
- left: 20px;
|
|
|
-}
|
|
|
/deep/.el-tabs__header {
|
|
|
margin: 0;
|
|
|
}
|
|
|
+/deep/.el-tabs--border-card > .el-tabs__content {
|
|
|
+ padding: 0;
|
|
|
+}
|
|
|
.talksList {
|
|
|
padding: 12px 10px;
|
|
|
border-bottom: 1px dashed #ccc;
|