Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
WebPublic
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
前端开发小组
WebPublic
Commits
af570bd0
提交
af570bd0
authored
3 年前
作者:
tb53863844
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
开发
上级
5d6bbb8a
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
4 行增加
和
3 行删除
+4
-3
index.jsx
one_stop_public/Table/index.jsx
+3
-2
TreeList.js
one_stop_public/libs/formList/TreeList.js
+1
-1
没有找到文件。
one_stop_public/Table/index.jsx
浏览文件 @
af570bd0
...
@@ -62,6 +62,7 @@ export default class ZdyTable extends Component {
...
@@ -62,6 +62,7 @@ export default class ZdyTable extends Component {
...
this
.
state
,
...
this
.
state
,
...
this
.
props
,
...
this
.
props
,
formConfig
:
{
...
this
.
state
.
formConfig
,
style
:
this
.
props
.
style
},
isReady
:
true
,
formConfig
:
{
...
this
.
state
.
formConfig
,
style
:
this
.
props
.
style
},
isReady
:
true
,
viewMode
:
this
.
props
.
currentFormKey
&&
this
.
props
.
data
&&
this
.
props
.
datas
[
this
.
props
.
currentFormKey
]?
this
.
props
.
datas
[
this
.
props
.
currentFormKey
].
viewMode
:
null
});
});
});
});
...
@@ -408,6 +409,7 @@ export default class ZdyTable extends Component {
...
@@ -408,6 +409,7 @@ export default class ZdyTable extends Component {
...
this
.
state
,
...
this
.
state
,
...
nextProps
,
...
nextProps
,
isReady
:
true
,
isReady
:
true
,
viewMode
:
nextProps
.
currentFormKey
&&
nextProps
.
datas
&&
nextProps
.
datas
[
nextProps
.
currentFormKey
]?
nextProps
.
datas
[
nextProps
.
currentFormKey
].
viewMode
:
null
,
formConfig
:
{
...
this
.
state
.
formConfig
,
style
:
nextProps
.
style
},
formConfig
:
{
...
this
.
state
.
formConfig
,
style
:
nextProps
.
style
},
},
()
=>
this
.
initExcel
({
datas
:
nextProps
.
datas
,
trees
:
nextProps
.
trees
}));
},
()
=>
this
.
initExcel
({
datas
:
nextProps
.
datas
,
trees
:
nextProps
.
trees
}));
return
;
return
;
...
@@ -636,7 +638,6 @@ export default class ZdyTable extends Component {
...
@@ -636,7 +638,6 @@ export default class ZdyTable extends Component {
formId
,
formId
,
viewMode
viewMode
}
=
this
.
state
;
}
=
this
.
state
;
const
getx
=
this
.
props
.
get
const
{
const
{
border
,
border
,
obj
,
obj
,
...
@@ -658,7 +659,7 @@ export default class ZdyTable extends Component {
...
@@ -658,7 +659,7 @@ export default class ZdyTable extends Component {
}
=
this
.
props
;
}
=
this
.
props
;
let
get
;
let
get
;
if
(
viewMode
!=
null
&&
viewMode
!=
""
){
if
(
viewMode
!=
null
&&
viewMode
!=
""
){
get
=
isMobil
e
get
=
viewMod
e
}
else
{
}
else
{
get
=
this
.
props
.
get
get
=
this
.
props
.
get
}
}
...
...
This diff is collapsed.
Click to expand it.
one_stop_public/libs/formList/TreeList.js
浏览文件 @
af570bd0
...
@@ -218,7 +218,7 @@ class TreeList extends React.Component {
...
@@ -218,7 +218,7 @@ class TreeList extends React.Component {
dispatch
({
dispatch
({
type
:
'formList/tree'
,
type
:
'formList/tree'
,
payload
:
{
...
values
,
ctgFilterSql
:
isFirst
?
null
:
ctgFilterSql
,
parentIdName
:
treeParentIdName
,
dataObjId
:
this
.
state
.
objId
},
payload
:
{
...
values
,
ctgFilterSql
:
ctgFilterSql
,
parentIdName
:
treeParentIdName
,
dataObjId
:
this
.
state
.
objId
},
callback
:
callback
,
callback
:
callback
,
});
});
};
};
...
...
This diff is collapsed.
Click to expand it.
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论