@bsgoal/common 2.14.1 → 2.14.3

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": "@bsgoal/common",
3
- "version": "2.14.1",
3
+ "version": "2.14.3",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist",
@@ -2,7 +2,7 @@
2
2
  * @Author: canlong.shen
3
3
  * @Date: 2023-04-10 15:00:00
4
4
  * @LastEditors: canlong.shen
5
- * @LastEditTime: 2023-05-31 17:43:54
5
+ * @LastEditTime: 2023-06-26 09:20:07
6
6
  * @FilePath: \common\src\components\bsgoal-base-form\demo.vue
7
7
  * @Description: 表单公共组件演示组件
8
8
  *
@@ -121,9 +121,10 @@ const configOptions = ref([
121
121
  },
122
122
  {
123
123
  label: 'prop2',
124
- value: 'select2',
124
+ value: [],
125
125
  type: ComponentTypeEnums.SELECT,
126
126
  prop: 'prop2',
127
+ multiple:true,
127
128
  range: [
128
129
  {
129
130
  label: 'select1',
@@ -142,7 +143,6 @@ const configOptions = ref([
142
143
  value: 'select5'
143
144
  }
144
145
  ],
145
- readonly: true
146
146
  },
147
147
  {
148
148
  label: 'prop3',
@@ -2,7 +2,7 @@
2
2
  * @Author: canlong.shen
3
3
  * @Date: 2023-04-17 11:44:29
4
4
  * @LastEditors: canlong.shen
5
- * @LastEditTime: 2023-05-31 14:46:37
5
+ * @LastEditTime: 2023-06-26 11:56:55
6
6
  * @FilePath: \common\src\components\bsgoal-base-form\index.vue
7
7
  * @Description: 表单公共组件
8
8
  *
@@ -440,6 +440,7 @@ defineExpose({
440
440
  limit = limits,
441
441
  length = 255,
442
442
  visible = true,
443
+ multiple= false,
443
444
  formatter = (v) => {
444
445
  return v
445
446
  },
@@ -509,6 +510,8 @@ defineExpose({
509
510
  <template v-if="type === ComponentTypeEnums.SELECT">
510
511
  <el-select
511
512
  v-model="model[prop]"
513
+ no-data-text="暂无数据"
514
+ :multiple="multiple"
512
515
  :placeholder="placeholderSet(type, label, placeholder)"
513
516
  @change="triggerValueChange(type, prop)"
514
517
  >
@@ -17,11 +17,21 @@ import baseDirective from '../../directives/directiveBase.js'
17
17
  import BsgoalBaseLine from '../bsgoal-base-line/index.vue'
18
18
  import BsgoalBaseSearchOperation from '../bsgoal-base-search-operation/index.vue'
19
19
  import BsgoalBaseCascader from '../bsgoal-base-cascader/index.vue'
20
+
21
+
22
+
20
23
  defineOptions({
21
24
  name: 'BsgoalBaseSearch'
22
25
  })
23
26
 
24
27
  const props = defineProps({
28
+
29
+
30
+
31
+
32
+
33
+
34
+
25
35
  /**
26
36
  * >----------props----------<
27
37
  * {
@@ -2,7 +2,7 @@
2
2
  * @Author: canlong.shen
3
3
  * @Date: 2023-04-18 17:04:53
4
4
  * @LastEditors: canlong.shen
5
- * @LastEditTime: 2023-06-21 14:26:18
5
+ * @LastEditTime: 2023-06-26 11:52:21
6
6
  * @FilePath: \common\src\components\bsgoal-base-search-table\demo.vue
7
7
  * @Description: 查询 + 表格 组合公共组件
8
8
  *
@@ -747,7 +747,6 @@ const task = (done = () => {}, rows = {}) => {
747
747
  :fetch="fetch"
748
748
  :config-options="configOptions"
749
749
  :expression="75"
750
- :page-size="40"
751
750
  @on-search="triggerSearch"
752
751
  >
753
752
  <!--
@@ -2,7 +2,7 @@
2
2
  * @Author: canlong.shen
3
3
  * @Date: 2023-04-18 17:04:47
4
4
  * @LastEditors: canlong.shen
5
- * @LastEditTime: 2023-06-25 16:08:36
5
+ * @LastEditTime: 2023-06-26 11:53:22
6
6
  * @FilePath: \common\src\components\bsgoal-base-search-table\index.vue
7
7
  * @Description: 查询+表格 基础组件
8
8
  *
@@ -129,7 +129,7 @@ const props = defineProps({
129
129
  */
130
130
  pageSize: {
131
131
  type: [Number],
132
- default: 0
132
+ default: 20
133
133
  }
134
134
  })
135
135
 
@@ -132,7 +132,7 @@ const props = defineProps({
132
132
  */
133
133
  pageSize: {
134
134
  type: [Number],
135
- default: 10
135
+ default: 20
136
136
  }
137
137
  })
138
138
 
@@ -38,7 +38,7 @@ const props = defineProps({
38
38
  */
39
39
  pageSize: {
40
40
  type: [Number],
41
- default: 10
41
+ default: 20
42
42
  },
43
43
  /**
44
44
  * 总条目
@@ -2,7 +2,7 @@
2
2
  * @Author: canlong.shen
3
3
  * @Date: 2023-06-20 09:20:44
4
4
  * @LastEditors: canlong.shen
5
- * @LastEditTime: 2023-06-25 16:45:42
5
+ * @LastEditTime: 2023-06-26 11:54:08
6
6
  * @FilePath: \common\src\components\bsgoal-base-tree-table\index.vue
7
7
  * @Description: 树结构 + 列表
8
8
  *
@@ -153,7 +153,7 @@ const props = defineProps({
153
153
  */
154
154
  pageSize: {
155
155
  type: [Number],
156
- default: 10
156
+ default: 20
157
157
  }
158
158
  })
159
159