mooho-base-admin-plus 0.4.25 → 0.4.27
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
|
@@ -41,11 +41,10 @@
|
|
|
41
41
|
-->
|
|
42
42
|
<slot name="column" :form="form" :data="data" :column="column" :code="code"></slot>
|
|
43
43
|
</template>
|
|
44
|
-
<template #tableColumn="
|
|
44
|
+
<template #tableColumn="scope">
|
|
45
45
|
<!--
|
|
46
46
|
@slot 内嵌表格自定义列
|
|
47
47
|
@binding {object} table 表格对象
|
|
48
|
-
@binding {object} tableData 表格数据对象
|
|
49
48
|
@binding {object} tableColumn 表格列对象
|
|
50
49
|
@binding {string} tableCode 表格列代码
|
|
51
50
|
@binding {object} row 行对象
|
|
@@ -55,16 +54,26 @@
|
|
|
55
54
|
-->
|
|
56
55
|
<slot
|
|
57
56
|
name="tableColumn"
|
|
58
|
-
:table="table"
|
|
59
|
-
:
|
|
60
|
-
:
|
|
61
|
-
:
|
|
62
|
-
:
|
|
63
|
-
:
|
|
64
|
-
:
|
|
65
|
-
:code="code"
|
|
57
|
+
:table="scope.table"
|
|
58
|
+
:tableColumn="scope.tableColumn"
|
|
59
|
+
:tableCode="scope.tableCode"
|
|
60
|
+
:row="scope.row"
|
|
61
|
+
:index="scope.index"
|
|
62
|
+
:column="scope.column"
|
|
63
|
+
:code="scope.code"
|
|
66
64
|
></slot>
|
|
67
65
|
</template>
|
|
66
|
+
<template #tableCommand="scope">
|
|
67
|
+
<!--
|
|
68
|
+
@slot 内嵌表格工具栏
|
|
69
|
+
@binding {object} table 表格对象
|
|
70
|
+
@binding {object} tableColumn 表格列对象
|
|
71
|
+
@binding {string} tableCode 表格列代码
|
|
72
|
+
@binding {object} row 行对象
|
|
73
|
+
@binding {int} index 行序号
|
|
74
|
+
-->
|
|
75
|
+
<slot name="tableCommand" :table="scope.table" :tableColumn="scope.tableColumn" :tableCode="scope.tableCode" :row="scope.row" :index="scope.index"></slot>
|
|
76
|
+
</template>
|
|
68
77
|
<template #bottom="{ form }">
|
|
69
78
|
<!--
|
|
70
79
|
@slot 底部
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
@binding {object} tableColumn 表格列对象
|
|
58
58
|
@binding {string} tableCode 表格列代码
|
|
59
59
|
@binding {object} row 行对象
|
|
60
|
-
@binding {
|
|
60
|
+
@binding {int} index 行序号
|
|
61
61
|
-->
|
|
62
62
|
<slot name="tableCommand" :table="$refs['table_' + column.code][0]" :tableColumn="column" :tableCode="column.code" :row="scope.row" :index="scope.index"></slot>
|
|
63
63
|
</template>
|