张涛 před 2 roky
rodič
revize
918b899d8a

+ 1
- 0
src/app.config.js Zobrazit soubor

@@ -28,6 +28,7 @@ export default defineAppConfig({
28 28
     "pages/feedback/issuelist/index",
29 29
     "pages/user/list/index",
30 30
     "pages/user/add/index",
31
+    // "pages/reportList/index",
31 32
   ],
32 33
   subpackages: [
33 34
     {

+ 1
- 1
src/components/PowerList/index.jsx Zobrazit soubor

@@ -9,7 +9,7 @@ import { throttle } from "@/utils/tools";
9 9
 export default React.forwardRef((props, ref) => {
10 10
   const { sid, request, params, renderItem, onLoadingChange, onDataChange } = props;
11 11
 
12
-  const pageSize = React.useMemo(() => params.pageSize || 5, [params]);
12
+  const pageSize = React.useMemo(() => params?.pageSize || 5, [params]);
13 13
   const pageShowRef = React.useRef(true);
14 14
   const [loading, setLoading] = React.useState(false);
15 15
   const [list, setList] = React.useState([]);

+ 1
- 0
src/pages/feedback/issue/index.jsx Zobrazit soubor

@@ -37,6 +37,7 @@ export default (props) => {
37 37
   }
38 38
 
39 39
   const onSubmit = () => {
40
+    console.log(formData)
40 41
     try {
41 42
       warn(!formData.addr, '请填写地址')
42 43
       warn(!formData.content, '请填写问题描述')

+ 2
- 1
src/pages/home/index.jsx Zobrazit soubor

@@ -43,7 +43,8 @@ const menus = {
43 43
     { icon: 'icon2', text: '处 理 中', link: `/pages/org/issue/list/index?title=处理中&bizStatus=${PROCESS_ASSIGNED}` },
44 44
     { icon: 'icon3', text: '已 办 结', link: `/pages/org/issue/list/index?title=已办结&bizStatus=${PROCESS_END}` },
45 45
     { icon: 'icon5', text: '已 逾 期', link: '/pages/org/issue/list/index?title=已逾期&bizStatus=expired' },
46
-    { icon: 'icon11', text: '消息通知', link: '/pages/message/list/index' },
46
+    { icon: 'icon11', text: '消息通知', link: '/pages/message/list/index'},
47
+    // { icon: 'icon10', text: '我的上报', link: '/pages/reportList/index?title=我的上报'},
47 48
   ],
48 49
 
49 50
   // 责任交办单位管理员

+ 12
- 0
src/pages/reportList/index.jsx Zobrazit soubor

@@ -0,0 +1,12 @@
1
+// import React from "react";
2
+// import Taro from "@tarojs/taro";
3
+// import Page from "@/layouts/index";
4
+// import PowerList from "@/components/PowerList";
5
+
6
+// export default (props) => {
7
+//   return (
8
+//     <Page>
9
+//       <PowerList request={}/>
10
+//     </Page>
11
+//   )
12
+// };