CN-1016 根据接口修改,进行相应调整

This commit is contained in:
hyx
2023-06-02 14:15:00 +08:00
parent 1d12060e0e
commit adf0b831fe
7 changed files with 215 additions and 144 deletions

View File

@@ -26,6 +26,8 @@
v-model="data.status"
active-color="#38ACD2"
inactive-color="#C0CEDB"
:active-value="1"
:inactive-value="0"
@change="changeStatus($event,data.knowledgeId)"
>
</el-switch>
@@ -51,17 +53,6 @@ export default {
checkList: []
}
},
watch: {
tableData: {
handler (n) {
if (this.tableData && this.tableData.length > 0) {
this.tableData.forEach(item => {
// item.status = true
})
}
}
}
},
methods: {
clickCard (data, event) {
if (data.isSelected) { // 原来为选中,当前点击后未选中
@@ -149,7 +140,6 @@ export default {
this.tableData.forEach(item => {
item.showMore = false
item.moreOptions = false
// item.status = true
})
},
computed: {