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
2276fc43
Commit
2276fc43
authored
Aug 18, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增页面
parent
5135b89c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1024 additions
and
4 deletions
+1024
-4
examPaper.vue
src/pages/exam/examPaper.vue
+15
-1
paperInfo.vue
src/pages/exam/paperInfo.vue
+1001
-0
routes.js
src/router/routes.js
+8
-3
No files found.
src/pages/exam/examPaper.vue
View file @
2276fc43
...
@@ -136,10 +136,14 @@
...
@@ -136,10 +136,14 @@
<q-item-label>
发布考试
</q-item-label>
<q-item-label>
发布考试
</q-item-label>
</q-item-section>
</q-item-section>
</q-item>
</q-item>
<q-item
clickable
v-close-popup
@
click=
"showPaperInfo(scope.row)"
>
<q-item-section>
<q-item-label>
详情
</q-item-label>
</q-item-section>
</q-item>
</q-list>
</q-list>
</q-btn-dropdown>
</q-btn-dropdown>
</
template
>
</
template
>
</template>
</template>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -241,6 +245,16 @@
...
@@ -241,6 +245,16 @@
this
.
OpenNewUrl
(
'/exam/paperPublish'
,
{
this
.
OpenNewUrl
(
'/exam/paperPublish'
,
{
PaperId
:
PaperId
PaperId
:
PaperId
})
})
},
//试卷详情
showPaperInfo
(
item
)
{
let
PaperId
=
0
;
if
(
item
)
{
PaperId
=
item
.
PaperId
}
this
.
OpenNewUrl
(
'/exam/paperInfo'
,
{
PaperId
:
PaperId
})
}
}
}
}
}
}
...
...
src/pages/exam/paperInfo.vue
0 → 100644
View file @
2276fc43
This diff is collapsed.
Click to expand it.
src/router/routes.js
View file @
2276fc43
...
@@ -1049,17 +1049,22 @@ const routes = [{
...
@@ -1049,17 +1049,22 @@ const routes = [{
import
(
"pages/exam/examlist"
)
import
(
"pages/exam/examlist"
)
},
},
{
{
path
:
"/exam/paperEdit"
,
//
考试
编辑
path
:
"/exam/paperEdit"
,
//
试卷
编辑
component
:
()
=>
component
:
()
=>
import
(
"pages/exam/paperEdit"
)
import
(
"pages/exam/paperEdit"
)
},
},
{
{
path
:
"/exam/paperCreate"
,
//考试组卷
path
:
"/exam/paperInfo"
,
//试卷详情
component
:
()
=>
import
(
"pages/exam/paperInfo"
)
},
{
path
:
"/exam/paperCreate"
,
//试卷组卷
component
:
()
=>
component
:
()
=>
import
(
"pages/exam/paperCreate"
)
import
(
"pages/exam/paperCreate"
)
},
},
{
{
path
:
"/exam/paperPublish"
,
//发布考试
path
:
"/exam/paperPublish"
,
//
试卷
发布考试
component
:
()
=>
component
:
()
=>
import
(
"pages/exam/paperPublish"
)
import
(
"pages/exam/paperPublish"
)
},
},
...
...
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