Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-operate-sys-cscec
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
fulixin
dsk-operate-sys-cscec
Commits
b974b741
Commit
b974b741
authored
Jan 25, 2024
by
tianhongyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
2e2c959b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
4 deletions
+22
-4
index.vue
dsk-operate-ui/src/components/DskCustomItemRender/index.vue
+18
-2
consultingAgency.vue
...ent/components/EnterpriseList/detail/consultingAgency.vue
+4
-2
No files found.
dsk-operate-ui/src/components/DskCustomItemRender/index.vue
View file @
b974b741
...
...
@@ -177,6 +177,8 @@ export default {
if
(
valueType
===
"[object String]"
)
{
if
(
value
||
value
==
"0"
)
{
value
=
value
.
replace
(
new
RegExp
(
"
\
\n
"
,
"gmi"
),
"<
\
/br>"
);
// 富文本框保留空格
if
(
item
.
comType
==
"textarea"
)
value
=
value
.
replace
(
new
RegExp
(
"
\\
s"
,
"gmi"
),
" "
);
return
value
;
}
return
"-"
;
...
...
@@ -227,10 +229,24 @@ export default {
}
&
.custom-render-item-textarea
{
min-
height
:
73px
;
height
:
73px
;
.dsk-cutom-form-render-detail-item
{
height
:
auto
;
height
:
100%
;
line-height
:
22px
;
padding
:
0px
;
overflow-x
:
auto
;
overflow-y
:
auto
;
box-sizing
:
border-box
;
.render-detail-item-inner
{
height
:
100%
;
overflow
:
inherit
;
padding
:
9px
12px
;
::v-deep
.text-over-flow-tip-inner
{
overflow
:
visible
;
}
}
}
}
}
...
...
dsk-operate-ui/src/views/consultingOrgManagement/components/EnterpriseList/detail/consultingAgency.vue
View file @
b974b741
...
...
@@ -168,6 +168,7 @@ import { elementMessageSingleton, jsonStrToObject, groupArray } from "@/utils";
import
{
cloneDeep
}
from
"lodash-es"
;
import
DskTextOverFlowTip
from
"@/components/DskTextOverFlowTip"
;
import
DskCustomItemRender
from
"@/components/DskCustomItemRender"
;
import
serialize
from
"serialize-javascript"
;
export
default
{
name
:
"consultingAgency"
,
components
:
{
...
...
@@ -527,10 +528,11 @@ export default {
const
customFormParamsData
=
{
projectKey
:
this
.
projectKey
,
templateId
:
this
.
formTemplate
.
templateId
,
jsonData
:
JSON
.
stringify
(
customFormData
)
jsonData
:
serialize
(
customFormData
)
};
console
.
log
(
serialize
(
customFormData
));
// 处理自定义表单数据
this
.
$emit
(
"editComProjectDetailSuccess"
,
paramsData
,
customFormParamsData
);
//
this.$emit("editComProjectDetailSuccess", paramsData, customFormParamsData);
}
}
}
catch
(
error
)
{
...
...
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