|
@@ -124,7 +124,7 @@
|
|
|
type="text"
|
|
|
icon="el-icon-caret-top"
|
|
|
@click="getChange(true, scope.$index, scope.$index - 1)"
|
|
|
- :disabled="scope.$index < 1 && !disabled"
|
|
|
+ :disabled="(scope.$index < 1 && !disabled) || !canOrder"
|
|
|
/>
|
|
|
|
|
|
<!-- 向下移动 -->
|
|
@@ -133,7 +133,8 @@
|
|
|
icon="el-icon-caret-bottom"
|
|
|
@click="getChange(false, scope.$index, scope.$index + 1)"
|
|
|
:disabled="
|
|
|
- scope.$index > form.programList.length - 2 && !disabled
|
|
|
+ (scope.$index > form.programList.length - 2 && !disabled) ||
|
|
|
+ !canOrder
|
|
|
"
|
|
|
/>
|
|
|
</template>
|
|
@@ -378,6 +379,8 @@ export default {
|
|
|
disabledChecked: false,
|
|
|
///被选中数据是否加载完
|
|
|
isLoad: false,
|
|
|
+ ///是否可以调整顺序
|
|
|
+ canOrder: true,
|
|
|
};
|
|
|
},
|
|
|
mounted() {
|
|
@@ -492,10 +495,15 @@ export default {
|
|
|
detail(this.form.id).then((res) => {
|
|
|
if (res.code === 0) {
|
|
|
this.form = res.data;
|
|
|
+ ///qq音乐和喜马拉雅
|
|
|
+ if (this.form.platformId == 6 || this.form.platformId == 12) {
|
|
|
+ this.canOrder = false;
|
|
|
+ }
|
|
|
this.form_loading = false;
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
+
|
|
|
// 上传
|
|
|
upload(e, key) {
|
|
|
this.form[key] = e.file;
|