Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bkunyun
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
Administrator
bkunyun
Commits
17d79205
Commit
17d79205
authored
Oct 31, 2022
by
wuyongsheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 字段修改
parent
287ce476
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
index.tsx
...sources/WorkflowOperator/components/AddOperator/index.tsx
+3
-3
No files found.
src/views/ResourceCenter/UserResources/WorkflowOperator/components/AddOperator/index.tsx
View file @
17d79205
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: 吴永生 15770852798@163.com
* @Author: 吴永生 15770852798@163.com
* @Date: 2022-10-18 16:12:55
* @Date: 2022-10-18 16:12:55
* @LastEditors: 吴永生 15770852798@163.com
* @LastEditors: 吴永生 15770852798@163.com
* @LastEditTime: 2022-10-
28 16:48:21
* @LastEditTime: 2022-10-
31 09:38:48
* @FilePath: /bkunyun/src/views/ResourceCenter/UserResources/WorkflowOperator/components/AddOperator/index.tsx
* @FilePath: /bkunyun/src/views/ResourceCenter/UserResources/WorkflowOperator/components/AddOperator/index.tsx
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
*/
...
@@ -348,7 +348,7 @@ const AddOperator = observer((props: IAddOperator) => {
...
@@ -348,7 +348,7 @@ const AddOperator = observer((props: IAddOperator) => {
try {
try {
const newData = JSON.parse(code);
const newData = JSON.parse(code);
const nameArr = newData?.map((item: any) => {
const nameArr = newData?.map((item: any) => {
return `
$
{
item
.
nam
e
}:
~
{
$actorName$
.
$
{
item
.
name
}}
`;
return `
$
{
item
.
titl
e
}:
~
{
$actorName$
.
$
{
item
.
name
}}
`;
});
});
newText = nameArr?.join("\n");
newText = nameArr?.join("\n");
} catch (err) {
} catch (err) {
...
@@ -585,7 +585,7 @@ const AddOperator = observer((props: IAddOperator) => {
...
@@ -585,7 +585,7 @@ const AddOperator = observer((props: IAddOperator) => {
</FormItemBox>
</FormItemBox>
</div>
</div>
)}
)}
<div></div>
{/* <div style={{ width: "368px", backgroundColor: "red" }}></div> */}
</div>
</div>
{taskType === "FLOW" ? null : (
{taskType === "FLOW" ? null : (
<div
<div
...
...
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