|
@@ -113,13 +113,13 @@
|
|
|
</ul>
|
|
|
</el-row>
|
|
|
<el-dialog title="简历详情" center :visible.sync="resumeDialog" :fullscreen="true">
|
|
|
- <resumes></resumes>
|
|
|
+ <resumes :info="info"></resumes>
|
|
|
</el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import resumes from '@resume/src/views/resumeCor.vue';
|
|
|
+import resumes from '@resume/src/views/resume.vue';
|
|
|
import { mapActions, mapState } from 'vuex';
|
|
|
export default {
|
|
|
name: 'home',
|
|
@@ -144,6 +144,7 @@ export default {
|
|
|
{ message: '【在线招聘】您申请的在线招聘:"fffffff,已通过审批', day: '2019-07-02 16:05' },
|
|
|
{ message: '【在线招聘】您申请的在线招聘:"fffffff,已通过审批', day: '2019-07-02 16:05' },
|
|
|
],
|
|
|
+ info: {},
|
|
|
}),
|
|
|
created() {
|
|
|
this.search();
|
|
@@ -189,15 +190,13 @@ export default {
|
|
|
this.$message.error(result.errmsg ? result.errmsg : 'error');
|
|
|
}
|
|
|
},
|
|
|
- async searchInfo(id) {
|
|
|
+ async checkResume(id) {
|
|
|
let result = await this.resumesOperation({ type: 'search', data: { id: id } });
|
|
|
if (`${result.errcode}` === '0') {
|
|
|
- this.$set(this, `resumeList`, result.data);
|
|
|
+ this.$set(this, `info`, result.data);
|
|
|
+ this.resumeDialog = true;
|
|
|
}
|
|
|
},
|
|
|
- checkResume(id) {
|
|
|
- this.resumeDialog = true;
|
|
|
- },
|
|
|
},
|
|
|
};
|
|
|
</script>
|