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
65af7321
authored
2025-06-27 15:51:56 +0800
by
fanguang
Committed by
lihua
2025-06-30 14:28:41 +0800
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix
1 parent
4a5de24a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
8 deletions
src/views/data_meta/components/standardDialog.vue
src/views/data_meta/standard-codetable.vue
src/views/data_meta/standard.vue
src/views/data_meta/components/standardDialog.vue
View file @
65af732
...
...
@@ -73,7 +73,7 @@
</el-form-item>
</el-col>
<el-col
:span=
"24"
>
<el-form-item
label=
"自定义字段选择"
v-if=
"form.fieldRQVOS
&& form.fieldRQVOS.length
"
required
>
<el-form-item
label=
"自定义字段选择"
v-if=
"form.fieldRQVOS"
required
>
<div
class=
"table-form"
>
<div
class=
"table-form-wrapper"
v-for=
"item,index in form.fieldRQVOS"
:key=
"index"
>
<div
class=
"table-form-item"
>
...
...
@@ -233,7 +233,7 @@ const formTpl = {
publishingUnitCode
:
''
,
parentGuid
:
''
,
description
:
''
,
fieldRQVOS
:
[]
fieldRQVOS
:
null
}
const
form
=
ref
({...
formTpl
})
const
formRules
=
{
...
...
@@ -254,7 +254,7 @@ function parentGuidChange (val) {
}
}
function
parentGuidCheck
(
node
,
{
checkedKeys
})
{
let
fieldRQVOS
=
[]
let
fieldRQVOS
=
null
if
(
checkedKeys
.
length
)
{
fieldRQVOS
=
[{...
tableFormTpl
}]
}
...
...
@@ -337,11 +337,8 @@ watch(
()
=>
visible
.
value
,
(
v
)
=>
{
if
(
!
v
)
return
// 上级标准:不能选自己,有数据的标准不能选
treeSelectData
.
value
=
JSON
.
parse
(
JSON
.
stringify
(
props
.
standardOptions
))
if
(
props
.
type
===
'edit'
)
{
getDetail
().
then
(()
=>
formatOptions
(
treeSelectData
.
value
))
}
else
{
...
...
src/views/data_meta/standard-codetable.vue
View file @
65af732
...
...
@@ -180,7 +180,7 @@ const formItems: any = ref([
default
:
''
,
maxlength
:
30
,
clearable
:
true
,
required
:
true
//
required: true
},
{
label
:
'标准号'
,
...
...
@@ -283,7 +283,7 @@ const formItems: any = ref([
const
formRules
:
any
=
ref
({
standardTypeCode
:
{
required
:
true
,
message
:
'请选择标准类型'
},
codeName
:
{
required
:
true
,
message
:
'请输入代码名称'
},
code
:
{
required
:
true
,
message
:
'请输入代码编码'
},
//
code: { required: true, message: '请输入代码编码' },
standard
:
{
required
:
true
,
message
:
'请输入标准号'
},
standardName
:
{
required
:
true
,
message
:
'请输入标准名称'
},
publishingUnitCode
:
{
required
:
true
,
message
:
'请选择发布单位'
},
...
...
src/views/data_meta/standard.vue
View file @
65af732
...
...
@@ -489,6 +489,7 @@ const viewGraph = () => {
</Tree>
</div>
<div
class=
"main_wrap"
>
<div
class=
"header"
style=
"font-size:16px;font-weight:bold;margin-top:8px;color:#212121"
>
{{ treeInfo.currentObj.standardName }}
</div>
<div
class=
"table_tool_wrap"
>
<div
class=
"tools_btns"
>
<el-button
type=
"primary"
...
...
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