This commit is contained in:
parent
217943be81
commit
0eb973a382
|
|
@ -101,7 +101,7 @@
|
|||
|
||||
<view style="z-index: 1;width: 100%;margin-top: 420rpx;" v-if=" item.suppliersStatus==`2`">
|
||||
<view class="big-button-double">
|
||||
<view class="left-button" @click="jumpother">
|
||||
<view class="left-button" @click="jumpother(item)">
|
||||
<image class="left-button-img"
|
||||
:src="`https://www.focusnu.com/media/directive/index/addstaff/kaoqin.png`" />
|
||||
<view class="left-button-bottom">
|
||||
|
|
@ -260,9 +260,9 @@
|
|||
const jineng = () => {
|
||||
// uni.showLoading()
|
||||
}
|
||||
const jumpother = () => {
|
||||
const jumpother = (e) => {
|
||||
uni.navigateTo({
|
||||
url: "/pages/yuangongindex/procurement"
|
||||
url: "/pages/yuangongindex/procurement?serverUrl="+e.serverUrl
|
||||
})
|
||||
}
|
||||
|
||||
|
|
@ -453,7 +453,6 @@
|
|||
menuArray.value.push({
|
||||
applyStatus: `-1`
|
||||
})
|
||||
uni.setStorageSync("serverUrl2", res.result.records[0].serverUrl)
|
||||
})
|
||||
// getMessageList().then(res => {
|
||||
// console.log("special", res)
|
||||
|
|
|
|||
|
|
@ -65,9 +65,12 @@
|
|||
pageNo.value = 1;
|
||||
init()
|
||||
}
|
||||
const GysId = ref('')
|
||||
onLoad(()=>{
|
||||
const GysId = ref('');
|
||||
const serverUrl = ref('');
|
||||
onLoad((e)=>{
|
||||
serverUrl.value = e.serverUrl;
|
||||
getSupInfoByOpenId().then(res => {
|
||||
console.log(res)
|
||||
if (res.success) {
|
||||
GysId.value = res.result.id;
|
||||
init()
|
||||
|
|
@ -92,7 +95,7 @@
|
|||
}
|
||||
let timeout = 5000
|
||||
uni.request({
|
||||
url: uni.getStorageSync('serverUrl2') + '/api/pad/invoicing/getCgdListByGysId',
|
||||
url: serverUrl.value + '/api/pad/invoicing/getCgdListByGysId',
|
||||
method: 'GET',
|
||||
header: header,
|
||||
data: obj,
|
||||
|
|
|
|||
Loading…
Reference in New Issue