Commit 6782c18a authored by qzhxx's avatar qzhxx

‘审核

parent 03b2e22c
...@@ -65,7 +65,11 @@ ...@@ -65,7 +65,11 @@
<el-table-column label="展板名称" prop="name"></el-table-column> <el-table-column label="展板名称" prop="name"></el-table-column>
<el-table-column label="提交人" prop="userName"></el-table-column> <el-table-column label="提交人" prop="userName"></el-table-column>
<el-table-column label="提交日期" prop="createTime"></el-table-column> <el-table-column label="提交日期" prop="createTime"></el-table-column>
<el-table-column label="审核项" prop="operation"></el-table-column> <el-table-column label="审核项" prop="operation">
<template slot-scope="scope">
<span class="input-item">{{keyMap[scope.row.operation]}}</span>
</template>
</el-table-column>
<el-table-column label="审核状态" prop="status"> <el-table-column label="审核状态" prop="status">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.status === 'TBC'">待初审</span> <span v-if="scope.row.status === 'TBC'">待初审</span>
...@@ -89,12 +93,8 @@ ...@@ -89,12 +93,8 @@
</el-table-column> </el-table-column>
<el-table-column label="审核" header-align="center" align="center"> <el-table-column label="审核" header-align="center" align="center">
<template slot-scope="scope" width="220"> <template slot-scope="scope" width="220">
<div class="table-btn-group"> <!-- <div class="table-btn-group">
<!-- <el-tooltip content="详情" placement="top">
<el-button circle @click="learnDetails(scope.row)">
<i class="icon-table icon-detail"></i>
</el-button>
</el-tooltip> -->
<el-tooltip content="通过" placement="top"> <el-tooltip content="通过" placement="top">
<el-button circle @click="adopt(scope.row)"> <el-button circle @click="adopt(scope.row)">
<i class="icon-table icon-enable"></i> <i class="icon-table icon-enable"></i>
...@@ -105,6 +105,26 @@ ...@@ -105,6 +105,26 @@
<i class="icon-table icon-disable"></i> <i class="icon-table icon-disable"></i>
</el-button> </el-button>
</el-tooltip> </el-tooltip>
</div> -->
<div class="table-btn-group">
<el-button
round
class="passed"
:disabled="
scope.row.status === 'REFUSED' ||
scope.row.status === 'APPROVED_FINAL'
"
@click="adopt(scope.row)"
>通过</el-button>
<el-button
round
class="rejected"
:disabled="
scope.row.status === 'REFUSED' ||
scope.row.status === 'APPROVED_FINAL'
"
@click="reject(scope.row)"
>驳回</el-button>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
...@@ -237,7 +257,18 @@ export default { ...@@ -237,7 +257,18 @@ export default {
} }
} }
}; };
const keyMap = {
ADD: "新增",
EDIT: "修改",
REMOVE: "删除",
DISABLE: "禁用",
ENABLE: "启用",
UPPER: "上架",
LOWER: "下架"
};
return { return {
keyMap: keyMap,
type: true, type: true,
value1: "", value1: "",
page: { currentPage: 1, pageSize: 10, total: 0 }, page: { currentPage: 1, pageSize: 10, total: 0 },
......
...@@ -28,17 +28,17 @@ ...@@ -28,17 +28,17 @@
:model="formInline" :model="formInline"
label-position="top" label-position="top"
> >
<el-form-item label="展板宣传图"> <el-form-item label="展板宣传图" class="w100">
<img class="imgSize" :src="item.cover" alt /> <img class="imgSize" :src="item.cover" alt />
</el-form-item> </el-form-item>
<el-form-item label="展板版权方"> <el-form-item label="展板版权方" class="w50" >
<span>{{ item.boardCopyrightOwnerName }}</span> <span>{{ item.boardCopyrightOwnerName }}</span>
</el-form-item> </el-form-item>
<el-form-item label="展板名称" class="w50"> <el-form-item label="展板名称">
<span>{{ item.name }}</span> <span>{{ item.name }}</span>
</el-form-item> </el-form-item>
<el-form-item label="展板简介"> <el-form-item label="展板简介" class="w100">
<span>{{ item.remarks }}</span> <span>{{ item.remarks }}</span>
</el-form-item> </el-form-item>
<el-form-item label="展板视频" class="w100"> <el-form-item label="展板视频" class="w100">
......
...@@ -47,7 +47,11 @@ ...@@ -47,7 +47,11 @@
<el-table-column label="学习内容名称" prop="name"></el-table-column> <el-table-column label="学习内容名称" prop="name"></el-table-column>
<el-table-column label="提交人" prop="userName"></el-table-column> <el-table-column label="提交人" prop="userName"></el-table-column>
<el-table-column label="提交日期" prop="createTime"></el-table-column> <el-table-column label="提交日期" prop="createTime"></el-table-column>
<el-table-column label="审核项" prop="operation"></el-table-column> <el-table-column label="审核项" prop="operation">
<template slot-scope="scope">
<span class="input-item">{{keyMap[scope.row.operation]}}</span>
</template>
</el-table-column>
<el-table-column label="审核状态" prop="status"> <el-table-column label="审核状态" prop="status">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.status === 'TBC'">待初审</span> <span v-if="scope.row.status === 'TBC'">待初审</span>
...@@ -69,7 +73,27 @@ ...@@ -69,7 +73,27 @@
</el-table-column> </el-table-column>
<el-table-column label="审核" header-align="center" align="center"> <el-table-column label="审核" header-align="center" align="center">
<template slot-scope="scope" width="220"> <template slot-scope="scope" width="220">
<div class="table-btn-group"> <div class="table-btn-group">
<el-button
round
class="passed"
:disabled="
scope.row.status === 'REFUSED' ||
scope.row.status === 'APPROVED_FINAL'
"
@click="adopt(scope.row)"
>通过</el-button>
<el-button
round
class="rejected"
:disabled="
scope.row.status === 'REFUSED' ||
scope.row.status === 'APPROVED_FINAL'
"
@click="reject(scope.row)"
>驳回</el-button>
</div>
<!-- <div class="table-btn-group">
<el-tooltip content="通过" placement="top"> <el-tooltip content="通过" placement="top">
<el-button circle @click="adopt(scope.row)"> <el-button circle @click="adopt(scope.row)">
<i class="icon-table icon-enable"></i> <i class="icon-table icon-enable"></i>
...@@ -80,7 +104,7 @@ ...@@ -80,7 +104,7 @@
<i class="icon-table icon-disable"></i> <i class="icon-table icon-disable"></i>
</el-button> </el-button>
</el-tooltip> </el-tooltip>
</div> </div> -->
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -172,8 +196,18 @@ export default { ...@@ -172,8 +196,18 @@ export default {
callback(); callback();
} }
} }
};
const keyMap = {
ADD: "新增",
EDIT: "修改",
REMOVE: "删除",
DISABLE: "禁用",
ENABLE: "启用",
UPPER: "上架",
LOWER: "下架"
}; };
return { return {
keyMap: keyMap,
type:true, type:true,
value1: "", value1: "",
page: { currentPage: 1, pageSize: 10, total: 0 }, page: { currentPage: 1, pageSize: 10, total: 0 },
......
This diff is collapsed.
...@@ -246,7 +246,7 @@ export default { ...@@ -246,7 +246,7 @@ export default {
console.log(data) console.log(data)
console.log(this.ruleForm.videoContentCatId) console.log(this.ruleForm.videoContentCatId)
}, },
// 获取版权方详情 // 获取信息
getInfo(id) { getInfo(id) {
let vm = this; let vm = this;
vm.$https( vm.$https(
......
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