Commit 51d5046c authored by 熊成伟's avatar 熊成伟

debug

parent c905588f
Pipeline #15224 passed with stages
in 1 minute and 3 seconds
This diff is collapsed.
......@@ -5510,7 +5510,7 @@
},
"is-extglob": {
"version": "2.1.1",
"resolved": "http://registry.npm.taobao.org/is-extglob/download/is-extglob-2.1.1.tgz",
"resolved": "https://registry.npm.taobao.org/is-extglob/download/is-extglob-2.1.1.tgz",
"integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI="
},
"is-glob": {
......@@ -9823,6 +9823,15 @@
"text-table": "0.2.0"
}
},
"react-document-title": {
"version": "2.0.3",
"resolved": "https://registry.npm.taobao.org/react-document-title/download/react-document-title-2.0.3.tgz",
"integrity": "sha1-u/kioNcUEvyUgkXkKDskEt9w8rk=",
"requires": {
"prop-types": "^15.5.6",
"react-side-effect": "^1.0.2"
}
},
"react-dom": {
"version": "16.13.1",
"resolved": "https://registry.npm.taobao.org/react-dom/download/react-dom-16.13.1.tgz",
......@@ -10250,6 +10259,14 @@
}
}
},
"react-side-effect": {
"version": "1.2.0",
"resolved": "https://registry.npm.taobao.org/react-side-effect/download/react-side-effect-1.2.0.tgz",
"integrity": "sha1-DpQMePq6DHO5sOupzT3ajft+fa4=",
"requires": {
"shallowequal": "^1.0.1"
}
},
"react-tween-state": {
"version": "0.1.5",
"resolved": "https://registry.npm.taobao.org/react-tween-state/download/react-tween-state-0.1.5.tgz",
......
......@@ -11,6 +11,7 @@
"lib-flexible": "^0.3.2",
"postcss-px2rem": "^0.3.0",
"react": "^16.8.4",
"react-document-title": "^2.0.3",
"react-dom": "^16.8.4",
"react-router-dom": "^5.2.0",
"react-scripts": "1.0.13"
......
......@@ -3,8 +3,8 @@ import {Tabs, Icon} from 'antd-mobile'
import './index.less'
const tabs = [
{ title: '读', sub: '1' },
{ title: '未读', sub: '2' },
{ title: '读', sub: '1' },
{ title: '已读', sub: '2' }
]
const Index = (props) => {
......
......@@ -3,6 +3,7 @@ import {WhiteSpace, WingBlank, ActivityIndicator} from 'antd-mobile'
import TodoCard from '../../components/LogCard'
import TopSearch from '../../components/TopSearch';
import axiosRequest from '../../utils/request';
import Document from 'react-document-title'
const Backlog = (props) => {
const [current, setCurrent] = useState(1);
......@@ -61,6 +62,7 @@ const Backlog = (props) => {
getData()
}
return (
<Document title="待办">
<WingBlank>
<ActivityIndicator
toast
......@@ -79,6 +81,7 @@ const Backlog = (props) => {
))
}
</WingBlank>
</Document>
);
};
......
import React, {useState, useEffect} from 'react';
import Document from 'react-document-title'
import AddressList from '../../components/AddressList';
import axiosRequest from '../../utils/request';
import {ActivityIndicator} from "antd-mobile";
......@@ -32,6 +33,7 @@ const AddressBook = (props) => {
props.history.push(`/bord/address/${val}`)
};
return (
<Document title="通讯录">
<div>
<ActivityIndicator
toast
......@@ -41,8 +43,9 @@ const AddressBook = (props) => {
<div className='adMainBox'>
<AddressList data={data} onCLick={treeClick}/>
</div>
</div>
</Document>
);
};
......
......@@ -2,6 +2,7 @@ import React, {useState, useEffect} from 'react';
import AddressUser from '../../components/AddressList/AddressUser';
import axiosRequest from '../../utils/request';
import {ActivityIndicator} from "antd-mobile";
import Document from 'react-document-title'
const Communicate = (props) => {
......@@ -27,6 +28,7 @@ const Communicate = (props) => {
return (
<Document title="通讯录">
<div>
<ActivityIndicator
toast
......@@ -35,17 +37,13 @@ const Communicate = (props) => {
/>
<div className='breadBox'>
{title.length > 0 ? title[0].depts : ''}
{/*<span className='currentLink'>科技创新委员会</span>*/}
{/*<span className='symbol'>&gt;</span>*/}
{/*<span>组织架构</span>*/}
{/*<span className='symbol'>&gt;</span>*/}
{/*<span>办公厅</span>*/}
</div>
<div className='adMainBox'>
<AddressUser data={data}/>
</div>
</div>
</Document>
);
};
......
import React, {useState, useEffect} from 'react';
import Document from 'react-document-title'
import {WingBlank, WhiteSpace, ActionSheet, ActivityIndicator} from 'antd-mobile'
import axiosRequest from '../../utils/request';
import './index.less'
......@@ -118,6 +119,7 @@ const Process = (props) => {
return () => window.removeEventListener('scroll', handleScroll, true);
}, [])
return (
<Document title="待办详情">
<div>
<ActivityIndicator
toast
......@@ -152,6 +154,7 @@ const Process = (props) => {
</div>
</div>
</Document>
);
};
......
......@@ -3,6 +3,7 @@ import {ActivityIndicator, WhiteSpace, WingBlank} from 'antd-mobile'
import TodoCard from '../../components/LogCard'
import TopNotice from '../../components/NoticeTab'
import axiosRequest from '../../utils/request';
import Document from 'react-document-title'
const Notice = (props) => {
const [loading, setLoading] = useState(false);
......@@ -61,6 +62,7 @@ const Notice = (props) => {
getData()
}, [searchWord, tab])
return (
<Document title="通知">
<WingBlank>
<ActivityIndicator
toast
......@@ -79,6 +81,7 @@ const Notice = (props) => {
))
}
</WingBlank>
</Document>
);
};
......
......@@ -3,6 +3,7 @@ import {ActivityIndicator, WhiteSpace, WingBlank} from "antd-mobile";
import axiosRequest from '../../utils/request';
import TopSearch from '../../components/TopSearch'
import WorkCard from '../../components/WorkCard';
import Document from 'react-document-title'
const Work = (props) => {
const [loading, setLoading] = useState(false)
......@@ -55,6 +56,7 @@ const Work = (props) => {
}
return (
<Document title="工作">
<WingBlank>
<ActivityIndicator
toast
......@@ -73,6 +75,7 @@ const Work = (props) => {
iconAction={ itemAdd }
/>
</WingBlank>
</Document>
);
}
......
......@@ -26,7 +26,7 @@ const ReactRouter = () => {
<Route path="/login" component={Login} />
<Route path="/bord" render={ () =>
<CommonLayout>
<Route path="/bord/backlog" component={Backlog} />
<Route path="/bord/backlog" component={Backlog}/>
<Route path="/bord/work" component={Work}/>
<Route path="/bord/address/:id" component={Communicate}/>
<Route path="/bord/addressList" component={AddressBook}/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment