xiabin
This commit is contained in:
parent
5dbfc89fee
commit
6d39ad73d6
@ -62,12 +62,16 @@
|
|||||||
@selection-change="handleSelectionChange"
|
@selection-change="handleSelectionChange"
|
||||||
>
|
>
|
||||||
<template #isDefault="slotProps">
|
<template #isDefault="slotProps">
|
||||||
<div style="width: 120px; display: flex; align-items: center; justify-content: flex-start">
|
<div
|
||||||
<el-checkbox
|
:class="[slotProps.row.isDefault == '1' ? 'pr' : 'er']"
|
||||||
|
style="width: 120px; display: flex; align-items: center; justify-content: flex-start"
|
||||||
|
>
|
||||||
|
{{ slotProps.row.isDefault == '1' ? '是' : '否' }}
|
||||||
|
<!-- <el-checkbox
|
||||||
:disabled="slotProps.row.isDefault == '1' ? false : true"
|
:disabled="slotProps.row.isDefault == '1' ? false : true"
|
||||||
:checked="slotProps.row.isDefault == '1' ? true : false"
|
:checked="slotProps.row.isDefault == '1' ? true : false"
|
||||||
size="large"
|
size="large"
|
||||||
/>
|
/> -->
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -507,6 +511,12 @@ function removeCheckedItems(data) {
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
.pr {
|
||||||
|
color: #25bf82;
|
||||||
|
}
|
||||||
|
.er {
|
||||||
|
color: #999999;
|
||||||
|
}
|
||||||
:deep(.el-checkbox__inner) {
|
:deep(.el-checkbox__inner) {
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
width: 16px;
|
width: 16px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user