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
eec346be
Commit
eec346be
authored
Jan 25, 2024
by
tianhongyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
b974b741
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
17 deletions
+23
-17
index.vue
dsk-operate-ui/src/components/DskCustomItemRender/index.vue
+21
-14
consultingAgency.vue
...ent/components/EnterpriseList/detail/consultingAgency.vue
+2
-3
No files found.
dsk-operate-ui/src/components/DskCustomItemRender/index.vue
View file @
eec346be
...
@@ -169,6 +169,8 @@ export default {
...
@@ -169,6 +169,8 @@ export default {
const
classParams
=
{
const
classParams
=
{
[
`custom-render-item-
${
comType
}
`
]:
true
[
`custom-render-item-
${
comType
}
`
]:
true
};
};
if
(
!
this
.
comIsModify
)
classParams
[
"is-detail-custom-render-item"
]
=
true
;
if
(
this
.
comIsModify
)
classParams
[
"is-edit-custom-render-item"
]
=
true
;
return
classParams
;
return
classParams
;
},
},
detailRender
(
item
)
{
detailRender
(
item
)
{
...
@@ -229,25 +231,30 @@ export default {
...
@@ -229,25 +231,30 @@ export default {
}
}
&
.custom-render-item-textarea
{
&
.custom-render-item-textarea
{
height
:
73px
;
&
.is-detail-custom-render-item
{
.dsk-cutom-form-render-detail-item
{
.dsk-cutom-form-render-detail-item
{
height
:
100%
;
height
:
73px
;
line-height
:
22px
;
line-height
:
22px
;
padding
:
0px
;
padding
:
0px
;
overflow-x
:
auto
;
overflow
:
hidden
;
overflow-y
:
auto
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
.render-detail-item-inner
{
.render-detail-item-inner
{
height
:
100%
;
height
:
100%
;
overflow
:
inherit
;
padding
:
9px
12px
;
padding
:
9px
12px
;
overflow
:
auto
;
::v-deep
.text-over-flow-tip-inner
{
::v-deep
.dsk-text-over-flow-tip
{
overflow
:
visible
;
.text-over-flow-tip-inner
{
overflow
:
visible
;
}
}
}
}
}
}
}
}
/* 编辑模式 */
&
.is-edit-custom-render-item
{
}
}
}
}
}
</
style
>
</
style
>
dsk-operate-ui/src/views/consultingOrgManagement/components/EnterpriseList/detail/consultingAgency.vue
View file @
eec346be
...
@@ -312,7 +312,7 @@ export default {
...
@@ -312,7 +312,7 @@ export default {
// 缺失模板不渲染
// 缺失模板不渲染
if
(
!
formTemplate
||
!
formTemplate
.
jsonData
)
return
;
if
(
!
formTemplate
||
!
formTemplate
.
jsonData
)
return
;
const
template
=
jsonStrToObject
(
formTemplate
.
jsonData
);
const
template
=
jsonStrToObject
(
formTemplate
.
jsonData
);
const
templateFormData
=
formData
&&
formData
.
jsonData
?
JSON
.
parse
(
formData
.
jsonData
)
:
null
;
const
templateFormData
=
formData
&&
formData
.
jsonData
?
jsonStrToObject
(
formData
.
jsonData
)
:
null
;
if
(
template
)
{
if
(
template
)
{
// 模板
// 模板
let
subfieldModuleListTemplate
=
template
.
subfieldModuleList
;
let
subfieldModuleListTemplate
=
template
.
subfieldModuleList
;
...
@@ -530,9 +530,8 @@ export default {
...
@@ -530,9 +530,8 @@ export default {
templateId
:
this
.
formTemplate
.
templateId
,
templateId
:
this
.
formTemplate
.
templateId
,
jsonData
:
serialize
(
customFormData
)
jsonData
:
serialize
(
customFormData
)
};
};
console
.
log
(
serialize
(
customFormData
));
// 处理自定义表单数据
// 处理自定义表单数据
//
this.$emit("editComProjectDetailSuccess", paramsData, customFormParamsData);
this
.
$emit
(
"editComProjectDetailSuccess"
,
paramsData
,
customFormParamsData
);
}
}
}
}
}
catch
(
error
)
{
}
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