Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
szse
Overview
Overview
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
zhaochengxiang
szse
Commits
69e4caa0
Commit
69e4caa0
authored
Nov 08, 2021
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
搜索框宽度调整
parent
ffe61fe4
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
9 deletions
+12
-9
index.js
src/util/index.js
+2
-0
AssetTable.jsx
src/view/Manage/AssetManage/Component/AssetTable.jsx
+2
-2
ImportActionIndex.jsx
src/view/Manage/Model/Component/ImportActionIndex.jsx
+2
-2
ImportActionTable.jsx
src/view/Manage/Model/Component/ImportActionTable.jsx
+2
-2
index.jsx
src/view/Manage/Model/index.jsx
+2
-2
ConstraintDetail.jsx
src/view/Manage/ModelConfig/Component/ConstraintDetail.jsx
+2
-1
No files found.
src/util/index.js
View file @
69e4caa0
...
...
@@ -8,6 +8,8 @@ import { set_sess_state } from "../model/reducer";
//元曜公网环境 isSzseEnv false
export
const
isSzseEnv
=
false
;
export
const
inputWidth
=
isSzseEnv
?
360
:
240
;
export
const
ContextPath
=
'/data-govern'
;
const
routeMap
=
{};
...
...
src/view/Manage/AssetManage/Component/AssetTable.jsx
View file @
69e4caa0
...
...
@@ -15,7 +15,7 @@ import AssetEdit from './AssetEdit';
import
AssetDetail
from
"./AssetDetail"
;
import
AssetItem
from
'./AssetItem'
;
import
{
dispatch
,
dispatchLatestHomepage
}
from
'../../../../model'
;
import
{
showMessage
,
showNotifaction
,
getQueryParam
}
from
'../../../../util'
;
import
{
showMessage
,
showNotifaction
,
getQueryParam
,
inputWidth
}
from
'../../../../util'
;
import
{
AnchorId
,
AnchorTimestamp
}
from
'../../../../util/constant'
;
import
"./AssetTable.less"
;
...
...
@@ -381,7 +381,7 @@ const AssetTable = (props) => {
allowClear
value={keyword}
onChange={onSearchInputChange}
style={{ width:
240
, marginLeft: 'auto' }}
style={{ width:
inputWidth
, marginLeft: 'auto' }}
/>
</Space>
</div>
...
...
src/view/Manage/Model/Component/ImportActionIndex.jsx
View file @
69e4caa0
...
...
@@ -6,7 +6,7 @@ import { HTML5Backend } from 'react-dnd-html5-backend';
import
update
from
'immutability-helper'
;
import
{
addEventListenerForSidebar
,
removeEventListenerForSidebar
}
from
'./Help'
;
import
{
showMessage
,
highlightSearchContentByTerms
}
from
'../../../../util'
;
import
{
showMessage
,
highlightSearchContentByTerms
,
inputWidth
}
from
'../../../../util'
;
const
{
Option
}
=
Select
;
...
...
@@ -651,7 +651,7 @@ const ImportActionIndex = (props) => {
allowClear
value=
{
keyword
}
onChange=
{
onSearchInputChange
}
style=
{
{
width
:
230
}
}
style=
{
{
width
:
inputWidth
}
}
/>
</
div
>
</
div
>
...
...
src/view/Manage/Model/Component/ImportActionTable.jsx
View file @
69e4caa0
...
...
@@ -5,7 +5,7 @@ import { DndProvider, useDrag, useDrop } from 'react-dnd';
import
{
HTML5Backend
}
from
'react-dnd-html5-backend'
;
import
update
from
'immutability-helper'
;
import
{
generateUUID
,
highlightSearchContentByTerms
,
showMessage
}
from
'../../../../util'
;
import
{
generateUUID
,
highlightSearchContentByTerms
,
showMessage
,
inputWidth
}
from
'../../../../util'
;
import
{
dispatch
,
dispatchLatest
}
from
'../../../../model'
;
import
{
addEventListenerForSidebar
,
removeEventListenerForSidebar
}
from
'./Help'
;
import
{
AppContext
}
from
'../../../../App'
;
...
...
@@ -949,7 +949,7 @@ const ImportActionTable = (props) => {
allowClear
value={keyword}
onChange={onSearchInputChange}
style={{ width:
230
}}
style={{ width:
inputWidth
}}
/>
</div>
</div>
...
...
src/view/Manage/Model/index.jsx
View file @
69e4caa0
...
...
@@ -13,7 +13,7 @@ import ExportOtherModal from './Component/ExportOtherModal';
import
RecatalogModal
from
'./Component/RecatalogModal'
;
import
HistoryAndVersionDrawer
from
'./Component/HistoryAndVersionDrawer'
;
import
StartFlowModal
from
'./Component/StartFlowModal'
;
import
{
showMessage
,
showNotifaction
,
i
sSzseEnv
}
from
'../../../util'
;
import
{
showMessage
,
showNotifaction
,
i
nputWidth
}
from
'../../../util'
;
import
{
dispatch
,
dispatchLatestHomepage
}
from
'../../../model'
;
import
{
Action
,
CatalogId
,
ModelerId
,
Hints
,
ModelerData
,
PermitCheckOut
,
Editable
,
StateId
}
from
'../../../util/constant'
;
import
{
AppContext
}
from
'../../../App'
;
...
...
@@ -475,7 +475,7 @@ class Model extends React.Component {
allowClear
value={keyword}
onChange={(e) => { this.onSearchInputChange(e); }}
style={{ width: i
sSzseEnv?360:240
, marginLeft: 'auto' }}
style={{ width: i
nputWidth
, marginLeft: 'auto' }}
/>
</Space>
...
...
src/view/Manage/ModelConfig/Component/ConstraintDetail.jsx
View file @
69e4caa0
import
React
,
{
useEffect
,
useState
}
from
'react'
;
import
{
Input
,
Table
,
Tooltip
}
from
'antd'
;
import
{
inputWidth
}
from
'../../../../util'
;
import
{
dispatch
}
from
'../../../../model'
;
const
ConstraintDetail
=
(
props
)
=>
{
...
...
@@ -105,7 +106,7 @@ const ConstraintDetail = (props) => {
allowClear
value=
{
keyword
}
onChange=
{
onSearchInputChange
}
style=
{
{
width
:
230
}
}
style=
{
{
width
:
inputWidth
}
}
/>
</
div
>
<
Table
...
...
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