From fd64e4cf854a602334c87b984d6d21f65ef5cad9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com> Date: Mon, 20 Feb 2023 14:20:05 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=BA=E5=BA=8F=E6=94=B9=E6=88=90=E6=95=B0?= =?UTF-8?q?=E5=AD=97=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/InformationCategory/index.vue | 1 + src/views/system/informationInfo/index.vue | 1 + src/views/system/poser/index.vue | 3 ++- src/views/system/stationClassify/index.vue | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views/system/InformationCategory/index.vue b/src/views/system/InformationCategory/index.vue index e079046..7b88a31 100644 --- a/src/views/system/InformationCategory/index.vue +++ b/src/views/system/InformationCategory/index.vue @@ -507,6 +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("修改成功"); diff --git a/src/views/system/informationInfo/index.vue b/src/views/system/informationInfo/index.vue index 59fcf84..06ccc0c 100644 --- a/src/views/system/informationInfo/index.vue +++ b/src/views/system/informationInfo/index.vue @@ -621,6 +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("修改成功"); diff --git a/src/views/system/poser/index.vue b/src/views/system/poser/index.vue index 780d03b..004e6a2 100644 --- a/src/views/system/poser/index.vue +++ b/src/views/system/poser/index.vue @@ -684,7 +684,7 @@ export default { { required: true, message: "请输入海报简介", trigger: "blur" }, ], "posterPictureUrlLists.posterPictureUrl": [ - { required: true, message: "请选择海报图片", trigger: "blur" }, + { required: true, message: "请选择图片", trigger: "blur" }, ], "posterPictureUrlLists.jumpType":[ { required: true, message: "请选择图片跳转标识", trigger: "blur" }, @@ -1004,6 +1004,7 @@ export default { submitForm() { this.$refs["form"].validate((valid) => { if (valid) { + this.form.poserSort=parseInt(this.form.poserSort) if (this.form.id != null) { updatePoser(this.form).then((response) => { var obj = { pictureUrlList: [] }; diff --git a/src/views/system/stationClassify/index.vue b/src/views/system/stationClassify/index.vue index 4bd3c12..54cfa49 100644 --- a/src/views/system/stationClassify/index.vue +++ b/src/views/system/stationClassify/index.vue @@ -491,6 +491,7 @@ export default { console.log(this.form); this.$refs["form"].validate((valid) => { if (valid) { + this.form.nurseClassifyInfoList[0].classifySort=parseInt( this.form.nurseClassifyInfoList[0].classifySort) if (this.form.id != null) { updateStationClassify(this.form).then((response) => { this.$modal.msgSuccess("修改成功");