|
|
|
|
@ -7,7 +7,8 @@ |
|
|
|
|
append-to-body> |
|
|
|
|
<avue-form v-model="form" |
|
|
|
|
:option="option" |
|
|
|
|
@submit="handleSubmit"></avue-form> |
|
|
|
|
@submit="handleSubmit" |
|
|
|
|
@reset-change="handleReset"></avue-form> |
|
|
|
|
</el-dialog> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
@ -118,11 +119,16 @@ export default { |
|
|
|
|
if (column && (['exists', 'notExists'].includes(condition) || (condition && value))) arr.push(`${column}:${condition}:${value}`) |
|
|
|
|
}) |
|
|
|
|
this.$emit('input', arr.join(",")) |
|
|
|
|
} else { |
|
|
|
|
this.$emit('input', '') |
|
|
|
|
} |
|
|
|
|
this.visible = false |
|
|
|
|
done() |
|
|
|
|
}, |
|
|
|
|
handleReset() { |
|
|
|
|
this.$emit('input', '') |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|