Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
study
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
Damon
study
Commits
96d3e002
Commit
96d3e002
authored
Jul 29, 2021
by
linwenqing
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev-v1.0.0' of
https://git.banshouhui.com/wuzhenzhe/study
into dev-v1.0.0
parents
5a54bf75
6b8b2485
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
8 deletions
+13
-8
examSetting.vue
src/pages/learn/examSetting.vue
+13
-8
No files found.
src/pages/learn/examSetting.vue
View file @
96d3e002
...
@@ -91,6 +91,7 @@
...
@@ -91,6 +91,7 @@
@
submit=
"handleClickSubmit"
@
submit=
"handleClickSubmit"
>
>
<view
v-for=
"(value, key) in selected"
:key=
"key"
class=
"pop-content"
>
<view
v-for=
"(value, key) in selected"
:key=
"key"
class=
"pop-content"
>
<u-icon
v-if=
"key != firstKey"
name=
"arrow-downward"
></u-icon>
<view
:class=
"['pop-content-text',
{ last: key == thirdKey }]"
<view
:class=
"['pop-content-text',
{ last: key == thirdKey }]"
>
{{
value
.
label
>
{{
value
.
label
}}
<text
v-if=
"key != secondKey"
}}
<text
v-if=
"key != secondKey"
...
@@ -99,7 +100,6 @@
...
@@ -99,7 +100,6 @@
}}
)
</text
}}
)
</text
></view
></view
>
>
<u-icon
v-if=
"key != thirdKey"
name=
"arrow-downward"
></u-icon>
</view>
</view>
</PopView>
</PopView>
<view>
<view>
...
@@ -231,16 +231,21 @@ export default {
...
@@ -231,16 +231,21 @@ export default {
async
getProvinceList
(
id
)
{
async
getProvinceList
(
id
)
{
let
res
=
await
this
.
$u
.
api
.
getProvinceList
(
id
)
let
res
=
await
this
.
$u
.
api
.
getProvinceList
(
id
)
console
.
log
(
res
)
console
.
log
(
res
)
this
.
range
=
res
this
.
range
=
res
||
[]
},
// 学员增加自己的题库
async
addQuestionWarehouse
(
params
)
{
let
res
=
await
this
.
$u
.
api
.
addQuestionWarehouse
({
params
})
console
.
log
(
res
)
this
.
range
=
res
},
},
async
handleClickSubmit
()
{
async
handleClickSubmit
()
{
if
(
this
.
buttonDisabled
)
return
if
(
this
.
buttonDisabled
)
return
if
(
this
.
range
.
length
<=
0
||
this
.
range
.
length
==
null
)
{
this
.
$refs
.
uToast
.
show
({
title
:
'该类型和区域没有的题库'
,
type
:
'warning'
,
duration
:
1500
,
callback
:
()
=>
{
this
.
showPop
=
false
},
})
return
}
if
(
this
.
index
==
0
)
{
if
(
this
.
index
==
0
)
{
this
.
changeIndex
()
this
.
changeIndex
()
}
}
...
...
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