个人单,企业年费调整
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<view class="content">
|
||||
<view class="orderTab">
|
||||
<view class="orderTab-item" :class="{active : entrustId == item.entrust_id}" @click="tabClick(item.entrust_id, item.title)" v-for="(item, index) in entrustArr" :key="index">
|
||||
<view class="orderTab-item" :class="{active : entrustId == item.entrust_id}" @click="tabClick(item.entrust_id, item.type.value)" v-for="(item, index) in entrustArr" :key="index">
|
||||
<text>{{item.title}}</text>
|
||||
</view>
|
||||
</view>
|
||||
@@ -11,7 +11,7 @@
|
||||
<view class="entrustTop-btn" @click="seekClick">立即购买</view>
|
||||
</view>
|
||||
<view class="entrustCont">
|
||||
<block v-if="title == '民事诉讼'">
|
||||
<block v-if="type === 0">
|
||||
<view class="entrustCivil">
|
||||
<view class="entrustCivil-top">
|
||||
<view class="entrustCivil-top-name">民事诉讼阶段:</view>
|
||||
@@ -29,7 +29,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
<block v-else-if="title == '刑事辩护'">
|
||||
<block v-else-if="type === 1">
|
||||
<view class="entrustBrief">
|
||||
<view class="entrustBrief-title">
|
||||
<image class="entrustBrief-title-img" src="https://cdn.douhuofalv.com/images/2023/04/18/4d57907913a7d9ca5f3c7417421c894d.png" mode="aspectFill"></image>
|
||||
@@ -46,7 +46,7 @@
|
||||
</view>
|
||||
<image class="entrustBrief-text" src="https://cdn.douhuofalv.com/images/2023/04/18/e0dbc0ce562b479b9ff3ad3820971612.png" mode="widthFix"></image>
|
||||
</block>
|
||||
<block v-else-if="title == '行政诉讼'">
|
||||
<block v-else-if="type === 2">
|
||||
<view class="entrustPolitics">
|
||||
<view class="entrustPolitics-item">
|
||||
<view class="entrustPolitics-back">
|
||||
@@ -78,7 +78,7 @@
|
||||
<text>2</text>行政不作为
|
||||
</view>
|
||||
<view class="entrustPolitics-item-list">
|
||||
<text>3</text>征收补偿 等
|
||||
<text>3</text>征收补偿等
|
||||
</view>
|
||||
</view>
|
||||
<image class="entrustPolitics-item-logo" src="https://cdn.douhuofalv.com/images/2023/04/18/f7804d7c91c2389dd62ce10c19e26bec.png" mode="widthFix"></image>
|
||||
@@ -97,7 +97,7 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
title : '',
|
||||
type : '', // 案件类型
|
||||
entrustId : '',
|
||||
sonArr : [], // 民事子分类
|
||||
entrustData: '', // 案件委托详情
|
||||
@@ -117,15 +117,11 @@
|
||||
this.entrustArr = res
|
||||
if(this.entrustId == '') {
|
||||
this.entrustId = res[0].entrust_id
|
||||
this.title = res[0].title
|
||||
this.type = res[0].type.value
|
||||
}
|
||||
|
||||
// 获取-案件委托-详情
|
||||
this.yearInfo();
|
||||
if(this.title == '民事诉讼') {
|
||||
// 获取-案件委托子分类
|
||||
this.yearSon();
|
||||
}
|
||||
if(this.type === 0) this.yearSon();
|
||||
}).catch(err => {
|
||||
uni.showToast({
|
||||
title: err.message,
|
||||
@@ -148,7 +144,9 @@
|
||||
|
||||
// 获取-案件委托子分类
|
||||
yearSon(){
|
||||
entrustSon({parent_id: this.entrustId}).then(res => {
|
||||
entrustSon({
|
||||
parent_id: this.entrustId
|
||||
}).then(res => {
|
||||
this.sonArr = res
|
||||
}).catch(err => {
|
||||
uni.showToast({
|
||||
@@ -159,25 +157,21 @@
|
||||
},
|
||||
|
||||
// 顶级
|
||||
tabClick(id, title) {
|
||||
tabClick(id, type) {
|
||||
this.entrustId = id
|
||||
this.title = title
|
||||
if(title == '民事诉讼') {
|
||||
// 获取-案件委托子分类
|
||||
this.yearSon();
|
||||
}
|
||||
|
||||
this.type = type
|
||||
if(type === 0) this.yearSon();
|
||||
// 获取-案件委托-详情
|
||||
this.yearInfo();
|
||||
},
|
||||
|
||||
// 立即咨询
|
||||
seekClick() {
|
||||
if(this.title == '民事诉讼') {
|
||||
this.$Router.push({name: 'EntrustCivil', params: {entrustId: this.entrustId}})
|
||||
if(this.type === 0) {
|
||||
this.$Router.push({name: 'EntrustCivil', params: { entrustId: this.entrustId, title: '民事诉讼'}})
|
||||
return
|
||||
}
|
||||
this.$Router.push({name: 'EntrustWrite', params: {entrustId: this.entrustId}})
|
||||
this.$Router.push({name: 'EntrustWrite', params: {entrustId: this.entrustId, title: this.type == 1 ? '刑事辩护': '行政诉讼'}})
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -201,9 +195,10 @@
|
||||
flex: 3;
|
||||
text-align: center;
|
||||
margin-top: 20rpx;
|
||||
font-size: 30rpx;
|
||||
text {
|
||||
display: inline-block;
|
||||
color: #000p;
|
||||
color: #000;
|
||||
background-image: white;
|
||||
height: 64rpx;
|
||||
line-height: 64rpx;
|
||||
@@ -301,7 +296,6 @@
|
||||
}
|
||||
}
|
||||
.entrustPolitics {
|
||||
margin-bottom: 40rpx;
|
||||
display: flex;
|
||||
.entrustPolitics-item {
|
||||
flex: 2;
|
||||
|
||||
Reference in New Issue
Block a user