فهرست منبع

服务评价功能迭代

fanghuisheng 1 سال پیش
والد
کامیت
1dddf607a2
1فایلهای تغییر یافته به همراه10 افزوده شده و 0 حذف شده
  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(() => {});