Commit 56f498de authored by 熊成伟's avatar 熊成伟

debug

parent 1caac495
Pipeline #15265 failed with stages
in 31 seconds
...@@ -2,35 +2,11 @@ ...@@ -2,35 +2,11 @@
<project version="4"> <project version="4">
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="a6d092de-b4f8-454d-99f5-4dac3ce112e5" name="Default Changelist" comment=""> <list default="true" id="a6d092de-b4f8-454d-99f5-4dac3ce112e5" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/components/BlankTabs/index.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/BlankTabs/index.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/img/test/test-2.png" beforeDir="false" afterPath="$PROJECT_DIR$/public/img/test/test-2.png" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/components/BlankTabs/index.less" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/BlankTabs/index.less" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/components/AddressList/AddressCheckbox.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/AddressList/AddressCheckbox.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/components/AddressList/index.less" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/AddressList/index.less" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/components/Adjunct/index.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/Adjunct/index.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/components/Adjunct/index.less" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/Adjunct/index.less" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/components/List/index.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/List/index.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/components/List/index.less" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/List/index.less" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/components/StepCard/index.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/StepCard/index.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/components/StepCard/index.less" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/StepCard/index.less" 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/index.css" beforeDir="false" afterPath="$PROJECT_DIR$/src/index.css" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/layout/CommonLayout.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/layout/CommonLayout.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/layout/index.less" beforeDir="false" afterPath="$PROJECT_DIR$/src/layout/index.less" 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/Process.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/pages/EventProcessing/Process.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/EventProcessing/index.less" beforeDir="false" afterPath="$PROJECT_DIR$/src/pages/EventProcessing/index.less" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/pages/EventProcessing/index.less" beforeDir="false" afterPath="$PROJECT_DIR$/src/pages/EventProcessing/index.less" 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/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" />
<change beforePath="$PROJECT_DIR$/src/variable.less" beforeDir="false" afterPath="$PROJECT_DIR$/src/variable.less" afterDir="false" />
</list> </list>
<ignored path="$PROJECT_DIR$/.tmp/" /> <ignored path="$PROJECT_DIR$/.tmp/" />
<ignored path="$PROJECT_DIR$/temp/" /> <ignored path="$PROJECT_DIR$/temp/" />
...@@ -46,8 +22,8 @@ ...@@ -46,8 +22,8 @@
<file pinned="false" current-in-tab="false"> <file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/pages/EventProcessing/Process.jsx"> <entry file="file://$PROJECT_DIR$/src/pages/EventProcessing/Process.jsx">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="300"> <state relative-caret-position="275">
<caret line="36" column="24" lean-forward="true" selection-start-line="36" selection-start-column="24" selection-end-line="36" selection-end-column="24" /> <caret line="170" column="39" lean-forward="true" selection-start-line="166" selection-start-column="7" selection-end-line="170" selection-end-column="39" />
<folding> <folding>
<element signature="e#0#49#0" expanded="true" /> <element signature="e#0#49#0" expanded="true" />
</folding> </folding>
...@@ -58,8 +34,8 @@ ...@@ -58,8 +34,8 @@
<file pinned="false" current-in-tab="false"> <file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/pages/Backlog/Backlog.jsx"> <entry file="file://$PROJECT_DIR$/src/pages/Backlog/Backlog.jsx">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="150"> <state relative-caret-position="231">
<caret line="6" column="28" selection-start-line="6" selection-start-column="28" selection-end-line="6" selection-end-column="28" /> <caret line="37" column="6" lean-forward="true" selection-start-line="35" selection-start-column="2" selection-end-line="37" selection-end-column="6" />
<folding> <folding>
<element signature="e#0#49#0" expanded="true" /> <element signature="e#0#49#0" expanded="true" />
</folding> </folding>
...@@ -68,55 +44,10 @@ ...@@ -68,55 +44,10 @@
</entry> </entry>
</file> </file>
<file pinned="false" current-in-tab="true"> <file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/src/utils/instance.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="375">
<caret line="63" column="50" selection-start-line="63" selection-start-column="50" selection-end-line="63" selection-end-column="50" />
<folding>
<element signature="e#0#26#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/components/WorkCard/index.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="325">
<caret line="15" column="13" lean-forward="true" selection-start-line="15" selection-start-column="13" selection-end-line="15" selection-end-column="13" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/components/WorkCard/CardItem.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="50">
<caret line="2" selection-start-line="2" selection-end-line="2" />
<folding>
<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/router.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="425">
<caret line="17" lean-forward="true" selection-start-line="17" selection-end-line="17" />
<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/Notice/Notice.jsx">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="200"> <state relative-caret-position="231">
<caret line="8" lean-forward="true" selection-start-line="8" selection-end-line="8" /> <caret line="70" column="6" selection-start-line="70" selection-start-column="6" selection-end-line="70" selection-end-column="6" />
<folding> <folding>
<element signature="e#0#49#0" expanded="true" /> <element signature="e#0#49#0" expanded="true" />
</folding> </folding>
...@@ -124,39 +55,6 @@ ...@@ -124,39 +55,6 @@
</provider> </provider>
</entry> </entry>
</file> </file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/pages/EventProcessing/SubmitDetail.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="275">
<caret line="11" column="20" lean-forward="true" selection-start-line="11" selection-start-column="20" selection-end-line="11" selection-end-column="20" />
<folding>
<element signature="e#123#170#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/pages/EventProcessing/index.less">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="275">
<caret line="11" column="21" lean-forward="true" selection-start-line="11" selection-start-column="21" selection-end-line="11" selection-end-column="21" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/pages/EventProcessing/Flow.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="275">
<caret line="11" lean-forward="true" selection-start-line="11" selection-end-line="11" />
<folding>
<element signature="e#0#39#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
</leaf> </leaf>
</component> </component>
<component name="FileTemplateManagerImpl"> <component name="FileTemplateManagerImpl">
...@@ -170,7 +68,6 @@ ...@@ -170,7 +68,6 @@
</component> </component>
<component name="FindInProjectRecents"> <component name="FindInProjectRecents">
<findStrings> <findStrings>
<find>console</find>
<find>common-content</find> <find>common-content</find>
<find>tabChange</find> <find>tabChange</find>
<find>.am-checkbox.am-checkbox-checked .am-checkbox-inner</find> <find>.am-checkbox.am-checkbox-checked .am-checkbox-inner</find>
...@@ -193,12 +90,13 @@ ...@@ -193,12 +90,13 @@
<find>scrollTop</find> <find>scrollTop</find>
<find>setStart</find> <find>setStart</find>
<find>scroll</find> <find>scroll</find>
<find>scrollTo</find>
<find>setEnd</find> <find>setEnd</find>
<find>endT</find> <find>endT</find>
<find>setEndT</find> <find>setEndT</find>
<find>/blank/work/1</find> <find>/blank/work/1</find>
<find>workUrl</find> <find>workUrl</find>
<find>scrollTo</find>
<find>setCurrent</find>
<find>checkLog</find> <find>checkLog</find>
</findStrings> </findStrings>
<replaceStrings> <replaceStrings>
...@@ -216,8 +114,6 @@ ...@@ -216,8 +114,6 @@
<component name="IdeDocumentHistory"> <component name="IdeDocumentHistory">
<option name="CHANGED_PATHS"> <option name="CHANGED_PATHS">
<list> <list>
<option value="$PROJECT_DIR$/src/utils/urlQuery.js" />
<option value="$PROJECT_DIR$/src/pages/Work/index.less" />
<option value="$PROJECT_DIR$/src/layout/BlankLayout.jsx" /> <option value="$PROJECT_DIR$/src/layout/BlankLayout.jsx" />
<option value="$PROJECT_DIR$/src/pages/Communicate/Com.jsx" /> <option value="$PROJECT_DIR$/src/pages/Communicate/Com.jsx" />
<option value="$PROJECT_DIR$/.gitignore" /> <option value="$PROJECT_DIR$/.gitignore" />
...@@ -250,7 +146,6 @@ ...@@ -250,7 +146,6 @@
<option value="$PROJECT_DIR$/src/components/AddressList/AddressCheckbox.jsx" /> <option value="$PROJECT_DIR$/src/components/AddressList/AddressCheckbox.jsx" />
<option value="$PROJECT_DIR$/src/components/AddressList/index.less" /> <option value="$PROJECT_DIR$/src/components/AddressList/index.less" />
<option value="$PROJECT_DIR$/src/components/List/index.jsx" /> <option value="$PROJECT_DIR$/src/components/List/index.jsx" />
<option value="$PROJECT_DIR$/src/pages/EventProcessing/index.less" />
<option value="$PROJECT_DIR$/src/index.css" /> <option value="$PROJECT_DIR$/src/index.css" />
<option value="$PROJECT_DIR$/src/layout/index.less" /> <option value="$PROJECT_DIR$/src/layout/index.less" />
<option value="$PROJECT_DIR$/src/layout/CommonLayout.jsx" /> <option value="$PROJECT_DIR$/src/layout/CommonLayout.jsx" />
...@@ -259,14 +154,17 @@ ...@@ -259,14 +154,17 @@
<option value="$PROJECT_DIR$/src/pages/Communicate/Communicate.jsx" /> <option value="$PROJECT_DIR$/src/pages/Communicate/Communicate.jsx" />
<option value="$PROJECT_DIR$/src/pages/Communicate/AddressBook.jsx" /> <option value="$PROJECT_DIR$/src/pages/Communicate/AddressBook.jsx" />
<option value="$PROJECT_DIR$/src/pages/Work/Work.jsx" /> <option value="$PROJECT_DIR$/src/pages/Work/Work.jsx" />
<option value="$PROJECT_DIR$/src/pages/EventProcessing/Process.jsx" />
<option value="$PROJECT_DIR$/src/pages/Backlog/Backlog.jsx" /> <option value="$PROJECT_DIR$/src/pages/Backlog/Backlog.jsx" />
<option value="$PROJECT_DIR$/src/pages/Notice/Notice.jsx" />
<option value="$PROJECT_DIR$/src/pages/EventProcessing/Flow.jsx" /> <option value="$PROJECT_DIR$/src/pages/EventProcessing/Flow.jsx" />
<option value="$PROJECT_DIR$/src/pages/EventProcessing/SubmitDetail.jsx" /> <option value="$PROJECT_DIR$/src/pages/EventProcessing/SubmitDetail.jsx" />
<option value="$PROJECT_DIR$/src/components/WorkCard/CardItem.jsx" /> <option value="$PROJECT_DIR$/src/components/WorkCard/CardItem.jsx" />
<option value="$PROJECT_DIR$/src/router.js" /> <option value="$PROJECT_DIR$/src/router.js" />
<option value="$PROJECT_DIR$/src/utils/instance.js" /> <option value="$PROJECT_DIR$/src/utils/instance.js" />
<option value="$PROJECT_DIR$/src/components/BlankTabs/index.jsx" />
<option value="$PROJECT_DIR$/src/components/BlankTabs/index.less" />
<option value="$PROJECT_DIR$/src/pages/EventProcessing/index.less" />
<option value="$PROJECT_DIR$/src/pages/EventProcessing/Process.jsx" />
<option value="$PROJECT_DIR$/src/pages/Notice/Notice.jsx" />
</list> </list>
</option> </option>
</component> </component>
...@@ -300,7 +198,41 @@ ...@@ -300,7 +198,41 @@
<item name="create-react-app" type="b2602c69:ProjectViewProjectNode" /> <item name="create-react-app" type="b2602c69:ProjectViewProjectNode" />
<item name="create-react-app" type="462c0819:PsiDirectoryNode" /> <item name="create-react-app" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" /> <item name="src" type="462c0819:PsiDirectoryNode" />
<item name="utils" type="462c0819:PsiDirectoryNode" /> <item name="components" 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" />
<item name="components" type="462c0819:PsiDirectoryNode" />
<item name="BlankTabs" 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" />
<item name="pages" 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" />
<item name="pages" type="462c0819:PsiDirectoryNode" />
<item name="Backlog" 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" />
<item name="pages" type="462c0819:PsiDirectoryNode" />
<item name="EventProcessing" 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" />
<item name="pages" type="462c0819:PsiDirectoryNode" />
<item name="Notice" type="462c0819:PsiDirectoryNode" />
</path> </path>
</expand> </expand>
<select /> <select />
...@@ -361,12 +293,12 @@ ...@@ -361,12 +293,12 @@
<workItem from="1591493817957" duration="11217000" /> <workItem from="1591493817957" duration="11217000" />
<workItem from="1591579020550" duration="32744000" /> <workItem from="1591579020550" duration="32744000" />
<workItem from="1591665260536" duration="37378000" /> <workItem from="1591665260536" duration="37378000" />
<workItem from="1591751569364" duration="38310000" /> <workItem from="1591751569364" duration="40213000" />
</task> </task>
<servers /> <servers />
</component> </component>
<component name="TimeTrackingManager"> <component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="211247000" /> <option name="totallyTimeSpent" value="213150000" />
</component> </component>
<component name="ToolWindowManager"> <component name="ToolWindowManager">
<frame x="-8" y="-8" width="1382" height="784" extended-state="6" /> <frame x="-8" y="-8" width="1382" height="784" extended-state="6" />
...@@ -397,16 +329,6 @@ ...@@ -397,16 +329,6 @@
<option name="version" value="1" /> <option name="version" value="1" />
</component> </component>
<component name="editorHistoryManager"> <component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/src/components/LogCard/index.less">
<provider selected="true" editor-type-id="text-editor">
<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/utils/utils.jsx">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/default.conf"> <entry file="file://$PROJECT_DIR$/default.conf">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="175"> <state relative-caret-position="175">
...@@ -733,89 +655,106 @@ ...@@ -733,89 +655,106 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/pages/EventProcessing/Process.jsx"> <entry file="file://$PROJECT_DIR$/src/pages/EventProcessing/index.less">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="300"> <state relative-caret-position="150">
<caret line="36" column="24" lean-forward="true" selection-start-line="36" selection-start-column="24" selection-end-line="36" selection-end-column="24" /> <caret line="6" column="19" lean-forward="true" selection-start-line="6" selection-start-column="19" selection-end-line="6" selection-end-column="19" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/pages/EventProcessing/Flow.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="275">
<caret line="11" lean-forward="true" selection-start-line="11" selection-end-line="11" />
<folding> <folding>
<element signature="e#0#49#0" expanded="true" /> <element signature="e#0#39#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/pages/Backlog/Backlog.jsx"> <entry file="file://$PROJECT_DIR$/src/pages/EventProcessing/SubmitDetail.jsx">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="150"> <state relative-caret-position="-477">
<caret line="6" column="28" selection-start-line="6" selection-start-column="28" selection-end-line="6" selection-end-column="28" /> <caret line="11" column="20" lean-forward="true" selection-start-line="11" selection-start-column="20" selection-end-line="11" selection-end-column="20" />
<folding> <folding>
<element signature="e#0#49#0" expanded="true" /> <element signature="e#123#170#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/pages/Notice/Notice.jsx"> <entry file="file://$PROJECT_DIR$/src/router.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="200"> <state relative-caret-position="425">
<caret line="8" lean-forward="true" selection-start-line="8" selection-end-line="8" /> <caret line="17" lean-forward="true" selection-start-line="17" selection-end-line="17" />
<folding> <folding>
<element signature="e#0#49#0" expanded="true" /> <element signature="e#0#25#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/pages/EventProcessing/index.less"> <entry file="file://$PROJECT_DIR$/src/components/WorkCard/CardItem.jsx">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="275"> <state relative-caret-position="50">
<caret line="11" column="21" lean-forward="true" selection-start-line="11" selection-start-column="21" selection-end-line="11" selection-end-column="21" /> <caret line="2" selection-start-line="2" selection-end-line="2" />
<folding>
<element signature="e#0#49#0" expanded="true" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/pages/EventProcessing/Flow.jsx"> <entry file="file://$PROJECT_DIR$/src/utils/instance.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="275"> <state relative-caret-position="375">
<caret line="11" lean-forward="true" selection-start-line="11" selection-end-line="11" /> <caret line="63" column="50" selection-start-line="63" selection-start-column="50" selection-end-line="63" selection-end-column="50" />
<folding> <folding>
<element signature="e#0#39#0" expanded="true" /> <element signature="e#0#26#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/pages/EventProcessing/SubmitDetail.jsx"> <entry file="file://$PROJECT_DIR$/src/components/BlankTabs/index.jsx">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="275"> <state relative-caret-position="325">
<caret line="11" column="20" lean-forward="true" selection-start-line="11" selection-start-column="20" selection-end-line="11" selection-end-column="20" /> <caret line="13" column="38" selection-start-line="13" selection-start-column="24" selection-end-line="13" selection-end-column="38" />
<folding> <folding>
<element signature="e#123#170#0" expanded="true" /> <element signature="e#0#26#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/components/WorkCard/CardItem.jsx"> <entry file="file://$PROJECT_DIR$/src/components/BlankTabs/index.less">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="50"> <state relative-caret-position="50">
<caret line="2" selection-start-line="2" selection-end-line="2" /> <caret line="2" column="14" selection-start-line="2" selection-start-column="14" selection-end-line="2" selection-end-column="14" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/pages/EventProcessing/Process.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="275">
<caret line="170" column="39" lean-forward="true" selection-start-line="166" selection-start-column="7" selection-end-line="170" selection-end-column="39" />
<folding> <folding>
<element signature="e#0#49#0" expanded="true" /> <element signature="e#0#49#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/router.js"> <entry file="file://$PROJECT_DIR$/src/pages/Backlog/Backlog.jsx">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="425"> <state relative-caret-position="231">
<caret line="17" lean-forward="true" selection-start-line="17" selection-end-line="17" /> <caret line="37" column="6" lean-forward="true" selection-start-line="35" selection-start-column="2" selection-end-line="37" selection-end-column="6" />
<folding> <folding>
<element signature="e#0#25#0" expanded="true" /> <element signature="e#0#49#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/utils/instance.js"> <entry file="file://$PROJECT_DIR$/src/pages/Notice/Notice.jsx">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="375"> <state relative-caret-position="231">
<caret line="63" column="50" selection-start-line="63" selection-start-column="50" selection-end-line="63" selection-end-column="50" /> <caret line="70" column="6" selection-start-line="70" selection-start-column="6" selection-end-line="70" selection-end-column="6" />
<folding> <folding>
<element signature="e#0#26#0" expanded="true" /> <element signature="e#0#49#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
......
...@@ -11,7 +11,7 @@ const tabs = [ ...@@ -11,7 +11,7 @@ const tabs = [
const Index = (props) => { const Index = (props) => {
return ( return (
<div> <div className="blank-tab-card">
<Tabs <Tabs
page={props.page} page={props.page}
tabs={tabs} tabs={tabs}
......
.blank-tab-card{
position: fixed;
width: 100%;
top: 0;
}
.am-tabs-default-bar-tab-active{ .am-tabs-default-bar-tab-active{
color: #0185FB; color: #0185FB;
} }
......
...@@ -13,6 +13,12 @@ const Process = (props) => { ...@@ -13,6 +13,12 @@ const Process = (props) => {
const [templateId, setTemplateId] = useState(); const [templateId, setTemplateId] = useState();
const [tableId, setTableId] = useState(); const [tableId, setTableId] = useState();
const [nodeId, setNodeId] = useState(); const [nodeId, setNodeId] = useState();
//回到顶部
useEffect(() => {
window.scrollTo(0, 0)
}, []);
useEffect(() => { useEffect(() => {
const {id} = props.match.params const {id} = props.match.params
axiosRequest({ axiosRequest({
...@@ -66,7 +72,7 @@ const Process = (props) => { ...@@ -66,7 +72,7 @@ const Process = (props) => {
setAdjunctData(res) setAdjunctData(res)
}); });
}; };
// const [button, setButton] = useState({}) const [button, setButton] = useState([])
const getButton= uuid => { const getButton= uuid => {
axiosRequest({ axiosRequest({
method: 'post', method: 'post',
...@@ -74,7 +80,7 @@ const Process = (props) => { ...@@ -74,7 +80,7 @@ const Process = (props) => {
body: {curNodeId: nodeId} body: {curNodeId: nodeId}
}).then(res => { }).then(res => {
console.log(res) console.log(res)
// setAdjunctData(res) setButton(res)
}); });
}; };
useEffect(() => { useEffect(() => {
...@@ -124,7 +130,8 @@ const Process = (props) => { ...@@ -124,7 +130,8 @@ const Process = (props) => {
name === 'option' && document.getElementsByClassName("option-text")[0].focus(); name === 'option' && document.getElementsByClassName("option-text")[0].focus();
name === 'option' && optionBlur() name === 'option' && optionBlur()
const top = document.getElementById(`event-${name}`).offsetTop; const top = document.getElementById(`event-${name}`).offsetTop;
document.getElementById("event").scrollTo(0,top); console.log(top)
window.scrollTo(0,top);
}; };
...@@ -137,6 +144,8 @@ const Process = (props) => { ...@@ -137,6 +144,8 @@ const Process = (props) => {
}; };
} }
const showActionSheet = () => { const showActionSheet = () => {
// const but = button.map(item => (`${item.showname}`));
// console.log(but)
const BUTTONS = ['送部门领导审核', '送办公室分管主任审批', '办结', '取消']; const BUTTONS = ['送部门领导审核', '送办公室分管主任审批', '办结', '取消'];
ActionSheet.showActionSheetWithOptions({ ActionSheet.showActionSheetWithOptions({
options: BUTTONS, options: BUTTONS,
...@@ -155,35 +164,32 @@ const Process = (props) => { ...@@ -155,35 +164,32 @@ const Process = (props) => {
} }
const handleScroll = () => { const handleScroll = () => {
const adjunct = document.getElementById("event-adjunct").offsetTop; // const adjunct = document.getElementById("event-adjunct").offsetTop;
const flow = document.getElementById("event-flow").offsetTop; // const flow = document.getElementById("event-flow").offsetTop;
const option = document.getElementById("event-option").offsetTop; // const option = document.getElementById("event-option").offsetTop;
const event = document.getElementById('event'); // const event = document.getElementById('event');
const top = event.scrollTop; // const top = event.scrollTop;
const scrollHeight = event.scrollHeight; // const scrollHeight = event.scrollHeight;
const clientHeight = event.clientHeight // const clientHeight = event.clientHeight
if (top >= 0 && top < adjunct) { // if (top >= 0 && top < adjunct) {
setCurrent('basic') // setCurrent('basic')
}else if (top >= adjunct && top < flow) { // }else if (top >= adjunct && top < flow) {
setCurrent('adjunct') // setCurrent('adjunct')
}else if (top >= flow && top < option) { // }else if (top >= flow && top < option) {
setCurrent('flow') // setCurrent('flow')
}else if (top >= option) { // }else if (top >= option) {
setCurrent('option') // setCurrent('option')
} // }
if (top + clientHeight === scrollHeight) { // if (top + clientHeight === scrollHeight) {
setCurrent('option') // setCurrent('option')
} // }
}; };
useEffect(() => { useEffect(() => {
window.addEventListener('scroll', handleScroll, true); window.addEventListener('scroll', handleScroll, true);
return () => window.removeEventListener('scroll', handleScroll, true); return () => window.removeEventListener('scroll', handleScroll, true);
}, []); }, []);
//回到顶部
useEffect(() => {
window.scrollTo(0, 0)
}, []);
return ( return (
<Document title="待办详情"> <Document title="待办详情">
<div> <div>
......
@import '../../variable.less'; @import '../../variable.less';
#event{ #event{
//position: fixed;
//top: 44px;
//left: 0;right: 0; bottom: 50px;
//overflow: auto;
margin-top: 48px;
margin-bottom: 50px; margin-bottom: 50px;
padding-bottom: 340px; padding-bottom: 340px;
} }
......
...@@ -66,8 +66,8 @@ const Notice = (props) => { ...@@ -66,8 +66,8 @@ const Notice = (props) => {
return () => window.removeEventListener('touchmove', handleScroll, true); return () => window.removeEventListener('touchmove', handleScroll, true);
}, [data]); }, [data]);
const checkLog = () => { const checkLog = (OPERATEID, UUID) => {
props.history.push(`/blank/info/example/1`) props.history.push(`/blank/info/${OPERATEID}/${UUID}`)
}; };
//回到顶部 //回到顶部
...@@ -115,7 +115,7 @@ const Notice = (props) => { ...@@ -115,7 +115,7 @@ const Notice = (props) => {
data.length > 0 ? data.map((item, index) => ( data.length > 0 ? data.map((item, index) => (
<div key={index}> <div key={index}>
<WhiteSpace/> <WhiteSpace/>
<TodoCard data={item} onClick={checkLog}/> <TodoCard data={item} onClick={() => checkLog(item.OPERATEID, item.UUID)}/>
</div> </div>
)) : <Empty/> )) : <Empty/>
......
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