You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
<!-- <template>
|
|
|
|
|
|
<div>
|
|
|
|
|
|
<div>
|
|
|
|
|
|
课时设置:<el-button type="primary" icon="md-add" style="margin-bottom: 10px"
|
|
|
|
|
|
@click="form.settings.push({ name: '',desc:''})">新增</el-button>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<xy-table style="width: 100%" :height="260" :is-page="false" :list="form.settings"
|
|
|
|
|
|
:table-item="settings_Table">
|
|
|
|
|
|
<template v-slot:btns>
|
|
|
|
|
|
<el-table-column label="操作" width="90" header-align="center" align="center">
|
|
|
|
|
|
<template v-slot:default="scope">
|
|
|
|
|
|
<el-button size="small" type="danger" plain
|
|
|
|
|
|
@click="form.settings.splice(scope.$index, 1)">删除</el-button>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
</xy-table>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
export default{
|
|
|
|
|
|
data(){
|
|
|
|
|
|
return{
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
methods:{
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
|
</style> -->
|