xiaohaizhao 2 месяцев назад
Родитель
Сommit
331089327d
2 измененных файлов с 12 добавлено и 1 удалено
  1. 1 1
      components/My-shade/My-shade.vue
  2. 11 0
      pages/bookingService/index.vue

+ 1 - 1
components/My-shade/My-shade.vue

@@ -25,7 +25,7 @@ let show = ref(false);
 onShow(() => {
     show.value = !$Http.isLoad;
     setTimeout(() => {
-        show.value = false;
+        show.value = !$Http.isLoad;
     }, 1000);
 });
 

+ 11 - 0
pages/bookingService/index.vue

@@ -248,6 +248,16 @@ function save() {
                                 uni.navigateBack();
                             },
                         })
+                        $Http.basic({
+                            id: 20230206101403,
+                            content: {
+                                sa_serviceorderid: res.data.sa_serviceorderid,
+                                backreason: "",
+                                issumbit: 1
+                            }
+                        }).then(res => {
+                            console.log("提交工单", res);
+                        })
                     }
                 }).catch(err => {
                     loading.value = false;
@@ -325,6 +335,7 @@ function changeItem(item) {
 }
 
 import { BrowserMultiFormatReader } from '@zxing/library';
+import http from '../../uni_modules/uview-plus/libs/function/http';
 function openScan() {
     uni.chooseImage({
         count: 1,