1002884655 4 gadus atpakaļ
vecāks
revīzija
bf581a0669
2 mainītis faili ar 4 papildinājumiem un 3 dzēšanām
  1. 1
    1
      project.config.json
  2. 3
    2
      src/pages/WuYe/TianJiaBaoXiu/index.jsx

+ 1
- 1
project.config.json Parādīt failu

@@ -28,7 +28,7 @@
28 28
 		},
29 29
 		"bundle": false,
30 30
 		"useIsolateContext": true,
31
-		"useCompilerModule": false,
31
+		"useCompilerModule": true,
32 32
 		"userConfirmedUseCompilerModuleSwitch": false,
33 33
 		"useMultiFrameRuntime": false,
34 34
 		"useApiHook": true,

+ 3
- 2
src/pages/WuYe/TianJiaBaoXiu/index.jsx Parādīt failu

@@ -44,13 +44,14 @@ export default function WuYeTianJiaBaoXiu () {
44 44
     setDataLock(true)
45 45
     request({
46 46
       ...apis.AddGongDan,
47
-      params: { taUserVerifyId: user.roomId },
48 47
       data: {
49 48
         ticketTitle: Title,
50 49
         ticketContent: Desc,
51 50
         type: 2,
52 51
         repairType: repairType.typeId,
53
-        imageUrl: PhotoUrl
52
+        imageUrl: PhotoUrl,
53
+        communityId: user.communityId,
54
+        taUserVerifyId: user.roomId
54 55
       }
55 56
     }).then((res) => {
56 57
       Taro.showToast({ title: '报修提交成功', icon: 'none' })