|
|
@ -1043,12 +1043,6 @@ export default { |
|
|
|
submitForm() { |
|
|
|
this.$refs["form"].validate((valid) => { |
|
|
|
if (valid) { |
|
|
|
if (this.form.xmName && this.form.xmName.indexOf("[") != -1) { |
|
|
|
this.form.xmName = this.form.xmName.slice( |
|
|
|
0, |
|
|
|
this.form.xmName.indexOf("[") |
|
|
|
); |
|
|
|
} |
|
|
|
if (this.form.id != null) { |
|
|
|
updateLybzj(this.form).then((response) => { |
|
|
|
if (response.code === 200) { |
|
|
|