上海联调11.2
parent
91fbf82b05
commit
61ac97d239
|
@ -28,10 +28,10 @@
|
|||
<p>张星星 - 堆场计划员</p>
|
||||
<p>12341234567</p>
|
||||
</view>
|
||||
<view class="borTop" @click="messageSql('center')">
|
||||
<!-- <view class="borTop" @click="messageSql('center')">
|
||||
<uni-icons type="vip" size="16" />
|
||||
<text>数据库管理</text>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="borTop" @click="tabsPort('center')">
|
||||
<uni-icons type="loop" size="16" />
|
||||
<text>切换港区</text>
|
||||
|
|
|
@ -5,6 +5,41 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
loginObj: {},
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.loginObj = uni.getStorageSync('loginObj')
|
||||
this.getInfo()
|
||||
},
|
||||
methods: {
|
||||
getInfo() {
|
||||
// 一级页面 /shp/iEDeliverySlipController/page GET
|
||||
// 二级页面 /shp/iEDeliverySlipController/planPage?vvyId=2455a195e549db737fa4431f91995e46&importExportFlag=E 航次 进出口标识 GET
|
||||
// 二级页面质损 /shp/iEDeliverySlipController/iEDeliverySlipPlanDamage splId 进出口标识 POST
|
||||
// 提交签名 /vesselVoyages/vvyId 根据ID更新 可修改总指令装船要求 PUT
|
||||
let obj = {
|
||||
splId: "b3a2141b0ec99635f7bd69d1bd3b4a8a",
|
||||
importExportFlag: "E"
|
||||
}
|
||||
uni.request({
|
||||
url: `${this.$local}/shp/iEDeliverySlipController/iEDeliverySlipPlanDamage`,
|
||||
data: obj,
|
||||
header: {
|
||||
'Content-Type': 'application/json', //自定义请求头信息
|
||||
'Authorization': `Bearer ${this.loginObj.access_token}`
|
||||
},
|
||||
method: 'POST', //请求方式,必须为大写
|
||||
success: (res) => {
|
||||
console.log(res)
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
|
|
@ -13,9 +13,9 @@
|
|||
|
||||
<!-- <button class="searchBtn" type="default" @click="dropTable">删除表</button>
|
||||
<button class="searchBtn" type="default" @click="dropData">删除数据</button> -->
|
||||
<button class="searchBtn" type="default" @click="createTable">创建</button>
|
||||
<!-- <button class="searchBtn" type="default" @click="createTable">创建</button>
|
||||
<button class="searchBtn" type="default" @click="delAll">批量删除表</button>
|
||||
<button class="searchBtn" type="default" @click="delAllData">批量删除数据</button>
|
||||
<button class="searchBtn" type="default" @click="delAllData">批量删除数据</button> -->
|
||||
</view>
|
||||
<view class="itemList">
|
||||
<template v-if="itemList.length > 0">
|
||||
|
|
Loading…
Reference in New Issue