43 lines
768 B
Vue
43 lines
768 B
Vue
<template>
|
|
<ai-detail class="detail">
|
|
<template slot="title">
|
|
<ai-title title="详情" :isShowBack="true" :isShowBottomBorder="true" @onBackClick="$emit('goBack')"></ai-title>
|
|
</template>
|
|
<template slot="content">
|
|
<!-- <div v-html=""></div> -->
|
|
</template>
|
|
</ai-detail>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'detail',
|
|
props: {
|
|
instance: Function,
|
|
dict: Object,
|
|
permissions: Function,
|
|
detail: Object,
|
|
},
|
|
data() {
|
|
return {
|
|
id: ''
|
|
}
|
|
},
|
|
|
|
methods: {
|
|
getDetail() {
|
|
this.id = this.$route.query.id
|
|
this.id && this.instance.post(``, null, {
|
|
params: {id: this.id}
|
|
}).then(res => {
|
|
if (res?.data) {
|
|
}
|
|
})
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
|
|
</style> |