|
@@ -34,6 +34,7 @@
|
|
|
</view>
|
|
</view>
|
|
|
<cwg-empty-state v-if="!loading && accounts.length == 0" />
|
|
<cwg-empty-state v-if="!loading && accounts.length == 0" />
|
|
|
<DeleteAccountDialogs ref="deleteAccountDialogRef" v-model:visible="deleteAccountDialogVisible" />
|
|
<DeleteAccountDialogs ref="deleteAccountDialogRef" v-model:visible="deleteAccountDialogVisible" />
|
|
|
|
|
+ <cwg-improve-popup v-model:visible="dialogCheck" @confirm="confirm" />
|
|
|
</view>
|
|
</view>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -188,6 +189,7 @@ watch(cativeIndex, (newVal) => {
|
|
|
})
|
|
})
|
|
|
const loading = ref(false)
|
|
const loading = ref(false)
|
|
|
// 获取客户登录信息
|
|
// 获取客户登录信息
|
|
|
|
|
+const dialogCheck = ref(false)
|
|
|
async function getCustomLoginInfo() {
|
|
async function getCustomLoginInfo() {
|
|
|
try {
|
|
try {
|
|
|
const res = await userApi.getUserInfo();
|
|
const res = await userApi.getUserInfo();
|
|
@@ -199,13 +201,19 @@ async function getCustomLoginInfo() {
|
|
|
) {
|
|
) {
|
|
|
router.push(`/pages/customer/account-select?server=${cativeIndex.value == 1 ? 'demo' : 'real'}`)
|
|
router.push(`/pages/customer/account-select?server=${cativeIndex.value == 1 ? 'demo' : 'real'}`)
|
|
|
} else {
|
|
} else {
|
|
|
- // this.dialogCheck = true;
|
|
|
|
|
|
|
+ dialogCheck.value = true;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
} catch (error) {
|
|
} catch (error) {
|
|
|
// console.log(error, 111);
|
|
// console.log(error, 111);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+const confirm = () => {
|
|
|
|
|
+ dialogCheck.value = false;
|
|
|
|
|
+ router.push(`/pages/mine/improveImmediately`)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
const AccountList = ref([])
|
|
const AccountList = ref([])
|
|
|
const getAccountList = async () => {
|
|
const getAccountList = async () => {
|
|
|
AccountList.value = []
|
|
AccountList.value = []
|