Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
W
web
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
INET-TWO
web
Commits
f59ddfc7
Commit
f59ddfc7
authored
Aug 28, 2024
by
ztf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改选择项目代号组件
parent
d10750bb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
6 deletions
+14
-6
index.vue
.../privateComponents/components/SelectprojectCode/index.vue
+14
-6
No files found.
applications/dee-doc/src/privateComponents/components/SelectprojectCode/index.vue
View file @
f59ddfc7
...
...
@@ -12,7 +12,7 @@
v-for=
"item in projectCodeOptions"
:key=
"item.dictKey"
:label=
"item.label"
:value=
"item
.value
"
:value=
"item"
/>
</el-select>
</div>
...
...
@@ -43,11 +43,17 @@ export default {
value
(
newVal
)
{
if
(
newVal
)
{
this
.
projectCode
=
newVal
if
(
newVal
===
'QH4'
||
newVal
===
'QH6'
)
{
}
},
'form.projectType'
:
{
immediate
:
true
,
deep
:
true
,
handler
:
function
(
val
)
{
if
(
val
===
'ScienceClass'
)
{
this
.
form
.
subSystem
=
''
this
.
form
.
ownSubSystem
=
''
this
.
form
.
ownedEquipment
=
''
}
else
if
(
newVal
===
'QH3
'
)
{
}
else
if
(
val
===
'ModelDevelop
'
)
{
this
.
form
.
subject
=
''
}
}
...
...
@@ -84,15 +90,17 @@ export default {
return
{
value
:
row
.
dictKey
,
label
:
row
.
dictValue
,
dictKey
:
row
.
dictKey
dictKey
:
row
.
dictKey
,
parentKey
:
row
.
parentKey
}
})
}
})
},
handleChange
(
val
)
{
this
.
$emit
(
'input'
,
val
)
handleChange
(
item
)
{
this
.
$emit
(
'input'
,
item
.
value
)
this
.
form
.
projectType
=
item
.
parentKey
}
}
}
...
...
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