This commit is contained in:
wangweidong 2026-01-21 15:44:52 +08:00
parent 217943be81
commit 0eb973a382
2 changed files with 9 additions and 7 deletions

View File

@ -101,7 +101,7 @@
<view style="z-index: 1;width: 100%;margin-top: 420rpx;" v-if=" item.suppliersStatus==`2`"> <view style="z-index: 1;width: 100%;margin-top: 420rpx;" v-if=" item.suppliersStatus==`2`">
<view class="big-button-double"> <view class="big-button-double">
<view class="left-button" @click="jumpother"> <view class="left-button" @click="jumpother(item)">
<image class="left-button-img" <image class="left-button-img"
:src="`https://www.focusnu.com/media/directive/index/addstaff/kaoqin.png`" /> :src="`https://www.focusnu.com/media/directive/index/addstaff/kaoqin.png`" />
<view class="left-button-bottom"> <view class="left-button-bottom">
@ -260,9 +260,9 @@
const jineng = () => { const jineng = () => {
// uni.showLoading() // uni.showLoading()
} }
const jumpother = () => { const jumpother = (e) => {
uni.navigateTo({ uni.navigateTo({
url: "/pages/yuangongindex/procurement" url: "/pages/yuangongindex/procurement?serverUrl="+e.serverUrl
}) })
} }
@ -453,7 +453,6 @@
menuArray.value.push({ menuArray.value.push({
applyStatus: `-1` applyStatus: `-1`
}) })
uni.setStorageSync("serverUrl2", res.result.records[0].serverUrl)
}) })
// getMessageList().then(res => { // getMessageList().then(res => {
// console.log("special", res) // console.log("special", res)

View File

@ -65,9 +65,12 @@
pageNo.value = 1; pageNo.value = 1;
init() init()
} }
const GysId = ref('') const GysId = ref('');
onLoad(()=>{ const serverUrl = ref('');
onLoad((e)=>{
serverUrl.value = e.serverUrl;
getSupInfoByOpenId().then(res => { getSupInfoByOpenId().then(res => {
console.log(res)
if (res.success) { if (res.success) {
GysId.value = res.result.id; GysId.value = res.result.id;
init() init()
@ -92,7 +95,7 @@
} }
let timeout = 5000 let timeout = 5000
uni.request({ uni.request({
url: uni.getStorageSync('serverUrl2') + '/api/pad/invoicing/getCgdListByGysId', url: serverUrl.value + '/api/pad/invoicing/getCgdListByGysId',
method: 'GET', method: 'GET',
header: header, header: header,
data: obj, data: obj,