|
@@ -212,7 +212,7 @@
|
|
|
<template v-if="item.deviceBound.length >0">
|
|
|
<div v-for="(dbItem, dbIndex) in item.deviceBound" :key="dbIndex" class="hiteach-collapse-sub gradient" :class="{'linked': dbItem.classId != '' && dbItem.classId != null && classroomListShow[curClassIndex].id != dbItem.classId}">
|
|
|
<!-- 被關聯 disabled -->
|
|
|
- <Button class="hiteach-collapse-sub-linkBtn" v-model="dbItem.hiteachLink" @click="confirmLink(dbItem.hiteachLink, item.id, dbItem.uuid, dbItem.uuid2, classroomListShow[curClassIndex].id)" >{{ dbItem.hiteachLink ? '解除關聯' : '關聯' }}</Button>
|
|
|
+ <Button class="hiteach-collapse-sub-linkBtn" v-model="dbItem.hiteachLink" @click="confirmLink(dbItem.hiteachLink, item.id, dbItem.uuid, dbItem.uuid2, classroomListShow[curClassIndex].id)" >{{ dbItem.hiteachLink ? $t('schoolBaseInfo.deLink') : $t('schoolBaseInfo.link') }}</Button>
|
|
|
<!-- <Checkbox :id="'checkbox-' + (dbItem.uuid + dbItem.uuid2)" @on-change="whatUpdHiLink(dbItem, classroomListShow[curClassIndex].id, item.id)" style="margin-right: 70px;" v-model="dbItem.hiteachLink" :disabled="dbItem.classId != '' && dbItem.classId != null && classroomListShow[curClassIndex].id != dbItem.classId"></Checkbox> -->
|
|
|
<div class="hiteach-collapse-sub-detail">
|
|
|
<ul>
|
|
@@ -1444,8 +1444,8 @@ export default {
|
|
|
let action = linkFlag ? 'unLink' : 'link';
|
|
|
if(action == 'unLink'){
|
|
|
this.$Modal.confirm({
|
|
|
- title: this.$t('解除關聯'),
|
|
|
- content: `${this.$t('請問您確定要解除關聯')}?`,
|
|
|
+ title: this.$t('schoolBaseInfo.deLink'),
|
|
|
+ content: `${this.$t('schoolBaseInfo.confirmDelink')}?`,
|
|
|
onOk: () => {
|
|
|
this.executeHiteachLink(action, pid, uuid, uuid2, classId)
|
|
|
}
|