抖火法律首页调整
This commit is contained in:
3
App.vue
3
App.vue
@@ -6,7 +6,8 @@
|
|||||||
// 获取系统版本号
|
// 获取系统版本号
|
||||||
getVersions({
|
getVersions({
|
||||||
platform: plus.os.name,
|
platform: plus.os.name,
|
||||||
version : plus.runtime.version
|
version : plus.runtime.version,
|
||||||
|
channel : 'app'
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.update) {
|
if (res.update) {
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
|
|||||||
@@ -67,7 +67,6 @@ const request = (parameter, hideLoding = true) => {
|
|||||||
errToast(res.statusCode)
|
errToast(res.statusCode)
|
||||||
},
|
},
|
||||||
fail(err) {
|
fail(err) {
|
||||||
console.log(err)
|
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '网络错误,请检查您设备网络状态',
|
title: '网络错误,请检查您设备网络状态',
|
||||||
icon : 'none'
|
icon : 'none'
|
||||||
|
|||||||
@@ -50,9 +50,6 @@ const withdrawsCreate = () => {
|
|||||||
|
|
||||||
// 奖金提现申请
|
// 奖金提现申请
|
||||||
const withdraws = data => {
|
const withdraws = data => {
|
||||||
|
|
||||||
console.log(data)
|
|
||||||
|
|
||||||
return request({
|
return request({
|
||||||
url: 'withdraws/index',
|
url: 'withdraws/index',
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
|
|||||||
@@ -38,6 +38,8 @@
|
|||||||
<text v-if="can.pay_status == 2">审核中</text>
|
<text v-if="can.pay_status == 2">审核中</text>
|
||||||
<text v-if="can.pay_status == 3">被驳回</text>
|
<text v-if="can.pay_status == 3">被驳回</text>
|
||||||
</button>
|
</button>
|
||||||
|
<!-- 线上支付被驳回 -->
|
||||||
|
<button class="btn-cancel" v-if="status.value == 5" @click="onPayTurn(no)">原因</button>
|
||||||
<button class="btn-cancel" v-if="can.diff_price" @click="onDiff(no)">补差价</button>
|
<button class="btn-cancel" v-if="can.diff_price" @click="onDiff(no)">补差价</button>
|
||||||
<button class="btn-sign" @click="onInfo(no)">查看</button>
|
<button class="btn-sign" @click="onInfo(no)">查看</button>
|
||||||
</view>
|
</view>
|
||||||
@@ -129,6 +131,10 @@
|
|||||||
// 取消订单
|
// 取消订单
|
||||||
onCancel(id){
|
onCancel(id){
|
||||||
this.$emit('cancel', id)
|
this.$emit('cancel', id)
|
||||||
|
},
|
||||||
|
// 线上支付被驳回
|
||||||
|
onPayTurn(id){
|
||||||
|
this.$emit('payTurn', id)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,8 +6,8 @@
|
|||||||
<view class="order-block-content">
|
<view class="order-block-content">
|
||||||
<view class="order-user">{{user.nickname}}<text>{{user.username}}</text></view>
|
<view class="order-user">{{user.nickname}}<text>{{user.username}}</text></view>
|
||||||
<view class="order-content">
|
<view class="order-content">
|
||||||
<view class="order-content-type" v-if="can.lawyer_status != 0">
|
<view class="order-content-type" v-if="can.lawyer_status && can.lawyer_status != 0 ">
|
||||||
<label>服务律师</label>
|
<label>服务律师</label> -->
|
||||||
<view class="nowrap" v-if="can.lawyer_status === 2">{{ lawyer.name || '-' }}</view>
|
<view class="nowrap" v-if="can.lawyer_status === 2">{{ lawyer.name || '-' }}</view>
|
||||||
<view class="nowrap" style="color: #FFAB3F;" v-else>待匹配律师</view>
|
<view class="nowrap" style="color: #FFAB3F;" v-else>待匹配律师</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -71,6 +71,12 @@
|
|||||||
isSelf: {
|
isSelf: {
|
||||||
type : Boolean,
|
type : Boolean,
|
||||||
default : false
|
default : false
|
||||||
|
},
|
||||||
|
can : {
|
||||||
|
type : Object,
|
||||||
|
default : () => {
|
||||||
|
return { }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -78,8 +84,6 @@
|
|||||||
this.$emit('info', id)
|
this.$emit('info', id)
|
||||||
},
|
},
|
||||||
onPhone(mobile){
|
onPhone(mobile){
|
||||||
console.log(mobile)
|
|
||||||
|
|
||||||
this.$emit('callPhone', mobile)
|
this.$emit('callPhone', mobile)
|
||||||
},
|
},
|
||||||
onSing(id){
|
onSing(id){
|
||||||
|
|||||||
@@ -148,9 +148,6 @@
|
|||||||
this.page = lists.page
|
this.page = lists.page
|
||||||
this.pagesShow = false
|
this.pagesShow = false
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
|
|
||||||
console.log(err)
|
|
||||||
|
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: err.message,
|
title: err.message,
|
||||||
icon : 'none'
|
icon : 'none'
|
||||||
|
|||||||
@@ -278,7 +278,6 @@
|
|||||||
// 获取提现记录
|
// 获取提现记录
|
||||||
getTeams() {
|
getTeams() {
|
||||||
getTeamLogs({identity_id:this.id}).then(res => {
|
getTeamLogs({identity_id:this.id}).then(res => {
|
||||||
console.log(res)
|
|
||||||
this.list = res
|
this.list = res
|
||||||
this.pagesShow = false
|
this.pagesShow = false
|
||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
|
|||||||
@@ -37,11 +37,10 @@
|
|||||||
<view class="free" @click="onView('FreeService')">
|
<view class="free" @click="onView('FreeService')">
|
||||||
<image class="free-img" src="@/static/index/index_banner_free.png" mode="widthFix" />
|
<image class="free-img" src="@/static/index/index_banner_free.png" mode="widthFix" />
|
||||||
</view>
|
</view>
|
||||||
<!-- 金法产品 -->
|
<!-- 协商调解类 -->
|
||||||
<view class="block">
|
<view class="block">
|
||||||
<view class="block-title">
|
<view class="block-title">
|
||||||
<view class="title"> 金法产品</view>
|
<view class="title">协商调解类</view>
|
||||||
<!-- <view class="more">更多<u-icon class="more-icon" size="28rpx" color="#999" name="arrow-right"/></view> -->
|
|
||||||
</view>
|
</view>
|
||||||
<scroll-view class="the-tabs" scroll-x="true" >
|
<scroll-view class="the-tabs" scroll-x="true" >
|
||||||
<block v-for="(item, index) in theTabs" :key="index">
|
<block v-for="(item, index) in theTabs" :key="index">
|
||||||
@@ -61,56 +60,79 @@
|
|||||||
:id='"_tabs"+item.service_id'
|
:id='"_tabs"+item.service_id'
|
||||||
@click="sevicesClick(item.service_id)"
|
@click="sevicesClick(item.service_id)"
|
||||||
>
|
>
|
||||||
<image class="cover" :src="item.cover" mode="aspectFill" />
|
<view class="cover" :style="'background-image: url(' + item.cover + ');'"></view>
|
||||||
<view class="title nowrap">{{item.title}}</view>
|
<view class="title nowrap">{{item.title}}</view>
|
||||||
<view class="price nowrap"><text>¥</text>{{item.price}}<text class="ding" v-if="item.type">定金</text></view>
|
<view class="price nowrap"><text>¥</text>{{item.price}}<text class="ding" v-if="item.type">定金</text></view>
|
||||||
</view>
|
</view>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
</view>
|
</view>
|
||||||
<!-- 综法产品 -->
|
<!-- 法律咨询类 -->
|
||||||
<view class="block">
|
<view class="block">
|
||||||
<view class="block-title">
|
<view class="block-title">
|
||||||
<view class="title">综法产品</view>
|
<view class="title">法律咨询类</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="zong-list">
|
<scroll-view
|
||||||
<view class="zong-list-item" @click="onView('Individual')">
|
class="the-flex"
|
||||||
<image class="cover" src="@/static/synthesize/img_00.png" mode="aspectFill" />
|
style="padding-top: 0;"
|
||||||
<view class="colum-flex">
|
scroll-x="true"
|
||||||
<view>
|
scroll-with-animation="true"
|
||||||
|
:scroll-into-view='defaultViewId'
|
||||||
|
>
|
||||||
|
<view class="the-flex-item"
|
||||||
|
@click="onView('Individual')"
|
||||||
|
>
|
||||||
|
<view class="cover" :style="'background-image: url(' + require('@/static/synthesize/img_00.png') + ');'"></view>
|
||||||
<view class="title nowrap">个人全年法律</view>
|
<view class="title nowrap">个人全年法律</view>
|
||||||
<view class="subtitle">咨询服务 抖火法律</view>
|
<view class="price nowrap"><text>¥</text>365 <text>/年</text></view>
|
||||||
</view>
|
</view>
|
||||||
<view class="price nowrap"><text>¥</text>365.00/年</view>
|
<view class="the-flex-item"
|
||||||
</view>
|
@click="onView('Enterprise')"
|
||||||
</view>
|
>
|
||||||
<view class="zong-list-item" @click="onView('Entrust')">
|
<view class="cover" :style="'background-image: url(' + require('@/static/synthesize/img_02.png') + ');'"></view>
|
||||||
<image class="cover" src="@/static/synthesize/img_01.png" mode="aspectFill" />
|
|
||||||
<view class="colum-flex">
|
|
||||||
<view>
|
|
||||||
<view class="title nowrap">案件委托</view>
|
|
||||||
<view class="subtitle">咨询服务 抖火法律</view>
|
|
||||||
</view>
|
|
||||||
<view class="price nowrap"><text>¥</text>200元起</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view class="zong-list-item" @click="onView('Enterprise')">
|
|
||||||
<image class="cover" src="@/static/synthesize/img_02.png" mode="aspectFill" />
|
|
||||||
<view class="colum-flex">
|
|
||||||
<view>
|
|
||||||
<view class="title nowrap">企业全年法律</view>
|
<view class="title nowrap">企业全年法律</view>
|
||||||
<view class="subtitle">咨询服务 抖火法律</view>
|
<view class="price nowrap"><text>¥</text>3650 <text>/年</text></view>
|
||||||
</view>
|
</view>
|
||||||
<view class="price nowrap"><text>¥</text>3650.00起/年</view>
|
<view class="the-flex-item"
|
||||||
|
@click="onView('Enterprise')"
|
||||||
|
>
|
||||||
|
<view class="cover" :style="'background-image: url(' + require('@/static/synthesize/img_04.png') + ');'"></view>
|
||||||
|
<view class="title nowrap">企业全年法律</view>
|
||||||
|
<view class="price nowrap"><text>¥</text>8888 <text>/年</text></view>
|
||||||
|
</view>
|
||||||
|
<view class="the-flex-item"
|
||||||
|
@click="onView('Enterprise')"
|
||||||
|
>
|
||||||
|
<view class="cover" :style="'background-image: url(' + require('@/static/synthesize/img_05.png') + ');'"></view>
|
||||||
|
<view class="title nowrap">企业全年法律</view>
|
||||||
|
<view class="price nowrap"><text>¥</text>20000 <text>/年</text></view>
|
||||||
|
</view>
|
||||||
|
<view class="the-flex-item"
|
||||||
|
@click="onView('Enterprise')"
|
||||||
|
>
|
||||||
|
<view class="cover" :style="'background-image: url(' + require('@/static/synthesize/img_06.png') + ');'"></view>
|
||||||
|
<view class="title nowrap">企业全年法律</view>
|
||||||
|
<view class="price nowrap"><text>¥</text>50000 <text>/年</text></view>
|
||||||
|
</view>
|
||||||
|
</scroll-view>
|
||||||
|
</view>
|
||||||
|
<!-- 诉讼委托类 -->
|
||||||
|
<view class="block">
|
||||||
|
<view class="block-title">
|
||||||
|
<view class="title">诉讼委托类</view>
|
||||||
|
</view>
|
||||||
|
<view class="lawsuit">
|
||||||
|
<view class="lawsuit-item" @click="onView('Entrust')">
|
||||||
|
<view class="lawsuit-cover" :style="'background-image: url(' + require('@/static/synthesize/img_01.png') + ');'"></view>
|
||||||
|
<view class="lawsuit-text">
|
||||||
|
<view class="lawsuit-title">案件委托</view>
|
||||||
|
<view class="lawsuit-price">¥200</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="zong-list-item" @click="onView('Service')">
|
<view class="lawsuit-item" @click="onView('Service')">
|
||||||
<image class="cover" src="@/static/synthesize/img_03.png" mode="aspectFill" />
|
<view class="lawsuit-cover" :style="'background-image: url(' + require('@/static/synthesize/img_03.png') + ');'"></view>
|
||||||
<view class="colum-flex">
|
<view class="lawsuit-text">
|
||||||
<view>
|
<view class="lawsuit-title">拓展服务</view>
|
||||||
<view class="title nowrap">拓展服务</view>
|
<view class="lawsuit-price">¥500</view>
|
||||||
<view class="subtitle">咨询服务 抖火法律</view>
|
|
||||||
</view>
|
|
||||||
<view class="price nowrap"><text>¥</text>500元起</view>
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -217,7 +239,7 @@
|
|||||||
duration:2000
|
duration:2000
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
},// 获取综法列表
|
},
|
||||||
// 首页轮播图及公告
|
// 首页轮播图及公告
|
||||||
getIndex(){
|
getIndex(){
|
||||||
index().then(res=>{
|
index().then(res=>{
|
||||||
@@ -270,10 +292,6 @@
|
|||||||
this.getJf()
|
this.getJf()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 选择城市节点
|
|
||||||
onCityPicker(e){
|
|
||||||
this.getRegion(e.value);
|
|
||||||
},
|
|
||||||
// 点击轮播图
|
// 点击轮播图
|
||||||
swiperClick(e){
|
swiperClick(e){
|
||||||
// console.log(this.bannerArr[e])
|
// console.log(this.bannerArr[e])
|
||||||
@@ -281,14 +299,6 @@
|
|||||||
// 点击轮播图跳转自由服务包
|
// 点击轮播图跳转自由服务包
|
||||||
onView(name){
|
onView(name){
|
||||||
this.$Router.push({ name })
|
this.$Router.push({ name })
|
||||||
},
|
|
||||||
// 获取城市数据
|
|
||||||
getRegion(id){
|
|
||||||
region({
|
|
||||||
parent_id: id
|
|
||||||
}).then(res => {
|
|
||||||
console.log(res)
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
// 关闭弹窗广告
|
// 关闭弹窗广告
|
||||||
onRemoveAd(){
|
onRemoveAd(){
|
||||||
@@ -348,7 +358,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 轮播
|
// 公告
|
||||||
.notice{
|
.notice{
|
||||||
background: white;
|
background: white;
|
||||||
padding: $padding;
|
padding: $padding;
|
||||||
@@ -393,51 +403,40 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 综法
|
// 诉讼委托类
|
||||||
.zong-list{
|
.lawsuit{
|
||||||
padding: 0 $padding 20rpx;
|
padding: 0 20rpx $padding;
|
||||||
margin-bottom: 30rpx;
|
|
||||||
&-item{
|
|
||||||
position: relative;
|
|
||||||
margin-bottom: 30rpx;
|
|
||||||
padding-left: 210rpx;
|
|
||||||
height: 180rpx;
|
|
||||||
.cover{
|
|
||||||
position: absolute;
|
|
||||||
left: 0;
|
|
||||||
top: 0;
|
|
||||||
width: 180rpx;
|
|
||||||
height: 180rpx;
|
|
||||||
}
|
|
||||||
.colum-flex{
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
height: 180rpx;
|
&-item{
|
||||||
.title{
|
background: #F6F6F6;
|
||||||
font-size: 34rpx;
|
border-radius: 10rpx;
|
||||||
color: #111111;
|
display: flex;
|
||||||
line-height: 40rpx;
|
justify-content: space-between;
|
||||||
margin-bottom: 10rpx;
|
align-items: center;
|
||||||
@extend .nowrap;
|
overflow: hidden;
|
||||||
|
width: calc(50% - 20rpx);
|
||||||
|
margin: 0 10rpx;
|
||||||
}
|
}
|
||||||
.subtitle{
|
&-cover{
|
||||||
font-size: 28rpx;
|
width: 138rpx;
|
||||||
color: gray;
|
height: 138rpx;
|
||||||
line-height: 40rpx;
|
background-size: cover;
|
||||||
@extend .nowrap;
|
background-position: center;
|
||||||
}
|
}
|
||||||
.price{
|
&-text{
|
||||||
font-weight: bold;
|
width: calc(100% - 138rpx);
|
||||||
|
padding: 0 20rpx;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
&-title{
|
||||||
|
font-size: 30rpx;
|
||||||
|
margin-bottom: 20rpx;
|
||||||
|
}
|
||||||
|
&-price{
|
||||||
|
font-size: 32rpx;
|
||||||
color: #d51959;
|
color: #d51959;
|
||||||
font-size: 36rpx;
|
font-weight: bold;
|
||||||
line-height: 40rpx;
|
|
||||||
text{
|
|
||||||
font-size: 80%;
|
|
||||||
}
|
|
||||||
@extend .nowrap;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 经法
|
// 经法
|
||||||
@@ -479,18 +478,23 @@
|
|||||||
padding: $padding 20rpx;
|
padding: $padding 20rpx;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|
||||||
&-item{
|
&-item{
|
||||||
width: calc(33.33% - 20rpx);
|
width: calc(33% - 20rpx);
|
||||||
margin: 0 10rpx;
|
margin: 0 10rpx;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
&:last-child{
|
||||||
|
margin-right: 20rpx;
|
||||||
|
}
|
||||||
.cover{
|
.cover{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 200rpx;
|
padding-top: 100%;
|
||||||
|
background-position: center;
|
||||||
|
background-size: cover;
|
||||||
|
background-position: center;
|
||||||
border-radius: 10rpx;
|
border-radius: 10rpx;
|
||||||
}
|
}
|
||||||
.title{
|
.title{
|
||||||
font-size: 28rpx;
|
font-size: 30rpx;
|
||||||
color: #111111;
|
color: #111111;
|
||||||
padding: 10rpx 0;
|
padding: 10rpx 0;
|
||||||
line-height: 40rpx;
|
line-height: 40rpx;
|
||||||
@@ -499,7 +503,7 @@
|
|||||||
line-height: 40rpx;
|
line-height: 40rpx;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #d51959;
|
color: #d51959;
|
||||||
font-size: 38rpx;
|
font-size: 32rpx;
|
||||||
text{
|
text{
|
||||||
font-size: 80%;
|
font-size: 80%;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -324,7 +324,20 @@
|
|||||||
expressSheet(id, type, can) {
|
expressSheet(id, type, can) {
|
||||||
this.orderId = id
|
this.orderId = id
|
||||||
this.orderType = type
|
this.orderType = type
|
||||||
|
// 支付金额是0
|
||||||
|
if(can.pay_status == 4){
|
||||||
|
uni.showModal({
|
||||||
|
title : '提示',
|
||||||
|
content : '下单成功',
|
||||||
|
showCancel : false,
|
||||||
|
success : modalRes => {
|
||||||
|
if(modalRes.confirm){
|
||||||
|
uni.navigateBack()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
return
|
||||||
|
}
|
||||||
// 仅支持线下打款
|
// 仅支持线下打款
|
||||||
if(!can.online){
|
if(!can.online){
|
||||||
this.onToBankPay()
|
this.onToBankPay()
|
||||||
@@ -493,7 +506,7 @@
|
|||||||
margin-right: $margin;
|
margin-right: $margin;
|
||||||
font-size: 30rpx;
|
font-size: 30rpx;
|
||||||
text {
|
text {
|
||||||
color: $main-color;
|
color: red;
|
||||||
padding-right: 10rpx;
|
padding-right: 10rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -59,6 +59,10 @@
|
|||||||
<label>业务手机</label>
|
<label>业务手机</label>
|
||||||
<view class="val">{{user.parent.username}}</view>
|
<view class="val">{{user.parent.username}}</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="block-item-flex" v-if="centerUser != ''">
|
||||||
|
<label>运营中心</label>
|
||||||
|
<view class="val">{{centerUser}}</view>
|
||||||
|
</view>
|
||||||
<view class="block-item-flex">
|
<view class="block-item-flex">
|
||||||
<label>订单编号</label>
|
<label>订单编号</label>
|
||||||
<view class="val">{{no}}</view>
|
<view class="val">{{no}}</view>
|
||||||
@@ -79,11 +83,12 @@
|
|||||||
return {
|
return {
|
||||||
entrust : {},
|
entrust : {},
|
||||||
params : [],
|
params : [],
|
||||||
createdAt: '',
|
createdAt : '',
|
||||||
payType : '',
|
payType : '',
|
||||||
user : {},
|
user : {},
|
||||||
lawyer : null,
|
lawyer : null,
|
||||||
price : '0.00'
|
price : '0.00',
|
||||||
|
centerUser: ''
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
@@ -92,7 +97,7 @@
|
|||||||
mask : true
|
mask : true
|
||||||
})
|
})
|
||||||
entrustInfo(this.$Route.query.id).then(res => {
|
entrustInfo(this.$Route.query.id).then(res => {
|
||||||
let { entrust, params, created_at, user, order_no, total, lawyer, pay_driver_text } = res;
|
let { entrust, params, created_at, user, order_no, total, lawyer, pay_driver_text, center_user } = res;
|
||||||
this.entrust = entrust
|
this.entrust = entrust
|
||||||
this.params = params
|
this.params = params
|
||||||
this.createdAt = created_at
|
this.createdAt = created_at
|
||||||
@@ -100,7 +105,8 @@
|
|||||||
this.no = order_no
|
this.no = order_no
|
||||||
this.price = total
|
this.price = total
|
||||||
this.lawyer = lawyer
|
this.lawyer = lawyer
|
||||||
this.payType = pay_driver_text || '-'
|
this.payType = pay_driver_text || '-',
|
||||||
|
this.centerUser= center_user
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: err.message,
|
title: err.message,
|
||||||
|
|||||||
@@ -256,7 +256,20 @@
|
|||||||
expressSheet(id, type, can) {
|
expressSheet(id, type, can) {
|
||||||
this.orderId = id
|
this.orderId = id
|
||||||
this.orderType = type
|
this.orderType = type
|
||||||
|
// 支付金额是0
|
||||||
|
if(can.pay_status == 4){
|
||||||
|
uni.showModal({
|
||||||
|
title : '提示',
|
||||||
|
content : '下单成功',
|
||||||
|
showCancel : false,
|
||||||
|
success : modalRes => {
|
||||||
|
if(modalRes.confirm){
|
||||||
|
uni.navigateBack()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
return
|
||||||
|
}
|
||||||
// 仅支持线下打款
|
// 仅支持线下打款
|
||||||
if(!can.online){
|
if(!can.online){
|
||||||
this.onToBankPay()
|
this.onToBankPay()
|
||||||
@@ -418,7 +431,7 @@
|
|||||||
margin-right: $margin;
|
margin-right: $margin;
|
||||||
font-size: 30rpx;
|
font-size: 30rpx;
|
||||||
text {
|
text {
|
||||||
color: $main-color;
|
color: red;
|
||||||
padding-right: 10rpx;
|
padding-right: 10rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -58,6 +58,10 @@
|
|||||||
<label>业务手机</label>
|
<label>业务手机</label>
|
||||||
<view class="val">{{user.parent.username}}</view>
|
<view class="val">{{user.parent.username}}</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="block-item-flex" v-if="centerUser != ''">
|
||||||
|
<label>运营中心</label>
|
||||||
|
<view class="val">{{centerUser}}</view>
|
||||||
|
</view>
|
||||||
<view class="block-item-flex">
|
<view class="block-item-flex">
|
||||||
<label>订单编号</label>
|
<label>订单编号</label>
|
||||||
<view class="val">{{no}}</view>
|
<view class="val">{{no}}</view>
|
||||||
@@ -78,11 +82,12 @@
|
|||||||
return {
|
return {
|
||||||
expand : {},
|
expand : {},
|
||||||
params : [],
|
params : [],
|
||||||
createdAt: '',
|
createdAt : '',
|
||||||
user : {},
|
user : {},
|
||||||
payType : '',
|
payType : '',
|
||||||
lawyer : null,
|
lawyer : null,
|
||||||
price : '0.00'
|
price : '0.00',
|
||||||
|
centerUser: ''
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
@@ -91,7 +96,7 @@
|
|||||||
mask : true
|
mask : true
|
||||||
})
|
})
|
||||||
expandInfo(this.$Route.query.id).then(res => {
|
expandInfo(this.$Route.query.id).then(res => {
|
||||||
let { expand, params, created_at, user, order_no, total, lawyer, pay_driver_text } = res;
|
let { expand, params, created_at, user, order_no, total, lawyer, pay_driver_text, center_user } = res;
|
||||||
this.lawyer = lawyer
|
this.lawyer = lawyer
|
||||||
this.expand = expand
|
this.expand = expand
|
||||||
this.params = params
|
this.params = params
|
||||||
@@ -100,6 +105,7 @@
|
|||||||
this.no = order_no
|
this.no = order_no
|
||||||
this.price = total
|
this.price = total
|
||||||
this.payType = pay_driver_text || ''
|
this.payType = pay_driver_text || ''
|
||||||
|
this.centerUser= center_user
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: err.message,
|
title: err.message,
|
||||||
|
|||||||
@@ -394,7 +394,7 @@
|
|||||||
margin-right: $margin;
|
margin-right: $margin;
|
||||||
font-size: 30rpx;
|
font-size: 30rpx;
|
||||||
text {
|
text {
|
||||||
color: $main-color;
|
color: red;
|
||||||
padding-right: 10rpx;
|
padding-right: 10rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -69,6 +69,7 @@
|
|||||||
@diff="onDiff"
|
@diff="onDiff"
|
||||||
@callPhone="onCallPhone"
|
@callPhone="onCallPhone"
|
||||||
@cancel="onCancel"
|
@cancel="onCancel"
|
||||||
|
@payTurn="onPayTurn"
|
||||||
/>
|
/>
|
||||||
<!-- 拓展单 -->
|
<!-- 拓展单 -->
|
||||||
<expand-block
|
<expand-block
|
||||||
@@ -207,6 +208,16 @@
|
|||||||
this.getList()
|
this.getList()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
// 委托单线上支付被驳回
|
||||||
|
onPayTurn(no){
|
||||||
|
let orderArr = this.orderArr
|
||||||
|
let orderObj = orderArr.find(val => val.order_no === no)
|
||||||
|
uni.showModal({
|
||||||
|
title : '提示',
|
||||||
|
content : '支付驳回原因:' + orderObj.remark,
|
||||||
|
showCancel : false
|
||||||
|
})
|
||||||
|
},
|
||||||
// 取消订单
|
// 取消订单
|
||||||
onCancel(no){
|
onCancel(no){
|
||||||
let orderArr = this.orderArr
|
let orderArr = this.orderArr
|
||||||
@@ -284,7 +295,6 @@
|
|||||||
icon : 'none'
|
icon : 'none'
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
// console.log(is_)
|
|
||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
@@ -300,7 +310,6 @@
|
|||||||
let orderObj = orderArr.find(val => val.order_no === no)
|
let orderObj = orderArr.find(val => val.order_no === no)
|
||||||
let { can, price, order_id, order_type } = orderObj
|
let { can, price, order_id, order_type } = orderObj
|
||||||
|
|
||||||
console.log(orderObj)
|
|
||||||
switch(can.pay_status){
|
switch(can.pay_status){
|
||||||
case 1:
|
case 1:
|
||||||
this.expressSheet(order_id, order_type, can, price)
|
this.expressSheet(order_id, order_type, can, price)
|
||||||
|
|||||||
@@ -58,6 +58,10 @@
|
|||||||
<label>业务手机</label>
|
<label>业务手机</label>
|
||||||
<view class="val">{{user.parent.username}}</view>
|
<view class="val">{{user.parent.username}}</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="block-item-flex" v-if="centerUser != ''">
|
||||||
|
<label>运营中心</label>
|
||||||
|
<view class="val">{{centerUser}}</view>
|
||||||
|
</view>
|
||||||
<view class="block-item-flex">
|
<view class="block-item-flex">
|
||||||
<label>订单编号</label>
|
<label>订单编号</label>
|
||||||
<view class="val">{{no}}</view>
|
<view class="val">{{no}}</view>
|
||||||
@@ -78,11 +82,12 @@
|
|||||||
return {
|
return {
|
||||||
service : {},
|
service : {},
|
||||||
params : [],
|
params : [],
|
||||||
createdAt: '',
|
createdAt : '',
|
||||||
user : {},
|
user : {},
|
||||||
lawyer : null,
|
lawyer : null,
|
||||||
price : '0.00',
|
price : '0.00',
|
||||||
payType : '',
|
payType : '',
|
||||||
|
centerUser: ''
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
@@ -91,7 +96,7 @@
|
|||||||
mask : true
|
mask : true
|
||||||
})
|
})
|
||||||
servicesInfo(this.$Route.query.id).then(res => {
|
servicesInfo(this.$Route.query.id).then(res => {
|
||||||
let { service, params, created_at, user, order_no, total, lawyer, pay_driver_text } = res;
|
let { service, params, created_at, user, order_no, total, lawyer, pay_driver_text, center_user } = res;
|
||||||
this.lawyer = lawyer
|
this.lawyer = lawyer
|
||||||
this.service = service
|
this.service = service
|
||||||
this.params = params
|
this.params = params
|
||||||
@@ -100,6 +105,7 @@
|
|||||||
this.no = order_no
|
this.no = order_no
|
||||||
this.price = total
|
this.price = total
|
||||||
this.payType = pay_driver_text || ''
|
this.payType = pay_driver_text || ''
|
||||||
|
this.centerUser = center_user
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: err.message,
|
title: err.message,
|
||||||
|
|||||||
@@ -356,7 +356,7 @@
|
|||||||
margin-right: $margin;
|
margin-right: $margin;
|
||||||
font-size: 30rpx;
|
font-size: 30rpx;
|
||||||
text {
|
text {
|
||||||
color: $main-color;
|
color: red;
|
||||||
padding-right: 10rpx;
|
padding-right: 10rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -58,6 +58,10 @@
|
|||||||
<label>业务手机</label>
|
<label>业务手机</label>
|
||||||
<view class="val">{{user.parent.username}}</view>
|
<view class="val">{{user.parent.username}}</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="block-item-flex" v-if="centerUser != ''">
|
||||||
|
<label>运营中心</label>
|
||||||
|
<view class="val">{{centerUser}}</view>
|
||||||
|
</view>
|
||||||
<view class="block-item-flex">
|
<view class="block-item-flex">
|
||||||
<label>订单编号</label>
|
<label>订单编号</label>
|
||||||
<view class="val">{{no}}</view>
|
<view class="val">{{no}}</view>
|
||||||
@@ -76,13 +80,14 @@
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
synthesis: {},
|
synthesis : {},
|
||||||
params : [],
|
params : [],
|
||||||
createdAt: '',
|
createdAt : '',
|
||||||
user : {},
|
user : {},
|
||||||
payType : '',
|
payType : '',
|
||||||
lawyer : null,
|
lawyer : null,
|
||||||
price : '0.00'
|
price : '0.00',
|
||||||
|
centerUser: ''
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
@@ -91,7 +96,7 @@
|
|||||||
mask : true
|
mask : true
|
||||||
})
|
})
|
||||||
synthesisInfo(this.$Route.query.id).then(res => {
|
synthesisInfo(this.$Route.query.id).then(res => {
|
||||||
let { synthesis, params, created_at, user, order_no, price, lawyer, pay_driver_text } = res;
|
let { synthesis, params, created_at, user, order_no, price, lawyer, pay_driver_text, center_user } = res;
|
||||||
this.synthesis = synthesis
|
this.synthesis = synthesis
|
||||||
this.params = params
|
this.params = params
|
||||||
this.createdAt = created_at
|
this.createdAt = created_at
|
||||||
@@ -100,6 +105,7 @@
|
|||||||
this.price = price
|
this.price = price
|
||||||
this.lawyer = lawyer
|
this.lawyer = lawyer
|
||||||
this.payType = pay_driver_text || '-'
|
this.payType = pay_driver_text || '-'
|
||||||
|
this.centerUser= center_user
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: err.message,
|
title: err.message,
|
||||||
|
|||||||
@@ -149,8 +149,6 @@
|
|||||||
open.openFile({
|
open.openFile({
|
||||||
filename : plus.io.convertLocalFileSystemURL(path.tempFilePath),
|
filename : plus.io.convertLocalFileSystemURL(path.tempFilePath),
|
||||||
isShowBackIcon : true
|
isShowBackIcon : true
|
||||||
}, res => {
|
|
||||||
console.log(res)
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -437,7 +437,8 @@
|
|||||||
// 获取系统版本号
|
// 获取系统版本号
|
||||||
getVersions({
|
getVersions({
|
||||||
platform: plus.os.name,
|
platform: plus.os.name,
|
||||||
version : plus.runtime.version
|
version : plus.runtime.version,
|
||||||
|
channel : 'app'
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
if (res.update) {
|
if (res.update) {
|
||||||
|
|||||||
@@ -75,8 +75,6 @@
|
|||||||
page : this.page.current
|
page : this.page.current
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
let { users, count } = res;
|
let { users, count } = res;
|
||||||
|
|
||||||
console.log(users)
|
|
||||||
let atList = users.page.current == 1 ? [] : this.users
|
let atList = users.page.current == 1 ? [] : this.users
|
||||||
this.count = count
|
this.count = count
|
||||||
this.users = atList.concat(users.data)
|
this.users = atList.concat(users.data)
|
||||||
|
|||||||
@@ -159,7 +159,6 @@
|
|||||||
},
|
},
|
||||||
// 选择物流公司
|
// 选择物流公司
|
||||||
onPicker(e){
|
onPicker(e){
|
||||||
console.log(e)
|
|
||||||
this.expressIndex = e.detail.value
|
this.expressIndex = e.detail.value
|
||||||
},
|
},
|
||||||
// 扫码
|
// 扫码
|
||||||
|
|||||||
@@ -77,7 +77,6 @@
|
|||||||
<view class="btns-item btns-border" v-if="item.status.value == 3" @click="$Router.push({name: 'Pay', params: {orderId: item.business_order_id, type: 'acting', paytype: 'price'}})">缴费</view>
|
<view class="btns-item btns-border" v-if="item.status.value == 3" @click="$Router.push({name: 'Pay', params: {orderId: item.business_order_id, type: 'acting', paytype: 'price'}})">缴费</view>
|
||||||
<view class="btns-item btns-border" v-if="item.status.value == 5" @click="$Router.push({name: 'WorkPerfectChoose', params: {orderId: item.business_order_id, type: 'perfect'}})">完善</view>
|
<view class="btns-item btns-border" v-if="item.status.value == 5" @click="$Router.push({name: 'WorkPerfectChoose', params: {orderId: item.business_order_id, type: 'perfect'}})">完善</view>
|
||||||
<view class="btns-item btns-border" v-if="item.status.value == 6" @click="$Router.push({name: 'WorkPerfectChoose', params: {orderId: item.business_order_id }})">查看资料</view>
|
<view class="btns-item btns-border" v-if="item.status.value == 6" @click="$Router.push({name: 'WorkPerfectChoose', params: {orderId: item.business_order_id }})">查看资料</view>
|
||||||
<!-- type: 'perfect' -->
|
|
||||||
<view class="btns-item btns-border" v-if="item.status.value == 8" @click="$Router.push({name: 'OrderLog', params: {orderId: item.business_order_id}})">查看记录</view>
|
<view class="btns-item btns-border" v-if="item.status.value == 8" @click="$Router.push({name: 'OrderLog', params: {orderId: item.business_order_id}})">查看记录</view>
|
||||||
<view class="btns-item btns-border" v-if="item.can.confirm && item.is_my" @click="$Router.push({name: 'ConfirmScheme', params: {orderId: item.business_order_id,}})">去确认</view>
|
<view class="btns-item btns-border" v-if="item.can.confirm && item.is_my" @click="$Router.push({name: 'ConfirmScheme', params: {orderId: item.business_order_id,}})">去确认</view>
|
||||||
<view class="btns-item" @click="$Router.push({name: 'OrderInfo', params: {orderId: item.business_order_id}})">查看</view>
|
<view class="btns-item" @click="$Router.push({name: 'OrderInfo', params: {orderId: item.business_order_id}})">查看</view>
|
||||||
|
|||||||
@@ -22,9 +22,6 @@
|
|||||||
})
|
})
|
||||||
baseBase(this.$Route.query.itemId).then(res => {
|
baseBase(this.$Route.query.itemId).then(res => {
|
||||||
let { params } = res;
|
let { params } = res;
|
||||||
|
|
||||||
console.log(params)
|
|
||||||
|
|
||||||
this.params = params
|
this.params = params
|
||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
|
|||||||
BIN
static/synthesize/img_04.png
Normal file
BIN
static/synthesize/img_04.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 68 KiB |
BIN
static/synthesize/img_05.png
Normal file
BIN
static/synthesize/img_05.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 68 KiB |
BIN
static/synthesize/img_06.png
Normal file
BIN
static/synthesize/img_06.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 69 KiB |
Reference in New Issue
Block a user