Merge pull request #8836 from ulleo/dev

feat(X-Pack): 数据填报左侧菜单增加宽度限制
This commit is contained in:
ulleo 2024-04-01 16:37:42 +08:00 committed by GitHub
commit 10ddff1616
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 14 additions and 2 deletions

View File

@ -428,9 +428,8 @@ public class JdbcProvider extends DefaultJdbcProvider {
JdbcConfiguration jdbcConfiguration = new Gson().fromJson(dsr.getDatasource().getConfiguration(), JdbcConfiguration.class);
int queryTimeout = jdbcConfiguration.getQueryTimeout() > 0 ? jdbcConfiguration.getQueryTimeout() : 0;
try (Connection connection = getConnectionFromPool(dsr); PreparedStatement stat = getPreparedStatement(connection, queryTimeout, dsr.getQuery())) {
LogUtil.info("getData sql: " + dsr.getQuery());
if (CollectionUtils.isNotEmpty(dsr.getTableFieldWithValues())) {
LogUtil.info("getData sql: " + dsr.getQuery());
for (int i = 0; i < dsr.getTableFieldWithValues().size(); i++) {
stat.setObject(i + 1, dsr.getTableFieldWithValues().get(i).getValue(), dsr.getTableFieldWithValues().get(i).getType());
LogUtil.info("getData param[" + (i + 1) + "]: " + dsr.getTableFieldWithValues().get(i).getValue());

View File

@ -482,6 +482,13 @@ export default {
</template>
<style lang="scss" scoped>
.ms-aside-container {
height: calc(100vh - 56px);
padding: 0px;
min-width: 260px;
max-width: 460px;
}
.tab-panel {
height: 100%;
overflow-y: auto;

View File

@ -611,6 +611,12 @@ export default {
</template>
<style lang="scss" scoped>
.ms-aside-container {
height: calc(100vh - 56px);
padding: 0px;
min-width: 260px;
max-width: 460px;
}
.view-table {
background: rgba(255, 255, 255, 1);