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 @@
...
@@ -12,7 +12,7 @@
v-for=
"item in projectCodeOptions"
v-for=
"item in projectCodeOptions"
:key=
"item.dictKey"
:key=
"item.dictKey"
:label=
"item.label"
:label=
"item.label"
:value=
"item
.value
"
:value=
"item"
/>
/>
</el-select>
</el-select>
</div>
</div>
...
@@ -43,11 +43,17 @@ export default {
...
@@ -43,11 +43,17 @@ export default {
value
(
newVal
)
{
value
(
newVal
)
{
if
(
newVal
)
{
if
(
newVal
)
{
this
.
projectCode
=
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
.
subSystem
=
''
this
.
form
.
ownSubSystem
=
''
this
.
form
.
ownSubSystem
=
''
this
.
form
.
ownedEquipment
=
''
this
.
form
.
ownedEquipment
=
''
}
else
if
(
newVal
===
'QH3
'
)
{
}
else
if
(
val
===
'ModelDevelop
'
)
{
this
.
form
.
subject
=
''
this
.
form
.
subject
=
''
}
}
}
}
...
@@ -84,15 +90,17 @@ export default {
...
@@ -84,15 +90,17 @@ export default {
return
{
return
{
value
:
row
.
dictKey
,
value
:
row
.
dictKey
,
label
:
row
.
dictValue
,
label
:
row
.
dictValue
,
dictKey
:
row
.
dictKey
dictKey
:
row
.
dictKey
,
parentKey
:
row
.
parentKey
}
}
})
})
}
}
})
})
},
},
handleChange
(
val
)
{
handleChange
(
item
)
{
this
.
$emit
(
'input'
,
val
)
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