|
@@ -1,6 +1,6 @@
|
|
<template>
|
|
<template>
|
|
<scroll-view class="scroll-height" :scroll-y="true" :data-theme="'theme-' + proxy.$settingStore.themeColor.name">
|
|
<scroll-view class="scroll-height" :scroll-y="true" :data-theme="'theme-' + proxy.$settingStore.themeColor.name">
|
|
- <view id="facilitiesGather" v-if="!successBool">
|
|
|
|
|
|
+ <view id="facilitiesGather">
|
|
<view class="centerOne">
|
|
<view class="centerOne">
|
|
<!-- <view class="title"> </view> -->
|
|
<!-- <view class="title"> </view> -->
|
|
|
|
|
|
@@ -85,7 +85,7 @@
|
|
</view>
|
|
</view>
|
|
</u--form>
|
|
</u--form>
|
|
|
|
|
|
- <view style="padding-bottom: 100px"> </view>
|
|
|
|
|
|
+ <view class="app-padding-bottom"> </view>
|
|
|
|
|
|
<view class="app-button-fixed">
|
|
<view class="app-button-fixed">
|
|
<view class="app-flex">
|
|
<view class="app-flex">
|
|
@@ -110,13 +110,6 @@
|
|
@change="changeHandler"
|
|
@change="changeHandler"
|
|
></u-picker>
|
|
></u-picker>
|
|
</view>
|
|
</view>
|
|
-
|
|
|
|
- <view v-else>
|
|
|
|
- <view style="display: flex">
|
|
|
|
- <image style="width: 120px; height: 120px; margin: 50px auto 20px auto" src="@/static/images/unitInfoCollection/success.png" />
|
|
|
|
- </view>
|
|
|
|
- <view style="text-align: center; font-weight: 600">提交成功</view>
|
|
|
|
- </view>
|
|
|
|
</scroll-view>
|
|
</scroll-view>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -247,7 +240,6 @@ const dataList = reactive({
|
|
const { sexList, form, rules, actionIndex, actionIndex1, actionTitle, actionShow, actionDefaultIndex, actionsList } = toRefs(dataList);
|
|
const { sexList, form, rules, actionIndex, actionIndex1, actionTitle, actionShow, actionDefaultIndex, actionsList } = toRefs(dataList);
|
|
|
|
|
|
const uForm = ref(null);
|
|
const uForm = ref(null);
|
|
-const successBool = ref(false);
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
* @初始化
|
|
* @初始化
|
|
@@ -387,7 +379,11 @@ function handleSubmit(type) {
|
|
param.extendData.push({ key: el.key, value: el.value });
|
|
param.extendData.push({ key: el.key, value: el.value });
|
|
});
|
|
});
|
|
|
|
|
|
- add(param).then((requset) => {});
|
|
|
|
|
|
+ add(param).then((requset) => {
|
|
|
|
+ if (requset.status === "SUCCESS") {
|
|
|
|
+ proxy.$tab.navigateTo(`/pages/common/success/index?showNow=${false}`);
|
|
|
|
+ }
|
|
|
|
+ });
|
|
})
|
|
})
|
|
.catch((errors) => {
|
|
.catch((errors) => {
|
|
uni.$u.toast("校验失败");
|
|
uni.$u.toast("校验失败");
|