瀏覽代碼

服务评价功能迭代

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