meixioacomponent 0.4.74 → 0.4.76
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/lib/meixioacomponent.common.js +307 -292
- package/lib/meixioacomponent.umd.js +307 -292
- package/lib/meixioacomponent.umd.min.js +17 -17
- package/package.json +1 -1
- package/packages/components/base/baseNumberInput/index.vue +26 -15
- package/packages/components/base/baseToggle/toggle.vue +1 -1
- package/packages/components/proForm/proForm/pro_form_item.vue +1 -1
- package/packages/components/proForm/proFormWrap/pro_form_wrap.vue +4 -0
- package/packages/components/proPageTable/oa_pro_footer.vue +12 -10
- package/packages/components/proPageTable/oa_pro_table.vue +5 -1
- package/src/component/test.vue +1 -0
package/package.json
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
v-model.number="module"
|
|
16
16
|
:disabled="disabled"
|
|
17
17
|
:maxlength="maxlength"
|
|
18
|
+
@change="onChange"
|
|
18
19
|
style="width: 100%; height: 100%;"
|
|
19
20
|
></el-input-number>
|
|
20
21
|
<div class="number-unit" v-if="(unit || select) && !controls">
|
|
@@ -82,6 +83,10 @@ export default {
|
|
|
82
83
|
focus() {
|
|
83
84
|
this.$refs.target.focus()
|
|
84
85
|
},
|
|
86
|
+
|
|
87
|
+
onChange() {
|
|
88
|
+
this.$emit('onChange')
|
|
89
|
+
},
|
|
85
90
|
},
|
|
86
91
|
components: { BaseStoreSelect },
|
|
87
92
|
}
|
|
@@ -123,26 +128,29 @@ export default {
|
|
|
123
128
|
.controls {
|
|
124
129
|
/deep/ .el-input-number__decrease {
|
|
125
130
|
left: 2px;
|
|
131
|
+
border-right: 1px solid var(--color-gray-d);
|
|
126
132
|
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
133
|
+
}
|
|
134
|
+
/deep/ .el-input-number__increase {
|
|
135
|
+
right: 2px;
|
|
136
|
+
border-left: 1px solid var(--color-gray-d);
|
|
137
|
+
}
|
|
138
|
+
/deep/ .el-input-number__decrease,
|
|
139
|
+
/deep/ .el-input-number__increase {
|
|
140
|
+
top: 50%;
|
|
141
|
+
width: 40px;
|
|
134
142
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
}
|
|
143
|
+
height: calc(100% - 4px) !important;
|
|
144
|
+
transform: translateY(-50%);
|
|
145
|
+
}
|
|
146
|
+
/deep/ .el-input__inner {
|
|
147
|
+
&:hover,
|
|
148
|
+
&:focus {
|
|
149
|
+
border: 2px solid var(--color-primary) !important;
|
|
143
150
|
}
|
|
144
151
|
}
|
|
145
152
|
}
|
|
153
|
+
|
|
146
154
|
.select {
|
|
147
155
|
.value-input {
|
|
148
156
|
/deep/ input {
|
|
@@ -160,6 +168,9 @@ export default {
|
|
|
160
168
|
border: 0px !important;
|
|
161
169
|
background: inherit !important;
|
|
162
170
|
}
|
|
171
|
+
// /deep/.el-input.is-disabled .el-input__inner {
|
|
172
|
+
// color: var(--font-color-d);
|
|
173
|
+
// }
|
|
163
174
|
}
|
|
164
175
|
}
|
|
165
176
|
|
|
@@ -135,10 +135,10 @@
|
|
|
135
135
|
placeholder="选择日期"
|
|
136
136
|
:disabled="isDisabled"
|
|
137
137
|
v-else-if="isDatePick"
|
|
138
|
+
:prefix-icon="`el-icon-time`"
|
|
138
139
|
:rangeSeparator="datePickPlace[1]"
|
|
139
140
|
:endPlaceholder="datePickPlace[2]"
|
|
140
141
|
:startPlaceholder="datePickPlace[0]"
|
|
141
|
-
:prefix-icon="`el-icon-time`"
|
|
142
142
|
value-format="yyyy-MM-dd HH:mm:ss"
|
|
143
143
|
style="width: 100%; height: 100%;"
|
|
144
144
|
:picker-options="config.pickerOptions"
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
:formType="formType"
|
|
27
27
|
:disabled="disabled"
|
|
28
28
|
:rowNumber="rowNumber"
|
|
29
|
+
:disables="disables"
|
|
29
30
|
:labelWidth="labelWidth"
|
|
30
31
|
:labelPosition="labelPosition"
|
|
31
32
|
:formConfig="formConfig"
|
|
@@ -99,6 +100,9 @@ export default {
|
|
|
99
100
|
type: String,
|
|
100
101
|
default: 'default',
|
|
101
102
|
},
|
|
103
|
+
disables: {
|
|
104
|
+
type: Object,
|
|
105
|
+
},
|
|
102
106
|
formConfig: {},
|
|
103
107
|
},
|
|
104
108
|
computed: {
|
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
<div class="oa-pro-footer-content">
|
|
3
3
|
<div class="footer-left">
|
|
4
4
|
<div class="total-item" :key="index" v-for="(item, index) in totalList">
|
|
5
|
-
<span class="item-name">{{ item.label }}
|
|
5
|
+
<span class="item-name">{{ item.label }} :</span>
|
|
6
6
|
<span class="item-number">{{ item.total }}</span>
|
|
7
7
|
</div>
|
|
8
|
+
|
|
9
|
+
<slot name="footer-slot"></slot>
|
|
8
10
|
</div>
|
|
9
11
|
<div class="footer-right">
|
|
10
12
|
<basePopoverButton
|
|
@@ -29,13 +31,13 @@
|
|
|
29
31
|
</template>
|
|
30
32
|
|
|
31
33
|
<script>
|
|
32
|
-
import basePopoverButton from
|
|
33
|
-
import oa_pro_handle_table_borderVue from
|
|
34
|
+
import basePopoverButton from '../base/basePopoverButton/index.vue'
|
|
35
|
+
import oa_pro_handle_table_borderVue from './oa_pro_handle_table_border.vue'
|
|
34
36
|
export default {
|
|
35
37
|
data() {
|
|
36
38
|
return {
|
|
37
39
|
popoverFlag: false,
|
|
38
|
-
}
|
|
40
|
+
}
|
|
39
41
|
},
|
|
40
42
|
props: {
|
|
41
43
|
totalList: {
|
|
@@ -54,15 +56,15 @@ export default {
|
|
|
54
56
|
},
|
|
55
57
|
methods: {
|
|
56
58
|
sizeChange(e) {
|
|
57
|
-
this.$emit(
|
|
58
|
-
this.$parent.refreshData()
|
|
59
|
+
this.$emit('pageSizeChange')
|
|
60
|
+
this.$parent.refreshData()
|
|
59
61
|
},
|
|
60
62
|
currentChange() {
|
|
61
|
-
this.$emit(
|
|
62
|
-
this.$parent.refreshData(false)
|
|
63
|
+
this.$emit('pageCurrentChange')
|
|
64
|
+
this.$parent.refreshData(false)
|
|
63
65
|
},
|
|
64
66
|
},
|
|
65
|
-
}
|
|
67
|
+
}
|
|
66
68
|
</script>
|
|
67
69
|
|
|
68
70
|
<style lang="less" scoped>
|
|
@@ -101,7 +103,7 @@ export default {
|
|
|
101
103
|
.total-item + .total-item {
|
|
102
104
|
margin-left: var(--margin-5);
|
|
103
105
|
&::before {
|
|
104
|
-
content:
|
|
106
|
+
content: '/';
|
|
105
107
|
color: var(--font-color-d);
|
|
106
108
|
margin-right: var(--margin-5);
|
|
107
109
|
font-size: var(--font-size-base);
|
|
@@ -181,7 +181,11 @@
|
|
|
181
181
|
:pageProps="pageProps"
|
|
182
182
|
:totalList="totalList"
|
|
183
183
|
:pageConfig="pageConfig"
|
|
184
|
-
|
|
184
|
+
>
|
|
185
|
+
<template slot="footer-slot">
|
|
186
|
+
<slot name="footer-pre-slot"></slot>
|
|
187
|
+
</template>
|
|
188
|
+
</oa_pro_footerVue>
|
|
185
189
|
</div>
|
|
186
190
|
|
|
187
191
|
<!-- 高级筛选的弹框 -->
|