1002884655 il y a 4 ans
Parent
révision
bf581a0669
2 fichiers modifiés avec 4 ajouts et 3 suppressions
  1. 1
    1
      project.config.json
  2. 3
    2
      src/pages/WuYe/TianJiaBaoXiu/index.jsx

+ 1
- 1
project.config.json Voir le fichier

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

+ 3
- 2
src/pages/WuYe/TianJiaBaoXiu/index.jsx Voir le fichier

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