vue2-client 1.4.0 → 1.4.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/CHANGELOG.md +339 -339
- package/package.json +1 -1
- package/src/base-client/components/common/Upload/Upload.vue +1 -1
- package/src/base-client/components/common/XFormTable/XFormTable.vue +4 -3
- package/src/base-client/components/system/LogDetailsView/LogDetailsView.vue +376 -376
- package/src/components/TableSetting/TableSetting.vue +1 -1
- package/src/config/default/setting.config.js +41 -41
- package/src/services/api/common.js +1 -1
package/package.json
CHANGED
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
<a-dropdown v-if="!buttonState || buttonState.export">
|
|
56
56
|
<a-menu slot="overlay">
|
|
57
57
|
<a-menu-item :disabled="selectedRowKeys.length === 0" key="1" @click="handleExport(true)"><a-icon :style="iconStyle" type="ordered-list" />导出选中数据</a-menu-item>
|
|
58
|
-
<a-menu-item key="2" @click="handleExport"><a-icon :style="iconStyle" type="snippets" />导出本页数据</a-menu-item>
|
|
58
|
+
<a-menu-item key="2" @click="handleExport(false)"><a-icon :style="iconStyle" type="snippets" />导出本页数据</a-menu-item>
|
|
59
59
|
<a-menu-item key="3" @click="handleExportByQuery"><a-icon :style="iconStyle" type="download" />导出所有符合条件的数据</a-menu-item>
|
|
60
60
|
</a-menu>
|
|
61
61
|
<a-button>导出 <a-icon type="down" /> </a-button>
|
|
@@ -87,7 +87,7 @@ import { mapState } from 'vuex'
|
|
|
87
87
|
import { Modal } from 'ant-design-vue'
|
|
88
88
|
import { post } from '@vue2-client/services/api/restTools'
|
|
89
89
|
import { CommonTempTable } from '@vue2-client/services/api/commonTempTable'
|
|
90
|
-
import { exportJson } from '
|
|
90
|
+
import { exportJson } from '@vue2-client/utils/excel/Export2Excel'
|
|
91
91
|
|
|
92
92
|
export default {
|
|
93
93
|
name: 'XFormTable',
|
|
@@ -236,7 +236,8 @@ export default {
|
|
|
236
236
|
this.$refs.xTable.clearRowKeys()
|
|
237
237
|
},
|
|
238
238
|
setParams (res) {
|
|
239
|
-
|
|
239
|
+
// 深拷贝json,避免筛选列报错
|
|
240
|
+
this.tableColumns = JSON.parse(JSON.stringify(res.columnJson))
|
|
240
241
|
this.formItems = res.formJson
|
|
241
242
|
this.buttonState = res.buttonState
|
|
242
243
|
this.serviceName = res.serviceName
|