|
|
@ -4,6 +4,7 @@ import one from './content/one.vue'
|
|
|
|
import { useRoute, useRouter } from 'vue-router'
|
|
|
|
import { useRoute, useRouter } from 'vue-router'
|
|
|
|
import two from './content/two.vue'
|
|
|
|
import two from './content/two.vue'
|
|
|
|
import three from './content/three.vue'
|
|
|
|
import three from './content/three.vue'
|
|
|
|
|
|
|
|
import complete from './content/complete.vue'
|
|
|
|
import {computed, ref} from "vue";
|
|
|
|
import {computed, ref} from "vue";
|
|
|
|
const route = useRoute()
|
|
|
|
const route = useRoute()
|
|
|
|
const router = useRouter()
|
|
|
|
const router = useRouter()
|
|
|
@ -17,6 +18,8 @@ const contentComputed = computed(() => {
|
|
|
|
return two
|
|
|
|
return two
|
|
|
|
case 2:
|
|
|
|
case 2:
|
|
|
|
return three
|
|
|
|
return three
|
|
|
|
|
|
|
|
case 3:
|
|
|
|
|
|
|
|
return complete
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
const stepsClick = (item) => {
|
|
|
|
const stepsClick = (item) => {
|
|
|
@ -46,6 +49,10 @@ const stepsClick = (item) => {
|
|
|
|
active.value=1
|
|
|
|
active.value=1
|
|
|
|
router.replace(`/title-forward/upload-id-card/${1}`)
|
|
|
|
router.replace(`/title-forward/upload-id-card/${1}`)
|
|
|
|
buttons.value = [{label: "上一步", type: "back"}, {label: "下一步", type: "next"}]
|
|
|
|
buttons.value = [{label: "上一步", type: "back"}, {label: "下一步", type: "next"}]
|
|
|
|
|
|
|
|
}else if (item.type === 'submit'){
|
|
|
|
|
|
|
|
active.value=3
|
|
|
|
|
|
|
|
router.replace(`/title-forward/upload-id-card/${3}`)
|
|
|
|
|
|
|
|
buttons.value = [{label: "完成", type: "finish"}]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
break
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|