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
40
41
42
43
44
45
| <template>
| <el-card shadow="never">
| <template #header>
| <div><el-text tag="b" size="large">条目豁免</el-text></div>
| <el-text size="small" type="info">自定义设置此次评估不参与计算的条目</el-text>
| </template>
| 豁免条目功能暂未完成,请直接点击下一步
| <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', 'change'],
| data() {
| return {
| // 豁免条目
| exemptionItems: []
| };
| },
| methods: {
| // 跳转下一步
| nextStep() {
| this.$emit('change', this.exemptionItems);
| this.$emit('update:modelValue', this.modelValue + 1);
| },
| // 跳转下一步
| lastStep() {
| this.$emit('update:modelValue', this.modelValue - 1);
| }
| }
| };
| </script>
|
|