lambo-design-bi 0.0.136 → 0.0.138

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.
@@ -4,9 +4,12 @@
4
4
  <div v-if="widget.options.searchType === '00'"> <!-- 输入框 -->
5
5
  <Input v-model="widget.options.val" class="query" placeholder="请输入" :clearable="true" />
6
6
  </div>
7
- <div v-if="widget.options.searchType === '01'"> <!-- 模糊输入框 -->
7
+ <div v-else-if="widget.options.searchType === '01'"> <!-- 模糊输入框 -->
8
8
  <Input v-model="widget.options.val" class="query" placeholder="请输入" :clearable="true" />
9
9
  </div>
10
+ <div v-else-if="widget.options.searchType === 'A0'" class="not-show"> <!-- 隐形查询条件 -->
11
+ <Input v-model="widget.options.val" class="query" />
12
+ </div>
10
13
  <div v-else-if="widget.options.searchType === '10'"> <!-- 单选下拉框 -->
11
14
  <Select v-model="widget.options.val" class="query" filterable :clearable="true" placeholder="请选择">
12
15
  <Option v-for="(item, index) in widget.options.dataList" :key="index" :value="item.K"> {{ item.V }}</Option>
@@ -44,9 +47,6 @@
44
47
  <DatePicker v-model="widget.options.val" format="yyyy-MM-dd" placeholder="请选择" placement="bottom-end"
45
48
  class="query" type="daterange"></DatePicker>
46
49
  </div>
47
- <div v-else-if="widget.options.searchType === 'A0'"> <!-- 隐形查询条件 -->
48
- <Input v-model="widget.options.val" class="not-show" />
49
- </div>
50
50
  </div>
51
51
  </template>
52
52
  <script>
@@ -22,6 +22,7 @@ export const WIDGET_MAP = {
22
22
  }
23
23
 
24
24
  export function getWidgetName(item) {
25
+ console.log('getWidgetName WIDGET_MAP=', WIDGET_MAP)
25
26
  let type = item.type
26
27
  if (type && Object.prototype.hasOwnProperty.call(WIDGET_MAP, type) && WIDGET_MAP[type]) {
27
28
  return WIDGET_MAP[type]
@@ -29,7 +30,7 @@ export function getWidgetName(item) {
29
30
  console.warn(`未找到type=${type}对应的组件,使用默认组件`)
30
31
  console.log('getWidgetName item=', item)
31
32
  console.log('getWidgetName type=', type)
32
- console.log('getWidgetName WIDGET_MAP=', WIDGET_MAP)
33
+
33
34
  if (type && Object.prototype.hasOwnProperty.call(WIDGET_MAP, type)) {
34
35
  console.log('getWidgetName 类型包含组件但未成功获取 WIDGET_MAP[type]=', WIDGET_MAP[type])
35
36
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lambo-design-bi",
3
- "version": "0.0.136",
3
+ "version": "0.0.138",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "author": "finch",