From 4f5e30304216934650c7f3e0c1f406a2eba1260b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com> Date: Wed, 22 Feb 2023 11:39:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/InformationCategory/index.vue | 9 +++------ src/views/system/classifyItem/index.vue | 14 +++++--------- src/views/system/stationClassify/index.vue | 16 ++++++++-------- src/views/system/stationItem/index.vue | 2 +- 4 files changed, 17 insertions(+), 24 deletions(-) diff --git a/src/views/system/InformationCategory/index.vue b/src/views/system/InformationCategory/index.vue index b6eefb2..eeae849 100644 --- a/src/views/system/InformationCategory/index.vue +++ b/src/views/system/InformationCategory/index.vue @@ -201,7 +201,7 @@ :prop="`informationCategoryList.${index}.sort`" > { this.$modal.msgSuccess("新增成功"); this.addopen = false; diff --git a/src/views/system/classifyItem/index.vue b/src/views/system/classifyItem/index.vue index d1ce5f4..08a20c7 100644 --- a/src/views/system/classifyItem/index.vue +++ b/src/views/system/classifyItem/index.vue @@ -156,7 +156,7 @@ > { this.$modal.msgSuccess("新增成功"); this.open = false; diff --git a/src/views/system/stationClassify/index.vue b/src/views/system/stationClassify/index.vue index 222d44c..901f8c7 100644 --- a/src/views/system/stationClassify/index.vue +++ b/src/views/system/stationClassify/index.vue @@ -173,7 +173,7 @@ > { if (valid) { - + if (this.form.id != null) { updateStationClassify(this.form).then((response) => { this.$modal.msgSuccess("修改成功"); @@ -507,10 +507,10 @@ export default { this.getList(); }); } else { - if(this.form.nurseClassifyInfoList[0].classifySort){ - this.form.nurseClassifyInfoList[0].classifySort=parseInt(this.form.nurseClassifyInfoList[0].classifySort) - } - + // if(this.form.nurseClassifyInfoList[0].classifySort){ + // this.form.nurseClassifyInfoList[0].classifySort=parseInt(this.form.nurseClassifyInfoList[0].classifySort) + // } + addStationClassify(this.form).then((response) => { this.$modal.msgSuccess("新增成功"); this.open = false; diff --git a/src/views/system/stationItem/index.vue b/src/views/system/stationItem/index.vue index 506c907..f1bf577 100644 --- a/src/views/system/stationItem/index.vue +++ b/src/views/system/stationItem/index.vue @@ -272,7 +272,7 @@