|
@@ -23,9 +23,11 @@ export const navToPage = (function () {
|
|
|
!['/pages/index/index', '/pages/repairConfirmation'].find(item => !!~url.indexOf(item))
|
|
|
) {
|
|
|
if (
|
|
|
- await this.$api.post('/worker/check/manual/sign/confirm', {
|
|
|
- type: 'gz'
|
|
|
- }).data
|
|
|
+ (
|
|
|
+ await this.$api.post('/worker/check/manual/sign/confirm', {
|
|
|
+ type: 'gz'
|
|
|
+ })
|
|
|
+ )?.data
|
|
|
) {
|
|
|
uni.showModal({
|
|
|
title: '温馨提示',
|
|
@@ -59,9 +61,11 @@ export const navToPage = (function () {
|
|
|
!['/pages/index/index', '/pages/repairConfirmation'].find(item => !!~url.indexOf(item))
|
|
|
) {
|
|
|
if (
|
|
|
- await this.$api.post('/worker/check/manual/sign/confirm', {
|
|
|
- type: 'fs'
|
|
|
- }).data
|
|
|
+ (
|
|
|
+ await this.$api.post('/worker/check/manual/sign/confirm', {
|
|
|
+ type: 'fs'
|
|
|
+ })
|
|
|
+ )?.data
|
|
|
) {
|
|
|
uni.showModal({
|
|
|
title: '温馨提示',
|