任务详情

This commit is contained in:
shijingjing
2022-06-08 17:57:19 +08:00
parent fc220c7868
commit d24898b558
6 changed files with 133 additions and 12 deletions

View File

@@ -9,6 +9,7 @@
<script>
import List from './components/List'
import Add from './components/Add'
import Detail from './components/Detail'
export default {
label: '播发记录',
@@ -20,7 +21,7 @@ export default {
data() {
return {
component: 'List',
component: 'Detail',
params: {},
include: [],
}
@@ -28,7 +29,8 @@ export default {
components: {
Add,
List
List,
Detail
},
methods: {
onChange(data) {
@@ -37,6 +39,11 @@ export default {
this.params = data.params
}
if (data.type === 'detail') {
this.component = 'Detail'
this.params = data.params
}
if (data.type == 'list') {
this.component = 'List'
this.params = data.params