|
|
@@ -60,7 +60,7 @@
|
|
|
<div class="type-black__ul">
|
|
|
<ul>
|
|
|
<li>
|
|
|
- <el-form-item prop="shopConfigId" label="选择剪辑类型:">
|
|
|
+ <el-form-item label="选择剪辑类型:">
|
|
|
<div class="type-black__select">
|
|
|
<el-select v-model="form.shopConfigId" placeholder="请选择剪辑类型">
|
|
|
<el-option
|
|
|
@@ -91,7 +91,13 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="type-black__right">
|
|
|
- <div class="operate-black">
|
|
|
+ <div class="operate-black" style="display: flex;gap: 10vw;">
|
|
|
+ <el-form-item prop="type" label="选择渠道:">
|
|
|
+ <el-radio-group v-model="form.type" @input="handleType">
|
|
|
+ <el-radio :label="0">国内</el-radio>
|
|
|
+ <el-radio :label="1">海外</el-radio>
|
|
|
+ </el-radio-group>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item prop="processType" label="选择操作类型:">
|
|
|
<el-radio-group v-model="form.processType">
|
|
|
<el-radio :label="0">剪辑</el-radio>
|
|
|
@@ -138,7 +144,8 @@ export default {
|
|
|
musicConfigId: '',
|
|
|
videoUrl: '',
|
|
|
expandScale: 0,
|
|
|
- processType: 0
|
|
|
+ processType: 0,
|
|
|
+ type: 0 // 平台类型 0:品牌 1:海外
|
|
|
},
|
|
|
uploadingCount: 0,
|
|
|
videoFlag: false,
|
|
|
@@ -156,6 +163,9 @@ export default {
|
|
|
videoUrl: [
|
|
|
{ validator: this.checkVideoUrl, trigger: "change" }
|
|
|
],
|
|
|
+ type: [
|
|
|
+ { required: true, message: "请选择渠道", trigger: "change" }
|
|
|
+ ],
|
|
|
processType: [
|
|
|
{ required: true, message: "请选择操作类型", trigger: "change" }
|
|
|
],
|
|
|
@@ -168,7 +178,7 @@ export default {
|
|
|
},
|
|
|
//页面创建的时候执行
|
|
|
created() {
|
|
|
- this.getShopConfigs();
|
|
|
+ this.getShopConfigs(0);
|
|
|
this.getMusicCategory();
|
|
|
},
|
|
|
methods: {
|
|
|
@@ -179,8 +189,10 @@ export default {
|
|
|
callback();
|
|
|
}
|
|
|
},
|
|
|
- getShopConfigs() {
|
|
|
- const params = {}
|
|
|
+ getShopConfigs(type) {
|
|
|
+ const params = {
|
|
|
+ type
|
|
|
+ }
|
|
|
shopConfigInfoList(params).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
this.shopConfigs = res.data.rows;
|
|
|
@@ -220,7 +232,8 @@ export default {
|
|
|
}]
|
|
|
const params = {
|
|
|
list: list,
|
|
|
- processType: this.form. processType
|
|
|
+ processType: this.form.processType,
|
|
|
+ type: this.form.type
|
|
|
}
|
|
|
this.comfirmLoading = true;
|
|
|
addFashionShowVideo(params).then(res =>{
|
|
|
@@ -327,6 +340,10 @@ export default {
|
|
|
duration: 3000
|
|
|
});
|
|
|
});
|
|
|
+ },
|
|
|
+ handleType(val) {
|
|
|
+ this.form.shopConfigId = '';
|
|
|
+ this.getShopConfigs(val);
|
|
|
}
|
|
|
}
|
|
|
};
|