qms/src/views/modules/laboratory/components/employeeResumeDetail.vue

50 lines
1.1 KiB
Vue
Raw Normal View History

2023-05-24 16:40:29 +08:00
<!--
* @Author: zhp
* @Date: 2023-01-31 14:12:10
2023-07-17 17:00:11 +08:00
* @LastEditTime: 2023-07-17 16:14:43
2023-05-24 16:40:29 +08:00
* @LastEditors: zhp
* @Description:
-->
<template>
<span>
2023-07-17 17:00:11 +08:00
<el-button type="text" @click="getExperienceDetail">{{ $t('detail') }} </el-button>
2023-05-24 16:40:29 +08:00
</span>
</template>
<script>
import i18n from "@/i18n"
export default {
props: {
injectData: {
type: Object,
default: () => ({}),
},
},
methods: {
getExperienceDetail() {
this.$router.push({
2023-07-17 17:00:11 +08:00
name: 'laboratory-qmsLaboratoryEmployeeResume',
2023-05-24 16:40:29 +08:00
query: {
laboratoryTesterId: this.injectData.userId
}
})
}
// 子级
// emitClick () {
// // 路由参数
// const routeParams = {
// routeName: `${this.$route.name}__${this.injectData.id}`,
// title: `${this.$route.meta.title} - ${this.injectData.dictType}`,
// path: 'sys/dict-data',
// params: {
// dictTypeId: this.injectData.id
// }
// }
// // 动态路由
// addDynamicRoute(routeParams, this.$router)
// }
},
};
</script>