From 4638e3f09f6b3190fa4375db464d142abfd4fb5e Mon Sep 17 00:00:00 2001 From: wanggongfeng <1305282856@qq.com> Date: Thu, 23 Jun 2022 14:35:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B8=E9=85=B8=E6=A3=80=E6=B5=8B=E7=82=B9?= =?UTF-8?q?=E3=80=81=E7=96=AB=E8=8B=97=E6=8E=A5=E7=A7=8D=E7=82=B9=20PC=20?= =?UTF-8?q?=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...icpointnucleicmonitoring-add-or-update.vue | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/views/modules/plugins/point/icpointnucleicmonitoring-add-or-update.vue b/src/views/modules/plugins/point/icpointnucleicmonitoring-add-or-update.vue index 861aa278..7b476cbf 100644 --- a/src/views/modules/plugins/point/icpointnucleicmonitoring-add-or-update.vue +++ b/src/views/modules/plugins/point/icpointnucleicmonitoring-add-or-update.vue @@ -8,15 +8,13 @@ label-width="120px" > - - + @@ -208,6 +206,14 @@ export default { this.initMap(); }, methods: { + orgChangeHandle(val){ + for(var i = 0 ; i < this.organizationList.length ; i++){ + if( this.organizationList[i].orgId === val){ + this.dataForm.orgName=this.organizationList[i].orgName + return false + } + } + }, // 地图初始化函数,本例取名为init,开发者可根据实际情况定义 initMap() { // 定义地图中心点坐标 @@ -338,7 +344,6 @@ export default { // 获取信息 getInfo() { - console.log(111111); this.$http .get(`/epmetuser/icPointNucleicMonitoring/${this.dataForm.id}`) .then(({ data: res }) => { @@ -353,11 +358,7 @@ export default { .catch(() => {}); }, // 表单提交 - dataFormSubmitHandle(){ - console.log(this.dataForm) - }, - - dataFormSubmitHandle2: debounce( + dataFormSubmitHandle: debounce( function () { this.$refs["dataForm"].validate((valid) => { if (!valid) {