|
@@ -52,12 +52,13 @@ export default {
|
|
|
message: `请填写${errmsg}`,
|
|
|
})
|
|
|
}
|
|
|
-
|
|
|
+ let {uuid} = this.$route.params;
|
|
|
if(this.loading) return;
|
|
|
this.loading = true;
|
|
|
- const { formId, formName, formAction } = this.options;
|
|
|
+ const { formId, formName, formAction} = this.options;
|
|
|
+ let param = Object.assign({formId, formName, formAction, uuid}, this.formData );
|
|
|
|
|
|
- fetch(formAction || '', { formId, formName, formAction, data: this.formData }).then(() => {
|
|
|
+ fetch(formAction || '', param ).then(() => {
|
|
|
this.loading = false;
|
|
|
this.success = true;
|
|
|
Dialog.alert({
|