|
|
@@ -12,7 +12,7 @@
|
|
|
@click="getPublishWorkflowDetail"
|
|
|
/>
|
|
|
<div v-if="dataMap.length">
|
|
|
- <div class="l-flex--row o-title has-bottom-padding u-color--black u-bold">{{ title }}</div>
|
|
|
+ <div class="l-flex--row o-title has-bottom-padding u-color--black u-bold">{{ title }} <span class="applicant">{{ sourceMap.createBy?`申请人:${sourceMap.createBy}`:'' }}</span></div>
|
|
|
<div class="l-flex--row has-padding">
|
|
|
<el-steps
|
|
|
:active="active"
|
|
|
@@ -138,7 +138,8 @@ import {
|
|
|
EventPriority,
|
|
|
EventFreq,
|
|
|
EventTarget,
|
|
|
- PublishType
|
|
|
+ PublishType,
|
|
|
+ AssetType
|
|
|
} from '@/constant'
|
|
|
// 前端命名 和后端数据命名
|
|
|
const front2back = {
|
|
|
@@ -248,7 +249,7 @@ export default {
|
|
|
{ prop: 'originalName', label: '' },
|
|
|
{ prop: 'duration', label: '时长' },
|
|
|
{ prop: 'size', label: '文件大小' },
|
|
|
- { prop: 'createBy', label: '申请人' },
|
|
|
+ // { prop: 'createBy', label: '申请人' },
|
|
|
{ prop: 'ai', label: 'AI审核', type: 'tag', width: 100 },
|
|
|
{
|
|
|
label: '审核状态',
|
|
|
@@ -276,7 +277,7 @@ export default {
|
|
|
cols: [
|
|
|
{ prop: 'name', label: '节目名称', 'min-width': 100 },
|
|
|
{ prop: 'resolutionRatio', label: '分辨率' },
|
|
|
- { prop: 'createBy', label: '申请人' },
|
|
|
+ // { prop: 'createBy', label: '申请人' },
|
|
|
{
|
|
|
label: '审核状态',
|
|
|
type: 'tag',
|
|
|
@@ -322,7 +323,7 @@ export default {
|
|
|
cols: [
|
|
|
{ prop: 'name', label: '排期名称', 'min-width': 100 },
|
|
|
{ prop: 'resolutionRatio', label: '分辨率' },
|
|
|
- { prop: 'createBy', label: '申请人' },
|
|
|
+ // { prop: 'createBy', label: '申请人' },
|
|
|
{
|
|
|
label: '审核状态',
|
|
|
type: 'tag',
|
|
|
@@ -382,7 +383,7 @@ export default {
|
|
|
{ prop: 'type', label: '类型', width: 100 },
|
|
|
{ prop: 'name', label: '名称', 'min-width': 100 },
|
|
|
{ prop: 'resolutionRatio', label: '分辨率' },
|
|
|
- { prop: 'createBy', label: '申请人' },
|
|
|
+ // { prop: 'createBy', label: '申请人' },
|
|
|
{
|
|
|
type: 'invoke',
|
|
|
width: 160,
|
|
|
@@ -519,6 +520,11 @@ export default {
|
|
|
const { type } = row
|
|
|
switch (kind) {
|
|
|
case front2back['assets']:
|
|
|
+ if (row.type === AssetType.IMAGE) {
|
|
|
+ row.thumbnail = row.keyName
|
|
|
+ } else if (row.type === AssetType.VIDEO && row.screenshot !== 'analyzing') {
|
|
|
+ row.thumbnail = row.screenshot
|
|
|
+ }
|
|
|
row.typeName = [null, '图片', '视频', '音频'][type]
|
|
|
row.file = {
|
|
|
type: row.type,
|
|
|
@@ -529,6 +535,7 @@ export default {
|
|
|
row.size = parseByte(row.size)
|
|
|
row.createBy = row.userName || row.createBy
|
|
|
row.ai = mediaMixin.methods.getAIState(row)
|
|
|
+ row.aiLabel = row.ai.label
|
|
|
row.id = row.keyName
|
|
|
return row
|
|
|
case front2back['program']:
|
|
|
@@ -794,4 +801,9 @@ export default {
|
|
|
.fl-end {
|
|
|
justify-content: flex-end;
|
|
|
}
|
|
|
+.applicant{
|
|
|
+ font-size: 14px;
|
|
|
+ margin-left: 30px;
|
|
|
+ font-weight: 400;
|
|
|
+}
|
|
|
</style>
|