|
@@ -293,7 +293,7 @@ export default {
|
|
|
formConfirm() {
|
|
|
this.$refs.formRef.validate((valid, invalidFields, errLabels) => {
|
|
|
if (valid) {
|
|
|
- saveMain(this.formData).then(res => {
|
|
|
+ saveMain({...this.formData, type:2}).then(res => {
|
|
|
this.$message({
|
|
|
type: 'success',
|
|
|
message: this.formDialogTitles[this.formDialogType] + `成功!`,
|