修改
This commit is contained in:
parent
5f1ac9f159
commit
864d55ae31
@ -507,7 +507,7 @@ export default {
|
||||
submitForm() {
|
||||
this.$refs["form"].validate((valid) => {
|
||||
if (valid) {
|
||||
this.form.informationCategoryList[0].sort=parseInt( this.form.informationCategoryList[0].sort)
|
||||
|
||||
if (this.form.id != null) {
|
||||
updateInformationCategory(this.form).then((response) => {
|
||||
this.$modal.msgSuccess("修改成功");
|
||||
@ -515,6 +515,7 @@ export default {
|
||||
this.getList();
|
||||
});
|
||||
} else {
|
||||
this.form.informationCategoryList[0].sort=parseInt( this.form.informationCategoryList[0].sort)
|
||||
addInformationCategory(this.form).then((response) => {
|
||||
this.$modal.msgSuccess("新增成功");
|
||||
this.addopen = false;
|
||||
|
||||
@ -621,7 +621,7 @@ export default {
|
||||
submitForm() {
|
||||
this.$refs["form"].validate((valid) => {
|
||||
if (valid) {
|
||||
this.form.informationSort=parseInt( this.form.informationSort)
|
||||
|
||||
if (this.form.id != null) {
|
||||
updateInformationInfo(this.form).then((response) => {
|
||||
this.$modal.msgSuccess("修改成功");
|
||||
@ -637,6 +637,7 @@ export default {
|
||||
this.getList();
|
||||
});
|
||||
} else {
|
||||
this.form.informationSort=parseInt( this.form.informationSort)
|
||||
addInformationInfo(this.form).then((response) => {
|
||||
this.$modal.msgSuccess("新增成功");
|
||||
this.open = false;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user