This commit is contained in:
shengchanzhe 2023-09-24 21:05:33 +08:00
parent 8677108289
commit 78006bd9cf
2 changed files with 15 additions and 5 deletions

View File

@ -193,9 +193,10 @@
</view> </view>
<view class="settlementAgreement" v-if="isshow"> <view class="settlementAgreement" v-if="isshow">
<view class="setAgCount" style="width: 100%;height: 100%;"> <view class="setAgCount" style="width: 100%;height: 100%;">
<view style="margin-bottom: 30rpx;">所属公司:{{company?company:"暂无公司信息"}}</view> <!-- <i class="icon iconfont icon-cha" @click="recuo"></i> -->
<i class="icon iconfont icon-cha" @click="recuo"></i>
<div class="title">{{detail.title}}</div> <div class="title">{{detail.title}}</div>
<view style="margin: 20rpx 0;text-align: end;">甲方公司:{{company?company:"暂无公司信息"}}</view>
<view style="margin: 20rpx 0;text-align: end;">机构代码:{{organization_code?organization_code:"暂无公司信息"}}</view>
<view class="contenta"> <view class="contenta">
<jyf-parser :html="detail.mer_services_agree" ref="article" :tag-style="tagStyle"></jyf-parser> <jyf-parser :html="detail.mer_services_agree" ref="article" :tag-style="tagStyle"></jyf-parser>
@ -284,6 +285,7 @@
data() { data() {
return { return {
company: '', company: '',
organization_code:'',
domain: HTTP_REQUEST_URL, domain: HTTP_REQUEST_URL,
cartId: '', //id cartId: '', //id
pinkId: 0, //id pinkId: 0, //id
@ -568,8 +570,16 @@
merstreet({ merstreet({
street_code: this.street_id street_code: this.street_id
}).then((res) => { }).then((res) => {
if(res.code==0){
this.$util.Tips({
title: res.msg
});
return false;
}
this.company=res.data.title this.company=res.data.title
this.organization_code=res.data.organization_code
}).catch(res=>{
console.log(res)
}) })
}, },
// //

View File

@ -27,7 +27,7 @@ function baseRequest(url, method, data, {
noVerify = false noVerify = false
}) { }) {
let Url = 'https://ceshi-worker-task.lihaink.cn', let Url = 'https://preview-worker-task.lihaink.cn',
header = HEADER; header = HEADER;
@ -38,7 +38,7 @@ function baseRequest(url, method, data, {
uni.request({ uni.request({
url: Url + '/api/' + url, url: Url + '/api/' + url,
method: method || 'GET', method: method || 'GET',
header: header, // header: header,
data: data || {}, data: data || {},
success: (res) => { success: (res) => {
// #ifdef APP-PLUS // #ifdef APP-PLUS