소스 검색

服务评价功能迭代

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(() => {});