lambo-design-bi 0.0.206 → 0.0.207

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.
@@ -41,7 +41,7 @@ export default {
41
41
  methods: {
42
42
  getWidgetName,
43
43
  initConfig() {
44
- this.containerStyle = parseStyleStr(this.widget.options.style) || {}
44
+ this.containerStyle = parseStyleStr(this.widget.options.style || {}) || {}
45
45
  console.log("ContainerCard this.containerStyle:", this.containerStyle)
46
46
  }
47
47
  },
@@ -82,30 +82,6 @@ export default {
82
82
  })
83
83
  },
84
84
  goBack() {
85
- let routeConfig = this.$route || {}
86
- console.log("child-page-tm goBack routeConfig:", routeConfig)
87
- let parentRouteName = null
88
- if (routeConfig && routeConfig.meta && routeConfig.meta.crumbs) {
89
- let crumbs = routeConfig.meta.crumbs
90
- if (crumbs && crumbs.length > 1) {
91
- let parentRoute = crumbs[crumbs.length - 2]
92
- if (parentRoute) {
93
- parentRouteName = parentRoute.name || null
94
- }
95
- }
96
- }
97
- /**
98
- if (parentRouteName) {
99
- console.log("child-page-tm goBack parentRouteName:", parentRouteName)
100
- this.$router.push({
101
- name: parentRouteName,
102
- query: { pageId: this.parentPageId }
103
- })
104
- } else {
105
- console.log("child-page-tm goBack history.back()")
106
- this.$router.go(-1)
107
- }
108
- */
109
85
  console.log("child-page-tm goBack history.back()")
110
86
  this.$router.go(-1)
111
87
  },
@@ -1,7 +1,6 @@
1
1
  <template>
2
2
  <div class="bi-search-form" v-if="widget.widgets && widget.widgets.length > 0">
3
- <LamboQueryFilter :default-rows="1" :label-width="145" :span="6" :showSearchIcon="true" :autocomplete="'on'"
4
- :hideResetButton="true" @do-search="doSearch" @on-reset="onReset">
3
+ <LamboQueryFilter :default-rows="2" :label-width="150" :span="8" :showSearchIcon="true" :autocomplete="'on'" :hideResetButton="true" @do-search="doSearch" @on-reset="onReset">
5
4
  <div v-for="(item, index) in widget.widgets" :key="index">
6
5
  <FormItem v-if="item.options.searchType !== 'A0'" :label="item.name">
7
6
  <BiSearchItem :widget="item"></BiSearchItem>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lambo-design-bi",
3
- "version": "0.0.206",
3
+ "version": "0.0.207",
4
4
  "description": "Vue2 BI 数据可视化组件库",
5
5
  "main": "index.js",
6
6
  "author": "finch",