|
|
@@ -4,13 +4,29 @@
|
|
|
v-if="index === 0"
|
|
|
class="flex flex-align-center flex-justify-start full-height padding-left cell"
|
|
|
>
|
|
|
- <el-checkbox
|
|
|
- v-if="showCheckBox"
|
|
|
- v-model="info.checked"
|
|
|
- :disabled="folderChecked === false && row.type === 2"
|
|
|
- class="padding-right"
|
|
|
- @change="rowChecked(row)"
|
|
|
- />
|
|
|
+ <!-- <el-checkbox-->
|
|
|
+ <!-- v-if="showCheckBox"-->
|
|
|
+ <!-- v-model="info.checked"-->
|
|
|
+ <!-- :disabled="folderChecked === false && row.type === 2"-->
|
|
|
+ <!-- class="padding-right"-->
|
|
|
+ <!-- @change="rowChecked(row)"-->
|
|
|
+ <!-- />-->
|
|
|
+
|
|
|
+ <div v-if="showCheckBox" class="margin">
|
|
|
+ <el-icon
|
|
|
+ v-if="folderChecked === false && row.type === 2"
|
|
|
+ size="18"
|
|
|
+ color="grey"
|
|
|
+ ><Remove
|
|
|
+ /></el-icon>
|
|
|
+ <div v-else>
|
|
|
+ <el-icon v-if="info.checked" color="red" size="18px"
|
|
|
+ ><CircleCheckFilled
|
|
|
+ /></el-icon>
|
|
|
+ <el-icon v-else color="grey" size="18px"><CircleCheck /></el-icon>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
<div v-else style="width: 24px" />
|
|
|
<div v-if="info.type === 2">
|
|
|
<img
|
|
|
@@ -41,7 +57,11 @@
|
|
|
/>
|
|
|
<img v-else src="../../../assets/svg/folder/other.svg" />
|
|
|
</div>
|
|
|
- {{ info[column.prop] }}
|
|
|
+ <el-tooltip :content="info[column.prop]">
|
|
|
+ <div class="lines-2 padding-right">
|
|
|
+ {{ info[column.prop] }}
|
|
|
+ </div>
|
|
|
+ </el-tooltip>
|
|
|
</div>
|
|
|
<div
|
|
|
v-else
|
|
|
@@ -91,6 +111,7 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
rowChecked(res) {
|
|
|
+ this.info.checked = res
|
|
|
this.$emit('row-change', res)
|
|
|
}
|
|
|
}
|