vue2-client 1.13.14 → 1.13.15
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
|
@@ -2,24 +2,26 @@
|
|
|
2
2
|
<div class="x-input-wrapper">
|
|
3
3
|
<div class="input-container">
|
|
4
4
|
<span v-if="config?.label" class="input-label">{{ config.label }}</span>
|
|
5
|
-
<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
<
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
<
|
|
21
|
-
|
|
22
|
-
|
|
5
|
+
<div class="input-wrapper">
|
|
6
|
+
<a-input
|
|
7
|
+
v-model="innerValue"
|
|
8
|
+
v-bind="$attrs"
|
|
9
|
+
:placeholder="config?.placeholder"
|
|
10
|
+
:size="config?.size"
|
|
11
|
+
:maxLength="config?.maxLength"
|
|
12
|
+
:disabled="config?.disabled"
|
|
13
|
+
:allowClear="config?.allowClear"
|
|
14
|
+
@change="handleInput"
|
|
15
|
+
@pressEnter="handleSearch"
|
|
16
|
+
>
|
|
17
|
+
<template v-if="config?.prefix" #prefix>
|
|
18
|
+
<a-icon :type="config.prefix" @click="handleSearch" class="clickable-icon" />
|
|
19
|
+
</template>
|
|
20
|
+
<template v-if="config?.suffix" #suffix>
|
|
21
|
+
<a-icon :type="config.suffix" @click="handleSearch" class="clickable-icon" />
|
|
22
|
+
</template>
|
|
23
|
+
</a-input>
|
|
24
|
+
</div>
|
|
23
25
|
</div>
|
|
24
26
|
</div>
|
|
25
27
|
</template>
|
|
@@ -37,7 +39,7 @@ export default {
|
|
|
37
39
|
},
|
|
38
40
|
queryParamsName: {
|
|
39
41
|
type: String,
|
|
40
|
-
default: ''
|
|
42
|
+
default: 'outpatientRefunds1Config'
|
|
41
43
|
}
|
|
42
44
|
},
|
|
43
45
|
data () {
|
|
@@ -97,13 +99,16 @@ export default {
|
|
|
97
99
|
.input-container {
|
|
98
100
|
display: flex;
|
|
99
101
|
align-items: center;
|
|
100
|
-
gap: 5px;
|
|
101
102
|
}
|
|
102
103
|
|
|
103
104
|
.input-label {
|
|
104
105
|
white-space: nowrap;
|
|
105
106
|
color: rgba(0, 0, 0, 0.85);
|
|
106
|
-
|
|
107
|
+
padding-right: 8px; /* 标签右侧固定间距 */
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.input-wrapper {
|
|
111
|
+
flex: 1; /* 输入框占据剩余空间 */
|
|
107
112
|
}
|
|
108
113
|
|
|
109
114
|
:deep(.clickable-icon) {
|
|
@@ -2,15 +2,17 @@
|
|
|
2
2
|
<div class="x-time-select">
|
|
3
3
|
<div class="time-select-container">
|
|
4
4
|
<span v-if="label" class="time-select-label">{{ label }}</span>
|
|
5
|
-
<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
<div class="picker-wrapper">
|
|
6
|
+
<a-range-picker
|
|
7
|
+
:value="dateRange"
|
|
8
|
+
:placeholder="['开始日期', '结束日期']"
|
|
9
|
+
separator="至"
|
|
10
|
+
:disabled="disabled"
|
|
11
|
+
:allowClear="allowClear"
|
|
12
|
+
:format="format"
|
|
13
|
+
@change="handleDateChange"
|
|
14
|
+
/>
|
|
15
|
+
</div>
|
|
14
16
|
</div>
|
|
15
17
|
</div>
|
|
16
18
|
</template>
|
|
@@ -91,13 +93,16 @@ export default {
|
|
|
91
93
|
.time-select-container {
|
|
92
94
|
display: flex;
|
|
93
95
|
align-items: center;
|
|
94
|
-
gap: 4px;
|
|
95
96
|
}
|
|
96
97
|
|
|
97
98
|
.time-select-label {
|
|
98
99
|
white-space: nowrap;
|
|
99
100
|
color: rgba(0, 0, 0, 0.85);
|
|
100
|
-
|
|
101
|
+
padding-right: 8px;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.picker-wrapper {
|
|
105
|
+
flex: 1;
|
|
101
106
|
}
|
|
102
107
|
|
|
103
108
|
.x-time-select :deep(.ant-picker-range),
|