Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
WebPublic
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
前端开发小组
WebPublic
Commits
f333d3b9
提交
f333d3b9
authored
8月 17, 2020
作者:
tb53863844
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改bug
上级
93a0e870
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
17 行增加
和
2 行删除
+17
-2
index.jsx
one_stop_public/Table/index.jsx
+0
-0
isNewMobileTable.jsx
one_stop_public/Table/isNewMobileTable.jsx
+12
-1
index.jsx
one_stop_public/tableCompon/index.jsx
+5
-1
没有找到文件。
one_stop_public/Table/index.jsx
浏览文件 @
f333d3b9
差异被折叠。
点击展开。
one_stop_public/Table/isNewMobileTable.jsx
浏览文件 @
f333d3b9
...
@@ -39,7 +39,9 @@ export default class isNewTable extends Component {
...
@@ -39,7 +39,9 @@ export default class isNewTable extends Component {
concealModel
,
concealModel
,
taskAssignee
,
taskAssignee
,
currentFormTitle
,
currentFormTitle
,
getCellValue
getCellValue
,
hfInstance
,
getCurrentFormTitle
}
=
this
.
props
;
}
=
this
.
props
;
if
(
!
isEdit
)
{
if
(
!
isEdit
)
{
// 展示栏 暂不做处理
// 展示栏 暂不做处理
...
@@ -91,6 +93,7 @@ export default class isNewTable extends Component {
...
@@ -91,6 +93,7 @@ export default class isNewTable extends Component {
i=
{
i
}
i=
{
i
}
j=
{
j
}
j=
{
j
}
index=
{
index
}
index=
{
index
}
getCurrentFormTitle
fatherCode=
{
fatherCode
}
fatherCode=
{
fatherCode
}
datas=
{
datas
}
datas=
{
datas
}
isEdit=
{
isEdit
}
isEdit=
{
isEdit
}
...
@@ -98,6 +101,8 @@ export default class isNewTable extends Component {
...
@@ -98,6 +101,8 @@ export default class isNewTable extends Component {
formKey=
{
currentFormKey
}
formKey=
{
currentFormKey
}
currentFormTitle
currentFormTitle
getCellValue
getCellValue
hfInstance
initExcel=
{
this
.
props
.
initExcel
}
init=
{
init
}
init=
{
init
}
get=
{
get
}
get=
{
get
}
key=
{
j
}
key=
{
j
}
...
@@ -168,9 +173,12 @@ export default class isNewTable extends Component {
...
@@ -168,9 +173,12 @@ export default class isNewTable extends Component {
fatherCode=
{
fatherCode
}
fatherCode=
{
fatherCode
}
datas=
{
datas
}
datas=
{
datas
}
isEdit=
{
isEdit
}
isEdit=
{
isEdit
}
getCurrentFormTitle
importExcel=
{
this
.
props
.
importExcel
}
fatherObj=
{
this
.
props
.
fatherObj
}
fatherObj=
{
this
.
props
.
fatherObj
}
formKey=
{
currentFormKey
}
formKey=
{
currentFormKey
}
currentFormTitle
currentFormTitle
hfInstance
getCellValue
getCellValue
init=
{
init
}
init=
{
init
}
get=
{
get
}
get=
{
get
}
...
@@ -214,9 +222,12 @@ export default class isNewTable extends Component {
...
@@ -214,9 +222,12 @@ export default class isNewTable extends Component {
datas=
{
datas
}
datas=
{
datas
}
modalInit=
{
modalInit
}
modalInit=
{
modalInit
}
isEdit=
{
isEdit
}
isEdit=
{
isEdit
}
getCurrentFormTitle
fatherObj=
{
this
.
props
.
fatherObj
}
fatherObj=
{
this
.
props
.
fatherObj
}
formKey=
{
currentFormKey
}
formKey=
{
currentFormKey
}
importExcel=
{
this
.
props
.
importExcel
}
currentFormTitle
currentFormTitle
hfInstance
getCellValue
getCellValue
init=
{
init
}
init=
{
init
}
get=
{
get
}
get=
{
get
}
...
...
one_stop_public/tableCompon/index.jsx
浏览文件 @
f333d3b9
...
@@ -1144,6 +1144,7 @@ export default class tableCom extends Component {
...
@@ -1144,6 +1144,7 @@ export default class tableCom extends Component {
moment
:
moment
,
moment
:
moment
,
sql
:
this
.
sqlUtil
.
bind
(
this
,
base52
,
json
,
callback
),
sql
:
this
.
sqlUtil
.
bind
(
this
,
base52
,
json
,
callback
),
message
:
message
,
message
:
message
,
importExcel
:
this
.
props
.
importExcel
,
router
:
router
,
router
:
router
,
uuid
:
UUID
,
uuid
:
UUID
,
setValues
:
this
.
setValues
.
bind
(
this
,
base52
,
json
),
setValues
:
this
.
setValues
.
bind
(
this
,
base52
,
json
),
...
@@ -1483,12 +1484,16 @@ export default class tableCom extends Component {
...
@@ -1483,12 +1484,16 @@ export default class tableCom extends Component {
if
(
formKey
==
fk
)
{
if
(
formKey
==
fk
)
{
return
<>
片段表单key不能和自身相同
</>;
return
<>
片段表单key不能和自身相同
</>;
}
}
return
(
return
(
<>
<>
{
this
.
props
.
form
.
getFieldDecorator
(
this
.
props
.
uuid
,
{
{
this
.
props
.
form
.
getFieldDecorator
(
this
.
props
.
uuid
,
{
initialValue
:
fk
,
initialValue
:
fk
,
})(<
Input
type=
"hidden"
/>)
}{
' '
}
})(<
Input
type=
"hidden"
/>)
}{
' '
}
<
ZdyTable
<
ZdyTable
hfInstance=
{
this
.
props
.
hfInstance
}
currentFormTitle=
{
this
.
props
.
getCurrentFormTitle
(
fk
)
}
getCellValue=
{
getCellValue
}
taskAssignee=
{
taskAssignee
}
taskAssignee=
{
taskAssignee
}
isWebPrint=
{
this
.
props
.
isWebPrint
||
false
}
isWebPrint=
{
this
.
props
.
isWebPrint
||
false
}
userId=
{
userId
}
userId=
{
userId
}
...
@@ -2571,7 +2576,6 @@ export default class tableCom extends Component {
...
@@ -2571,7 +2576,6 @@ export default class tableCom extends Component {
break
;
break
;
case
'Select'
:
case
'Select'
:
console
.
log
();
cm
=
getFieldDecorator
(
dataColumn
.
base52
,
{
cm
=
getFieldDecorator
(
dataColumn
.
base52
,
{
initialValue
:
initValue
,
initialValue
:
initValue
,
rules
:
rules
:
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论