conditons (but FROM_TODAY)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<kuc-table :class-name.camel="['plugin-kuc-table']" :columns="columns" :data="modelValue" />
|
||||
<kuc-table className='plugin-kuc-table condition-table' :columns="columns" :data="modelValue" @change="tableChanged"/>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
@@ -64,10 +64,7 @@ const columns = reactive([
|
||||
id: rowData.id,
|
||||
whereConditions: props.modelValue,
|
||||
'onUpdate:modelValue': ({obj, value}) => {
|
||||
if (obj) {
|
||||
obj.condition = value;
|
||||
obj.data = '';
|
||||
}
|
||||
obj && (obj.condition = value);
|
||||
},
|
||||
});
|
||||
render(vnode, container);
|
||||
@@ -94,4 +91,7 @@ const columns = reactive([
|
||||
},
|
||||
]);
|
||||
|
||||
function tableChanged(e) {
|
||||
console.log(e);
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user