cyl/dev
wangxia 2 years ago
parent 634276b5b7
commit 3099de5257

@ -122,11 +122,11 @@
</svg>--> </svg>-->
{{ record.aliasName || record.userName }} {{ record.aliasName || record.userName }}
</span> </span>
<div slot="join"> <div slot="join" slot-scope="text, record">
<a-switch default-checked @change="onChange" /> <a-switch default-checked :checked="record.join" @change="showChange(record)" />
</div> </div>
<div slot="bigScreen"> <div slot="bigScreen" slot-scope="text, record">
<a-switch default-checked @change="onChange" /> <a-switch default-checked :checked="record.bigScreen" @change="showChange(record)" />
</div> </div>
<div slot="setting" v-if="!record.children" class="setting" slot-scope="text, record" style="color: #1890FF"> <div slot="setting" v-if="!record.children" class="setting" slot-scope="text, record" style="color: #1890FF">
<!-- <a @click="showDetail('detail', record)">详情</a> --> <!-- <a @click="showDetail('detail', record)">详情</a> -->
@ -447,7 +447,6 @@ export default {
// width: 100, // width: 100,
// filters: this.groupList, // filters: this.groupList,
customRender: (text, row, index) => { customRender: (text, row, index) => {
console.log(text)
let text1 = '系统' let text1 = '系统'
this.groupList.forEach((item) => { this.groupList.forEach((item) => {
// text1 = '' // text1 = ''
@ -580,7 +579,8 @@ export default {
this.memberList.forEach((item, index) => { this.memberList.forEach((item, index) => {
// item.group = '' + ((index % 5) + 1) // item.group = '' + ((index % 5) + 1)
// item1.children.forEach((item) => { // item1.children.forEach((item) => {
console.log(item) item.join = false
item.bigScreen = false
item.role = getAgencyRoleTypeById(item.agencyRole) item.role = getAgencyRoleTypeById(item.agencyRole)
item.permission = getAgencyPermissionNameById(item.agencyPermissions) item.permission = getAgencyPermissionNameById(item.agencyPermissions)
// }) // })
@ -887,6 +887,14 @@ export default {
} }
// } // }
}, },
/**
* 参与统计大屏显示状态切换
*
*
*/
showChange(e) {
console.log(e)
},
}, },
} }
</script> </script>

Loading…
Cancel
Save