Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
WebPublic
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
前端开发小组
WebPublic
Commits
63f03aea
提交
63f03aea
authored
12月 28, 2021
作者:
钟是志
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
组件修改
上级
d5bb11f0
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
31 行增加
和
18 行删除
+31
-18
List.js
FormInsertDiy/AffairPage/ApplyPage/List.js
+2
-2
index.js
FormInsertDiy/AffairPage/ApplyPage/index.js
+25
-13
DraftEditor.less
one_stop_public/App/DraftEditor.less
+0
-0
DraftEditorCom.js
one_stop_public/App/DraftEditorCom.js
+2
-1
index.jsx
one_stop_public/tableCompon/index.jsx
+2
-2
没有找到文件。
FormInsertDiy/AffairPage/ApplyPage/List.js
浏览文件 @
63f03aea
...
...
@@ -50,7 +50,7 @@ export default class List extends Component {
};
giveGetPageFields
=
()
=>
{
const
{
listConfig
,
pageSearch
,
beforeGetPage
}
=
this
.
props
;
const
{
listConfig
,
pageSearch
}
=
this
.
props
;
const
{
pagination
,
formValues
}
=
this
.
state
;
const
search
=
pageSearch
.
search
;
let
data
=
deepCopy
(
formValues
);
...
...
@@ -76,7 +76,7 @@ export default class List extends Component {
};
getPage
=
()
=>
{
const
{
listConfig
,
pageSearch
,
dataBaseId
,
workId
,
addFields
}
=
this
.
props
;
const
{
listConfig
,
pageSearch
,
workId
}
=
this
.
props
;
const
{
pagination
,
sortGetPageFields
}
=
this
.
state
;
const
{
search
}
=
pageSearch
;
let
data
=
this
.
giveGetPageFields
();
...
...
FormInsertDiy/AffairPage/ApplyPage/index.js
浏览文件 @
63f03aea
...
...
@@ -79,6 +79,8 @@ class AffairPage extends React.Component {
return
record
.
statusName
||
record
[
process_status
.
dataIndex
];
};
}
let
findCz
=
columns
.
find
((
g
)
=>
g
.
dataIndex
===
'operation'
);
if
(
!
findCz
){
columns
.
push
({
dataIndex
:
'operation'
,
title
:
'操作'
,
...
...
@@ -100,6 +102,11 @@ class AffairPage extends React.Component {
);
},
});
}
this
.
setState
({
columns
,
});
...
...
@@ -126,7 +133,6 @@ class AffairPage extends React.Component {
return
[...
otherButtons
];
}
return
[
{
type
:
'add'
,
...
...
@@ -137,8 +143,7 @@ class AffairPage extends React.Component {
{
showIframe
:
true
,
},
()
=>
{
},
()
=>
{},
);
},
},
...
...
@@ -263,7 +268,14 @@ class AffairPage extends React.Component {
};
render
()
{
const
{
workId
,
dataBaseId
,
addFields
,
showIframe
,
renderIframe
,
allConfigSetInfo
}
=
this
.
state
;
const
{
workId
,
dataBaseId
,
addFields
,
showIframe
,
renderIframe
,
allConfigSetInfo
,
}
=
this
.
state
;
if
(
!
workId
||
!
allConfigSetInfo
)
{
return
null
;
}
...
...
@@ -279,7 +291,7 @@ class AffairPage extends React.Component {
listConfig
.
buttonArea
=
false
;
}
return
(
<
PageHeaderWrapper
title
=
''
>
<
PageHeaderWrapper
title
=
""
>
<
div
style
=
{{
display
:
showIframe
?
'none'
:
'block'
,
...
...
@@ -309,10 +321,10 @@ class AffairPage extends React.Component {
display
:
showIframe
?
'block'
:
'none'
,
}}
>
<
ButtonDiy
name
=
'返回'
className
=
'defaultBlue'
name
=
"返回"
className
=
"defaultBlue"
handleClick
=
{
this
.
returnList
}
icon
=
'arrow-left'
icon
=
"arrow-left"
/>
<
/div
>
<
/Shell
>
...
...
@@ -320,11 +332,11 @@ class AffairPage extends React.Component {
<
iframe
src
=
{
iframeUrl
}
frameBorder
=
{
0
}
id
=
'applyIframeId'
name
=
'applyIframe'
marginWidth
=
'0'
marginHeight
=
'0'
allowtransparency
=
'yes'
id
=
"applyIframeId"
name
=
"applyIframe"
marginWidth
=
"0"
marginHeight
=
"0"
allowtransparency
=
"yes"
seamless
scrolling
=
{
'auto'
}
style
=
{{
...
...
one_stop_public/App/DraftEditor.less
浏览文件 @
63f03aea
one_stop_public/App/DraftEditorCom.js
浏览文件 @
63f03aea
...
...
@@ -343,7 +343,7 @@ export default class DraftEditorCom extends React.Component {
const
{
modalVisible
}
=
this
.
state
;
return
(
<
div
>
<
div
style
=
{{
border
:
'1px solid gray'
}}
>
<
StyleControls
btns
=
{
btns
}
editorState
=
{
this
.
state
.
editorState
}
...
...
@@ -361,6 +361,7 @@ export default class DraftEditorCom extends React.Component {
<
Editor
ref
=
{
this
.
setEditor
}
blockStyleFn
=
{
getBlockStyle
}
readOnly
=
{
this
.
props
.
disabled
}
customStyleMap
=
{
this
.
state
.
styleMap
}
blockRendererFn
=
{
MyBlockRender
.
bind
(
this
,
...
...
one_stop_public/tableCompon/index.jsx
浏览文件 @
63f03aea
...
...
@@ -1853,7 +1853,6 @@ export default class tableCom extends Component {
// cm = <img src={queryApiActionPath()+obj[dataColumn.base52]} />
// break;
case
'RichText'
:
// console.log(obj[dataColumn.base52]);
cm
=
(
<
Editor
key=
{
dataColumn
.
base52
}
...
...
@@ -3066,13 +3065,14 @@ export default class tableCom extends Component {
}
break
;
case
'RichText'
:
console
.
log
(
initValue
,
'22222222222222'
,
dataColumn
.
base52
,
json
);
cm
=
getFieldDecorator
(
dataColumn
.
base52
,
{
initialValue
:
initValue
,
rules
:
json
.
vlds
&&
json
.
vlds
.
length
>
0
?
json
.
vlds
:
[{
required
:
required
,
message
:
'请输入'
}],
})(<
DraftEditorCom
placeholder=
{
json
.
placeholder
}
/>);
})(<
DraftEditorCom
placeholder=
{
json
.
placeholder
}
disabled=
{
json
.
disabled
}
/>);
if
(
get
===
'mobile'
&&
((
json
.
isMobileLabel
!=
null
&&
json
.
isMobileLabel
)
||
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论