|
|
|
@ -96,6 +96,8 @@
|
|
|
|
|
:before-close="hideForm"
|
|
|
|
|
width="70%"
|
|
|
|
|
top="5vh"
|
|
|
|
|
:close-on-click-modal="false"
|
|
|
|
|
:close-on-press-escape="false"
|
|
|
|
|
>
|
|
|
|
|
<el-form :model="formData" :rules="formRules" ref="dataForm">
|
|
|
|
|
<el-row :gutter="20" class="el-row" type="flex">
|
|
|
|
@ -363,13 +365,6 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
formSubmit() {
|
|
|
|
|
console.log(
|
|
|
|
|
this.formData.userName +
|
|
|
|
|
"--222---" +
|
|
|
|
|
this.formData.employeeName +
|
|
|
|
|
this.formData.userFlag +
|
|
|
|
|
this.formData.id
|
|
|
|
|
);
|
|
|
|
|
this.$refs["dataForm"].validate((valid) => {
|
|
|
|
|
if (valid) {
|
|
|
|
|
this.formLoading = true;
|
|
|
|
@ -388,7 +383,6 @@ export default {
|
|
|
|
|
userName: this.formData.userName,
|
|
|
|
|
employeeName: this.formData.employeeName,
|
|
|
|
|
};
|
|
|
|
|
console.log(savequery.id + "---");
|
|
|
|
|
authAdminSave(savequery, this.formName).then((response) => {
|
|
|
|
|
this.formLoading = false;
|
|
|
|
|
if (response.code !== 20000) {
|
|
|
|
@ -410,7 +404,6 @@ export default {
|
|
|
|
|
this.resetForm();
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
console.log("参数错误");
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|