diff --git a/src/components/SelectBox/SelectBox.vue b/src/components/SelectBox/SelectBox.vue index c695fd6d..76e9deda 100644 --- a/src/components/SelectBox/SelectBox.vue +++ b/src/components/SelectBox/SelectBox.vue @@ -21,9 +21,6 @@ " v-if="isShowBox" > -
> ', props); - className.value = props.className || ''; const selectBox = ref(null); diff --git a/src/components/tablecmt/tablecmt.vue b/src/components/tablecmt/tablecmt.vue index 0a07c08f..a2e3fce2 100644 --- a/src/components/tablecmt/tablecmt.vue +++ b/src/components/tablecmt/tablecmt.vue @@ -44,6 +44,12 @@ class="mx-1" > + + , + required: false, + default: true, + }, }); /** 勾选数据统计 */ const selectCount = ref([]); @@ -491,6 +502,8 @@ function makeCargo(value, column: TableColumnType) { emit('makeCargo', value, column); } function inputchange(value, column: TableColumnType) { + console.log('value :>> ', value); + console.log('column :>> ', column); if (typeof value == 'string') { emit('inputTxt', value, column); } @@ -673,6 +686,18 @@ function copyContent(content: string) { } } +const handleRefresh = () => { + for (let i = 0; i < newcolumnList.value.length; i++) { + const item = newcolumnList.value[i]; + + item.values = ''; + + if (item.type === 2 || item.type === 13) emit('inputTxt', item.values, item); + else if (item.type === 3) emit('selectCheck', item.values, item); + else if (item.type === 4) emit('timeCheck', item.values, item); + } +}; + defineExpose({ handleCheckSelect, handleClearSelect });