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) {