|
@@ -120,6 +120,7 @@
|
|
|
>
|
|
|
|
|
|
<el-button
|
|
|
+ v-if="!disabledPlatformId(form.platformId)"
|
|
|
type="text"
|
|
|
icon="el-icon-caret-top"
|
|
|
@click="getChangeSort(scope.$index, scope.$index - 1)"
|
|
@@ -127,6 +128,7 @@
|
|
|
/>
|
|
|
|
|
|
<el-button
|
|
|
+ v-if="!disabledPlatformId(form.platformId)"
|
|
|
type="text"
|
|
|
icon="el-icon-caret-bottom"
|
|
|
@click="getChangeSort(scope.$index, scope.$index + 1)"
|
|
@@ -230,10 +232,10 @@ import { list } from "@/api/music/list";
|
|
|
import { detail, submit } from "@/api/music/menu";
|
|
|
import Audio from "@/components/Audio/index.vue";
|
|
|
import {
|
|
|
- albumTypeMixin,
|
|
|
- onOrOffMixin,
|
|
|
- payTypeMixin,
|
|
|
- platformMixin,
|
|
|
+albumTypeMixin,
|
|
|
+onOrOffMixin,
|
|
|
+payTypeMixin,
|
|
|
+platformMixin,
|
|
|
} from "@/mixin/index";
|
|
|
export default {
|
|
|
mixins: [platformMixin, onOrOffMixin, payTypeMixin, albumTypeMixin],
|
|
@@ -373,6 +375,16 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ //是否展示排序
|
|
|
+ // isShowSort() {
|
|
|
+ // if (this.form) {
|
|
|
+ // if (!disabledPlatformId(form.platformId)) {
|
|
|
+ // return ture;
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // return false;
|
|
|
+ // },
|
|
|
+
|
|
|
// 排序
|
|
|
getChangeSort(row, sort) {
|
|
|
const rowBean = this.form.programList[row];
|
|
@@ -403,9 +415,6 @@ export default {
|
|
|
detail(this.form.id).then((res) => {
|
|
|
if (res.code === 0) {
|
|
|
this.form = res.data;
|
|
|
- console.log(
|
|
|
- "获取数据==回应参数=" + JSON.stringify(this.form.programList)
|
|
|
- );
|
|
|
this.form_loading = false;
|
|
|
}
|
|
|
});
|
|
@@ -519,4 +528,4 @@ export default {
|
|
|
width: 500px;
|
|
|
}
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|