公交和陆岛

dev201310
张群 2 years ago
parent 527adc8649
commit 3842197b0f
  1. 4
      App.vue
  2. 6
      pages/bus/busDataInfo/form.vue
  3. 10
      pages/water/waterWay/form.vue

@ -55,8 +55,8 @@
}, },
globalData: { globalData: {
// baseUrl: 'http://27.223.104.50:8001',// // baseUrl: 'http://27.223.104.50:8001',//
// baseUrl: 'https://jtxx.qdjtcx.cn:8001',// baseUrl: 'https://jtxx.qdjtcx.cn:8001',//
baseUrl: 'http://10.50.3.103:8086',// // baseUrl: 'http://10.50.3.103:8086',//
mobile: '66007587' mobile: '66007587'
}, },
methods: { methods: {

@ -379,10 +379,10 @@
console.log('landNameIndex', index) console.log('landNameIndex', index)
}, },
// //
getPermiss() { getPermiss(type) {
this.$request(getApp().globalData.baseUrl + '/api/biz/bizBusAuthority/findList',{},"GET").then(res =>{ this.$request(getApp().globalData.baseUrl + '/api/biz/bizBusAuthority/findList',{},"GET").then(res =>{
this.landList = res.data; this.landList = res.data;
if (this.pageType == 'add') { if (type == 'add') {
this.landList.map(item => { this.landList.map(item => {
item.isFinish = false; item.isFinish = false;
this.form.bizBusDataDetailVOList.push({ this.form.bizBusDataDetailVOList.push({
@ -689,7 +689,7 @@
// this.form.bizBusDataBodySaveOrUpdateDTOList.map(item =>{ // this.form.bizBusDataBodySaveOrUpdateDTOList.map(item =>{
// item.isPassengerCountConvert = 0 // item.isPassengerCountConvert = 0
// }) // })
this.$request(getApp().globalData.baseUrl + '/api/biz/busdata/saveOrUpdate', this this.$request(getApp().globalData.baseUrl + '/api/biz/busdata/saveOrUpdateV2', this
.form, .form,
'POST').then(res => { 'POST').then(res => {
uni.hideLoading(); uni.hideLoading();

@ -113,6 +113,12 @@
</view> </view>
{{item.stationName || ''}} {{item.stationName || ''}}
</view> </view>
</view>
<view v-if="landList.length > 9" class="station_act" @click="showLand = !showLand">
<uni-icons v-if="!showLand" type="bottom" size="14" color="#2D8CF0" style="margin-right:10rpx;">
</uni-icons>
<uni-icons v-if="showLand" type="top" size="14" color="#2D8CF0" style="margin-right:10rpx;"></uni-icons>
{{showLand?'收起':'展开'}}
</view> </view>
<view class="form_item_box"> <view class="form_item_box">
<!-- 陆岛 --> <!-- 陆岛 -->
@ -553,7 +559,7 @@
console.log(this.form.id) console.log(this.form.id)
uni.showModal({ uni.showModal({
title: '提示', title: '提示',
content: this.form.id == undefined ? '您确认提交该条报送数据?' : '您确认将该条数据进行修改?', content: this.pageType == 'add' ? '您确认提交该条报送数据?' : '您确认将该条数据进行修改?',
success: (res) => { success: (res) => {
if (res.confirm) { if (res.confirm) {
this.submitForm(); this.submitForm();
@ -566,7 +572,7 @@
title: '提交中...', title: '提交中...',
mask: true mask: true
}) })
this.$request(getApp().globalData.baseUrl + '/api/biz/waterwayIslandData/saveOrUpdate', this this.$request(getApp().globalData.baseUrl + '/api/biz/waterwayIslandData/saveOrUpdateV2', this
.form, .form,
'POST').then(res => { 'POST').then(res => {
uni.hideLoading(); uni.hideLoading();

Loading…
Cancel
Save