Commit 799f1bd9 authored by Mac's avatar Mac

投稿的管理端页面

parent be5bae00
......@@ -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;
}
......
......@@ -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
})
}
This diff is collapsed.
......@@ -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">
......
......@@ -1233,6 +1233,11 @@ const routes = [{
component: () =>
import("pages/teacher/contribution/imageTextlist")
},
{
path: "/teacher/contribution/contributemanage",//投稿审核 管理端审核列表
component: () =>
import("pages/teacher/contribution/contributemanage")
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment