|
@ -261,6 +261,7 @@ export default { |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
mounted() { |
|
|
mounted() { |
|
|
|
|
|
this.$emit("update:submitting", false); |
|
|
if (!this.isMultiControl) |
|
|
if (!this.isMultiControl) |
|
|
this.initData(); |
|
|
this.initData(); |
|
|
}, |
|
|
}, |
|
@ -350,6 +351,7 @@ export default { |
|
|
id: this.productId, |
|
|
id: this.productId, |
|
|
deviceType: this.deviceType |
|
|
deviceType: this.deviceType |
|
|
}] |
|
|
}] |
|
|
|
|
|
this.$emit("update:submitting", true); |
|
|
if (this.activeName == "first") { |
|
|
if (this.activeName == "first") { |
|
|
//一般模式 |
|
|
//一般模式 |
|
|
this.$refs.FormConfigRef.validate().then(async (formData) => { |
|
|
this.$refs.FormConfigRef.validate().then(async (formData) => { |
|
@ -414,6 +416,7 @@ export default { |
|
|
// this.$emit("update:value", false); |
|
|
// this.$emit("update:value", false); |
|
|
// } |
|
|
// } |
|
|
} |
|
|
} |
|
|
|
|
|
this.$emit("update:submitting", false); |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}; |
|
|
}; |
|
|