|
@@ -1,35 +1,32 @@
|
|
|
<template>
|
|
|
<div id="noticeright">
|
|
|
<el-row>
|
|
|
- <el-col :span="24" class="info">
|
|
|
- <el-col :span="24" class="title">
|
|
|
- <p>{{ noticedetail.title }}</p>
|
|
|
- </el-col>
|
|
|
- <el-col :span="24" class="time">
|
|
|
- {{ noticedetail.time }}
|
|
|
- </el-col>
|
|
|
- <el-col :span="24" class="image">
|
|
|
- <el-image style="width:650px;height:427px;" :src="noticedetail.url"></el-image>
|
|
|
- </el-col>
|
|
|
- <el-col :span="24" class="content">
|
|
|
- <p>{{ noticedetail.content }}</p>
|
|
|
- </el-col>
|
|
|
- </el-col>
|
|
|
+ <span v-if="type === 'jobinfo'">
|
|
|
+ <jobinfo :noticedetail="noticedetail"></jobinfo>
|
|
|
+ </span>
|
|
|
</el-row>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+import jobinfo from './jobinfo.vue';
|
|
|
export default {
|
|
|
name: 'noticeright',
|
|
|
props: {
|
|
|
noticedetail: null,
|
|
|
+ type: null,
|
|
|
+ },
|
|
|
+ components: {
|
|
|
+ jobinfo,
|
|
|
},
|
|
|
- components: {},
|
|
|
data: () => ({}),
|
|
|
created() {},
|
|
|
computed: {},
|
|
|
- methods: {},
|
|
|
+ methods: {
|
|
|
+ search(page) {
|
|
|
+ this.$emit('search', page);
|
|
|
+ },
|
|
|
+ },
|
|
|
};
|
|
|
</script>
|
|
|
|