<template>
|
<app-page-tab v-bind="tabPageProps">
|
<template #index="scope">
|
<index-page v-bind="indexPageProps"/>
|
</template>
|
<template #header-button="scope">
|
<el-button size="small" type="primary">上传</el-button>
|
<el-button size="small" type="primary" :disabled="!scope.selected.id">在线编辑</el-button>
|
<el-button
|
:disabled="!scope.selected.id"
|
size="small"
|
type="danger"
|
icon="Delete"
|
>
|
</el-button>
|
</template>
|
</app-page-tab>
|
</template>
|
|
<script setup name="manualSystem">
|
|
import IndexPage from './IndexPage';
|
|
const indexPageRef = ref();
|
|
const indexPageProps = {
|
subCurrent(row) {
|
indexPageRef.value.setSelected(row);
|
}
|
}
|
|
const tabPageProps = {
|
ref: indexPageRef,
|
tabList: [{name: 'index', title: '系统帮助'}]
|
};
|
</script>
|