Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-station-module-view
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
station
amos-station-module-view
Commits
336faae8
Commit
336faae8
authored
Jun 18, 2020
by
单奇雲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
检索bug
parent
44554099
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
index.js
mods/components/3dviewConvertor/view/searchPane/index.js
+3
-1
No files found.
mods/components/3dviewConvertor/view/searchPane/index.js
View file @
336faae8
import
React
,
{
Component
}
from
'react'
;
import
React
,
{
Component
}
from
'react'
;
import
PropTypes
from
'prop-types'
;
import
PropTypes
from
'prop-types'
;
import
{
deepCopy
}
from
'amos-tool'
;
import
{
SidePane
,
Tabs
,
message
}
from
'amos-framework'
;
import
{
SidePane
,
Tabs
,
message
}
from
'amos-framework'
;
import
Icon
from
'amos-icon'
;
import
Icon
from
'amos-icon'
;
import
{
AmosGridTable
}
from
'amos-pro'
;
import
{
AmosGridTable
}
from
'amos-pro'
;
...
@@ -166,7 +167,7 @@ class SearchPane extends Component {
...
@@ -166,7 +167,7 @@ class SearchPane extends Component {
let
views
=
new
Array
();
let
views
=
new
Array
();
if
(
record
.
position
){
if
(
record
.
position
){
record
.
id
=
record
.
id
.
replace
(
`
${
record
.
type
}
-`
,
''
);
record
.
id
=
record
.
id
.
replace
(
`
${
record
.
type
}
-`
,
''
);
views
.
push
(
record
);
views
.
push
(
deepCopy
(
record
)
);
let
args
=
{
let
args
=
{
target
:
views
,
target
:
views
,
operateType
:
operateTypes
.
POINT_SEARCH
operateType
:
operateTypes
.
POINT_SEARCH
...
@@ -280,6 +281,7 @@ class SearchPane extends Component {
...
@@ -280,6 +281,7 @@ class SearchPane extends Component {
paramsOnChange
=
(
filter
)
=>
{
paramsOnChange
=
(
filter
)
=>
{
const
{
activeKey
}
=
this
.
state
;
const
{
activeKey
}
=
this
.
state
;
this
.
setPageConfig
({
pageSize
:
10
,
current
:
1
});
if
(
activeKey
===
'search'
){
if
(
activeKey
===
'search'
){
this
.
setState
({
filter
},
this
.
fetchRetrieveData
);
this
.
setState
({
filter
},
this
.
fetchRetrieveData
);
}
else
if
(
activeKey
===
'message'
){
}
else
if
(
activeKey
===
'message'
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment