|
@@ -8,6 +8,7 @@ import md5 from 'md5'
|
|
|
import { getUserInfo } from './util.js'
|
|
|
|
|
|
import { goLoginPage } from '@/mixins/index.js'
|
|
|
+import api from '@/common/http/'
|
|
|
|
|
|
import { setStorage, getStorage, removeStorage } from '@/common/utils/storage.js'
|
|
|
|
|
@@ -24,7 +25,7 @@ export const navToPage = (function () {
|
|
|
) {
|
|
|
if (
|
|
|
(
|
|
|
- await this.$api.post('/worker/check/manual/sign/confirm', {
|
|
|
+ await api.post('/worker/check/manual/sign/confirm', {
|
|
|
type: 'gz'
|
|
|
})
|
|
|
)?.data
|
|
@@ -62,7 +63,7 @@ export const navToPage = (function () {
|
|
|
) {
|
|
|
if (
|
|
|
(
|
|
|
- await this.$api.post('/worker/check/manual/sign/confirm', {
|
|
|
+ await api.post('/worker/check/manual/sign/confirm', {
|
|
|
type: 'fs'
|
|
|
})
|
|
|
)?.data
|