|
@@ -153,10 +153,10 @@
|
|
<span class="userInfoLeft">{{ $t("user.diyPassword") }}: </span>
|
|
<span class="userInfoLeft">{{ $t("user.diyPassword") }}: </span>
|
|
<div>
|
|
<div>
|
|
<van-field class="relationClass" v-model="diyPassword" :placeholder="$t('user.diyPasswordPlace')">
|
|
<van-field class="relationClass" v-model="diyPassword" :placeholder="$t('user.diyPasswordPlace')">
|
|
-
|
|
|
|
|
|
+
|
|
<template #button>
|
|
<template #button>
|
|
<van-button type="primary" @click="mailboxChg(diyPassword, 6)">{{
|
|
<van-button type="primary" @click="mailboxChg(diyPassword, 6)">{{
|
|
- $t("user.confirmLog") }}
|
|
|
|
|
|
+ $t("user.confirmLog") }}
|
|
</van-button>
|
|
</van-button>
|
|
</template>
|
|
</template>
|
|
</van-field>
|
|
</van-field>
|
|
@@ -174,8 +174,8 @@
|
|
<div v-if="chaSzPayShow" class="userInfo l-flex-between">
|
|
<div v-if="chaSzPayShow" class="userInfo l-flex-between">
|
|
<span class="userInfoLeft">{{ $t("user.szPayType") }}: </span>
|
|
<span class="userInfoLeft">{{ $t("user.szPayType") }}: </span>
|
|
<div class="cust_vantBorder o-pl-5">
|
|
<div class="cust_vantBorder o-pl-5">
|
|
- <van-switch :model-value="sunzeePay" active-color="#0090fa" inactive-color="#30c25c" style="font-size: 0.5rem;"
|
|
|
|
- @update:model-value="changeSunzeePay" />
|
|
|
|
|
|
+ <van-switch :model-value="sunzeePay" active-color="#0090fa" inactive-color="#30c25c"
|
|
|
|
+ style="font-size: 0.5rem;" @update:model-value="changeSunzeePay" />
|
|
</div>
|
|
</div>
|
|
<span class="o-pl-10">{{ $t("user.currentChoose") }}: {{ sunzeePay ? "汇付" : "汇聚" }}</span>
|
|
<span class="o-pl-10">{{ $t("user.currentChoose") }}: {{ sunzeePay ? "汇付" : "汇聚" }}</span>
|
|
</div>
|
|
</div>
|
|
@@ -183,8 +183,8 @@
|
|
<div v-if="chaScPayShow" class="userInfo l-flex-between">
|
|
<div v-if="chaScPayShow" class="userInfo l-flex-between">
|
|
<span class="userInfoLeft">{{ $t("user.scPayType") }}: </span>
|
|
<span class="userInfoLeft">{{ $t("user.scPayType") }}: </span>
|
|
<div class="cust_vantBorder o-pl-5">
|
|
<div class="cust_vantBorder o-pl-5">
|
|
- <van-switch :model-value="sevencloudPay" active-color="#0090fa" inactive-color="#30c25c" style="font-size: 0.5rem;"
|
|
|
|
- @update:model-value="changeSevenCloudPay" />
|
|
|
|
|
|
+ <van-switch :model-value="sevencloudPay" active-color="#0090fa" inactive-color="#30c25c"
|
|
|
|
+ style="font-size: 0.5rem;" @update:model-value="changeSevenCloudPay" />
|
|
</div>
|
|
</div>
|
|
<span class="o-pl-10">{{ $t("user.currentChoose") }}: {{ sevencloudPay ? "汇付" : "汇聚" }}</span>
|
|
<span class="o-pl-10">{{ $t("user.currentChoose") }}: {{ sevencloudPay ? "汇付" : "汇聚" }}</span>
|
|
</div>
|
|
</div>
|
|
@@ -697,7 +697,36 @@ export default {
|
|
router.push({ path: "uniPay" });
|
|
router.push({ path: "uniPay" });
|
|
};
|
|
};
|
|
const onperExitSys = () => {
|
|
const onperExitSys = () => {
|
|
- kDialogRef.value.openDialog();
|
|
|
|
|
|
+ // kDialogRef.value.openDialog();
|
|
|
|
+ showConfirmDialog({
|
|
|
|
+ title: t('user.tips'),
|
|
|
|
+ message: t('user.logOutContent'),
|
|
|
|
+ }).then(() => {
|
|
|
|
+ // 获取缓存的语言
|
|
|
|
+ const savedCredentials = localStorage.getItem('savedCredentials');
|
|
|
|
+ const curLang = localStorage.getItem("curLang");
|
|
|
|
+ // 清空缓存
|
|
|
|
+ localStorage.clear();
|
|
|
|
+ localStorage.setItem("curLang", curLang);
|
|
|
|
+ if (savedCredentials) {
|
|
|
|
+ localStorage.setItem('savedCredentials', savedCredentials);
|
|
|
|
+ }
|
|
|
|
+ if (sys.value) {
|
|
|
|
+ setTimeout(() => {
|
|
|
|
+ router.push({
|
|
|
|
+ path: "login",
|
|
|
|
+ query: { relation_admin_id: sys.value.relationAdminId },
|
|
|
|
+ });
|
|
|
|
+ }, 200);
|
|
|
|
+ } else {
|
|
|
|
+ setTimeout(() => {
|
|
|
|
+ router.push({ path: "login" });
|
|
|
|
+ }, 200);
|
|
|
|
+ }
|
|
|
|
+ }).catch((error) => {
|
|
|
|
+ console.error(error);
|
|
|
|
+ })
|
|
|
|
+
|
|
};
|
|
};
|
|
const pushPageList = (url) => {
|
|
const pushPageList = (url) => {
|
|
router.push({ path: url });
|
|
router.push({ path: url });
|