|
@@ -1,80 +1,78 @@
|
|
|
<template>
|
|
|
- <PageWrapper dense contentFullHeight fixedHeight contentClass="flex">
|
|
|
- <div class="page-dsion">
|
|
|
- <div class="page-dsion-header">
|
|
|
- <Steps :percent="60" :current="state.stepIndex" :items="state.stepItems" type="navigation">
|
|
|
- <Steps.Step v-for="(item, index) in state.stepItems" :key="index">
|
|
|
- <template #title>{{ item.title }}</template>
|
|
|
- </Steps.Step>
|
|
|
- </Steps>
|
|
|
- </div>
|
|
|
- <div class="page-dsion-body">
|
|
|
- <DsionStep1
|
|
|
- ref="dsionStep1Ref"
|
|
|
- :taskId="taskId"
|
|
|
- :status="status"
|
|
|
- v-show="state.stepIndex === 0"
|
|
|
- />
|
|
|
- <DsionStep6
|
|
|
- ref="dsionStep6Ref"
|
|
|
- :taskId="taskId"
|
|
|
- :status="status"
|
|
|
- v-show="state.stepIndex === 1"
|
|
|
- />
|
|
|
- <DsionStep2
|
|
|
- ref="dsionStep2Ref"
|
|
|
- :taskId="taskId"
|
|
|
- :status="status"
|
|
|
- v-show="state.stepIndex === 2"
|
|
|
- />
|
|
|
- <DsionStep3
|
|
|
- ref="dsionStep3Ref"
|
|
|
- :taskId="taskId"
|
|
|
- :status="status"
|
|
|
- v-show="state.stepIndex === 3"
|
|
|
- />
|
|
|
- <DsionStep4
|
|
|
- ref="dsionStep4Ref"
|
|
|
- :taskId="taskId"
|
|
|
- :status="status"
|
|
|
- v-show="state.stepIndex === 4"
|
|
|
- />
|
|
|
- <DsionStep5
|
|
|
- ref="dsionStep5Ref"
|
|
|
- :taskId="taskId"
|
|
|
- :status="status"
|
|
|
- v-show="state.stepIndex === 5"
|
|
|
- @success="handleSubmit"
|
|
|
- />
|
|
|
- </div>
|
|
|
- <div class="page-dsion-floor">
|
|
|
- <a-button v-show="state.stepIndex !== 0" @click="handleStep(0)" class="ml-[24px]">
|
|
|
- 上一步
|
|
|
- </a-button>
|
|
|
- <a-button
|
|
|
- v-show="state.stepIndex !== 5"
|
|
|
- type="primary"
|
|
|
- @click="handleStep(1)"
|
|
|
- class="ml-[24px]"
|
|
|
- >
|
|
|
- 下一步
|
|
|
- </a-button>
|
|
|
- <a-button
|
|
|
- v-show="state.stepIndex === 5"
|
|
|
- type="primary"
|
|
|
- class="ml-[24px]"
|
|
|
- :disabled="status === 1"
|
|
|
- @click="handleSubmit"
|
|
|
- >
|
|
|
- 确认
|
|
|
- </a-button>
|
|
|
- </div>
|
|
|
+ <div class="page-dsion">
|
|
|
+ <div class="page-dsion-header">
|
|
|
+ <Steps :percent="60" :current="state.stepIndex" :items="state.stepItems" type="navigation">
|
|
|
+ <Steps.Step v-for="(item, index) in state.stepItems" :key="index">
|
|
|
+ <template #title>{{ item.title }}</template>
|
|
|
+ </Steps.Step>
|
|
|
+ </Steps>
|
|
|
</div>
|
|
|
- </PageWrapper>
|
|
|
+ <div class="page-dsion-body">
|
|
|
+ <DsionStep1
|
|
|
+ ref="dsionStep1Ref"
|
|
|
+ :taskId="taskId"
|
|
|
+ :status="status"
|
|
|
+ v-show="state.stepIndex === 0"
|
|
|
+ />
|
|
|
+ <DsionStep6
|
|
|
+ ref="dsionStep6Ref"
|
|
|
+ :taskId="taskId"
|
|
|
+ :status="status"
|
|
|
+ v-show="state.stepIndex === 1"
|
|
|
+ />
|
|
|
+ <DsionStep2
|
|
|
+ ref="dsionStep2Ref"
|
|
|
+ :taskId="taskId"
|
|
|
+ :status="status"
|
|
|
+ v-show="state.stepIndex === 2"
|
|
|
+ />
|
|
|
+ <DsionStep3
|
|
|
+ ref="dsionStep3Ref"
|
|
|
+ :taskId="taskId"
|
|
|
+ :status="status"
|
|
|
+ v-show="state.stepIndex === 3"
|
|
|
+ />
|
|
|
+ <DsionStep4
|
|
|
+ ref="dsionStep4Ref"
|
|
|
+ :taskId="taskId"
|
|
|
+ :status="status"
|
|
|
+ v-show="state.stepIndex === 4"
|
|
|
+ />
|
|
|
+ <DsionStep5
|
|
|
+ ref="dsionStep5Ref"
|
|
|
+ :taskId="taskId"
|
|
|
+ :status="status"
|
|
|
+ v-show="state.stepIndex === 5"
|
|
|
+ @success="handleSubmit"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ <div class="page-dsion-floor">
|
|
|
+ <a-button v-show="state.stepIndex !== 0" @click="handleStep(0)" class="ml-[24px]">
|
|
|
+ 上一步
|
|
|
+ </a-button>
|
|
|
+ <a-button
|
|
|
+ v-show="state.stepIndex !== 5"
|
|
|
+ type="primary"
|
|
|
+ @click="handleStep(1)"
|
|
|
+ class="ml-[24px]"
|
|
|
+ >
|
|
|
+ 下一步
|
|
|
+ </a-button>
|
|
|
+ <a-button
|
|
|
+ v-show="state.stepIndex === 5"
|
|
|
+ type="primary"
|
|
|
+ class="ml-[24px]"
|
|
|
+ :disabled="status === 1"
|
|
|
+ @click="handleSubmit"
|
|
|
+ >
|
|
|
+ 确认
|
|
|
+ </a-button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
- import { PageWrapper } from '/@/components/Page';
|
|
|
+ // import { PageWrapper } from '/@/components/Page';
|
|
|
import { Steps } from 'ant-design-vue';
|
|
|
import { reactive, onMounted, ref } from 'vue';
|
|
|
import DsionStep1 from './components/DsionStep1.vue';
|
|
@@ -83,8 +81,8 @@
|
|
|
import DsionStep4 from './components/DsionStep4.vue';
|
|
|
import DsionStep5 from './components/DsionStep5.vue';
|
|
|
import DsionStep6 from './components/DsionStep6.vue';
|
|
|
- import { postBandingTaskSure } from '/@/services/apis/BandingTaskController';
|
|
|
- import { useMessage } from '/@/hooks/web/useMessage';
|
|
|
+ // import { postBandingTaskSure } from '/@/services/apis/BandingTaskController';
|
|
|
+ // import { useMessage } from '/@/hooks/web/useMessage';
|
|
|
|
|
|
const props = defineProps({
|
|
|
taskId: { type: String, default: '' },
|
|
@@ -92,7 +90,7 @@
|
|
|
});
|
|
|
|
|
|
const emits = defineEmits(['success']);
|
|
|
- const { createMessage } = useMessage();
|
|
|
+ // const { createMessage } = useMessage();
|
|
|
|
|
|
const dsionStep1Ref = ref<ElRef>(null);
|
|
|
const dsionStep2Ref = ref<ElRef>(null);
|
|
@@ -158,6 +156,8 @@
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
position: relative;
|
|
|
+ overflow: hidden;
|
|
|
+ padding: 0;
|
|
|
|
|
|
&-header {
|
|
|
margin: 0 auto;
|
|
@@ -171,7 +171,7 @@
|
|
|
// display: flex;
|
|
|
position: relative;
|
|
|
// display: inline-block;
|
|
|
- overflow: auto;
|
|
|
+ overflow: hidden;
|
|
|
}
|
|
|
|
|
|
&-floor {
|