Merge remote-tracking branch 'origin/main' into main

This commit is contained in:
wangjiahao 2021-05-25 15:25:06 +08:00
commit 45eb0acbfa
2 changed files with 11 additions and 2 deletions

View File

@ -18,6 +18,9 @@
<if test="sceneId != null">
and scene_id = #{sceneId,jdbcType=VARCHAR}
</if>
<if test="mode != null">
and mode = #{mode,jdbcType=INTEGER}
</if>
</where>
<if test="sort != null">
order by ${sort}

View File

@ -1,5 +1,9 @@
<template>
<el-col>
<el-row style="height: 25px;">
<span>{{ table.name }}</span>
</el-row>
<el-divider />
<el-checkbox v-model="checkAll" :disabled="!(fields.length > 0)" :indeterminate="isIndeterminate" @change="handleCheckAllChange">{{ $t('dataset.check_all') }}</el-checkbox>
<el-checkbox-group v-model="checkedFields" @change="handleCheckedFieldsChange">
<el-checkbox v-for="f in fields" :key="f.id" :label="f.id" style="display: block;margin-top: 4px;width: 100%;">
@ -98,5 +102,7 @@ export default {
</script>
<style scoped>
.el-divider--horizontal {
margin: 12px 0
}
</style>