Sfoglia il codice sorgente

服务评价功能迭代

fanghuisheng 1 anno fa
parent
commit
1dddf607a2
1 ha cambiato i file con 10 aggiunte e 0 eliminazioni
  1. 10 0
      src/pages/common/evaluate/index.vue

+ 10 - 0
src/pages/common/evaluate/index.vue

@@ -94,6 +94,16 @@ onLoad((options) => {
   if ("repairCode" in options) {
     repairCode.value = options.repairCode;
   }
+
+  score({
+    repairCode: repairCode.value,
+  })
+    .then((requset) => {})
+    .catch((error) => {
+      //#ifdef H5
+      window.history.back();
+      //#endif
+    });
 });
 
 onReady(() => {});