34 lines
650 B
Vue
34 lines
650 B
Vue
|
<!--
|
||
|
* @Date: 2021-01-07 20:09:37
|
||
|
* @LastEditors: zwq
|
||
|
* @LastEditTime: 2021-03-06 13:12:47
|
||
|
* @FilePath: \basic-admin\src\components\BaseTable\subcomponents\CheckDetail.vue
|
||
|
* @Description:
|
||
|
-->
|
||
|
<template>
|
||
|
<span>
|
||
|
<el-button type="text" size="small" @click="emitClick">{{ $t('module.basicData.cache.ManageLocation') }}</el-button>
|
||
|
</span>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
props: {
|
||
|
injectData: {
|
||
|
type: Object,
|
||
|
default: () => ({})
|
||
|
}
|
||
|
},
|
||
|
methods: {
|
||
|
emitClick() {
|
||
|
this.$router.push({
|
||
|
name: 'locationAdd',
|
||
|
query: {
|
||
|
id: this.injectData.id
|
||
|
}
|
||
|
})
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
</script>
|