Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
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
黄庭坚
jinfa-platform
Commits
f1d24910
Commit
f1d24910
authored
May 14, 2022
by
前端-彭佳文
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'jinfa-0518' into 'jinfa-0518'
Jinfa 0518 See merge request project/jinfa-platform!39
parents
5f98301c
d914203a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
5 deletions
+14
-5
index.tsx
src/components/TabTree/index.tsx
+2
-2
index.tsx
src/pages/classAndProperty/class/index.tsx
+2
-2
index.ts
src/pages/classAndProperty/class/schema/index.ts
+10
-1
No files found.
src/components/TabTree/index.tsx
View file @
f1d24910
...
@@ -100,7 +100,7 @@ const RenderIcons: React.FC<RenderIconsProps> = props => {
...
@@ -100,7 +100,7 @@ const RenderIcons: React.FC<RenderIconsProps> = props => {
// return <Space className={cx('god-tabtree-icons', props.nowKey === props.node.key ? 'show' : 'hide')}>
// return <Space className={cx('god-tabtree-icons', props.nowKey === props.node.key ? 'show' : 'hide')}>
return
(
return
(
<
Space
className=
{
cx
(
'god-tabtree-icons'
)
}
>
<
Space
className=
{
cx
(
'god-tabtree-icons'
)
}
>
<
Tooltip
title=
{
intl
.
formatMessage
({
id
:
'components.xinzengjiedian'
})
}
>
{
/*
<Tooltip title={intl.formatMessage({ id: 'components.xinzengjiedian' })}>
<PlusCircleOutlined
<PlusCircleOutlined
onClick={e => {
onClick={e => {
e.stopPropagation();
e.stopPropagation();
...
@@ -109,7 +109,7 @@ const RenderIcons: React.FC<RenderIconsProps> = props => {
...
@@ -109,7 +109,7 @@ const RenderIcons: React.FC<RenderIconsProps> = props => {
toolsRender.addNode(props.node);
toolsRender.addNode(props.node);
}}
}}
/>
/>
</
Tooltip
>
</Tooltip>
*/
}
{
/* <Tooltip title={intl.formatMessage({ id: 'components.xinzengzijiedian' })}>
{
/* <Tooltip title={intl.formatMessage({ id: 'components.xinzengzijiedian' })}>
<PlusCircleOutlined
<PlusCircleOutlined
onClick={e => {
onClick={e => {
...
...
src/pages/classAndProperty/class/index.tsx
View file @
f1d24910
...
@@ -200,8 +200,8 @@ const ClassProperty: React.FC<{}> = () => {
...
@@ -200,8 +200,8 @@ const ClassProperty: React.FC<{}> = () => {
syncTreeActions
.
setSelectKeys
([])
syncTreeActions
.
setSelectKeys
([])
}
}
const
connectCategory
=
<
div
className=
'connectBtn'
onClick=
{
handleConnectCategroyBtn
}
><
LinkOutlined
style=
{
{
marginRight
:
4
}
}
/>
{
intl
.
formatMessage
({
id
:
'classAndProperty.class.connectCategory'
})
}
</
div
>
// const connectCategory = <div className='connectBtn'
onClick={handleConnectCategroyBtn}><LinkOutlined style={{ marginRight: 4 }} />{intl.formatMessage({ id: 'classAndProperty.class.connectCategory' })}</div>
const
connectCategory
=
<
div
className=
'connectBtn'
><
LinkOutlined
style=
{
{
marginRight
:
4
}
}
/>
{
intl
.
formatMessage
({
id
:
'classAndProperty.class.connectCategory'
})
}
</
div
>
return
<
PageHeaderWrapper
return
<
PageHeaderWrapper
title=
{
intl
.
formatMessage
({
id
:
'classAndProperty.class.title'
})
}
title=
{
intl
.
formatMessage
({
id
:
'classAndProperty.class.title'
})
}
className=
"useConnectBtnWrapper"
className=
"useConnectBtnWrapper"
...
...
src/pages/classAndProperty/class/schema/index.ts
View file @
f1d24910
...
@@ -25,6 +25,7 @@ export const classSchema: ISchema = {
...
@@ -25,6 +25,7 @@ export const classSchema: ISchema = {
properties
:
{
properties
:
{
name
:
{
name
:
{
type
:
'string'
,
type
:
'string'
,
editable
:
false
,
title
:
getIntl
().
formatMessage
({
id
:
'classAndProperty.class.classSchema.name'
}),
title
:
getIntl
().
formatMessage
({
id
:
'classAndProperty.class.classSchema.name'
}),
'x-component-props'
:
{
'x-component-props'
:
{
placeholder
:
getIntl
().
formatMessage
({
id
:
'classAndProperty.class.classSchema.name.placeholder'
}),
placeholder
:
getIntl
().
formatMessage
({
id
:
'classAndProperty.class.classSchema.name.placeholder'
}),
...
@@ -59,6 +60,7 @@ export const classSchema: ISchema = {
...
@@ -59,6 +60,7 @@ export const classSchema: ISchema = {
},
},
type
:
{
type
:
{
type
:
'number'
,
type
:
'number'
,
editable
:
false
,
title
:
getIntl
().
formatMessage
({
id
:
'classAndProperty.class.classSchema.type'
}),
title
:
getIntl
().
formatMessage
({
id
:
'classAndProperty.class.classSchema.type'
}),
'x-component-props'
:
{
'x-component-props'
:
{
placeholder
:
getIntl
().
formatMessage
({
id
:
'classAndProperty.class.classSchema.type.placeholder'
}),
placeholder
:
getIntl
().
formatMessage
({
id
:
'classAndProperty.class.classSchema.type.placeholder'
}),
...
@@ -77,10 +79,15 @@ export const classSchema: ISchema = {
...
@@ -77,10 +79,15 @@ export const classSchema: ISchema = {
],
],
},
},
imageUrl
:
{
imageUrl
:
{
// editable:false,
title
:
getIntl
().
formatMessage
({
id
:
'classAndProperty.class.classSchema.imageUrl'
}),
title
:
getIntl
().
formatMessage
({
id
:
'classAndProperty.class.classSchema.imageUrl'
}),
'x-component'
:
'CustomUpload'
,
'x-component'
:
'CustomUpload'
,
'x-component-props'
:{
disabled
:
true
,
}
},
},
category
:
{
category
:
{
editable
:
false
,
type
:
'object'
,
type
:
'object'
,
visible
:
false
,
visible
:
false
,
properties
:
{
properties
:
{
...
@@ -103,6 +110,7 @@ export const classSchema: ISchema = {
...
@@ -103,6 +110,7 @@ export const classSchema: ISchema = {
title
:
getIntl
().
formatMessage
({
id
:
'classAndProperty.class.classSchema.sort'
}),
title
:
getIntl
().
formatMessage
({
id
:
'classAndProperty.class.classSchema.sort'
}),
required
:
true
,
required
:
true
,
'x-component-props'
:
{
'x-component-props'
:
{
disabled
:
true
,
placeholder
:
getIntl
().
formatMessage
({
id
:
'classAndProperty.class.classSchema.sort.placeholder'
}),
placeholder
:
getIntl
().
formatMessage
({
id
:
'classAndProperty.class.classSchema.sort.placeholder'
}),
},
},
'x-rules'
:
[
'x-rules'
:
[
...
@@ -116,9 +124,10 @@ export const classSchema: ISchema = {
...
@@ -116,9 +124,10 @@ export const classSchema: ISchema = {
type
:
'string'
,
type
:
'string'
,
title
:
getIntl
().
formatMessage
({
id
:
'classAndProperty.class.classSchema.deadline'
}),
title
:
getIntl
().
formatMessage
({
id
:
'classAndProperty.class.classSchema.deadline'
}),
'x-component-props'
:
{
'x-component-props'
:
{
disabled
:
true
,
prefix
:
getIntl
().
formatMessage
({
id
:
'classAndProperty.class.classSchema.deadline.prefix'
}),
prefix
:
getIntl
().
formatMessage
({
id
:
'classAndProperty.class.classSchema.deadline.prefix'
}),
suffix
:
getIntl
().
formatMessage
({
id
:
'classAndProperty.class.classSchema.deadline.suffix'
}),
suffix
:
getIntl
().
formatMessage
({
id
:
'classAndProperty.class.classSchema.deadline.suffix'
}),
placeholder
:
getIntl
().
formatMessage
({
id
:
'classAndProperty.class.classSchema.deadline.placeholder'
}),
//
placeholder: getIntl().formatMessage({ id: 'classAndProperty.class.classSchema.deadline.placeholder' }),
},
},
'x-rules'
:
[
'x-rules'
:
[
{
{
...
...
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