|
@@ -122,7 +122,6 @@
|
|
@click="getChangeSort(scope.$index, scope.$index + 1)"
|
|
@click="getChangeSort(scope.$index, scope.$index + 1)"
|
|
:disabled="scope.$index > form.list.length - 2"
|
|
:disabled="scope.$index > form.list.length - 2"
|
|
/>
|
|
/>
|
|
-
|
|
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
@@ -181,20 +180,22 @@ export default {
|
|
const sortBean = this.form.list[sort];
|
|
const sortBean = this.form.list[sort];
|
|
this.form.list[row] = sortBean;
|
|
this.form.list[row] = sortBean;
|
|
this.form.list[sort] = rowBean;
|
|
this.form.list[sort] = rowBean;
|
|
|
|
+ this.form.list = this.form.list.filter((i) => i);
|
|
|
|
|
|
- this.form.audioList = [];
|
|
|
|
- this.form.list.map((i) => {
|
|
|
|
- this.form.audioList.push({
|
|
|
|
- audioId: i.audioId,
|
|
|
|
- audioType: i.audioType,
|
|
|
|
- });
|
|
|
|
- });
|
|
|
|
- channeledit(this.form).then((res) => {
|
|
|
|
- if (res.code === 0) {
|
|
|
|
- this.$message.success("修改成功!");
|
|
|
|
- this.getDetail();
|
|
|
|
- }
|
|
|
|
- });
|
|
|
|
|
|
+ // this.form.audioList = [];
|
|
|
|
+ // this.form.list.map((i) => {
|
|
|
|
+ // this.form.audioList.push({
|
|
|
|
+ // audioId: i.audioId,
|
|
|
|
+ // audioType: i.audioType,
|
|
|
|
+ // });
|
|
|
|
+ // });
|
|
|
|
+
|
|
|
|
+ // channeledit(this.form).then((res) => {
|
|
|
|
+ // if (res.code === 0) {
|
|
|
|
+ // this.$message.success("修改成功!");
|
|
|
|
+ // this.getDetail();
|
|
|
|
+ // }
|
|
|
|
+ // });
|
|
},
|
|
},
|
|
|
|
|
|
// 频道详情
|
|
// 频道详情
|