From 3842197b0f046ed540a95da268f63d1c3dc52cd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=BE=A4?= Date: Thu, 12 Oct 2023 17:50:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=AC=E4=BA=A4=E5=92=8C=E9=99=86=E5=B2=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 4 ++-- pages/bus/busDataInfo/form.vue | 6 +++--- pages/water/waterWay/form.vue | 10 ++++++++-- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/App.vue b/App.vue index 1b314ab..8f34007 100644 --- a/App.vue +++ b/App.vue @@ -55,8 +55,8 @@ }, globalData: { // baseUrl: 'http://27.223.104.50:8001',//接口前缀 - // baseUrl: 'https://jtxx.qdjtcx.cn:8001',//接口前缀 - baseUrl: 'http://10.50.3.103:8086',//接口前缀 + baseUrl: 'https://jtxx.qdjtcx.cn:8001',//接口前缀 + // baseUrl: 'http://10.50.3.103:8086',//接口前缀 mobile: '66007587' }, methods: { diff --git a/pages/bus/busDataInfo/form.vue b/pages/bus/busDataInfo/form.vue index 868814f..5aa7640 100644 --- a/pages/bus/busDataInfo/form.vue +++ b/pages/bus/busDataInfo/form.vue @@ -379,10 +379,10 @@ console.log('landNameIndex', index) }, //陆岛列表 - getPermiss() { + getPermiss(type) { this.$request(getApp().globalData.baseUrl + '/api/biz/bizBusAuthority/findList',{},"GET").then(res =>{ this.landList = res.data; - if (this.pageType == 'add') { + if (type == 'add') { this.landList.map(item => { item.isFinish = false; this.form.bizBusDataDetailVOList.push({ @@ -689,7 +689,7 @@ // this.form.bizBusDataBodySaveOrUpdateDTOList.map(item =>{ // item.isPassengerCountConvert = 0 // }) - this.$request(getApp().globalData.baseUrl + '/api/biz/busdata/saveOrUpdate', this + this.$request(getApp().globalData.baseUrl + '/api/biz/busdata/saveOrUpdateV2', this .form, 'POST').then(res => { uni.hideLoading(); diff --git a/pages/water/waterWay/form.vue b/pages/water/waterWay/form.vue index d281833..39d3a50 100644 --- a/pages/water/waterWay/form.vue +++ b/pages/water/waterWay/form.vue @@ -113,6 +113,12 @@ {{item.stationName || ''}} + + + + + + {{showLand?'收起':'展开'}} @@ -553,7 +559,7 @@ console.log(this.form.id) uni.showModal({ title: '提示', - content: this.form.id == undefined ? '您确认提交该条报送数据?' : '您确认将该条数据进行修改?', + content: this.pageType == 'add' ? '您确认提交该条报送数据?' : '您确认将该条数据进行修改?', success: (res) => { if (res.confirm) { this.submitForm(); @@ -566,7 +572,7 @@ title: '提交中...', mask: true }) - this.$request(getApp().globalData.baseUrl + '/api/biz/waterwayIslandData/saveOrUpdate', this + this.$request(getApp().globalData.baseUrl + '/api/biz/waterwayIslandData/saveOrUpdateV2', this .form, 'POST').then(res => { uni.hideLoading();