Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zhengyuan-danger-chemistry-manage
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
耿迪迪
zhengyuan-danger-chemistry-manage
Commits
52917215
Commit
52917215
authored
Dec 29, 2022
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
访客和承包管理问题修改 gengdidi
parent
90556ae9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
visitorQuestion.vue
...iews/educationPlanExam/visitorProgram/visitorQuestion.vue
+4
-2
No files found.
danger-manage-web/src/views/educationPlanExam/visitorProgram/visitorQuestion.vue
View file @
52917215
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
<div
class=
"right"
>
<div
class=
"right"
>
<div>
<div>
<el-button
<el-button
@
click=
"editContractTrainTopic(item.topicId)"
@
click=
"editContractTrainTopic(item.topicId
,index + 1
)"
icon=
"el-icon-edit"
icon=
"el-icon-edit"
type=
"text"
type=
"text"
>
修改
</el-button
>
修改
</el-button
...
@@ -153,6 +153,7 @@
...
@@ -153,6 +153,7 @@
//录入考题
//录入考题
enterContractTrainTopic
(){
enterContractTrainTopic
(){
this
.
dialogVisible
=
true
;
this
.
dialogVisible
=
true
;
this
.
next
++
;
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
visitorAdd
.
questionNextNum
=
this
.
questionNum
+
1
;
this
.
$refs
.
visitorAdd
.
questionNextNum
=
this
.
questionNum
+
1
;
})
})
...
@@ -209,7 +210,7 @@
...
@@ -209,7 +210,7 @@
}
}
},
},
//试题修改
//试题修改
editContractTrainTopic
(
topicId
){
editContractTrainTopic
(
topicId
,
index
){
this
.
dialogVisible
=
true
;
this
.
dialogVisible
=
true
;
getTopic
(
topicId
).
then
(
res
=>
{
getTopic
(
topicId
).
then
(
res
=>
{
const
data
=
res
.
data
;
const
data
=
res
.
data
;
...
@@ -220,6 +221,7 @@
...
@@ -220,6 +221,7 @@
};
};
this
.
$refs
.
visitorAdd
.
answerNum
=
data
.
answer
;
this
.
$refs
.
visitorAdd
.
answerNum
=
data
.
answer
;
})
})
this
.
$refs
.
visitorAdd
.
questionNextNum
=
index
;
},
},
//试题删除
//试题删除
...
...
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