|
@@ -235,11 +235,11 @@
|
|
}
|
|
}
|
|
.videomarterialInfo{
|
|
.videomarterialInfo{
|
|
position: relative;
|
|
position: relative;
|
|
- height: 800px;
|
|
|
|
|
|
+ // height: 800px;
|
|
}
|
|
}
|
|
.marterialInfo{
|
|
.marterialInfo{
|
|
overflow: auto;
|
|
overflow: auto;
|
|
- height: 800px;
|
|
|
|
|
|
+ // height: 800px;
|
|
position: relative;
|
|
position: relative;
|
|
p{margin-bottom: 0;}
|
|
p{margin-bottom: 0;}
|
|
ul,li{
|
|
ul,li{
|
|
@@ -430,11 +430,12 @@
|
|
:value.sync="urlList.url"
|
|
:value.sync="urlList.url"
|
|
@overUpload="overUpload"
|
|
@overUpload="overUpload"
|
|
@removeUpload="removeUpload"
|
|
@removeUpload="removeUpload"
|
|
- :fileCount="10"
|
|
|
|
|
|
+ :fileCount="1"
|
|
uploadType="video"
|
|
uploadType="video"
|
|
:multiple="false"
|
|
:multiple="false"
|
|
/>
|
|
/>
|
|
<span v-if="repeat" style="color: red">此素材重复,请重新选择上传</span>
|
|
<span v-if="repeat" style="color: red">此素材重复,请重新选择上传</span>
|
|
|
|
+ {{urlList.url }}
|
|
<span v-if="confirmLoading && urlList.url != ''" style="color: green">上传成功</span>
|
|
<span v-if="confirmLoading && urlList.url != ''" style="color: green">上传成功</span>
|
|
</a-form-item>
|
|
</a-form-item>
|
|
|
|
|
|
@@ -637,14 +638,30 @@
|
|
<p>{{ currentVideo.videoAdvise }}</p>
|
|
<p>{{ currentVideo.videoAdvise }}</p>
|
|
</div>
|
|
</div>
|
|
<!-- <div class="info-item btnBody"> -->
|
|
<!-- <div class="info-item btnBody"> -->
|
|
- <div class="bottom-btn">
|
|
|
|
|
|
+ <!-- <div class="bottom-btn">
|
|
<a-button type='primary' v-if="currentVideo.videoStatus>=1" @click="modifyVideo" :disabled="!(currentVideo.clip==userInfo.id)" style="margin-right:20px">修改视频信息</a-button>
|
|
<a-button type='primary' v-if="currentVideo.videoStatus>=1" @click="modifyVideo" :disabled="!(currentVideo.clip==userInfo.id)" style="margin-right:20px">修改视频信息</a-button>
|
|
<a-button type='default' @click="onClose">关闭</a-button>
|
|
<a-button type='default' @click="onClose">关闭</a-button>
|
|
- </div>
|
|
|
|
|
|
+ </div> -->
|
|
<!-- </div> -->
|
|
<!-- </div> -->
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</a-spin>
|
|
</a-spin>
|
|
|
|
+ <div
|
|
|
|
+ :style="{
|
|
|
|
+ position: 'absolute',
|
|
|
|
+ right: 0,
|
|
|
|
+ bottom: 0,
|
|
|
|
+ width: '100%',
|
|
|
|
+ borderTop: '1px solid #e9e9e9',
|
|
|
|
+ padding: '10px 16px',
|
|
|
|
+ background: '#fff',
|
|
|
|
+ textAlign: 'right',
|
|
|
|
+ zIndex: 1,
|
|
|
|
+ }"
|
|
|
|
+ >
|
|
|
|
+ <a-button type='primary' v-if="currentVideo.videoStatus>=1" @click="modifyVideo" :disabled="!(currentVideo.clip==userInfo.id)" style="margin-right:20px">修改视频信息</a-button>
|
|
|
|
+ <a-button type='default' @click="onClose">关闭</a-button>
|
|
|
|
+ </div>
|
|
</a-drawer>
|
|
</a-drawer>
|
|
|
|
|
|
|
|
|
|
@@ -656,7 +673,7 @@
|
|
:visible="scriptVisible"
|
|
:visible="scriptVisible"
|
|
@close="scriptClose"
|
|
@close="scriptClose"
|
|
>
|
|
>
|
|
-
|
|
|
|
|
|
+ <a-spin :spinning="visibleLoading">
|
|
<div class="marterialInfo">
|
|
<div class="marterialInfo">
|
|
<div class="info-item">
|
|
<div class="info-item">
|
|
<span>脚本状态:</span>
|
|
<span>脚本状态:</span>
|
|
@@ -728,11 +745,27 @@
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div class="scriptbottom-btn">
|
|
|
|
|
|
+ <!-- <div class="scriptbottom-btn">
|
|
|
|
|
|
<a-button type='default' @click="scriptClose">关闭</a-button>
|
|
<a-button type='default' @click="scriptClose">关闭</a-button>
|
|
- </div>
|
|
|
|
|
|
+ </div> -->
|
|
</div>
|
|
</div>
|
|
|
|
+ </a-spin>
|
|
|
|
+ <div
|
|
|
|
+ :style="{
|
|
|
|
+ position: 'absolute',
|
|
|
|
+ right: 0,
|
|
|
|
+ bottom: 0,
|
|
|
|
+ width: '100%',
|
|
|
|
+ borderTop: '1px solid #e9e9e9',
|
|
|
|
+ padding: '10px 16px',
|
|
|
|
+ background: '#fff',
|
|
|
|
+ textAlign: 'right',
|
|
|
|
+ zIndex: 1,
|
|
|
|
+ }"
|
|
|
|
+ >
|
|
|
|
+ <a-button type='default' @click="scriptClose">关闭</a-button>
|
|
|
|
+ </div>
|
|
</a-drawer>
|
|
</a-drawer>
|
|
|
|
|
|
|
|
|
|
@@ -1339,10 +1372,12 @@ export default {
|
|
this.currentMaterial=record
|
|
this.currentMaterial=record
|
|
this.currentScript={};
|
|
this.currentScript={};
|
|
if(record.scriptId){
|
|
if(record.scriptId){
|
|
|
|
+ this.visibleLoading=true
|
|
getAction(this.url.scriptDetail,{
|
|
getAction(this.url.scriptDetail,{
|
|
scriptId:record.scriptId
|
|
scriptId:record.scriptId
|
|
}).then(res=>{
|
|
}).then(res=>{
|
|
console.log(res);
|
|
console.log(res);
|
|
|
|
+ this.visibleLoading=false
|
|
if(res.success){
|
|
if(res.success){
|
|
this.currentScript=res.result;
|
|
this.currentScript=res.result;
|
|
this.scriptVisible = true;
|
|
this.scriptVisible = true;
|
|
@@ -1414,6 +1449,7 @@ export default {
|
|
|
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
+
|
|
handlerParamsRole(role){
|
|
handlerParamsRole(role){
|
|
if(this.$parent.role=='operator'){
|
|
if(this.$parent.role=='operator'){
|
|
this.panes=this.operatorPanes
|
|
this.panes=this.operatorPanes
|
|
@@ -1579,6 +1615,10 @@ export default {
|
|
|
|
|
|
// 上传视频相关方法
|
|
// 上传视频相关方法
|
|
removeUpload() {
|
|
removeUpload() {
|
|
|
|
+ this.urlList.url='';
|
|
|
|
+ this.urlList.md5='';
|
|
|
|
+ this.urlList.name='';
|
|
|
|
+
|
|
this.form.setFieldsValue({
|
|
this.form.setFieldsValue({
|
|
contentTagList: null,
|
|
contentTagList: null,
|
|
modalityTagList: null,
|
|
modalityTagList: null,
|