zhuoyuan.wang
2024-06-19 15ebe96f28cadec6a726c5324593a40bbf56205f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<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>