|
123456789101112131415161718192021222324252627282930313233 |
- import { confirmBreachContract } from '@/utils/network/api.js'
-
- // 注销确认
- export const logOffConfirm = (params) => {
- let option = {
- data: params,
- method: "POST",
- showLoading: false,
- }
- uni.showLoading({
- title: '注销中...'
- })
- requestNew(confirmBreachContract, option).then(res => {
- uni.hideLoading()
- uni.showToast({
- title: '注销成功'
- })
- setTimeout(() => {
- uni.switchTab({
- url: '/pages/service/service'
- })
- }, 1000)
- }).catch(() => {
- uni.hideLoading()
- })
- }
-
- // 注销完成
- export const logOffOver = () => {
- uni.reLaunch({
- url: "/pages/common/submit-result?tipText=" + "注销完成,请等待审核"
- })
- }
|