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
a6468381
Commit
a6468381
authored
Aug 21, 2024
by
ztf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
选择项目代号组件点击编辑之后的回显
parent
e211072d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
index.vue
.../privateComponents/components/SelectprojectCode/index.vue
+24
-0
No files found.
applications/dee-doc/src/privateComponents/components/SelectprojectCode/index.vue
View file @
a6468381
...
@@ -23,12 +23,36 @@ import { post } from '@/utils/http'
...
@@ -23,12 +23,36 @@ import { post } from '@/utils/http'
export
default
{
export
default
{
name
:
'SelectProjectCode'
,
name
:
'SelectProjectCode'
,
componentName
:
'选择项目代号'
,
componentName
:
'选择项目代号'
,
props
:
{
value
:
{
type
:
String
,
default
:
null
},
form
:
{
type
:
Object
,
default
:
()
=>
{}
}
},
data
()
{
data
()
{
return
{
return
{
projectCode
:
''
,
projectCode
:
''
,
projectCodeOptions
:
[]
projectCodeOptions
:
[]
}
}
},
},
watch
:
{
value
(
newVal
)
{
if
(
newVal
)
{
this
.
projectCode
=
newVal
if
(
newVal
===
'QH4'
||
newVal
===
'QH6'
)
{
this
.
form
.
subSystem
=
''
this
.
form
.
ownSubSystem
=
''
this
.
form
.
ownedEquipment
=
''
}
else
if
(
newVal
===
'QH3'
)
{
this
.
form
.
subject
=
''
}
}
}
},
mounted
()
{
mounted
()
{
this
.
getProjectCodeList
()
this
.
getProjectCodeList
()
},
},
...
...
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