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
52790e07
authored
2025-01-08 16:42:03 +0800
by
xukangle
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix
1 parent
b6de3bf9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
src/views/data_inventory/classifyGradeCatalogue.vue
src/views/data_inventory/classifyGradeCatalogue.vue
View file @
52790e0
...
...
@@ -971,7 +971,7 @@ const classEditFormItems = ref<any>([{
{
label
:
'是否必填'
,
type
:
"select"
,
field
:
"
isN
otNull"
,
field
:
"
n
otNull"
,
disabled
:
false
,
default
:
''
,
options
:
[
...
...
@@ -1037,7 +1037,7 @@ const drawerBtnClick = async (btn, info) => {
}
else
{
btn
.
loading
=
true
;
console
.
log
(
'drawerBtnClick'
,
info
);
const
{
orderNumLength
,
orderNum
,
startNumber
,
endNumber
,
fieldValueRange
,
startValue
,
endValue
,
fieldPrecision
,
dictionaryGuid
,
isUnique
,
isN
otNull
}
=
info
;
const
{
orderNumLength
,
orderNum
,
startNumber
,
endNumber
,
fieldValueRange
,
startValue
,
endValue
,
fieldPrecision
,
dictionaryGuid
,
isUnique
,
n
otNull
}
=
info
;
// 判断长度orderNumLength,orderNum 要么都有值,要么都没有值,不能只有一个有值,一个没有值精确提醒
let
fieldLengthCondition
:
any
=
''
;
if
((
orderNumLength
===
'between'
&&
!
startNumber
)
||
(
orderNumLength
===
'between'
&&
!
endNumber
))
{
...
...
@@ -1075,10 +1075,10 @@ const drawerBtnClick = async (btn, info) => {
// 根据是否有 fieldValueRange 来决定如何构建参数对象
if
(
fieldValueRange
)
{
param
=
{
fieldPrecision
,
fieldPrecision
:
fieldPrecision
||
''
,
dictionaryGuid
,
isUnique
,
isN
otNull
,
n
otNull
,
fieldLengthCondition
,
fieldValueRange
,
fieldGuid
:
item
,
...
...
@@ -1086,10 +1086,10 @@ const drawerBtnClick = async (btn, info) => {
};
}
else
{
param
=
{
fieldPrecision
,
fieldPrecision
:
fieldPrecision
||
''
,
dictionaryGuid
,
isUnique
,
isN
otNull
,
n
otNull
,
fieldLengthCondition
,
fieldGuid
:
item
,
execGuid
:
execGuidInfo
.
value
.
execGuid
,
...
...
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