vue2-client 1.9.177 → 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 +2 -2
- package/src/base-client/components/common/XDatePicker/index.vue +0 -2
- package/src/base-client/components/common/XFormTable/XFormTable.vue +3 -3
- 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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue2-client",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.179",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@hufe921/canvas-editor": "^0.9.49",
|
|
25
25
|
"@vue/babel-preset-jsx": "^1.4.0",
|
|
26
26
|
"@afwenming123/vue-easy-tree": "^1.0.1",
|
|
27
|
-
"@afwenming123/vue-plugin-hiprint": "^0.0.
|
|
27
|
+
"@afwenming123/vue-plugin-hiprint": "^0.0.61",
|
|
28
28
|
"animate.css": "^4.1.1",
|
|
29
29
|
"ant-design-vue": "^1.7.8",
|
|
30
30
|
"axios": "^0.27.2",
|
|
@@ -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),
|
|
@@ -507,7 +507,7 @@ export default {
|
|
|
507
507
|
buttonPermissions: res.buttonPermissions,
|
|
508
508
|
editButtonStateData: res.editButtonStateData,
|
|
509
509
|
printTemplate: res.printTemplate,
|
|
510
|
-
title: this.title,
|
|
510
|
+
title: this.title || res.title,
|
|
511
511
|
viewMode: this.viewMode,
|
|
512
512
|
localEditMode: localEditMode,
|
|
513
513
|
formSubmitTypeInLocalEditMode: res.formSubmitTypeInLocalEditMode,
|
|
@@ -638,7 +638,7 @@ export default {
|
|
|
638
638
|
const localEditMode = !this.localEditMode ? res.localEditMode : this.localEditMode
|
|
639
639
|
this.$refs.xAddForm.init({
|
|
640
640
|
businessType: '新增',
|
|
641
|
-
title: this.title,
|
|
641
|
+
title: this.title || res.title,
|
|
642
642
|
isShow: !res.buttonState || res.buttonState.add || res.buttonState.edit,
|
|
643
643
|
configName: this.queryParamsName,
|
|
644
644
|
configContent: this.queryParamsJson,
|
|
@@ -681,7 +681,7 @@ export default {
|
|
|
681
681
|
const localEditMode = !this.localEditMode ? res.localEditMode : this.localEditMode
|
|
682
682
|
this.$refs.xAddForm.init({
|
|
683
683
|
businessType: '修改',
|
|
684
|
-
title: this.title,
|
|
684
|
+
title: this.title || res.title,
|
|
685
685
|
isShow: !res.buttonState || res.buttonState.add || res.buttonState.edit,
|
|
686
686
|
configName: this.queryParamsName,
|
|
687
687
|
configContent: this.queryParamsJson,
|
|
@@ -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"
|