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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.9.178",
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",
@@ -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),
@@ -25,7 +25,7 @@ export default {
25
25
  data () {
26
26
  return {
27
27
  // 查询配置文件名
28
- queryParamsName: 'DayReportQueryCRUD',
28
+ queryParamsName: 'ChargeQueryCRUD',
29
29
  // 查询配置左侧tree
30
30
  // xTreeConfigName: 'addressType',
31
31
  // 新增表单固定值
@@ -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 v-if="!buttonState || buttonState.print && buttonRendering('print')">
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"