meixioacomponent 0.2.37 → 0.2.40
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 +21437 -202
- package/lib/meixioacomponent.umd.js +21437 -202
- package/lib/meixioacomponent.umd.min.js +137 -6
- package/lib/style/element/index.css +11 -11
- package/package.json +1 -1
- package/packages/components/base/baseArea/baseArea.vue +12 -9
- package/packages/components/base/baseButtonHandle/baseButtonHandle.vue +2 -1
- package/packages/components/base/baseUpload/baseUploadItem.vue +1 -1
- package/packages/components/proForm/proForm/pro_form.vue +6 -9
- package/packages/components/style/element/index.css +11 -11
|
@@ -19820,16 +19820,16 @@
|
|
|
19820
19820
|
width: 100%;
|
|
19821
19821
|
}
|
|
19822
19822
|
.el-step__head.is-process {
|
|
19823
|
-
color:
|
|
19824
|
-
border-color:
|
|
19823
|
+
color: var(--font-color-d);
|
|
19824
|
+
border-color:var(--font-color-d);
|
|
19825
19825
|
}
|
|
19826
19826
|
.el-step__head.is-wait {
|
|
19827
|
-
color:
|
|
19828
|
-
border-color:
|
|
19827
|
+
color: var(--font-color-s);
|
|
19828
|
+
border-color: var(--font-color-s);
|
|
19829
19829
|
}
|
|
19830
19830
|
.el-step__head.is-success {
|
|
19831
|
-
color:
|
|
19832
|
-
border-color:
|
|
19831
|
+
color: var(--color-success);
|
|
19832
|
+
border-color: var(--color-success);
|
|
19833
19833
|
}
|
|
19834
19834
|
.el-step__head.is-error {
|
|
19835
19835
|
color: var(--color-error);
|
|
@@ -19913,14 +19913,14 @@
|
|
|
19913
19913
|
line-height: 38px;
|
|
19914
19914
|
}
|
|
19915
19915
|
.el-step__title.is-process {
|
|
19916
|
-
font-weight:
|
|
19917
|
-
color:
|
|
19916
|
+
font-weight: var(--font-weight-kg);
|
|
19917
|
+
color: var(--font-color-d);
|
|
19918
19918
|
}
|
|
19919
19919
|
.el-step__title.is-wait {
|
|
19920
|
-
color:
|
|
19920
|
+
color: var(--font-color-s);
|
|
19921
19921
|
}
|
|
19922
19922
|
.el-step__title.is-success {
|
|
19923
|
-
color:
|
|
19923
|
+
color: var(--color-success);
|
|
19924
19924
|
}
|
|
19925
19925
|
.el-step__title.is-error {
|
|
19926
19926
|
color: var(--color-error);
|
|
@@ -20070,7 +20070,7 @@
|
|
|
20070
20070
|
position: absolute;
|
|
20071
20071
|
height: 15px;
|
|
20072
20072
|
width: 1px;
|
|
20073
|
-
background:
|
|
20073
|
+
background: var(--font-color-ds);
|
|
20074
20074
|
}
|
|
20075
20075
|
.el-step.is-simple .el-step__arrow::before {
|
|
20076
20076
|
-webkit-transform: rotate(-45deg) translateY(-4px);
|
package/package.json
CHANGED
|
@@ -92,6 +92,7 @@
|
|
|
92
92
|
</template>
|
|
93
93
|
|
|
94
94
|
<script>
|
|
95
|
+
import { json } from "body-parser";
|
|
95
96
|
import baseButtonHandleVue from "../baseButtonHandle/baseButtonHandle.vue";
|
|
96
97
|
//
|
|
97
98
|
import areaJson from "./area";
|
|
@@ -134,7 +135,6 @@ export default {
|
|
|
134
135
|
computed: {
|
|
135
136
|
module: {
|
|
136
137
|
set(val) {
|
|
137
|
-
console.log(val);
|
|
138
138
|
this.$emit("input", val);
|
|
139
139
|
},
|
|
140
140
|
get() {
|
|
@@ -340,15 +340,18 @@ export default {
|
|
|
340
340
|
for (let i = 0; i < this.areaValue.length; i++) {
|
|
341
341
|
value[`${areaConfig[i].value}`] = this.areaValue[i].label;
|
|
342
342
|
}
|
|
343
|
-
|
|
343
|
+
|
|
344
|
+
if (JSON.stringify(value) != "{}") {
|
|
344
345
|
this.module = value;
|
|
345
346
|
}
|
|
346
|
-
|
|
347
|
-
this.$
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
347
|
+
this.$nextTick(() => {
|
|
348
|
+
if (this.$parent.$options._componentTag == "el-form-item") {
|
|
349
|
+
this.$emit("confirmAreaValue");
|
|
350
|
+
} else {
|
|
351
|
+
this.$emit("confirmAreaValue", value);
|
|
352
|
+
this.doClose();
|
|
353
|
+
}
|
|
354
|
+
});
|
|
352
355
|
},
|
|
353
356
|
|
|
354
357
|
doClose() {
|
|
@@ -377,7 +380,7 @@ export default {
|
|
|
377
380
|
watch: {
|
|
378
381
|
module(newVal, oldVal) {
|
|
379
382
|
if (!newVal) {
|
|
380
|
-
this.areaValue=[];
|
|
383
|
+
this.areaValue = [];
|
|
381
384
|
return;
|
|
382
385
|
}
|
|
383
386
|
if (this.$parent.$options._componentTag == "el-form-item") {
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
:size="size"
|
|
6
6
|
:type="item.type"
|
|
7
7
|
:plain="item.plain"
|
|
8
|
+
:disabled="item.disabled"
|
|
8
9
|
@click="handleClick(item)"
|
|
9
10
|
v-for="(item, index) in config"
|
|
10
11
|
>
|
|
@@ -59,7 +60,7 @@ export default {
|
|
|
59
60
|
width: auto;
|
|
60
61
|
height: 100%;
|
|
61
62
|
display: flex;
|
|
62
|
-
|
|
63
|
+
max-width: 100%;
|
|
63
64
|
align-items: center;
|
|
64
65
|
}
|
|
65
66
|
</style>
|
|
@@ -57,7 +57,6 @@
|
|
|
57
57
|
</el-form-item>
|
|
58
58
|
</div>
|
|
59
59
|
|
|
60
|
-
|
|
61
60
|
<baseButtonHandleVue
|
|
62
61
|
v-if="footer"
|
|
63
62
|
:align="`end`"
|
|
@@ -256,6 +255,7 @@ export default {
|
|
|
256
255
|
}
|
|
257
256
|
},
|
|
258
257
|
submitVerifiData(params) {
|
|
258
|
+
console.log(params);
|
|
259
259
|
if (this.$props.rules) {
|
|
260
260
|
// element 验证单条表单修改
|
|
261
261
|
let confrim = true;
|
|
@@ -263,15 +263,12 @@ export default {
|
|
|
263
263
|
if (rulesItem) {
|
|
264
264
|
console.log(rulesItem);
|
|
265
265
|
console.log(this.$refs.form);
|
|
266
|
-
this.$refs.form.validateField(
|
|
267
|
-
|
|
268
|
-
(errorMsg)
|
|
269
|
-
|
|
270
|
-
if (errorMsg) {
|
|
271
|
-
confrim = false;
|
|
272
|
-
}
|
|
266
|
+
this.$refs.form.validateField(`${params.config.key}`, (errorMsg) => {
|
|
267
|
+
console.log(errorMsg);
|
|
268
|
+
if (errorMsg) {
|
|
269
|
+
confrim = false;
|
|
273
270
|
}
|
|
274
|
-
);
|
|
271
|
+
});
|
|
275
272
|
}
|
|
276
273
|
return confrim;
|
|
277
274
|
} else {
|
|
@@ -19820,16 +19820,16 @@
|
|
|
19820
19820
|
width: 100%;
|
|
19821
19821
|
}
|
|
19822
19822
|
.el-step__head.is-process {
|
|
19823
|
-
color:
|
|
19824
|
-
border-color:
|
|
19823
|
+
color: var(--font-color-d);
|
|
19824
|
+
border-color:var(--font-color-d);
|
|
19825
19825
|
}
|
|
19826
19826
|
.el-step__head.is-wait {
|
|
19827
|
-
color:
|
|
19828
|
-
border-color:
|
|
19827
|
+
color: var(--font-color-s);
|
|
19828
|
+
border-color: var(--font-color-s);
|
|
19829
19829
|
}
|
|
19830
19830
|
.el-step__head.is-success {
|
|
19831
|
-
color:
|
|
19832
|
-
border-color:
|
|
19831
|
+
color: var(--color-success);
|
|
19832
|
+
border-color: var(--color-success);
|
|
19833
19833
|
}
|
|
19834
19834
|
.el-step__head.is-error {
|
|
19835
19835
|
color: var(--color-error);
|
|
@@ -19913,14 +19913,14 @@
|
|
|
19913
19913
|
line-height: 38px;
|
|
19914
19914
|
}
|
|
19915
19915
|
.el-step__title.is-process {
|
|
19916
|
-
font-weight:
|
|
19917
|
-
color:
|
|
19916
|
+
font-weight: var(--font-weight-kg);
|
|
19917
|
+
color: var(--font-color-d);
|
|
19918
19918
|
}
|
|
19919
19919
|
.el-step__title.is-wait {
|
|
19920
|
-
color:
|
|
19920
|
+
color: var(--font-color-s);
|
|
19921
19921
|
}
|
|
19922
19922
|
.el-step__title.is-success {
|
|
19923
|
-
color:
|
|
19923
|
+
color: var(--color-success);
|
|
19924
19924
|
}
|
|
19925
19925
|
.el-step__title.is-error {
|
|
19926
19926
|
color: var(--color-error);
|
|
@@ -20070,7 +20070,7 @@
|
|
|
20070
20070
|
position: absolute;
|
|
20071
20071
|
height: 15px;
|
|
20072
20072
|
width: 1px;
|
|
20073
|
-
background:
|
|
20073
|
+
background: var(--font-color-ds);
|
|
20074
20074
|
}
|
|
20075
20075
|
.el-step.is-simple .el-step__arrow::before {
|
|
20076
20076
|
-webkit-transform: rotate(-45deg) translateY(-4px);
|