Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
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
罗超
confucius
Commits
ef9e5301
Commit
ef9e5301
authored
Jan 24, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
36142dd4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
type-form.vue
src/components/system/type-form.vue
+11
-2
No files found.
src/components/system/type-form.vue
View file @
ef9e5301
...
...
@@ -10,8 +10,8 @@
class=
"col-12 q-pb-lg"
label=
"名称"
:rules=
"[val => !!val || '请填写名称']"
/>
</div>
<div
class=
"row wrap"
>
<q-select
class=
"col-12 q-pb-lg"
filled
stack-label
clearable
option-value=
"ID"
option-label=
"Name"
v-model=
"objOption.CountryId"
:options=
"CountryList"
label=
"国家编号"
:dense=
"false"
emit-value
map-options
<q-select
class=
"col-12 q-pb-lg"
@
filter=
"filterCountry"
filled
stack-label
clearable
option-value=
"ID"
option-label=
"Name"
v-model=
"objOption.CountryId"
:options=
"CountryList"
use-input
label=
"国家编号"
:dense=
"false"
emit-value
map-options
/>
</div>
<div
class=
"row wrap"
style=
"display:none"
>
...
...
@@ -60,6 +60,7 @@
CountryId
:
''
//国家编号
},
CountryList
:[],
//国家下拉
allCountryList
:[],
optionTitle
:
""
,
TypeList
:[],
//下拉类型
typeMsg
:{
...
...
@@ -106,7 +107,15 @@
queryCountryList
({}).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
CountryList
=
res
.
Data
;
this
.
allCountryList
=
res
.
Data
;
}
})
},
filterCountry
(
val
,
update
,
abort
){
update
(()
=>
{
this
.
CountryList
=
this
.
allCountryList
.
filter
(
v
=>
v
.
Name
.
indexOf
(
val
)
>
-
1
);
});
},
//获取留学就业类型
...
...
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