优化录制计划关联全部通道提示

pull/1719/head
648540858 2024-12-10 21:59:40 +08:00
parent 6eb8249f0a
commit b2469e131c
1 changed files with 4 additions and 4 deletions

View File

@ -37,8 +37,8 @@
</el-button> </el-button>
<el-button size="mini" v-if="hasLink !=='true'" @click="addByDevice()"></el-button> <el-button size="mini" v-if="hasLink !=='true'" @click="addByDevice()"></el-button>
<el-button size="mini" v-if="hasLink ==='true'" @click="removeByDevice()"></el-button> <el-button size="mini" v-if="hasLink ==='true'" @click="removeByDevice()"></el-button>
<el-button size="mini" v-if="hasLink !=='true'" @click="addAll()"></el-button> <el-button size="mini" v-if="hasLink !=='true'" @click="addAll()"></el-button>
<el-button size="mini" v-if="hasLink ==='true'" @click="removeAll()"></el-button> <el-button size="mini" v-if="hasLink ==='true'" @click="removeAll()"></el-button>
<el-button size="mini" @click="getChannelList()"></el-button> <el-button size="mini" @click="getChannelList()"></el-button>
</div> </div>
</div> </div>
@ -218,7 +218,7 @@ export default {
}) })
}, },
addAll: function (row) { addAll: function (row) {
this.$confirm("确定全部添加?", '提示', { this.$confirm("添加所有通道将包括已经添加到其他计划的通道,确定添加所有通道", '提示', {
dangerouslyUseHTMLString: true, dangerouslyUseHTMLString: true,
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
@ -275,7 +275,7 @@ export default {
}, },
removeAll: function (row) { removeAll: function (row) {
this.$confirm("确定全部移除?", '提示', { this.$confirm("确定移除所有通道", '提示', {
dangerouslyUseHTMLString: true, dangerouslyUseHTMLString: true,
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',