@bsgoal/common 2.16.0 → 2.16.2
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/dist/index.mjs +776 -756
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +7 -7
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/bsgoal-base-search-table/index.vue +3 -3
- package/src/components/bsgoal-base-table/demo.vue +3 -2
- package/src/components/bsgoal-base-table/index.vue +3 -3
- package/src/components/bsgoal-base-time-range/demo.vue +18 -4
- package/src/components/bsgoal-base-time-range/index.vue +18 -3
- package/src/components/bsgoal-base-tree-table/index.vue +3 -3
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.base_tooltip_popper{max-width:20em}.bsgoal-base-form .base_form .el-form-item{margin-right:10px}.bsgoal-base-form .base_form div.el-input,.bsgoal-base-form .base_form div.el-select{width:100%}.bsgoal-base-form .base_form--visible{width:0px;height:0px;overflow:hidden}.bsgoal-base-sizes{display:inline-block}.bsgoal-base-sizes .base_sizes_input{cursor:pointer;margin-left:16px}.bsgoal-base-sizes .base_sizes_item{text-align:center;font-size:14px;padding:0 20px;color:#606266;height:34px;line-height:34px;cursor:pointer}.bsgoal-base-sizes .base_sizes_item:hover{background-color:#f5f7fa}.bsgoal-base-sizes .base_sizes_item--selected{color:#409eff;font-weight:700}.bsgoal-base-sizes .bsgoal_micro_app .el-input__suffix{margin-right:8px!important}.bsgoal-base-table-pagination{text-align:right}.bsgoal-base-table-pagination .base_table_pagination{display:inline-block;margin-top:16px}.bsgoal-base-table-empty .base_table_empty{text-align:center}.bsgoal-base-table-empty .base_table_empty_img{padding-top:16px;line-height:initial}.bsgoal-base-table-empty .base_table_empty_text{display:inline-block}.bsgoal-base-table .base_table{padding:16px}.bsgoal-base-table .base_table_menu{margin-bottom:8px}.bsgoal-base-table .el-table__body-wrapper{overflow-y:hidden!important}.bsgoal-base-table .el-scrollbar__view{height:100%}.bsgoal-base-table .base_table--tree{margin-top:10px}.bsgoal-base-table th>div.cell{white-space:nowrap}.bsgoal-base-table .bsgoal_micro_app .el-scrollbar{padding-bottom:0!important}.bsgoal-base-table .bsgoal_micro_app th.el-table__cell{overflow:initial!important}.bsgoal-base-line .base_line{height:10px;background-color:#f0f2f5}.bsgoal-base-line .bsgoal-base-line__vertical{display:inline-block;height:100%}.bsgoal-base-line .base_line__vertical{width:10px;height:100%}.bsgoal-base-line .bsgoal-base-line__fill{position:absolute;left:0;right:0}.bsgoal-base-search-operation{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:33.5px}.bsgoal-base-search-operation .operation_fold{margin-left:12px;cursor:pointer;min-width:3em}.bsgoal-base-cascader{height:100%;width:100%}.bsgoal-base-cascader .base_cascader{width:inherit;height:inherit}.bsgoal-base-search .base_search{padding:16px 6px 8px 16px}.bsgoal-base-search .base_search .el-form-item{margin-bottom:8px;margin-right:10px}.bsgoal-base-search .base_search div.el-input,.bsgoal-base-search .base_search div.el-select{width:100%}.bsgoal-base-search .el-col{margin-bottom:0!important}.bsgoal-base-tree-fold .base_tree_fold{position:absolute;top:0;bottom:0;right:10px;margin:auto;width:14px;height:38px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border-radius:10px;background-color:var(--el-color-primary)}.bsgoal-base-tree-fold .base_tree_fold--hide{right:0px}.bsgoal-base-tree{display:inline-block}.bsgoal-base-tree .base_tree{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;min-width:14px}.bsgoal-base-tree .base_tree_main{width:221px;padding:16px;scrollbar-width:none;-ms-overflow-style:none;overflow-x:hidden;overflow-y:auto}.bsgoal-base-tree .base_tree_main::-webkit-scrollbar{width:6px;height:6px}.bsgoal-base-tree .base_tree_main::-webkit-scrollbar-thumb{border-radius:10px;background:rgba(0,0,0,.2);width:20px}.bsgoal-base-tree .base_tree_main::-webkit-scrollbar-track{background-color:#fff}.bsgoal-base-tree .base_tree_main_input{margin-bottom:10px}.bsgoal-base-tree .base_tree .el-tree-node__content>i.el-tree-node__expand-icon{padding-left:0}.bsgoal-base-tree .base_tree_node{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1;flex:1}.bsgoal-base-tree .base_tree_node_label{-webkit-box-flex:1;-ms-flex:1;flex:1}.bsgoal-base-tree .base_tree_node_icon{-webkit-box-flex:0;-ms-flex:none;flex:none}.bsgoal-base-button,.bsgoal-base-button .base_button{display:inline-block}.bsgoal-base-dialog .base_dialog_header{font-weight:500;color:#303133;font-size:16px}.bsgoal-base-dialog .bsgoal-dialog__footer--conceal .el-dialog__footer{display:none}.bsgoal-base-dialog .el-dialog__footer{height:initial;line-height:initial}.bsgoal-base-dialog .el-dialog__footer .el-button{margin-left:initial}.bsgoal-base-dialog .bsgoal_base_dialog_main .el-dialog__header{padding:16px 30px;margin-right:0;background-color:#f5f7fa;height:initial!important}.bsgoal-base-dialog .bsgoal_base_dialog_main .el-dialog__header .el-dialog__headerbtn{top:0px;right:8px}.bsgoal-base-dialog .bsgoal_base_dialog_main .el-dialog__body{padding:0}.bsgoal-base-dialog .bsgoal_base_dialog_main .base_dialog_content{padding:30px}.bsgoal-base-dialog .bsgoal_base_dialog_main .base_dialog_content--form{padding:0 0 0 30px}.bsgoal-base-dialog .bsgoal_base_dialog_main .base_dialog_content--form .bsgoal-base-form .base_form{padding:initial;padding-top:16px}.bsgoal-base-dialog .bsgoal_base_dialog_main .base_dialog_content--blank{padding-top:0}.bsgoal-base-dialog .base_dialog_footer_cancel{margin-right:16px}.bsgoal-base-tabs .base_tabs--fill{position:absolute;top:8px;bottom:0;left:16px;right:16px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.bsgoal-base-tabs .base_tabs--fill>div.el-tabs__content{-webkit-box-flex:1;-ms-flex:1;flex:1;position:relative}.bsgoal-base-alert .el-alert
|
|
1
|
+
@charset "UTF-8";.base_tooltip_popper{max-width:20em}.bsgoal-base-form .base_form .el-form-item{margin-right:10px}.bsgoal-base-form .base_form div.el-input,.bsgoal-base-form .base_form div.el-select{width:100%}.bsgoal-base-form .base_form--visible{width:0px;height:0px;overflow:hidden}.bsgoal-base-sizes{display:inline-block}.bsgoal-base-sizes .base_sizes_input{cursor:pointer;margin-left:16px}.bsgoal-base-sizes .base_sizes_item{text-align:center;font-size:14px;padding:0 20px;color:#606266;height:34px;line-height:34px;cursor:pointer}.bsgoal-base-sizes .base_sizes_item:hover{background-color:#f5f7fa}.bsgoal-base-sizes .base_sizes_item--selected{color:#409eff;font-weight:700}.bsgoal-base-sizes .bsgoal_micro_app .el-input__suffix{margin-right:8px!important}.bsgoal-base-table-pagination{text-align:right}.bsgoal-base-table-pagination .base_table_pagination{display:inline-block;margin-top:16px}.bsgoal-base-table-empty .base_table_empty{text-align:center}.bsgoal-base-table-empty .base_table_empty_img{padding-top:16px;line-height:initial}.bsgoal-base-table-empty .base_table_empty_text{display:inline-block}.bsgoal-base-table .base_table{padding:16px}.bsgoal-base-table .base_table_menu{margin-bottom:8px}.bsgoal-base-table .el-table__body-wrapper{overflow-y:hidden!important}.bsgoal-base-table .el-scrollbar__view{height:100%}.bsgoal-base-table .base_table--tree{margin-top:10px}.bsgoal-base-table th>div.cell{white-space:nowrap}.bsgoal-base-table .bsgoal_micro_app .el-scrollbar{padding-bottom:0!important}.bsgoal-base-table .bsgoal_micro_app th.el-table__cell{overflow:initial!important}.bsgoal-base-line .base_line{height:10px;background-color:#f0f2f5}.bsgoal-base-line .bsgoal-base-line__vertical{display:inline-block;height:100%}.bsgoal-base-line .base_line__vertical{width:10px;height:100%}.bsgoal-base-line .bsgoal-base-line__fill{position:absolute;left:0;right:0}.bsgoal-base-search-operation{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:33.5px}.bsgoal-base-search-operation .operation_fold{margin-left:12px;cursor:pointer;min-width:3em}.bsgoal-base-cascader{height:100%;width:100%}.bsgoal-base-cascader .base_cascader{width:inherit;height:inherit}.bsgoal-base-search .base_search{padding:16px 6px 8px 16px}.bsgoal-base-search .base_search .el-form-item{margin-bottom:8px;margin-right:10px}.bsgoal-base-search .base_search div.el-input,.bsgoal-base-search .base_search div.el-select{width:100%}.bsgoal-base-search .el-col{margin-bottom:0!important}.bsgoal-base-tree-fold .base_tree_fold{position:absolute;top:0;bottom:0;right:10px;margin:auto;width:14px;height:38px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border-radius:10px;background-color:var(--el-color-primary)}.bsgoal-base-tree-fold .base_tree_fold--hide{right:0px}.bsgoal-base-tree{display:inline-block}.bsgoal-base-tree .base_tree{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;min-width:14px}.bsgoal-base-tree .base_tree_main{width:221px;padding:16px;scrollbar-width:none;-ms-overflow-style:none;overflow-x:hidden;overflow-y:auto}.bsgoal-base-tree .base_tree_main::-webkit-scrollbar{width:6px;height:6px}.bsgoal-base-tree .base_tree_main::-webkit-scrollbar-thumb{border-radius:10px;background:rgba(0,0,0,.2);width:20px}.bsgoal-base-tree .base_tree_main::-webkit-scrollbar-track{background-color:#fff}.bsgoal-base-tree .base_tree_main_input{margin-bottom:10px}.bsgoal-base-tree .base_tree .el-tree-node__content>i.el-tree-node__expand-icon{padding-left:0}.bsgoal-base-tree .base_tree_node{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1;flex:1}.bsgoal-base-tree .base_tree_node_label{-webkit-box-flex:1;-ms-flex:1;flex:1}.bsgoal-base-tree .base_tree_node_icon{-webkit-box-flex:0;-ms-flex:none;flex:none}.bsgoal-base-button,.bsgoal-base-button .base_button{display:inline-block}.bsgoal-base-dialog .base_dialog_header{font-weight:500;color:#303133;font-size:16px}.bsgoal-base-dialog .bsgoal-dialog__footer--conceal .el-dialog__footer{display:none}.bsgoal-base-dialog .el-dialog__footer{height:initial;line-height:initial}.bsgoal-base-dialog .el-dialog__footer .el-button{margin-left:initial}.bsgoal-base-dialog .bsgoal_base_dialog_main .el-dialog__header{padding:16px 30px;margin-right:0;background-color:#f5f7fa;height:initial!important}.bsgoal-base-dialog .bsgoal_base_dialog_main .el-dialog__header .el-dialog__headerbtn{top:0px;right:8px}.bsgoal-base-dialog .bsgoal_base_dialog_main .el-dialog__body{padding:0}.bsgoal-base-dialog .bsgoal_base_dialog_main .base_dialog_content{padding:30px}.bsgoal-base-dialog .bsgoal_base_dialog_main .base_dialog_content--form{padding:0 0 0 30px}.bsgoal-base-dialog .bsgoal_base_dialog_main .base_dialog_content--form .bsgoal-base-form .base_form{padding:initial;padding-top:16px}.bsgoal-base-dialog .bsgoal_base_dialog_main .base_dialog_content--blank{padding-top:0}.bsgoal-base-dialog .base_dialog_footer_cancel{margin-right:16px}.bsgoal-base-tabs .base_tabs--fill{position:absolute;top:8px;bottom:0;left:16px;right:16px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.bsgoal-base-tabs .base_tabs--fill>div.el-tabs__content{-webkit-box-flex:1;-ms-flex:1;flex:1;position:relative}.bsgoal-base-alert .el-alert{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.bsgoal-base-time-range .base_time_range[data-v-fa522bcc]{width:100%}.bsgoal-base-item .base_item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.bsgoal-base-item .base_item_label{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:14px;color:#606266;height:32px;line-height:32px;padding-right:12px}.bsgoal-base-tree-table .base_tree_table{display:-webkit-box;display:-ms-flexbox;display:flex}.bsgoal-base-tree-table .base_tree_table--table{overflow:hidden}.bsgoal-base-viewer{display:inline-block}.bsgoal-base-viewer .base_viewer{margin:4px 8px}
|
package/package.json
CHANGED
|
@@ -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-07-
|
|
5
|
+
* @LastEditTime: 2023-07-11 11:04:07
|
|
6
6
|
* @FilePath: \common\src\components\bsgoal-base-search-table\index.vue
|
|
7
7
|
* @Description: 查询+表格 基础组件
|
|
8
8
|
*
|
|
@@ -276,8 +276,8 @@ defineExpose({
|
|
|
276
276
|
>
|
|
277
277
|
<!-- S 顶部菜单 -->
|
|
278
278
|
|
|
279
|
-
<template v-for="slotName of slotNames" v-slot:[slotName]="{ row = {} }">
|
|
280
|
-
<slot :name="slotName" :row="row"></slot>
|
|
279
|
+
<template v-for="slotName of slotNames" v-slot:[slotName]="{ row = {} , column = {} , index = 0 }">
|
|
280
|
+
<slot :name="slotName" :row="row" :column="column" :index="index"></slot>
|
|
281
281
|
</template>
|
|
282
282
|
<!-- E 顶部菜单 -->
|
|
283
283
|
</BsgoalBaseTable>
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @Author: canlong.shen
|
|
3
3
|
* @Date: 2023-04-10 14:26:44
|
|
4
4
|
* @LastEditors: canlong.shen
|
|
5
|
-
* @LastEditTime: 2023-
|
|
5
|
+
* @LastEditTime: 2023-07-11 11:01:43
|
|
6
6
|
* @FilePath: \common\src\components\bsgoal-base-table\demo.vue
|
|
7
7
|
* @Description: 表格公共组件演示页面
|
|
8
8
|
*
|
|
@@ -282,9 +282,10 @@ const clearSelection = () => {
|
|
|
282
282
|
@selection-change="triggerSelectionChange"
|
|
283
283
|
>
|
|
284
284
|
<!-- S 操作项 -->
|
|
285
|
-
<template v-slot:operation="{ row }">
|
|
285
|
+
<template v-slot:operation="{ row , index }">
|
|
286
286
|
<div>
|
|
287
287
|
<!-- {{ row }} -->
|
|
288
|
+
{{ index }}
|
|
288
289
|
</div>
|
|
289
290
|
</template>
|
|
290
291
|
<!-- E 操作项 -->
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @Author: canlong.shen
|
|
3
3
|
* @Date: 2023-04-10 11:29:04
|
|
4
4
|
* @LastEditors: canlong.shen
|
|
5
|
-
* @LastEditTime: 2023-07-
|
|
5
|
+
* @LastEditTime: 2023-07-11 11:01:20
|
|
6
6
|
* @FilePath: \common\src\components\bsgoal-base-table\index.vue
|
|
7
7
|
* @Description:
|
|
8
8
|
*
|
|
@@ -398,8 +398,8 @@ defineExpose({
|
|
|
398
398
|
:min-width="`${label.length * 14 + 30}px`"
|
|
399
399
|
:max-width="`${label.length * 14 + 30}px`"
|
|
400
400
|
>
|
|
401
|
-
<template v-slot:default="{ row }">
|
|
402
|
-
<slot :name="prop" :row="row">
|
|
401
|
+
<template v-slot:default="{ row ,column, $index }">
|
|
402
|
+
<slot :name="prop" :row="row" :column="column" :index="$index">
|
|
403
403
|
<BsgoalBaseTableContent :limit="limit" :tooltip="tooltip" :data="row[prop]" />
|
|
404
404
|
</slot>
|
|
405
405
|
</template>
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @Author: canlong.shen
|
|
3
3
|
* @Date: 2023-05-24 14:10:03
|
|
4
4
|
* @LastEditors: canlong.shen
|
|
5
|
-
* @LastEditTime: 2023-
|
|
5
|
+
* @LastEditTime: 2023-07-11 10:34:27
|
|
6
6
|
* @FilePath: \common\src\components\bsgoal-base-time-range\demo.vue
|
|
7
7
|
* @Description: 时间选择 演示
|
|
8
8
|
*
|
|
@@ -22,19 +22,33 @@ const props = defineProps({})
|
|
|
22
22
|
|
|
23
23
|
const timeRange = ref(['11:00', '12:12'])
|
|
24
24
|
|
|
25
|
+
const timeList = ref([
|
|
26
|
+
{
|
|
27
|
+
startTime: '00:00',
|
|
28
|
+
endTime: '01:00'
|
|
29
|
+
}
|
|
30
|
+
])
|
|
31
|
+
|
|
25
32
|
const startTime = ref('12:11')
|
|
26
33
|
const endTime = ref('13:55')
|
|
34
|
+
|
|
35
|
+
const changeTime = (start = '' , end = '') => {
|
|
36
|
+
console.log('start',start);
|
|
37
|
+
console.log('end',end);
|
|
38
|
+
}
|
|
27
39
|
</script>
|
|
28
40
|
<template>
|
|
29
41
|
<div class="bsgoal-base-time-range-demo">
|
|
30
42
|
<div>{{ timeRange }}</div>
|
|
31
43
|
<div>{{ startTime }}</div>
|
|
32
44
|
<div>{{ endTime }}</div>
|
|
45
|
+
<div>{{ timeList[0]['startTime'] }}</div>
|
|
46
|
+
<div>{{ timeList[0]['endTime'] }}</div>
|
|
33
47
|
<BsgoalBaseTimeRange
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
v-model="timeRange"
|
|
48
|
+
:body-style="{ width: '100%' }"
|
|
49
|
+
:modelValue="[timeList[0]['startTime'], timeList[0]['endTime']]"
|
|
37
50
|
class="base_time_range_demo"
|
|
51
|
+
@on-change="changeTime"
|
|
38
52
|
/>
|
|
39
53
|
</div>
|
|
40
54
|
</template>
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @Author: canlong.shen
|
|
3
3
|
* @Date: 2023-05-24 14:09:57
|
|
4
4
|
* @LastEditors: canlong.shen
|
|
5
|
-
* @LastEditTime: 2023-
|
|
5
|
+
* @LastEditTime: 2023-07-11 10:13:39
|
|
6
6
|
* @FilePath: \common\src\components\bsgoal-base-time-range\index.vue
|
|
7
7
|
* @Description: 时间选择 公共组件
|
|
8
8
|
*
|
|
@@ -48,10 +48,17 @@ const props = defineProps({
|
|
|
48
48
|
format: {
|
|
49
49
|
type: [String],
|
|
50
50
|
default: 'HH:mm'
|
|
51
|
+
},
|
|
52
|
+
/**
|
|
53
|
+
* 格式 HH:mm:ss
|
|
54
|
+
*/
|
|
55
|
+
bodyStyle: {
|
|
56
|
+
type: [Object],
|
|
57
|
+
default: () => ({})
|
|
51
58
|
}
|
|
52
59
|
})
|
|
53
60
|
|
|
54
|
-
const emits = defineEmits(['update:modelValue', 'update:startTime', 'update:endTime'])
|
|
61
|
+
const emits = defineEmits(['update:modelValue', 'update:startTime', 'update:endTime','on-change'])
|
|
55
62
|
// ---> S 值绑定 <---
|
|
56
63
|
const bindValue = ref([])
|
|
57
64
|
|
|
@@ -112,6 +119,8 @@ const triggerChange = (range = []) => {
|
|
|
112
119
|
} else {
|
|
113
120
|
emits('update:modelValue', [startDateFormat, endDateFormat])
|
|
114
121
|
}
|
|
122
|
+
|
|
123
|
+
emits('on-change',startDateFormat, endDateFormat)
|
|
115
124
|
}
|
|
116
125
|
|
|
117
126
|
/**
|
|
@@ -135,10 +144,11 @@ const triggerVisibleChange = (visibility = false) => {
|
|
|
135
144
|
v-model="bindValue"
|
|
136
145
|
is-range
|
|
137
146
|
class="base_time_range"
|
|
138
|
-
:format="format"
|
|
139
147
|
range-separator="至"
|
|
140
148
|
start-placeholder="开始时间"
|
|
141
149
|
end-placeholder="结束时间"
|
|
150
|
+
:style="bodyStyle"
|
|
151
|
+
:format="format"
|
|
142
152
|
@change="triggerChange"
|
|
143
153
|
@visible-change="triggerVisibleChange"
|
|
144
154
|
/>
|
|
@@ -148,6 +158,11 @@ const triggerVisibleChange = (visibility = false) => {
|
|
|
148
158
|
<style lang="scss" scoped>
|
|
149
159
|
/* 自定义样式
|
|
150
160
|
---------------------------------------------------------------- */
|
|
161
|
+
.bsgoal-base-time-range {
|
|
162
|
+
.base_time_range {
|
|
163
|
+
width: 100%;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
151
166
|
</style>
|
|
152
167
|
<style lang="scss">
|
|
153
168
|
/* 覆盖样式
|
|
@@ -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-07-
|
|
5
|
+
* @LastEditTime: 2023-07-11 11:05:09
|
|
6
6
|
* @FilePath: \common\src\components\bsgoal-base-tree-table\index.vue
|
|
7
7
|
* @Description: 树结构 + 列表
|
|
8
8
|
*
|
|
@@ -323,8 +323,8 @@ const tableStyler = computed(() => {
|
|
|
323
323
|
@selection-change="triggerSelectionChange"
|
|
324
324
|
@on-total-change="triggerTotalChange"
|
|
325
325
|
>
|
|
326
|
-
<template v-for="slotName of slotNames" v-slot:[slotName]="{ row = {} }">
|
|
327
|
-
<slot :name="slotName" :row="row"></slot>
|
|
326
|
+
<template v-for="slotName of slotNames" v-slot:[slotName]="{ row = {} , column={} , index = 0 }">
|
|
327
|
+
<slot :name="slotName" :row="row" :column="column" :index="index"></slot>
|
|
328
328
|
</template>
|
|
329
329
|
</BsgoalBaseSearchTable>
|
|
330
330
|
<!-- E 列表 -->
|