Commit 8aa664bd authored by 熊成伟's avatar 熊成伟

debug

parent e07acead
Pipeline #15212 failed with stages
in 29 seconds
......@@ -2,8 +2,31 @@
<project version="4">
<component name="ChangeListManager">
<list default="true" id="a6d092de-b4f8-454d-99f5-4dac3ce112e5" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.gitignore" beforeDir="false" afterPath="$PROJECT_DIR$/.gitignore" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.gitlab-ci.yml" beforeDir="false" afterPath="$PROJECT_DIR$/.gitlab-ci.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/components/AddressList/AddressUser.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/AddressList/AddressUser.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/components/AddressList/index.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/AddressList/index.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/components/LogCard/index.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/LogCard/index.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/components/LogCard/index.less" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/LogCard/index.less" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/components/NoticeTab/index.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/NoticeTab/index.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/components/TopSearch/index.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/TopSearch/index.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/components/WorkCard/CardItem.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/WorkCard/CardItem.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/components/WorkCard/index.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/WorkCard/index.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/layout/Footer.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/layout/Footer.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/pages/Backlog/Backlog.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/pages/Backlog/Backlog.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/pages/Communicate/AddressBook.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/pages/Communicate/AddressBook.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/pages/Communicate/Communicate.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/pages/Communicate/Communicate.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/pages/EventProcessing/Adjunct.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/pages/EventProcessing/Adjunct.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/pages/EventProcessing/Basic.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/pages/EventProcessing/Basic.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/pages/EventProcessing/Flow.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/pages/EventProcessing/Flow.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/pages/EventProcessing/Option.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/pages/EventProcessing/Option.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/pages/EventProcessing/Process.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/pages/EventProcessing/Process.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/pages/EventProcessing/SubmitDetail.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/pages/EventProcessing/SubmitDetail.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/pages/Login/index.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/pages/Login/index.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/pages/Notice/Notice.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/pages/Notice/Notice.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/pages/Work/Work.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/pages/Work/Work.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/pages/Work/WorkDetail.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/pages/Work/WorkDetail.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/router.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/router.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/utils/instance.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/utils/instance.js" afterDir="false" />
</list>
<ignored path="$PROJECT_DIR$/.tmp/" />
<ignored path="$PROJECT_DIR$/temp/" />
......@@ -17,10 +40,10 @@
<component name="FileEditorManager">
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/pages/EventProcessing/Process.jsx">
<entry file="file://$PROJECT_DIR$/src/pages/Backlog/Backlog.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="97">
<caret line="9" column="24" selection-start-line="9" selection-start-column="24" selection-end-line="9" selection-end-column="24" />
<state relative-caret-position="350">
<caret line="23" column="50" selection-start-line="23" selection-start-column="18" selection-end-line="23" selection-end-column="50" />
<folding>
<element signature="e#0#49#0" expanded="true" />
</folding>
......@@ -29,76 +52,71 @@
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/components/TopSearch/index.jsx">
<entry file="file://$PROJECT_DIR$/src/pages/Work/Work.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="200">
<caret line="11" column="40" selection-start-line="11" selection-start-column="40" selection-end-line="11" selection-end-column="40" />
<state relative-caret-position="275">
<caret line="20" column="53" selection-start-line="20" selection-start-column="53" selection-end-line="20" selection-end-column="53" />
<folding>
<element signature="e#0#51#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/utils/instance.js">
<entry file="file://$PROJECT_DIR$/src/pages/Communicate/AddressBook.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="159">
<caret line="68" column="14" selection-start-line="68" selection-start-column="14" selection-end-line="68" selection-end-column="14" />
<state relative-caret-position="375">
<caret line="27" column="17" lean-forward="true" selection-start-line="27" selection-start-column="17" selection-end-line="27" selection-end-column="17" />
<folding>
<element signature="e#0#26#0" expanded="true" />
<element signature="e#0#49#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/pages/Login/index.jsx">
<entry file="file://$PROJECT_DIR$/.gitlab-ci.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="75">
<caret line="3" column="18" selection-start-line="3" selection-start-column="18" selection-end-line="3" selection-end-column="18" />
<state relative-caret-position="398">
<caret line="116" column="21" lean-forward="true" selection-start-line="116" selection-start-column="21" selection-end-line="116" selection-end-column="21" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/config-overrides.js">
<entry file="file://$PROJECT_DIR$/nginx.conf">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="423">
<caret line="107" column="28" selection-start-line="107" selection-start-column="28" selection-end-line="107" selection-end-column="28" />
</state>
<state relative-caret-position="-150" />
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/.gitlab-ci.yml">
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/default.conf">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="250">
<caret line="47" column="28" lean-forward="true" selection-start-line="47" selection-start-column="28" selection-end-line="47" selection-end-column="28" />
<state relative-caret-position="175">
<caret line="7" column="18" selection-start-line="7" selection-start-column="14" selection-end-line="7" selection-end-column="18" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/.gitignore">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="572">
<caret line="29" column="7" selection-start-line="29" selection-start-column="7" selection-end-line="29" selection-end-column="7" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/package.json">
<entry file="file://$PROJECT_DIR$/src/router.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="373">
<caret line="19" column="31" selection-start-line="19" selection-start-column="14" selection-end-line="19" selection-end-column="31" />
<state relative-caret-position="350">
<caret line="30" column="58" selection-start-line="30" selection-start-column="58" selection-end-line="30" selection-end-column="58" />
<folding>
<element signature="e#0#25#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/pages/Notice/Notice.jsx">
<entry file="file://$PROJECT_DIR$/src/pages/Communicate/Communicate.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="175">
<caret line="52" column="19" selection-start-line="52" selection-start-column="19" selection-end-line="52" selection-end-column="19" />
<state relative-caret-position="-400">
<caret line="20" column="60" selection-start-line="20" selection-start-column="60" selection-end-line="20" selection-end-column="60" />
<folding>
<element signature="e#0#49#0" expanded="true" />
</folding>
......@@ -107,17 +125,22 @@
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/pages/Communicate/Communicate.jsx">
<entry file="file://$PROJECT_DIR$/src/layout/Footer.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="98">
<caret line="73" column="21" selection-start-line="73" selection-start-column="21" selection-end-line="73" selection-end-column="21" />
<state relative-caret-position="300">
<caret line="15" column="50" selection-start-line="15" selection-start-column="50" selection-end-line="15" selection-end-column="50" />
<folding>
<element signature="e#4451#4500#0" expanded="true" />
<element signature="e#0#49#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/utils/utils.jsx">
<provider selected="true" editor-type-id="text-editor" />
</entry>
</file>
</leaf>
</component>
<component name="FileTemplateManagerImpl">
......@@ -131,10 +154,6 @@
</component>
<component name="FindInProjectRecents">
<findStrings>
<find>step-content-wrapper</find>
<find>option-icon</find>
<find>pos</find>
<find>option</find>
<find>option-fast</find>
<find>&lt;TopSearch</find>
<find>process-edit</find>
......@@ -154,13 +173,17 @@
<find>disabled</find>
<find>addStatus</find>
<find>autoprefixer</find>
<find>setOperates</find>
<find>blank-content</find>
<find>address-content</find>
<find>useEffect</find>
<find>url</find>
<find>build</find>
<find>dist</find>
<find>operates</find>
<find>useEffect</find>
<find>setOperates</find>
<find>srtTab</find>
<find>this.props</find>
<find>bear</find>
</findStrings>
<replaceStrings>
<replace>this.props</replace>
......@@ -181,51 +204,51 @@
<option value="$PROJECT_DIR$/src/pages/EventProcessing/index.less" />
<option value="$PROJECT_DIR$/src/components/TopTabs/index.jsx" />
<option value="$PROJECT_DIR$/src/pages/AddressList/AddressList.jsx" />
<option value="$PROJECT_DIR$/src/pages/EventProcessing/Basic.jsx" />
<option value="$PROJECT_DIR$/src/pages/EventProcessing/Flow.jsx" />
<option value="$PROJECT_DIR$/src/components/Adjunct/index.less" />
<option value="$PROJECT_DIR$/src/pages/EventProcessing/Adjunct.jsx" />
<option value="$PROJECT_DIR$/src/components/Adjunct/index.jsx" />
<option value="$PROJECT_DIR$/src/pages/EventProcessing/Option.jsx" />
<option value="$PROJECT_DIR$/src/resize.js" />
<option value="$PROJECT_DIR$/src/index.css" />
<option value="$PROJECT_DIR$/public/index.html" />
<option value="$PROJECT_DIR$/src/components/TodoCard/index.less" />
<option value="$PROJECT_DIR$/src/components/TodoCard/index.jsx" />
<option value="$PROJECT_DIR$/src/layout/Footer.jsx" />
<option value="$PROJECT_DIR$/src/pages/Communicate/index.less" />
<option value="$PROJECT_DIR$/src/components/LogCard/index.less" />
<option value="$PROJECT_DIR$/src/components/AddressList/index.less" />
<option value="$PROJECT_DIR$/src/pages/EventProcessing/SubmitDetail.jsx" />
<option value="$PROJECT_DIR$/src/pages/AddressList/index.less" />
<option value="$PROJECT_DIR$/src/pages/EventProcessing/Pro.jsx" />
<option value="$PROJECT_DIR$/src/components/NoticeTab/index.jsx" />
<option value="$PROJECT_DIR$/src/components/StepCard/index.jsx" />
<option value="$PROJECT_DIR$/src/components/LogCard/index.jsx" />
<option value="$PROJECT_DIR$/src/utils/urlQuery.js" />
<option value="$PROJECT_DIR$/src/components/WorkCard/index.jsx" />
<option value="$PROJECT_DIR$/src/components/WorkCard/CardItem.jsx" />
<option value="$PROJECT_DIR$/src/router.js" />
<option value="$PROJECT_DIR$/src/pages/Work/index.less" />
<option value="$PROJECT_DIR$/src/layout/index.less" />
<option value="$PROJECT_DIR$/src/layout/BlankLayout.jsx" />
<option value="$PROJECT_DIR$/src/pages/Communicate/Com.jsx" />
<option value="$PROJECT_DIR$/src/components/AddressList/index.jsx" />
<option value="$PROJECT_DIR$/src/components/AddressList/AddressUser.jsx" />
<option value="$PROJECT_DIR$/src/pages/Communicate/AddressBook.jsx" />
<option value="$PROJECT_DIR$/src/layout/CommonLayout.jsx" />
<option value="$PROJECT_DIR$/src/pages/Work/Work.jsx" />
<option value="$PROJECT_DIR$/src/pages/Backlog/Backlog.jsx" />
<option value="$PROJECT_DIR$/src/pages/Work/WorkDetail.jsx" />
<option value="$PROJECT_DIR$/.gitignore" />
<option value="$PROJECT_DIR$/.gitlab-ci.yml" />
<option value="$PROJECT_DIR$/config-overrides.js" />
<option value="$PROJECT_DIR$/src/components/NoticeTab/index.jsx" />
<option value="$PROJECT_DIR$/src/components/TopSearch/index.jsx" />
<option value="$PROJECT_DIR$/src/components/WorkCard/index.jsx" />
<option value="$PROJECT_DIR$/src/components/WorkCard/CardItem.jsx" />
<option value="$PROJECT_DIR$/src/components/LogCard/index.jsx" />
<option value="$PROJECT_DIR$/src/pages/Notice/Notice.jsx" />
<option value="$PROJECT_DIR$/src/pages/Communicate/Communicate.jsx" />
<option value="$PROJECT_DIR$/src/components/AddressList/index.jsx" />
<option value="$PROJECT_DIR$/src/components/AddressList/AddressUser.jsx" />
<option value="$PROJECT_DIR$/src/components/LogCard/index.less" />
<option value="$PROJECT_DIR$/src/pages/EventProcessing/SubmitDetail.jsx" />
<option value="$PROJECT_DIR$/src/pages/EventProcessing/Basic.jsx" />
<option value="$PROJECT_DIR$/src/pages/EventProcessing/Flow.jsx" />
<option value="$PROJECT_DIR$/src/pages/EventProcessing/Adjunct.jsx" />
<option value="$PROJECT_DIR$/src/pages/EventProcessing/Option.jsx" />
<option value="$PROJECT_DIR$/src/pages/EventProcessing/Process.jsx" />
<option value="$PROJECT_DIR$/src/components/TopSearch/index.jsx" />
<option value="$PROJECT_DIR$/src/utils/instance.js" />
<option value="$PROJECT_DIR$/src/pages/Backlog/Backlog.jsx" />
<option value="$PROJECT_DIR$/src/layout/Footer.jsx" />
<option value="$PROJECT_DIR$/src/pages/Login/index.jsx" />
<option value="$PROJECT_DIR$/config-overrides.js" />
<option value="$PROJECT_DIR$/.gitignore" />
<option value="$PROJECT_DIR$/.gitlab-ci.yml" />
<option value="$PROJECT_DIR$/src/utils/instance.js" />
<option value="$PROJECT_DIR$/src/pages/Communicate/Communicate.jsx" />
<option value="$PROJECT_DIR$/src/router.js" />
<option value="$PROJECT_DIR$/src/pages/Work/Work.jsx" />
<option value="$PROJECT_DIR$/src/pages/Work/WorkDetail.jsx" />
<option value="$PROJECT_DIR$/src/pages/Communicate/AddressBook.jsx" />
</list>
</option>
</component>
......@@ -251,11 +274,6 @@
<item name="create-react-app" type="b2602c69:ProjectViewProjectNode" />
<item name="create-react-app" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="create-react-app" type="b2602c69:ProjectViewProjectNode" />
<item name="create-react-app" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
</path>
</expand>
<select />
</subPane>
......@@ -312,12 +330,12 @@
<workItem from="1591419899087" duration="268000" />
<workItem from="1591493817957" duration="11217000" />
<workItem from="1591579020550" duration="32744000" />
<workItem from="1591665260536" duration="10217000" />
<workItem from="1591665260536" duration="26636000" />
</task>
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="145776000" />
<option name="totallyTimeSpent" value="162195000" />
</component>
<component name="ToolWindowManager">
<frame x="-8" y="-8" width="1382" height="784" extended-state="6" />
......@@ -348,33 +366,6 @@
<option name="version" value="1" />
</component>
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/src/index.css">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="475">
<caret line="19" column="1" lean-forward="true" selection-start-line="19" selection-start-column="1" selection-end-line="19" selection-end-column="1" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/public/img/footer-communicate.png">
<provider selected="true" editor-type-id="images" />
</entry>
<entry file="file://$PROJECT_DIR$/report.20200606.164659.17716.0.001.json" />
<entry file="file://$PROJECT_DIR$/public/img/footer-work-s.png">
<provider selected="true" editor-type-id="images" />
</entry>
<entry file="file://$PROJECT_DIR$/src/layout/Footer.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="197">
<caret line="27" column="27" selection-start-line="27" selection-start-column="27" selection-end-line="27" selection-end-column="27" />
<folding>
<element signature="e#0#39#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/public/img/footer-work.png">
<provider selected="true" editor-type-id="images" />
</entry>
<entry file="file://$PROJECT_DIR$/../frontend/src/router.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="200">
......@@ -400,13 +391,6 @@
<entry file="file://$PROJECT_DIR$/build/manifest.json">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/src/components/LogCard/index.less">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1075">
<caret line="43" column="22" selection-start-line="43" selection-start-column="22" selection-end-line="43" selection-end-column="22" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/pages/AddressList/index.less">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-328">
......@@ -414,16 +398,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/pages/EventProcessing/SubmitDetail.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="200">
<caret line="8" column="29" selection-start-line="8" selection-start-column="29" selection-end-line="8" selection-end-column="29" />
<folding>
<element signature="e#0#39#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/pages/EventProcessing/Pro.jsx" />
<entry file="file://$PROJECT_DIR$/src/components/BlankTabs/index.jsx">
<provider selected="true" editor-type-id="text-editor">
......@@ -464,256 +438,328 @@
<entry file="file://$PROJECT_DIR$/build/index.html">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/src/components/NoticeTab/index.jsx">
<entry file="file://$PROJECT_DIR$/src/utils/urlQuery.js" />
<entry file="file://$PROJECT_DIR$/src/layout/index.less">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="150">
<caret line="9" column="20" selection-start-line="9" selection-start-column="20" selection-end-line="9" selection-end-column="20" />
<state relative-caret-position="250">
<caret line="10" column="1" selection-start-line="10" selection-start-column="1" selection-end-line="10" selection-end-column="1" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/layout/BlankLayout.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="125">
<caret line="5" column="12" selection-start-line="5" selection-start-column="12" selection-end-line="5" selection-end-column="12" />
<folding>
<element signature="e#0#26#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/pages/EventProcessing/Option.jsx">
<entry file="file://$PROJECT_DIR$/src/pages/AddressList/AddressList.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="675">
<caret line="28" column="80" selection-start-line="28" selection-start-column="80" selection-end-line="28" selection-end-column="80" />
<caret line="29" column="80" selection-start-line="29" selection-start-column="80" selection-end-line="29" selection-end-column="80" />
<state relative-caret-position="225">
<caret line="9" column="17" selection-start-line="9" selection-start-column="17" selection-end-line="9" selection-end-column="17" />
<folding>
<element signature="e#0#39#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/components/LogCard/index.jsx">
<entry file="file://$PROJECT_DIR$/src/components/AddressList/index.less">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-275">
<caret line="16" column="35" selection-start-line="16" selection-start-column="35" selection-end-line="16" selection-end-column="35" />
<folding>
<element signature="e#0#26#0" expanded="true" />
</folding>
<state relative-caret-position="125">
<caret line="5" column="21" selection-start-line="5" selection-start-column="21" selection-end-line="5" selection-end-column="21" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/utils/urlQuery.js" />
<entry file="file://$PROJECT_DIR$/src/utils/utils.jsx">
<provider selected="true" editor-type-id="text-editor" />
<entry file="file://$PROJECT_DIR$/src/layout/CommonLayout.jsx">
<provider selected="true" editor-type-id="text-editor">
<state>
<caret column="24" selection-start-column="24" selection-end-column="24" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/components/WorkCard/CardItem.jsx">
<entry file="file://$PROJECT_DIR$/src/pages/Work/index.less">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="350">
<caret line="15" column="6" lean-forward="true" selection-start-line="15" selection-start-column="6" selection-end-line="15" selection-end-column="6" />
<state>
<caret column="14" selection-start-column="14" selection-end-column="14" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/router.js">
<entry file="file://$PROJECT_DIR$/config-overrides.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="273">
<caret line="24" column="72" selection-start-line="24" selection-start-column="72" selection-end-line="24" selection-end-column="72" />
<folding>
<element signature="e#0#25#0" expanded="true" />
</folding>
<state relative-caret-position="223">
<caret line="103" column="5" lean-forward="true" selection-start-line="103" selection-start-column="5" selection-end-line="103" selection-end-column="5" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/components/WorkCard/index.jsx">
<entry file="file://$PROJECT_DIR$/.gitignore">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="500">
<caret line="25" column="40" selection-start-line="25" selection-start-column="40" selection-end-line="25" selection-end-column="40" />
<state relative-caret-position="572">
<caret line="29" column="7" selection-start-line="29" selection-start-column="7" selection-end-line="29" selection-end-column="7" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/layout/index.less">
<entry file="file://$PROJECT_DIR$/src/components/TopSearch/index.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="250">
<caret line="10" column="1" selection-start-line="10" selection-start-column="1" selection-end-line="10" selection-end-column="1" />
<state relative-caret-position="350">
<caret line="19" column="22" selection-start-line="19" selection-start-column="14" selection-end-line="19" selection-end-column="22" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/layout/BlankLayout.jsx">
<entry file="file://$PROJECT_DIR$/src/components/WorkCard/index.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="125">
<caret line="5" column="12" selection-start-line="5" selection-start-column="12" selection-end-line="5" selection-end-column="12" />
<state relative-caret-position="550">
<caret line="24" column="18" lean-forward="true" selection-start-line="24" selection-start-column="18" selection-end-line="24" selection-end-column="18" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/components/NoticeTab/index.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="500">
<caret line="20" column="70" selection-start-line="20" selection-start-column="70" selection-end-line="20" selection-end-column="70" />
<folding>
<element signature="e#0#26#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/utils/request.js">
<entry file="file://$PROJECT_DIR$/src/components/WorkCard/CardItem.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-227">
<caret line="22" column="13" selection-start-line="22" selection-start-column="13" selection-end-line="22" selection-end-column="13" />
<state relative-caret-position="325">
<caret line="14" column="20" selection-start-line="14" selection-start-column="13" selection-end-line="14" selection-end-column="20" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/pages/AddressList/AddressList.jsx">
<entry file="file://$PROJECT_DIR$/src/pages/Notice/Notice.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="225">
<caret line="9" column="17" selection-start-line="9" selection-start-column="17" selection-end-line="9" selection-end-column="17" />
<caret line="38" column="31" selection-start-line="38" selection-start-column="31" selection-end-line="38" selection-end-column="31" />
<caret line="39" column="31" selection-start-line="39" selection-start-column="31" selection-end-line="39" selection-end-column="31" />
<folding>
<element signature="e#0#39#0" expanded="true" />
<element signature="e#0#49#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/components/AddressList/index.less">
<entry file="file://$PROJECT_DIR$/src/components/AddressList/index.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="125">
<caret line="5" column="21" selection-start-line="5" selection-start-column="21" selection-end-line="5" selection-end-column="21" />
<state relative-caret-position="172">
<caret line="7" column="21" selection-start-line="7" selection-start-column="21" selection-end-line="7" selection-end-column="21" />
<folding>
<element signature="e#0#26#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/components/AddressList/index.jsx">
<entry file="file://$PROJECT_DIR$/src/components/AddressList/AddressUser.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="297">
<caret line="12" column="15" selection-start-line="12" selection-start-column="15" selection-end-line="12" selection-end-column="15" />
<state relative-caret-position="125">
<caret line="8" column="33" lean-forward="true" selection-start-line="8" selection-start-column="33" selection-end-line="8" selection-end-column="33" />
<folding>
<element signature="e#0#26#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/components/AddressList/AddressUser.jsx">
<entry file="file://$PROJECT_DIR$/src/pages/EventProcessing/SubmitDetail.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="175">
<caret line="10" column="34" selection-start-line="10" selection-start-column="34" selection-end-line="10" selection-end-column="34" />
<state relative-caret-position="97">
<caret line="4" selection-start-line="4" selection-end-line="4" />
<folding>
<element signature="e#0#39#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/package.json">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="475">
<caret line="19" column="31" selection-start-line="19" selection-start-column="14" selection-end-line="19" selection-end-column="31" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/components/LogCard/index.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="225">
<caret line="9" column="44" selection-start-line="9" selection-start-column="36" selection-end-line="9" selection-end-column="44" />
<folding>
<element signature="e#0#26#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/layout/CommonLayout.jsx">
<entry file="file://$PROJECT_DIR$/src/components/LogCard/index.less">
<provider selected="true" editor-type-id="text-editor">
<state>
<caret column="24" selection-start-column="24" selection-end-column="24" />
<state relative-caret-position="425">
<caret line="20" column="19" selection-start-line="20" selection-start-column="19" selection-end-line="20" selection-end-column="19" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/pages/Communicate/AddressBook.jsx">
<entry file="file://$PROJECT_DIR$/src/pages/EventProcessing/Process.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="200">
<caret line="8" column="38" lean-forward="true" selection-end-line="27" />
<caret line="8" column="30" lean-forward="true" selection-start-line="8" selection-start-column="30" selection-end-line="8" selection-end-column="30" />
<folding>
<element signature="e#0#49#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/pages/EventProcessing/Option.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="575">
<caret line="26" column="13" lean-forward="true" selection-start-line="26" selection-start-column="13" selection-end-line="26" selection-end-column="13" />
<folding>
<element signature="e#0#39#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/pages/Work/index.less">
<entry file="file://$PROJECT_DIR$/src/pages/EventProcessing/Basic.jsx">
<provider selected="true" editor-type-id="text-editor">
<state>
<caret column="14" selection-start-column="14" selection-end-column="14" />
<state relative-caret-position="75">
<caret line="3" selection-start-line="3" selection-end-line="3" selection-end-column="47" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/pages/Work/Work.jsx">
<entry file="file://$PROJECT_DIR$/src/pages/EventProcessing/Adjunct.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="100">
<caret line="34" column="40" lean-forward="true" selection-start-line="34" selection-start-column="40" selection-end-line="34" selection-end-column="40" />
<state relative-caret-position="200">
<caret line="14" column="13" lean-forward="true" selection-start-line="14" selection-start-column="13" selection-end-line="14" selection-end-column="13" />
<folding>
<element signature="e#0#51#0" expanded="true" />
<element signature="e#0#26#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/pages/Backlog/Backlog.jsx">
<entry file="file://$PROJECT_DIR$/src/pages/EventProcessing/Flow.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="148">
<caret line="7" column="46" selection-start-line="7" selection-start-column="46" selection-end-line="7" selection-end-column="46" />
<state relative-caret-position="350">
<caret line="14" column="11" lean-forward="true" selection-start-line="8" selection-start-column="7" selection-end-line="14" selection-end-column="11" />
<folding>
<element signature="e#0#49#0" expanded="true" />
<element signature="e#0#26#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/pages/Work/WorkDetail.jsx">
<entry file="file://$PROJECT_DIR$/src/pages/Login/index.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="250">
<caret line="58" column="39" selection-start-line="58" selection-start-column="39" selection-end-line="58" selection-end-column="39" />
<state relative-caret-position="375">
<caret line="15" column="24" selection-start-line="15" selection-start-column="24" selection-end-line="15" selection-end-column="24" />
<folding>
<element signature="e#0#49#0" expanded="true" />
<element signature="e#103#146#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/pages/Notice/Notice.jsx">
<entry file="file://$PROJECT_DIR$/src/utils/request.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="175">
<caret line="52" column="19" selection-start-line="52" selection-start-column="19" selection-end-line="52" selection-end-column="19" />
<state relative-caret-position="250">
<caret line="10" column="20" selection-start-line="10" selection-start-column="6" selection-end-line="10" selection-end-column="20" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/utils/utils.jsx">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/src/utils/instance.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="125">
<caret line="5" column="13" selection-start-line="5" selection-start-column="13" selection-end-line="5" selection-end-column="13" />
<folding>
<element signature="e#0#49#0" expanded="true" />
<element signature="e#0#26#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/pages/Communicate/Communicate.jsx">
<entry file="file://$PROJECT_DIR$/src/layout/Footer.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="98">
<caret line="73" column="21" selection-start-line="73" selection-start-column="21" selection-end-line="73" selection-end-column="21" />
<state relative-caret-position="300">
<caret line="15" column="50" selection-start-line="15" selection-start-column="50" selection-end-line="15" selection-end-column="50" />
<folding>
<element signature="e#4451#4500#0" expanded="true" />
<element signature="e#0#49#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/pages/EventProcessing/Process.jsx">
<entry file="file://$PROJECT_DIR$/src/pages/Communicate/Communicate.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="97">
<caret line="9" column="24" selection-start-line="9" selection-start-column="24" selection-end-line="9" selection-end-column="24" />
<state relative-caret-position="-400">
<caret line="20" column="60" selection-start-line="20" selection-start-column="60" selection-end-line="20" selection-end-column="60" />
<folding>
<element signature="e#0#49#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/components/TopSearch/index.jsx">
<entry file="file://$PROJECT_DIR$/src/router.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="200">
<caret line="11" column="40" selection-start-line="11" selection-start-column="40" selection-end-line="11" selection-end-column="40" />
<state relative-caret-position="350">
<caret line="30" column="58" selection-start-line="30" selection-start-column="58" selection-end-line="30" selection-end-column="58" />
<folding>
<element signature="e#0#25#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/utils/instance.js">
<entry file="file://$PROJECT_DIR$/src/pages/Backlog/Backlog.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="159">
<caret line="68" column="14" selection-start-line="68" selection-start-column="14" selection-end-line="68" selection-end-column="14" />
<state relative-caret-position="350">
<caret line="23" column="50" selection-start-line="23" selection-start-column="18" selection-end-line="23" selection-end-column="50" />
<folding>
<element signature="e#0#26#0" expanded="true" />
<element signature="e#0#49#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/pages/Login/index.jsx">
<entry file="file://$PROJECT_DIR$/src/pages/Work/WorkDetail.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="75">
<caret line="3" column="18" selection-start-line="3" selection-start-column="18" selection-end-line="3" selection-end-column="18" />
<state relative-caret-position="220">
<caret line="20" column="24" lean-forward="true" selection-start-line="20" selection-start-column="24" selection-end-line="20" selection-end-column="24" />
<folding>
<element signature="e#0#49#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/config-overrides.js">
<entry file="file://$PROJECT_DIR$/src/pages/Work/Work.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="423">
<caret line="107" column="28" selection-start-line="107" selection-start-column="28" selection-end-line="107" selection-end-column="28" />
<state relative-caret-position="275">
<caret line="20" column="53" selection-start-line="20" selection-start-column="53" selection-end-line="20" selection-end-column="53" />
<folding>
<element signature="e#0#51#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/.gitignore">
<entry file="file://$PROJECT_DIR$/src/pages/Communicate/AddressBook.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="572">
<caret line="29" column="7" selection-start-line="29" selection-start-column="7" selection-end-line="29" selection-end-column="7" />
<state relative-caret-position="375">
<caret line="27" column="17" lean-forward="true" selection-start-line="27" selection-start-column="17" selection-end-line="27" selection-end-column="17" />
<folding>
<element signature="e#0#49#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/.gitlab-ci.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="250">
<caret line="47" column="28" lean-forward="true" selection-start-line="47" selection-start-column="28" selection-end-line="47" selection-end-column="28" />
<state relative-caret-position="398">
<caret line="116" column="21" lean-forward="true" selection-start-line="116" selection-start-column="21" selection-end-line="116" selection-end-column="21" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/package.json">
<entry file="file://$PROJECT_DIR$/nginx.conf">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="373">
<caret line="19" column="31" selection-start-line="19" selection-start-column="14" selection-end-line="19" selection-end-column="31" />
<state relative-caret-position="-150" />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/default.conf">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="175">
<caret line="7" column="18" selection-start-line="7" selection-start-column="14" selection-end-line="7" selection-end-column="18" />
</state>
</provider>
</entry>
......
......@@ -5,8 +5,8 @@ server {
#charset koi8-r;
access_log /var/log/nginx/host.access.log main;
location /dgbg {
proxy_pass http://124.93.101.8:9988/dgbg/;
location /idtAppServiceV6 {
proxy_pass http://124.93.101.8:9988/idtAppServiceV6/;
}
location / {
root /usr/share/nginx/html;
......
......@@ -5,7 +5,7 @@ const Index = (props) => {
const data = props.data;
return (
<div className="address-box">
{data.map((item, index) => item.title && (
{data && data.length > 0 && data.map((item, index) => item.title && (
<div key={index}>
<div className="address-item">
1111111111
......
......@@ -2,10 +2,10 @@ import React from 'react';
import './index.less'
const Index = (props) => {
const data = props.data;
const {data} = props;
return (
<div className="address-box">
{data.map((item, index) => item.title && (
{data && data.length > 0 && data.map((item, index) => item.title && (
<div className="address-item">
{item.title || '11'}
<img src="/img/rarrow.png" alt="" className='icon18'/>
......
......@@ -2,6 +2,7 @@ import React from 'react';
import './index.less'
const Index = (props) => {
const {data} = props
return (
<div className="todo-card" onClick={props.onClick}>
<div className="todo-title pos-aline">
......@@ -12,9 +13,9 @@ const Index = (props) => {
className="todo-tag-png"
src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1591252471425&di=85236ae603ca74553adaca6e8c161a39&imgtype=0&src=http%3A%2F%2Fhbimg.b0.upaiyun.com%2Fb912bf96dc19b3b23530ae2259b60eb6cf70083f6680b-H9l0ri_fw658"
/>
{props.TYPE}
{data.TYPE}
</div>
<p>{props.TITLE}</p>
<p>{data.TITLE}</p>
</div>
<span>
<img
......@@ -25,8 +26,8 @@ const Index = (props) => {
</span>
</div>
<div className="todo-content">
<p>当前状态:{props.STATUS}</p>
<p style={{marginTop: 15}}>发送人员:{props.FROMUSER_ALIASED}</p>
<p>当前状态:{data.STATUS}</p>
<p style={{marginTop: 15}}>发送人员:{data.FROMUSER_ALIASED}</p>
</div>
<div className="todo-footer">
<div>
......
......@@ -18,6 +18,7 @@
background: @primary;
color: #ffffff;
border-radius:3px;
margin-right: 8px;
}
.todo-tag-png{
width: 12px;
......
......@@ -18,7 +18,7 @@ const Index = (props) => {
<Tabs
tabs={tabs}
initialPage={'1'}
onChange={(tab, index) => { console.log('onChange', index, tab); }}
onChange={(tab, index) => { console.log('onChange', tab); }}
/>
</div>
</div>
......
......@@ -17,6 +17,7 @@ const Index = (props) => {
const input = document.getElementsByClassName("top-single-search");
input[0].value = null;
input[0].focus();
props.onSearch('');
}
return (
<div className="search-box">
......
......@@ -11,7 +11,7 @@ const CardItem = (props) => {
}, [addStatus])
const contentCLick = () => {
!status && !data.iconAdd && workUrl('/blank/work/1')
!status && !data.iconAdd && data.text && workUrl('/blank/work/1')
data.iconAdd && addCommon()
};
const iconClick = () => {
......
import React from 'react';
import React, {useState, useEffect} from 'react';
import './index.less'
import CardItem from './CardItem'
const Index = (props) => {
const {title, type, addStatus, addCommon, data, iconAction, workUrl} = props;
const [card, setCard] = useState([]);
useEffect(() => {
const result = [...data]
const emptyIcon = type === 'edit' ? {
text: addStatus ? '完成添加' :'添加常用', icon: addStatus ? '/img/finish-work.png' : '/img/add-work.png', iconAdd: true
} : {};
const empty = data.length % 3;
empty === 0 && data.push(emptyIcon, {}, {});
empty === 1 && data.push(emptyIcon, {});
empty === 2 && data.push(emptyIcon);
return (
empty === 0 && result.push(emptyIcon, {}, {});
empty === 1 && result.push(emptyIcon, {});
empty === 2 && result.push(emptyIcon);
setCard(result)
}, [data])
return data.length > 0 && (
<div>
<div className="work-card-title">
{title}
</div>
<div className="work-card-body">
{data.map((item, index) => (
{card.map((item, index) => (
<CardItem
type={type}
key={index}
......
import React, {Component} from 'react';
import React, {useState, useEffect} from 'react';
import {TabBar} from 'antd-mobile'
import './index.less'
class Footer extends Component {
state={
current: ''
}
componentDidMount() {
const keysArray = this.props.location.pathname.replace(`${this.props.match.path}/`, '').split("/");
keysArray.length > 0 && this.setState({current: keysArray[0]})
}
tabClick = (key, path) => {
this.setState({current: key})
this.props.history.push(path)
import axiosRequest from '../utils/request';
const Footer = (props) => {
const [current, setCurrent] = useState()
useEffect(() => {
const keysArray = props.location.pathname.replace(`${props.match.path}/`, '').split("/");
keysArray.length > 0 && setCurrent(keysArray[0]);
getData()
}, []);
const getData = () => {
axiosRequest({
method: 'post',
url: '/idtAppServiceV6/getWaitDealList',
}).then(res => {
console.log(res)
});
}
render() {
const tabClick = (key, path) => {
setCurrent(key);
props.history.push(path)
};
const tabItem = [
{title: '待办', key: 'backlog', icon: '/img/footer-backlog.png', selectedIcon: '/img/footer-backlog-s.png', badge: '', onPress: '/bord/backlog'},
{title: '工作', key: 'work', icon: '/img/footer-work.png', selectedIcon: '/img/footer-work-s.png', badge: '', onPress: '/bord/work'},
{title: '通讯录', key: 'addressList', icon: '/img/footer-communicate.png', selectedIcon: '/img/footer-communicate-s.png', badge: '', onPress: '/bord/addressList'},
{title: '通知', key: 'notice', icon: '/img/footer-notice.png', selectedIcon: '/img/footer-notice-s.png', badge: '', onPress: '/bord/notice'}
];
return (
<div id="footer" className="footer">
<TabBar
......@@ -38,17 +42,13 @@ class Footer extends Component {
icon={<img alt="" className="footer-tab-icon" src={item.icon}/>}
selectedIcon={ <img alt="" className="footer-tab-icon" src={item.selectedIcon}/>}
badge={item.badge || null}
onPress={() => this.tabClick(item.key, item.onPress)}
selected={this.state.current === item.key}
onPress={() => tabClick(item.key, item.onPress)}
selected={current === item.key}
/>
))}
</TabBar>
</div>
);
}
}
};
export default Footer;
......@@ -10,10 +10,10 @@ const Backlog = (props) => {
const [loading, setLoading] = useState(false);
const [data, setData] = useState([{},{},{},{},{},{}]);
const [data, setData] = useState([]);
const checkLog = () => {
props.history.push(`/blank/info/example/1`)
const checkLog = (TABLEID) => {
props.history.push(`/blank/info/example/${TABLEID}`)
};
const getData = () => {
const pageMap ={searchWord, nowPage: current, pageSize: 10};
......@@ -21,14 +21,17 @@ const Backlog = (props) => {
setLoading(true)
axiosRequest({
method: 'post',
url: '/dgbg/mobileGetOperates.view?userName=2012012099&clientFlag=123456',
url: '/idtAppServiceV6/getWaitDealList',
}).then(res => {
setLoading(false);
let result = data.concat([{}, {}, {}, {}, {}, {}])
setData(result)
setCurrent(current + 1)
let result = res.rows ? data.concat(res.rows) : data;
setData(result);
setCurrent(current + 1);
});
};
useEffect(() => {
getData()
}, [searchWord])
//下拉加载
const handleScroll = () => {
......@@ -64,7 +67,7 @@ const Backlog = (props) => {
data.map((item, index) => (
<div key={index}>
<WhiteSpace/>
<TodoCard data={item} onClick={checkLog}/>
<TodoCard data={item} onClick={() => checkLog(item.TABLEID)}/>
</div>
))
......
import React, {useState, useEffect} from 'react';
import AddressList from '../../components/AddressList';
import AddressUser from '../../components/AddressList/AddressUser';
import axiosRequest from '../../utils/request';
import {ActivityIndicator} from "antd-mobile";
const AddressBook = (props) => {
const [loading, setLoading] = useState(false);
const [data, setData] = useState([]);
const [type, setType] = useState('basic')
// const {id} = props.match.params;
// console.log(id, ss);
const getData = () => {
setLoading(true);
axiosRequest({
method: 'post',
url: '/idtAppServiceV6/oApp/getDeptTree',
}).then(res => {
setLoading(false);
setData()
});
};
useEffect(() => {
getData()
}, []);
const treeClick = () => {
};
return (
<div>
<ActivityIndicator
toast
text="加载中..."
animating={loading}
/>
<div className='breadBox'>
<span className='currentLink'>科技创新委员会</span>
<span className='symbol'>&gt;</span>
......@@ -14,9 +46,7 @@ const AddressBook = (props) => {
<span>办公厅</span>
</div>
<div className='adMainBox'>
<AddressList data={[{title: '1'}, {title: 2}, {title: 3}]}/>
<AddressUser data={[{title: '1', children: [{}, {}, {}]}, {title: 2, children: [{}, {}, {}]}, {title: 3, children: [{}, {}, {}]}]}/>
<AddressUser data={data} onCLick={}/>
</div>
</div>
......
// import React, {Component} from 'react';
// import './index.less'
//
// class Communicate extends Component {
//
// render() {
// return (
// <div>
// <div className='breadBox'>
// <span className='currentLink'>科技创新委员会</span><span className='symbol'>&gt;</span><span>组织架构</span><span className='symbol'>&gt;</span><span>办公厅</span>
// </div>
// <div className='adMainBox'>
// <ul className='adListBox'>
// <li>
// <div className='itemBox'>
// <h4 className='titleBar'>市委办公厅审核员</h4>
// <div className='adContent'>
// <div className='peopleList'>
// <p className='subItem'>
// <span className='cicrleHead mr-5'>
// <img src='/img/head.png' className='imgRes' />
// </span>
// 王磊
// </p>
// <p className='subItem'>
// <img className='smallIco mr-5' src='/img/tel.png' />13488876526
// </p>
// </div>
// <div className='peopleList'>
// <p className='subItem'>
// <span className='cicrleHead mr-5 centerFont'>
// 王
// </span>
// 王磊
// </p>
// <p className='subItem'>
// <img className='smallIco mr-5' src='/img/tel.png' />13488876526
// </p>
// </div>
// </div>
// </div>
// </li>
// <li>
// <div className='itemBox'>
// <h4 className='titleBar'>市委办公厅审核员</h4>
// <div className='adContent'>
// <div className='peopleList'>
// <p className='subItem'>
// <span className='cicrleHead mr-5'>
// <img src='/img/head.png' className='imgRes' />
// </span>
// 王磊
// </p>
// <p className='subItem'>
// <img className='smallIco mr-5' src='/img/tel.png' />13488876526
// </p>
// </div>
// <div className='peopleList'>
// <p className='subItem'>
// <span className='cicrleHead mr-5 centerFont'>
// 王
// </span>
// 王磊
// </p>
// <p className='subItem'>
// <img className='smallIco mr-5' src='/img/tel.png' />13488876526
// </p>
// </div>
// </div>
// </div>
// </li>
// </ul>
// </div>
// </div>
// );
// }
// }
//
// export default Communicate;
import React from 'react';
import React, {useState, useEffect} from 'react';
import AddressList from '../../components/AddressList';
import AddressUser from '../../components/AddressList/AddressUser';
const AddressBook = (props) => {
import axiosRequest from '../../utils/request';
import {ActivityIndicator} from "antd-mobile";
const Communicate = (props) => {
const [loading, setLoading] = useState(false);
const [data, setData] = useState([]);
const [type, setType] = useState('basic')
// const {id} = props.match.params;
// console.log(id, ss);
const getData = () => {
setLoading(true);
axiosRequest({
method: 'post',
url: '/idtAppServiceV6/oApp/getSearchAddressBook',
}).then(res => {
setLoading(false);
setData()
});
};
useEffect(() => {
if (props.location.query && props.location.query.parent) {
const {parent} = props.location.query;
}
// const {parent} = props.location.query;
console.log(props.location.query)
getData()
}, []);
const getCurrent = () =>{
}
return (
<div>
<ActivityIndicator
toast
text="加载中..."
animating={loading}
/>
<div className='breadBox'>
<span className='currentLink'>科技创新委员会</span>
<span className='symbol'>&gt;</span>
......@@ -96,8 +52,6 @@ const AddressBook = (props) => {
<span>办公厅</span>
</div>
<div className='adMainBox'>
<AddressList data={[{title: '1'}, {title: 2}, {title: 3}]}/>
<AddressUser data={[{title: '1', children: [{}, {}, {}]}, {title: 2, children: [{}, {}, {}]}, {title: 3, children: [{}, {}, {}]}]}/>
</div>
......@@ -105,5 +59,5 @@ const AddressBook = (props) => {
);
};
export default AddressBook;
export default Communicate;
import React from 'react';
import React, {useEffect, useState} from 'react';
import List from '../../components/List'
import AdjunctList from '../../components/Adjunct'
import axiosRequest from '../../utils/request';
const da222 = Array.from(new Array(7)).map((_val, i) => ({
id: `name${i}`,
text: `name${i}`,
}));
const Adjunct = () => {
const Adjunct = (props) => {
const [data, setData] = useState([])
useEffect(() => {
const {tableId} = props;
axiosRequest({
method: 'post',
url: `/dgbg/MobileGetFlowsByTabId.view?userName=2012012099&clientFlag=123456&tableId=${tableId}`,
}).then(res => {
console.log(res, data)
setData([])
});
}, []);
const listData = [
{title: '开始时间', content: '文电科'},
{title: '结束时间', content: '3'},
......
import React from 'react';
import React, {useState, useEffect} from 'react';
import './index.less'
import List from '../../components/List'
import axiosRequest from '../../utils/request';
const Basic = (props) => {
const [data, setData] = useState([]);
useEffect(() => {
const {tableId} = props;
axiosRequest({
method: 'post',
url: `/dgbg/MobileGetFlowsByTabId.view?userName=2012012099&clientFlag=123456&tableId=${tableId}`,
}).then(res => {
console.log(res)
setData([])
});
}, [])
const data = Array.from(new Array(12)).map((_val, i) => ({
icon: '/img/test/test.png',
text: `name${i}`,
}));
const Basic = () => {
const personImg = data.map((item, index) => (
<div key={index} className="basic-people-item">
<img className="work-people-img" alt="" src='/img/test/test.png'/>
......
import React from 'react';
import React, {useEffect, useState} from 'react';
import StepCard from '../../components/StepCard'
import axiosRequest from '../../utils/request';
const Flow = () => {
const Flow = (props) => {
const [data, setData] = useState([])
useEffect(() => {
const {tableId} = props;
axiosRequest({
method: 'post',
url: `/dgbg/MobileGetFlowsByTabId.view?userName=2012012099&clientFlag=123456&tableId=${tableId}`,
}).then(res => {
console.log(res)
setData([])
});
}, []);
return (
<div>
<StepCard/>
<StepCard data={data}/>
</div>
);
};
......
import React, {Component} from 'react';
import React, {useState, useEffect} from 'react';
import {Modal} from 'antd-mobile'
import './index.less';
import axiosRequest from '../../utils/request';
const operation = Modal.operation;
class Option extends Component {
state = {
}
onChange = () => {
const Option = (props) => {
const onChange = () => {
const input = document.getElementsByClassName("option-text");
this.props.onChange(input[0].value)
props.onChange(input[0].value)
};
setValue = (val) => {
const setValue = (val) => {
const input = document.getElementsByClassName("option-text");
input[0].value = val
};
render() {
useEffect(() => {
axiosRequest({
method: 'post',
url: '/dgbg/mobileGetListOptionKey.view?userName=2012012099&clientFlag=123456',
}).then(res => {
console.log(res)
});
}, [])
return (
<div>
<div className="option-card">
......@@ -26,19 +31,17 @@ class Option extends Component {
<a
className="option-fast"
onClick={() => operation([
{ text: '默认一', onPress: () => this.setValue('默认一') },
{ text: '默认二', onPress: () => this.setValue('默认二') },
{ text: '默认一', onPress: () => setValue('默认一') },
{ text: '默认二', onPress: () => setValue('默认二') },
])}
>
常用阅办意见<img alt="" src="/img/option-icon.png" className="option-icon"/>
</a>
</div>
<textarea className="option-text" onChange={this.onChange}/>
<textarea className="option-text" onChange={onChange}/>
</div>
</div>
);
}
}
};
export default Option;
import React, {useState, useEffect} from 'react';
import {WingBlank, WhiteSpace, ActionSheet, ActivityIndicator} from 'antd-mobile'
import axiosRequest from '../../utils/request';
import './index.less'
import TopTabs from '../../components/BlankTabs'
import Basic from './Basic'
......@@ -10,6 +11,8 @@ import Option from './Option';
const Pro = (props) => {
const [loading, setLoading] = useState(false);
const [tableId, setTableId] = useState()
//提交按钮状态
const [disabled, setDisabled] = useState(true)
//提交按钮文字
......@@ -21,7 +24,6 @@ const Pro = (props) => {
};
useEffect(() => {
setLoading(false);
const option = document.getElementsByClassName("option-text")[0]
option.addEventListener('focus', optionBlur, true);
return () => option.removeEventListener('focus', optionBlur, true);
......@@ -32,7 +34,6 @@ const Pro = (props) => {
};
const [current, setCurrent] = useState('basic');
const [footStatus, setFootStatus] = useState(false);
//点击输入框, 聚焦移动
......@@ -70,10 +71,18 @@ const Pro = (props) => {
wrapProps,
},
(buttonIndex) => {
props.history.push(`/blank/submit/1`)
// console.log(buttonIndex)
buttonIndex > 1 && props.history.push(`/blank/submit/1`)
console.log(buttonIndex)
});
};
const processEnd = () => {
axiosRequest({
method: 'post',
url: `/dgbg/MobileGetFlowsByTabId.view?userName=2012012099&clientFlag=123456&tableId=${tableId}`,
}).then(res => {
console.log(res)
});
}
const handleScroll = () => {
const adjunct = document.getElementById("event-adjunct").offsetTop;
......
......@@ -2,13 +2,16 @@ import React, {Component} from 'react';
import AddressList from '../../components/AddressList'
import {WingBlank, WhiteSpace} from "antd-mobile";
class SubmitDetail extends Component {
render() {
return (
<div>
111
<WhiteSpace/>
<WingBlank>
<AddressList/>
<AddressList data={[]}/>
</WingBlank>
</div>
......
......@@ -10,7 +10,7 @@ const Login = (props) => {
axiosRequest({
method: 'post',
url: '/dgbg/mobileLogin.view?userName=2012012099&clientFlag=123456&password=1',
url: '/idtAppServiceV6/oApp/login?userName=2012012099&clientFlag=123456&password=1',
}).then(res => {
!res.errorMessage && props.history.push(`/bord/backlog`)
// setOperates(res.operate || []);
......
......@@ -8,7 +8,7 @@ const Notice = (props) => {
const [loading, setLoading] = useState(false);
const [current, setCurrent] = useState(1);
const [searchWord, setSearchWord] = useState()
const [data, setData] = useState([{},{},{},{},{},{}]);
const [data, setData] = useState([]);
const getData = () => {
const pageMap ={searchWord, nowPage: current, pageSize: 10};
......@@ -16,10 +16,10 @@ const Notice = (props) => {
setLoading(true)
axiosRequest({
method: 'post',
url: '/dgbg/mobileGetOperates.view?userName=2012012099&clientFlag=123456',
url: '/dgbg/mobileGetWaitDealList.view?userName=2012012099&clientFlag=123456',
}).then(res => {
setLoading(false);
let result = data.concat([{}, {}, {}, {}, {}, {}])
let result = res.rows ?data.concat(res.rows) : data
setData(result)
setCurrent(current + 1)
});
......@@ -36,8 +36,8 @@ const Notice = (props) => {
}
};
useEffect(() => {
window.addEventListener('scroll', handleScroll, true);
return () => window.removeEventListener('scroll', handleScroll, true);
// window.addEventListener('scroll', handleScroll, true);
// return () => window.removeEventListener('scroll', handleScroll, true);
}, [data]);
const checkLog = () => {
......@@ -48,7 +48,18 @@ const Notice = (props) => {
useEffect(() => {
const element = document.getElementById('common-content')
element.scrollTo(0, 0)
}, [])
}, []);
//tab已读未读切换
const [tab, setTab] = useState('')
const tabChange = val => {
setTab(val)
console.log(val)
};
useEffect(() => {
getData()
}, [searchWord, tab])
return (
<WingBlank>
<ActivityIndicator
......@@ -57,7 +68,7 @@ const Notice = (props) => {
animating={loading}
/>
<WhiteSpace/>
<TopNotice onSearch={setSearchWord}/>
<TopNotice onSearch={setSearchWord} tabChange={tabChange}/>
{
data.map((item, index) => (
<div key={index}>
......
......@@ -8,6 +8,7 @@ const Work = (props) => {
const [loading, setLoading] = useState(false)
const [addStatus, setAddStatus] = useState(false);
const [operates, setOperates] = useState([]);
const [data, setData] = useState([])
useEffect(() => {
loadOperates();
......@@ -17,10 +18,12 @@ const Work = (props) => {
setLoading(true)
axiosRequest({
method: 'post',
url: '/dgbg/mobileGetOperates.view?userName=2012012099&clientFlag=123456',
url: '/idtAppServiceV6/oApp/getAllOperate',
}).then(res => {
setLoading(false)
setOperates(res.operate || []);
setLoading(false);
const result = res.operate ? res.operate.map(item => ({ icon: '', text: item.NODENAME })) : []
setOperates(result);
setData(result)
});
}
......@@ -29,7 +32,12 @@ const Work = (props) => {
};
const workSearch = (val) => {
console.log(val)
const result = operates.filter(item => item.text && item.text.toLowerCase().indexOf(val.toLowerCase()) > -1);
if (val !== null && val !== '') {
setData(result)
}else {
setData(operates)
}
};
const itemAdd = (id, arr, arr2) => {
......@@ -60,7 +68,7 @@ const Work = (props) => {
title="工作详情"
addCommon={ commonEdit }
addStatus={addStatus}
data={ operates.map(item => ({ icon: '', text: item.NODENAME }))}
data={data}
workUrl={workUrl}
iconAction={ itemAdd }
/>
......
......@@ -9,7 +9,7 @@ const WorkDetail = (props) => {
const [loading, setLoading] = useState(false);
const [current, setCurrent] = useState(1);
const [searchWord, setSearchWord] = useState()
const [data, setData] = useState([{},{},{},{},{},{}]);
const [data, setData] = useState([]);
const getData = () => {
const pageMap ={searchWord, nowPage: current, pageSize: 10};
......@@ -17,10 +17,10 @@ const WorkDetail = (props) => {
setLoading(true)
axiosRequest({
method: 'post',
url: '/dgbg/mobileGetOperates.view?userName=2012012099&clientFlag=123456',
url: '/idtAppServiceV6/getWaitDealList',
}).then(res => {
setLoading(false);
let result = data.concat([{}, {}, {}, {}, {}, {}])
let result = res.rows ? data.concat(res.rows) : data
setData(result)
setCurrent(current + 1)
});
......@@ -49,7 +49,18 @@ const WorkDetail = (props) => {
useEffect(() => {
const element = document.getElementById('work-content')
element.scrollTo(0, 0)
}, [])
}, []);
//tab已读未读切换
const [tab, setTab] = useState('')
const tabChange = val => {
setTab(val)
console.log(val)
};
useEffect(() => {
getData()
}, [searchWord, tab])
return (
<div id="work-content" className="work-content">
<WingBlank>
......@@ -59,7 +70,7 @@ const WorkDetail = (props) => {
animating={loading}
/>
<WhiteSpace/>
<TopNotice onSearch={setSearchWord}/>
<TopNotice onSearch={setSearchWord} tabChange={tabChange}/>
{
data.map((item, index) => (
<div key={index}>
......
......@@ -28,7 +28,7 @@ const ReactRouter = () => {
<CommonLayout>
<Route path="/bord/backlog" component={Backlog} />
<Route path="/bord/work" component={Work}/>
<Route path="/bord/communicate" component={Communicate}/>
<Route path="/bord/addressList/:id" component={Communicate}/>
<Route path="/bord/addressList" component={AddressList}/>
<Route path="/bord/notice" component={Notice}/>
</CommonLayout>
......
......@@ -3,7 +3,7 @@ import { stringify } from 'qs';
import { Toast } from 'antd-mobile';
const instance = axios.create();
const token = 'bearer ' + localStorage.getItem("token");
const token = localStorage.getItem("token");
let defaultHeaders = {
token,
......@@ -47,6 +47,7 @@ export const createAPI = (baseURL) => {
headers,
}, conf.opts))
.then(function (response) {
console.log(response)
if (!response || !response.data) { console.log('response出错, 无返回数据!', response); return false; };
if (response.data && response.data.errorMessage) {
......@@ -54,11 +55,12 @@ export const createAPI = (baseURL) => {
return false;
}
// 保存到本地
if (response && response.data && response.data.access_token) {
if (response && response.data && response.data.data && response.data.data.token) {
console.log(response.data.data.token)
defaultHeaders = {
token: 'bearer ' + response.data.access_token,
token: response.data.data.token,
}
localStorage.setItem("token", response.data.access_token);
localStorage.setItem("token", response.data.data.token);
}
if (response.data) {
......
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