doway-coms 1.1.59 → 1.1.61
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/packages/BaseGrid/src/index.vue +1 -0
- package/packages/index.js +1 -16
package/package.json
CHANGED
|
@@ -382,6 +382,7 @@
|
|
|
382
382
|
//xe-utils提供了一套实用的基础函数、任意格式的日期转换函数,浏览器相关操作函数等,详细使用百度
|
|
383
383
|
import XEUtils from 'xe-utils'
|
|
384
384
|
//VXETable插件
|
|
385
|
+
import VXETable from 'vxe-table'
|
|
385
386
|
//ant的空状态展示占位图
|
|
386
387
|
import { Empty,Row,Col,Space,Input,Select,DatePicker,Checkbox,InputNumber,TimePicker,Button } from 'ant-design-vue'
|
|
387
388
|
import BasePagination from '../../BasePagination/index'
|
package/packages/index.js
CHANGED
|
@@ -67,22 +67,7 @@ VXETable.interceptor.add('event.clearFilter', (params) => {
|
|
|
67
67
|
})
|
|
68
68
|
|
|
69
69
|
//表格自定义格式化
|
|
70
|
-
|
|
71
|
-
// 格式化下拉选项
|
|
72
|
-
formatSelect(scope) {
|
|
73
|
-
let dataSource = scope.column.params.dataSource
|
|
74
|
-
if (!dataSource) {
|
|
75
|
-
// console.error(scope.cellValue + ' 字典缺失')
|
|
76
|
-
return scope.cellValue
|
|
77
|
-
}
|
|
78
|
-
const item = dataSource.find(item => item.value === scope.cellValue)
|
|
79
|
-
return item ? item.caption : scope.cellValue
|
|
80
|
-
}
|
|
81
|
-
})
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
70
|
+
import './utils/gridFormat'
|
|
86
71
|
|
|
87
72
|
|
|
88
73
|
const install = function (Vue) {
|