vue2-client 1.9.152 → 1.9.154
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 +1 -1
- package/src/base-client/components/common/XForm/XForm.vue +5 -3
- package/src/base-client/components/common/XForm/XFormItem.vue +1 -1
- package/src/base-client/components/common/XFormTable/demo.vue +2 -2
- package/src/router/async/router.map.js +2 -2
package/package.json
CHANGED
|
@@ -217,7 +217,7 @@ export default {
|
|
|
217
217
|
end = moment().format(format)
|
|
218
218
|
break
|
|
219
219
|
default:
|
|
220
|
-
return
|
|
220
|
+
return undefined
|
|
221
221
|
}
|
|
222
222
|
if (['monthPicker', 'yearPicker', 'datePicker'].includes(type)) {
|
|
223
223
|
if (queryType === 'BETWEEN') {
|
|
@@ -251,8 +251,10 @@ export default {
|
|
|
251
251
|
this.defaultMap[item.model] = formData[item.model]
|
|
252
252
|
}
|
|
253
253
|
} else {
|
|
254
|
-
if (
|
|
255
|
-
|
|
254
|
+
if (['datePicker', 'rangePicker', 'yearPicker', 'monthPicker', 'yearRangePicker', 'monthRangePicker'].includes(item.type)) {
|
|
255
|
+
if (item.queryType === 'BETWEEN') {
|
|
256
|
+
formData[item.model] = []
|
|
257
|
+
}
|
|
256
258
|
}
|
|
257
259
|
}
|
|
258
260
|
if (item.rule) {
|
|
@@ -650,7 +650,7 @@ import XLicensePlate from '@vue2-client/base-client/components/common/XLicensePl
|
|
|
650
650
|
import XStatusButton from './XStatusButton.vue'
|
|
651
651
|
import XClickChangeBtn from './itemComponent/XClickChangeBtn'
|
|
652
652
|
import 'moment/locale/zh-cn'
|
|
653
|
-
import XFormDatePicker from '
|
|
653
|
+
import XFormDatePicker from '@vue2-client/base-client/components/common/XDatePicker/index.vue'
|
|
654
654
|
|
|
655
655
|
export default {
|
|
656
656
|
name: 'XFormItem',
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
title="示例表单查询"
|
|
5
5
|
:queryParamsName="queryParamsName"
|
|
6
6
|
:fixedAddForm="fixedAddForm"
|
|
7
|
-
service-name="af-
|
|
7
|
+
service-name="af-his"
|
|
8
8
|
@action="action"
|
|
9
9
|
@columnClick="columnClick"
|
|
10
10
|
ref="xFormTable">
|
|
@@ -35,7 +35,7 @@ export default {
|
|
|
35
35
|
data () {
|
|
36
36
|
return {
|
|
37
37
|
// 查询配置文件名
|
|
38
|
-
queryParamsName: '
|
|
38
|
+
queryParamsName: 'outpatientFeeInquiryCRUD',
|
|
39
39
|
// 查询配置左侧tree
|
|
40
40
|
// xTreeConfigName: 'addressType',
|
|
41
41
|
// 新增表单固定值
|
|
@@ -87,8 +87,8 @@ routerResource.example = {
|
|
|
87
87
|
// component: () => import('@vue2-client/base-client/components/common/XFormGroup/demo.vue'),
|
|
88
88
|
// component: () => import('@vue2-client/base-client/components/common/XFormGroup/demo.vue'),
|
|
89
89
|
// component: () => import('@vue2-client/base-client/components/common/XReport/XReportDemo.vue'),
|
|
90
|
-
|
|
91
|
-
component: () => import('
|
|
90
|
+
component: () => import('@vue2-client/base-client/components/common/XFormTable/demo.vue'),
|
|
91
|
+
// component: () => import('@vue2-client/base-client/components/common/XDatePicker/demo.vue'),
|
|
92
92
|
// component: () => import('@vue2-client/base-client/components/common/XTab/XTabDemo.vue'),
|
|
93
93
|
// component: () => import('@vue2-client/base-client/components/common/XReportGrid/XReportDemo.vue'),
|
|
94
94
|
// component: () => import('@vue2-client/pages/WorkflowDetail/WorkFlowDemo.vue'),
|