瀏覽代碼

静态页面

1002884655 4 年之前
父節點
當前提交
4a12ab7c67

+ 1
- 1
src/components/WuYeBaoXiu/index.jsx 查看文件

@@ -59,7 +59,7 @@ export default function WuYeBaoXiu (props) {
59 59
         ApiName='getGongDanList'
60 60
         ListName='pagelist'
61 61
         RequestUrlData={{ orgId: user.orgId }}
62
-        RequestParams={{ type: 2, taUserVerifyId: user.roomId }}
62
+        RequestParams={{ type: 2, taUserVerifyId: user.roomId, communityId: user.communityId }}
63 63
         Refresh={Refresh}
64 64
         Push={Push}
65 65
         KeepChildren={

+ 1
- 1
src/components/WuYeGongGao/index.jsx 查看文件

@@ -49,7 +49,7 @@ export default function WuYeGongGao () {
49 49
         IsEmpty={IsEmpty}
50 50
         ApiName={`getGongGaoList`}
51 51
         RequestUrlData={{ orgId: user.orgId }}
52
-        RequestParams={{ taUserVerifyId: user.communityId }}
52
+        RequestParams={{ taUserVerifyId: user.roomId, communityId: user.communityId }}
53 53
         Refresh={Refresh}
54 54
         Push={Push}
55 55
         KeepChildren={

+ 1
- 1
src/components/WuYeJiaoFei/index.jsx 查看文件

@@ -137,7 +137,7 @@ export default function WuYeJiaoFei () {
137 137
             ApiName={`getJiaoFeiList`}
138 138
             ListName={`list`}
139 139
             RequestUrlData={{ type: 0 }}
140
-            RequestParams={{ taUserVerifyId: user.roomId }}
140
+            RequestParams={{ taUserVerifyId: user.roomId, communityId: user.communityId }}
141 141
             Refresh={Refresh}
142 142
             Push={Push}
143 143
             Reset={ToReset}

+ 1
- 1
src/pages/ShouYe/index.jsx 查看文件

@@ -103,7 +103,7 @@ export default function Index () {
103 103
   }
104 104
 
105 105
   const GetNotice = () => { // 获取通知
106
-    request({ ...apis.getGongGaoList, args: { orgId: 1 }, params: { annType: 'notice', pageNum: 1, pageSize: 1, taUserVerifyId: user.communityId } }).then((res) => {
106
+    request({ ...apis.getGongGaoList, args: { orgId: 1 }, params: { annType: 'notice', pageNum: 1, pageSize: 1, communityId: user.communityId } }).then((res) => {
107 107
       setNoticeInfo(res.records[0])
108 108
       if (res.records !== null && res.records.length > 0) {
109 109
         setShowNotice(true)

+ 1
- 1
src/pages/WoDe/YeZhuShenHe/index.jsx 查看文件

@@ -29,7 +29,7 @@ export default function YeZhuShenHe () {
29 29
   }
30 30
 
31 31
   const GetWuYePhoneList = () => { // 获取物业电话
32
-    request({ ...apis.getWuYePhone, params: { type: 'prop' } }).then((res) => {
32
+    request({ ...apis.getWuYePhone, params: { type: 'prop', communityId: user.communityId, taUserVerifyId: user.roomId } }).then((res) => {
33 33
       setPhoneList(res || [])
34 34
     })
35 35
   }

+ 1
- 1
src/pages/WuYe/BaoXiuDetail/index.jsx 查看文件

@@ -49,7 +49,7 @@ export default function BaoXiuDetail () {
49 49
   const Init = () => {
50 50
     request({ ...apis.getGongDanDetail, args: { orgId: user.orgId }, params: { ticketId: CurrnetBaoXiuId } }).then((res) => { // 获取工单详情
51 51
       setDetailInfo(res)
52
-      request({ ...apis.getWuYePhone, params: { type: 'prop' } }).then((cRes) => { // 获取物业电话
52
+      request({ ...apis.getWuYePhone, params: { type: 'prop', communityId: user.communityId, taUserVerifyId: user.roomId } }).then((cRes) => { // 获取物业电话
53 53
         setPhoneList(cRes || [])
54 54
       })
55 55
     })

+ 3
- 1
src/pages/WuYe/GongGongFuWu/index.jsx 查看文件

@@ -3,16 +3,18 @@ import Page from '@/layouts'
3 3
 import Taro from '@tarojs/taro'
4 4
 import request, { apis } from '@/utils/request'
5 5
 // import { Input } from '@tarojs/components'
6
+import { useModel } from '@/store'
6 7
 import '@/assets/css/reset.less'
7 8
 import '@/assets/css/iconfont.less'
8 9
 import './index.less'
9 10
 
10 11
 export default function GongGongFuWu () {
11 12
 
13
+  const { user } = useModel('user')
12 14
   const [PageList, setPageList] = useState([])
13 15
 
14 16
   useEffect(() => {
15
-    request({ ...apis.getWuYePhone, params: { type: 'common' } }).then((res) => { // 获取公共电话
17
+    request({ ...apis.getWuYePhone, params: { type: 'common', communityId: user.communityId, taUserVerifyId: user.roomId } }).then((res) => { // 获取公共电话
16 18
       setPageList(res || [])
17 19
     })
18 20
   }, [])

+ 1
- 1
src/pages/WuYe/JiaoFeiDetail/index.jsx 查看文件

@@ -103,7 +103,7 @@ export default function JiaoFeiDetail () {
103 103
   }
104 104
 
105 105
   const Init = () => {
106
-    request({ ...apis.getWuYePhone, params: { type: 'prop' } }).then((res) => { // 获取物业电话
106
+    request({ ...apis.getWuYePhone, params: { type: 'prop', communityId: user.communityId, taUserVerifyId: user.roomId } }).then((res) => { // 获取物业电话
107 107
       setPhoneList(res || [])
108 108
     })
109 109
   }

+ 4
- 3
src/pages/WuYe/ShengHuoGuanJia/index.jsx 查看文件

@@ -50,7 +50,8 @@ export default () => {
50 50
           orgId: user.orgId,
51 51
           personId: user.personId,
52 52
           score: StarIndex + 1,
53
-          userId: CurrentUser.userId
53
+          userId: CurrentUser.userId,
54
+          communityId: user.communityId
54 55
         }
55 56
       }).then(() => {
56 57
         Taro.showToast({ title: '评价成功', icon: 'none' })
@@ -65,7 +66,7 @@ export default () => {
65 66
 
66 67
   return (
67 68
     <Page>
68
-      <view className='ScorePopup' style={{display: CurrentUser === null ? 'none' : 'block'}}>
69
+      <view className='ScorePopup' style={{ display: CurrentUser === null ? 'none' : 'block' }}>
69 70
         <view className='centerLabel'>
70 71
           <view>
71 72
             <view className='Title'>
@@ -94,7 +95,7 @@ export default () => {
94 95
           </view>
95 96
         </view>
96 97
       </view>
97
-      <ScrollPageRefresh RefreshBg='#f8f8f8' IsEmpty={IsEmpty} ApiName='getShengHuoGuanJiaList' Refresh={Refresh} Push={Push}>
98
+      <ScrollPageRefresh RefreshBg='#f8f8f8' IsEmpty={IsEmpty} ApiName='getShengHuoGuanJiaList' RequestParams={{ taUserVerifyId: user.roomId, communityId: user.communityId }} Refresh={Refresh} Push={Push}>
98 99
         <view className='shgj'>
99 100
           {
100 101
             PageList.map(item => <Card key={item.userId} dataSource={item} PostScore={PostScore} />)

+ 2
- 1
src/pages/WuYe/TianJiaBaoXiu/index.jsx 查看文件

@@ -50,7 +50,8 @@ export default function WuYeTianJiaBaoXiu () {
50 50
         type: 2,
51 51
         repairType: repairType.typeId,
52 52
         imageUrl: PhotoUrl,
53
-        taUserVerifyId: user.roomId
53
+        taUserVerifyId: user.roomId,
54
+        communityId: user.communityId
54 55
       }
55 56
     }).then((res) => {
56 57
       Taro.showToast({ title: '报修提交成功', icon: 'none' })