centaline-data-driven-v3 0.1.20 → 0.1.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "centaline-data-driven-v3",
3
- "version": "0.1.20",
3
+ "version": "0.1.22",
4
4
  "private": false,
5
5
  "description": "centaline-data-driven-v3",
6
6
  "main": "dist/centaline-data-driven-v3.umd.js",
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div ref="refForm" v-loading="loading" :style="{ 'min-height': minHeight }">
2
+ <div ref="refForm" v-loading="loading" :style="{width:pageWidth?pageWidth+'px':'100%',margin:'auto','min-height': minHeight}">
3
3
  <div style="display: flex; width: 100%;">
4
4
  <div style="flex: 1; min-width: 0;">
5
5
  <div v-if="model !== null && !loading" class="ct-form">
@@ -1,9 +1,9 @@
1
1
  <template>
2
2
  <div style="width: 100%" class="ct-searchtable" ref="refSearchTable">
3
- <SearchStats ref="refTableStats" v-if="!isLoading && model && searchStatsApi" :api="searchStatsApi"
4
- @searchStats="clickSearchStats" :searchModel="model.searchModel" @setTableHeight="setTableHeight"
3
+ <ct-searchstats ref="refTableStats" v-if="!isLoading && model && searchStatsApi" :api="searchStatsApi"
4
+ @searchStats="clickSearchStats" :searchModel="model.searchModel"
5
5
  :flagDisabled="disabledStats" :apiParam="apiParam">
6
- </SearchStats>
6
+ </ct-searchstats>
7
7
  <TableToolbar ref="refToolbar" v-if="!isLoading && model && model.buttons" :buttons="model.buttons"
8
8
  :key="model.toolbarKey" @click="toolbarClickHandler" @importComplete="importComplete"
9
9
  :parameterAction="model.parameterAction" :searchModel="model.searchModel">
@@ -246,7 +246,6 @@
246
246
  import { ref, nextTick, onActivated, onDeactivated, onBeforeUnmount, computed } from 'vue'
247
247
  import common from '../../../utils/common'
248
248
  import request from '../../../utils/request'
249
- import SearchStats from './SearchStats.vue';
250
249
  import TableToolbar from './TableToolbar.vue';
251
250
  import Tabletip from './Tabletip.vue';
252
251
  import Tablecurrency from './Tablecurrency.vue';
@@ -68,8 +68,8 @@
68
68
  </template>
69
69
  <script setup lang="ts">
70
70
  import { ref, nextTick, onMounted } from 'vue'
71
- import util from '../../../utils/pub-use'
72
- import SearchStats from '../../../loader/src/SearchStats'
71
+ import util from '../../utils/pub-use'
72
+ import SearchStats from '../../loader/src/SearchStats'
73
73
  const emit = defineEmits(['searchStats', 'setTableHeight'])
74
74
  const props = defineProps({
75
75
  api: String,