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
799f1bd9
Commit
799f1bd9
authored
Oct 25, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
投稿的管理端页面
parent
be5bae00
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
528 additions
and
47 deletions
+528
-47
App.vue
src/App.vue
+1
-1
contribution.js
src/api/teacher/contribution.js
+21
-2
addimageText.vue
src/pages/teacher/contribution/addimageText.vue
+178
-43
contributeManage.vue
src/pages/teacher/contribution/contributeManage.vue
+318
-0
imageTextlist.vue
src/pages/teacher/contribution/imageTextlist.vue
+5
-1
routes.js
src/router/routes.js
+5
-0
No files found.
src/App.vue
View file @
799f1bd9
...
...
@@ -20,7 +20,7 @@ export default {
</
script
>
<
style
>
@import
url("//at.alicdn.com/t/font_2077629_
2mw9x18p9pv
.css")
;
@import
url("//at.alicdn.com/t/font_2077629_
s9ukbvw57rq
.css")
;
.q-scrollarea__thumb
{
z-index
:
999999
!important
;
}
...
...
src/api/teacher/contribution.js
View file @
799f1bd9
...
...
@@ -79,7 +79,7 @@ export function getContributeInfo(data) {
})
}
//
推送
//
管理端发布投稿
export
function
setContributeInfoPublish
(
data
)
{
return
request
({
url
:
'/QYContribute/SetContributeInfoPublish'
,
...
...
@@ -94,4 +94,23 @@ export function getContributeAppletList(data) {
method
:
'post'
,
data
})
}
\ No newline at end of file
}
// 获取管理端投稿发布列表
export
function
getContributeInfoAuditedPageList
(
data
)
{
return
request
({
url
:
'/QYContribute/GetContributeInfoAuditedPageList'
,
method
:
'post'
,
data
})
}
// 管理端修改投稿
export
function
setAdminContributeInfo
(
data
)
{
return
request
({
url
:
'/QYContribute/SetAdminContributeInfo'
,
method
:
'post'
,
data
})
}
src/pages/teacher/contribution/addimageText.vue
View file @
799f1bd9
This diff is collapsed.
Click to expand it.
src/pages/teacher/contribution/contributeManage.vue
0 → 100644
View file @
799f1bd9
This diff is collapsed.
Click to expand it.
src/pages/teacher/contribution/imageTextlist.vue
View file @
799f1bd9
...
...
@@ -38,7 +38,11 @@
</
template
>
<
template
v-slot:body-cell-CoverImagePath=
"props"
>
<q-td
:props=
"props"
>
<el-image
style=
"width: 200px;height: 100px;padding: 10px 0 ;"
:src=
"props.row.CoverImagePath"
fit=
"cover"
></el-image>
<el-image
v-if=
"props.row.Type==1 || props.row.Type==5"
style=
"width: 200px;height: 100px;padding: 10px 0 ;"
:src=
"props.row.CoverImagePath"
fit=
"cover"
></el-image>
<div
v-if=
"props.row.Type==4"
style=
"width: 200px;height: 80px;display: flex;align-items: center;justify-content: center;background: #f6f7f8;"
>
<img
src=
"../../../assets/images/Noticen.png"
alt=
""
style=
"width: 41px;height: 39px;"
>
</div>
<div
style=
"width: 200px;min-height: 80px;padding: 5px;background: #f6f7f8;display: inline-block;white-space:pre-wrap"
v-if=
"props.row.Type==2"
v-html=
"props.row.Description"
></div>
</q-td>
</
template
>
<
template
v-slot:body-cell-optioned=
"props"
>
...
...
src/router/routes.js
View file @
799f1bd9
...
...
@@ -1233,6 +1233,11 @@ const routes = [{
component
:
()
=>
import
(
"pages/teacher/contribution/imageTextlist"
)
},
{
path
:
"/teacher/contribution/contributemanage"
,
//投稿审核 管理端审核列表
component
:
()
=>
import
(
"pages/teacher/contribution/contributemanage"
)
},
...
...
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