vue2-client 1.9.178 → 1.9.179
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 +1 -1
- package/src/base-client/components/common/XDatePicker/index.vue +0 -2
- package/src/base-client/components/common/XFormTable/demo.vue +1 -1
- package/src/base-client/components/common/XTable/ExportExcel.vue +3 -1
- package/src/base-client/components/common/XTable/XTable.vue +1 -1
package/package.json
CHANGED
|
@@ -162,11 +162,9 @@ export default {
|
|
|
162
162
|
methods: {
|
|
163
163
|
moment,
|
|
164
164
|
openChange (status) {
|
|
165
|
-
console.log(status)
|
|
166
165
|
this.yearShowOne = status
|
|
167
166
|
},
|
|
168
167
|
RangePanelChange (value, mode) {
|
|
169
|
-
console.log(value, this.formatType, this.attr.type)
|
|
170
168
|
this.localValue = [
|
|
171
169
|
moment(value[0]).format(this.formatType),
|
|
172
170
|
moment(value[1]).format(this.formatType),
|
|
@@ -108,6 +108,7 @@ export default {
|
|
|
108
108
|
// 如果模板中有默认表格 使用当前选中字段替换表格内容
|
|
109
109
|
const crudTableIndex = res.panels[0].printElements.findIndex(h => h.printElementType?.type === 'table' && h.options.field === 'CRUD_TABLE')
|
|
110
110
|
if (crudTableIndex !== -1) {
|
|
111
|
+
console.log()
|
|
111
112
|
res.panels[0].printElements[crudTableIndex].options.columns = [tHeader.map((title, index) => {
|
|
112
113
|
return {
|
|
113
114
|
colspan: 1,
|
|
@@ -117,7 +118,8 @@ export default {
|
|
|
117
118
|
width: res.panels[0].printElements[crudTableIndex].options.width / tHeader.length,
|
|
118
119
|
checked: true,
|
|
119
120
|
fixed: false,
|
|
120
|
-
title: title
|
|
121
|
+
title: title,
|
|
122
|
+
tableSummary: this.tableContext.summaryData.find(item => item.title === title) ? 'sum' : undefined
|
|
121
123
|
}
|
|
122
124
|
})]
|
|
123
125
|
}
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
</a-menu>
|
|
71
71
|
<a-button>导出 <a-icon type="down" :style="iconStyle"/> </a-button>
|
|
72
72
|
</a-dropdown>
|
|
73
|
-
<a-dropdown
|
|
73
|
+
<a-dropdown>
|
|
74
74
|
<a-menu slot="overlay">
|
|
75
75
|
<a-menu-item :disabled="selectedRowKeys.length === 0" key="1" @click="handlePrint('selected')"><a-icon
|
|
76
76
|
:style="iconStyle"
|