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
37
38
39
| <template>
| <el-card shadow="never">
| Never2
| <template #footer>
| <el-row justify="space-around">
| <el-button type="primary" size="default" @click="lastStep">上一步</el-button>
| <el-button type="primary" size="default" @click="nextStep">下一步</el-button>
| </el-row>
| </template>
| </el-card>
| </template>
|
| <script>
| /**
| * 评估数据源完整性检查
| */
| export default {
| props: {
| // 步骤下标
| modelValue: Number
| },
| emits: ['update:modelValue'],
| data() {
| return {
|
| };
| },
| methods: {
| // 跳转下一步
| nextStep() {
| this.$emit('update:modelValue', this.modelValue + 1);
| },
| // 跳转下一步
| lastStep() {
| this.$emit('update:modelValue', this.modelValue - 1);
| }
| }
| };
| </script>
|
|