|
@@ -156,7 +156,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"
|
|
|
/>
|
|
|
|
|
|
<!-- 向下移动 -->
|
|
@@ -165,8 +165,10 @@
|
|
|
icon="el-icon-caret-bottom"
|
|
|
@click="getChange(false, scope.$index, scope.$index + 1)"
|
|
|
:disabled="
|
|
|
- scope.$index >
|
|
|
- form.adminPodCastProgramDetailResp.length - 2 && !disabled
|
|
|
+ (scope.$index >
|
|
|
+ form.adminPodCastProgramDetailResp.length - 2 &&
|
|
|
+ !disabled) ||
|
|
|
+ !canOrder
|
|
|
"
|
|
|
/>
|
|
|
</template>
|
|
@@ -439,6 +441,8 @@ export default {
|
|
|
disabledChecked: false,
|
|
|
///被选中数据是否加载完
|
|
|
isLoad: false,
|
|
|
+ ///是否可以调整顺序
|
|
|
+ canOrder: true,
|
|
|
};
|
|
|
},
|
|
|
mounted() {
|
|
@@ -564,6 +568,11 @@ export default {
|
|
|
detail(this.form.id).then((res) => {
|
|
|
if (res.code === 0) {
|
|
|
this.form = res.data;
|
|
|
+ console.log("gadsfqwerqwerqr====" + this.form.platformId);
|
|
|
+ ///qq音乐和喜马拉雅
|
|
|
+ if (this.form.platformId == 6 || this.form.platformId == 12) {
|
|
|
+ this.canOrder = false;
|
|
|
+ }
|
|
|
this.anchorOptions = [];
|
|
|
res.data.adminPrdCasterResp.map((i) => {
|
|
|
this.anchorOptions.push({
|