Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
swifteditor
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
fukai
swifteditor
Commits
9d71867a
Commit
9d71867a
authored
Dec 10, 2018
by
fukai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整15系列栏位,增加17A
parent
66e770ac
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
84 additions
and
5 deletions
+84
-5
T15A.js
src/swift/Tags/T15A.js
+7
-1
T15B.js
src/swift/Tags/T15B.js
+4
-1
T15C.js
src/swift/Tags/T15C.js
+4
-1
T15D.js
src/swift/Tags/T15D.js
+4
-1
T15E.js
src/swift/Tags/T15E.js
+4
-1
T17A.js
src/swift/Tags/T17A.js
+54
-0
index.js
src/swift/Tags/index.js
+7
-0
No files found.
src/swift/Tags/T15A.js
View file @
9d71867a
...
...
@@ -13,7 +13,12 @@ export default class T15A extends Component
tno
=
-
1
render
(){
return
(
<
Row
><
/Row>
)
return
(
<
Row
>
<
FormItem
>
<
h3
className
=
"ant-form-text"
>
New
Sequence
<
/h3
>
<
/FormItem
>
<
/Row>
)
}
}
\ No newline at end of file
src/swift/Tags/T15B.js
View file @
9d71867a
...
...
@@ -17,7 +17,10 @@ export default class T15B extends Component
render
()
{
return
(
<
Row
>
<
FormItem
>
<
h3
className
=
"ant-form-text"
>
New
Sequence
<
/h3
>
<
/FormItem
>
<
/Row>
)
}
...
...
src/swift/Tags/T15C.js
View file @
9d71867a
...
...
@@ -18,7 +18,10 @@ export default class T15C extends Component
{
return
(
<
Row
>
<
FormItem
>
<
h3
className
=
"ant-form-text"
>
New
Sequence
<
/h3
>
<
/FormItem
>
<
/Row>
)
}
...
...
src/swift/Tags/T15D.js
View file @
9d71867a
...
...
@@ -18,7 +18,10 @@ export default class T15D extends Component
{
return
(
<
Row
>
<
FormItem
>
<
h3
className
=
"ant-form-text"
>
New
Sequence
<
/h3
>
<
/FormItem
>
<
/Row>
)
}
...
...
src/swift/Tags/T15E.js
View file @
9d71867a
...
...
@@ -17,7 +17,10 @@ export default class T15E extends Component
render
()
{
return
(
<
Row
>
<
FormItem
>
<
h3
className
=
"ant-form-text"
>
New
Sequence
<
/h3
>
<
/FormItem
>
<
/Row>
)
}
...
...
src/swift/Tags/T17A.js
0 → 100644
View file @
9d71867a
import
React
,
{
Component
}
from
'react'
import
{
Form
,
Input
,
DatePicker
,
Row
,
Col
,
Button
,
Icon
,
Select
}
from
'antd'
;
import
{
InputSize
,
Currency
}
from
"./Utils"
import
YBIC
from
'./YBIC'
const
FormItem
=
Form
.
Item
;
const
Option
=
Select
.
Option
export
default
class
T17A
extends
Component
{
name
=
'17A'
desp
=
"Indicator"
pattern
=
"1!a"
tno
=
-
1
onChange
=
(
index
,
val
)
=>
{
this
.
props
.
onValue
([{
s1
:
val
},
val
])
}
render
()
{
let
value
=
this
.
props
.
value
let
mval
=
value
&&
value
.
length
?
value
[
1
]
:
''
let
errmsg
=
value
&&
value
.
length
==
3
?
value
[
2
]
:
{}
value
=
value
&&
value
.
length
?
value
[
0
]
:
{}
return
(
<
div
>
<
Row
>
<
Col
span
=
{
3
}
>
<
FormItem
help
=
{
errmsg
.
s1
}
validateStatus
=
{
errmsg
.
s1
?
'error'
:
null
}
>
<
Select
allowClear
=
{
true
}
value
=
{
value
.
s1
}
style
=
{{
width
:
"100%"
}}
placeholder
=
"N/Y"
onChange
=
{(
val
)
=>
this
.
onChange
(
1
,
val
)}
>
<
Option
value
=
"N"
>
N
<
/Option
>
<
Option
value
=
"Y"
>
Y
<
/Option
>
<
/Select
>
<
/FormItem
>
<
/Col
>
<
/Row
>
<
/div
>
)
}
}
\ No newline at end of file
src/swift/Tags/index.js
View file @
9d71867a
...
...
@@ -155,6 +155,7 @@ import T14S from './T14S'
import
T15A
from
'./T15A'
import
T94A
from
'./T94A'
import
T22C
from
'./T22C'
import
T17A
from
'./T17A'
import
T17E
from
'./T17E'
import
T17F
from
'./T17F'
import
T17H
from
'./T17H'
...
...
@@ -189,6 +190,8 @@ import T39M from './T39M'
import
T21A
from
'./T21A'
import
T14E
from
'./T14E'
import
T15B
from
'./T15B'
import
T15C
from
'./T15C'
import
T15D
from
'./T15D'
import
T30T
from
'./T30T'
import
T30V
from
'./T30V'
import
T29A
from
'./T29A'
...
...
@@ -387,6 +390,9 @@ export default function(tag,props,onValue){
case
"T21A"
:
return
<
T21A
{...
props
}
onValue
=
{
onValue
}
/>
;
case
"T14E"
:
return
<
T14E
{...
props
}
onValue
=
{
onValue
}
/>
;
case
"T15B"
:
return
<
T15B
{...
props
}
onValue
=
{
onValue
}
/>
;
case
"T15C"
:
return
<
T15C
{...
props
}
onValue
=
{
onValue
}
/>
;
case
"T15D"
:
return
<
T15D
{...
props
}
onValue
=
{
onValue
}
/>
;
case
"T30T"
:
return
<
T30T
{...
props
}
onValue
=
{
onValue
}
/>
;
case
"T30V"
:
return
<
T30V
{...
props
}
onValue
=
{
onValue
}
/>
;
case
"T29A"
:
return
<
T29A
{...
props
}
onValue
=
{
onValue
}
/>
;
...
...
@@ -403,6 +409,7 @@ export default function(tag,props,onValue){
case
"T15A"
:
return
<
T15A
{...
props
}
onValue
=
{
onValue
}
/>
;
case
"T94A"
:
return
<
T94A
{...
props
}
onValue
=
{
onValue
}
/>
;
case
"T22C"
:
return
<
T22C
{...
props
}
onValue
=
{
onValue
}
/>
;
case
"T17A"
:
return
<
T17A
{...
props
}
onValue
=
{
onValue
}
/>
;
case
"T17E"
:
return
<
T17E
{...
props
}
onValue
=
{
onValue
}
/>
;
case
"T17F"
:
return
<
T17F
{...
props
}
onValue
=
{
onValue
}
/>
;
case
"T17H"
:
return
<
T17H
{...
props
}
onValue
=
{
onValue
}
/>
;
...
...
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