Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
e30b0721
authored
2025-10-13 11:30:54 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
数据定价
1 parent
f5bb9789
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
src/views/data_pricing/calculateConfig.vue
src/views/data_pricing/calculateConfig.vue
View file @
e30b072
...
...
@@ -299,7 +299,7 @@ const getDataTypeList = () => {
// 设置数据字典选项
const
setDictFormItems
=
(
dictList
)
=>
{
dictList
.
map
(
d
=>
{
const
dictName
=
d
.
dictionary
Name
;
const
dictName
=
d
.
target
Name
;
const
dictField
=
`dict_
${
d
.
guid
}
`
;
baseConfigFormItems
.
value
.
push
({
label
:
dictName
,
...
...
@@ -313,10 +313,10 @@ const setDictFormItems = (dictList) => {
required
:
true
,
});
baseConfigFormRules
.
value
[
dictField
]
=
[{
required
:
true
,
trigger
:
'change'
,
message
:
`请选择
${
dictName
}
`
}];
d
ict
Name
==
'数据用途'
&&
(
dataUsage
.
value
.
field
=
dictField
);
d
.
dictionary
Name
==
'数据用途'
&&
(
dataUsage
.
value
.
field
=
dictField
);
(()
=>
{
if
(
typeMap
.
value
[
dictField
]
==
undefined
)
{
getDataType
(
d
ict
Name
,
dictField
)
getDataType
(
d
.
dictionary
Name
,
dictField
)
}
else
{
let
item
=
baseConfigFormItems
.
value
.
find
(
item
=>
item
.
field
==
dictField
);
item
&&
(
item
.
options
=
typeMap
.
value
[
dictField
]);
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment