feat:
This commit is contained in:
parent
e9abfd6f45
commit
d7f7f599e8
@ -5,7 +5,7 @@
|
|||||||
<el-progress v-bind="$attrs" :percentage="row[value_field]"></el-progress
|
<el-progress v-bind="$attrs" :percentage="row[value_field]"></el-progress
|
||||||
></template>
|
></template>
|
||||||
<div>
|
<div>
|
||||||
<el-row v-for="item in view_card"
|
<el-row v-for="(item, index) in view_card" :key="index"
|
||||||
><el-col :span="6">{{ item.title }}</el-col
|
><el-col :span="6">{{ item.title }}</el-col
|
||||||
><el-col :span="18"> <span class="value" :innerHTML="value_html(item)"> </span></el-col
|
><el-col :span="18"> <span class="value" :innerHTML="value_html(item)"> </span></el-col
|
||||||
></el-row>
|
></el-row>
|
||||||
|
|||||||
@ -89,7 +89,8 @@ const active = ref(0)
|
|||||||
const successInfo = ref<any>(null)
|
const successInfo = ref<any>(null)
|
||||||
|
|
||||||
async function next() {
|
async function next() {
|
||||||
if (await StepFirstRef.value.onSubmit()) {
|
console.log(StepFirstRef.value)
|
||||||
|
if (await StepFirstRef.value?.onSubmit()) {
|
||||||
if (active.value++ > 2) active.value = 0
|
if (active.value++ > 2) active.value = 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -104,7 +105,7 @@ function clearStore() {
|
|||||||
function submit() {
|
function submit() {
|
||||||
loading.value = true
|
loading.value = true
|
||||||
const documents = [] as any[]
|
const documents = [] as any[]
|
||||||
StepSecondRef.value.paragraphList.map((item: any) => {
|
StepSecondRef.value?.paragraphList.map((item: any) => {
|
||||||
documents.push({
|
documents.push({
|
||||||
name: item.name,
|
name: item.name,
|
||||||
paragraphs: item.content
|
paragraphs: item.content
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user