|
@@ -22,6 +22,9 @@
|
|
<template #head_actor>
|
|
<template #head_actor>
|
|
<el-option v-for="i in actorList" :key="i._id" :label="i.title" :value="i._id"></el-option>
|
|
<el-option v-for="i in actorList" :key="i._id" :label="i.title" :value="i._id"></el-option>
|
|
</template>
|
|
</template>
|
|
|
|
+ <template #actor>
|
|
|
|
+ <el-option v-for="i in actorList" :key="i._id" :label="i.title" :value="i._id"></el-option>
|
|
|
|
+ </template>
|
|
<template #img_url="{ item }">
|
|
<template #img_url="{ item }">
|
|
<c-upload v-model="form[item.model]" url="/files/projectadmin/imgurl/upload" accept="" listType="text" :limit="1"></c-upload>
|
|
<c-upload v-model="form[item.model]" url="/files/projectadmin/imgurl/upload" accept="" listType="text" :limit="1"></c-upload>
|
|
</template>
|
|
</template>
|
|
@@ -63,7 +66,7 @@ export default {
|
|
{ label: '产地', model: 'place_id', type: 'select' },
|
|
{ label: '产地', model: 'place_id', type: 'select' },
|
|
{ label: '年份', model: 'year', type: 'select' },
|
|
{ label: '年份', model: 'year', type: 'select' },
|
|
{ label: '领衔演员', model: 'head_actor', type: 'select' },
|
|
{ label: '领衔演员', model: 'head_actor', type: 'select' },
|
|
- { label: '演员', model: 'actor' },
|
|
|
|
|
|
+ { label: '演员', model: 'actor', type: 'selectMany' },
|
|
{ label: '封面', model: 'img_url', custom: true },
|
|
{ label: '封面', model: 'img_url', custom: true },
|
|
{ label: '视频路径', model: 'video_url', custom: true },
|
|
{ label: '视频路径', model: 'video_url', custom: true },
|
|
// { label: '观看次数', model: 'view_num', type: 'number' },
|
|
// { label: '观看次数', model: 'view_num', type: 'number' },
|