同步代码
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
</view>
|
||||
|
||||
<!-- 新增改版 - 协商调解类 -->
|
||||
<view class="module">
|
||||
<view class="module" style="display: none;">
|
||||
<view class="module-title">
|
||||
协商调解类
|
||||
</view>
|
||||
@@ -76,13 +76,53 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
<!-- 账户管理咨询类 -->
|
||||
<view class="module" v-if="accountData.length > 0" style="display: none;">
|
||||
<view class="module-title">
|
||||
账户管理咨询类
|
||||
</view>
|
||||
<scroll-view class="law" scroll-x="true" show-scrollbar="false">
|
||||
<view class="law-label" v-for="(item, index) in accountData" :key="index" @click="onMagInfo('Account', item.id)">
|
||||
<image class="law-label-img" :src="item.cover" mode="widthFix"></image>
|
||||
<view class="law-label-cont">
|
||||
<view class="nowrap law-label-name">
|
||||
{{item.title}}
|
||||
</view>
|
||||
<view class="law-label-price">
|
||||
¥{{item.price}}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
<!-- 委托管理类 -->
|
||||
<view class="module" v-if="delegation.length > 0" style="display: none;">
|
||||
<view class="module-title">
|
||||
委托管理类
|
||||
</view>
|
||||
<scroll-view class="law" scroll-x="true" show-scrollbar="false">
|
||||
<view class="law-label" v-for="(item, index) in delegation" :key="index" @click="onMagInfo('Delegation', item.id)">
|
||||
<image class="law-label-img" :src="item.cover" mode="widthFix"></image>
|
||||
<view class="law-label-cont">
|
||||
<view class="nowrap law-label-name">
|
||||
{{item.title}}
|
||||
</view>
|
||||
<view class="law-label-price">
|
||||
¥{{item.price}}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
|
||||
<!-- 新增改版 - 法律资讯类 -->
|
||||
<view class="module">
|
||||
<view class="module-title">
|
||||
法律咨询类
|
||||
企业法律顾问
|
||||
</view>
|
||||
<scroll-view class="law" scroll-x="true" show-scrollbar="false">
|
||||
<view class="law-label" @click="clickBrief">
|
||||
<!-- <view class="law-label" @click="clickBrief">
|
||||
<image class="law-label-img" src="https://douhuo-storage.oss-cn-beijing.aliyuncs.com/images/2023/06/18/f3db072ac405edf2a3dc3fd6c3aae206.png" mode="widthFix"></image>
|
||||
<view class="law-label-cont">
|
||||
<view class="law-label-name">
|
||||
@@ -95,7 +135,7 @@
|
||||
¥365.00/年
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="law-label" @click="$Router.push({name: 'StandBrief', params: {type: 2}})">
|
||||
<image class="law-label-img" src="https://douhuo-storage.oss-cn-beijing.aliyuncs.com/images/2023/06/18/d813f30a393e6d50df8cc59a36e557c8.png" mode="widthFix"></image>
|
||||
<view class="law-label-cont">
|
||||
@@ -158,7 +198,7 @@
|
||||
<!-- 新增改版 - 诉讼委托类 -->
|
||||
<view class="module">
|
||||
<view class="module-title">
|
||||
诉讼委托类
|
||||
案件诉讼委托
|
||||
</view>
|
||||
<view class="topCont-tool">
|
||||
<view class="topCont-tool-label redBlock" @click="$Router.push({name: 'EntrustBrief'})">
|
||||
@@ -187,7 +227,7 @@
|
||||
</view>
|
||||
|
||||
<!-- 新增改版 - 增收赋能类 -->
|
||||
<view class="module">
|
||||
<view class="module" style="display: none;">
|
||||
<view class="module-title">
|
||||
增收赋能类
|
||||
</view>
|
||||
@@ -349,7 +389,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { workIndex, home, articleSort, articleList } from '@/apis/interfaces/index'
|
||||
import { workIndex, home, articleSort, articleList, accountManagement, delegation } from '@/apis/interfaces/index'
|
||||
import { judgeReal, userIndex, authFollow } from '@/apis/interfaces/user'
|
||||
import { lists } from '@/apis/interfaces/empower.js'
|
||||
export default {
|
||||
@@ -377,9 +417,14 @@
|
||||
first : 1,
|
||||
layadState : '',
|
||||
layadImg : '',
|
||||
haveimg : '',
|
||||
haveimg : '',
|
||||
|
||||
// 增收赋能列表
|
||||
empowerArr : []
|
||||
empowerArr : [],
|
||||
// 账户管理类
|
||||
accountData : [],
|
||||
// 委托管理类
|
||||
delegation : []
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
@@ -403,7 +448,13 @@
|
||||
this.articleItem();
|
||||
|
||||
// 增收赋能
|
||||
this.getEmpower()
|
||||
this.getEmpower();
|
||||
|
||||
// 账户管理类
|
||||
this.getManagement();
|
||||
|
||||
// 委托管理类
|
||||
this.getDelegation();
|
||||
|
||||
if(this.$store.getters.getToken) {
|
||||
userIndex().then(res => {
|
||||
@@ -417,7 +468,40 @@
|
||||
}
|
||||
},
|
||||
|
||||
methods: {
|
||||
methods: {
|
||||
// 获取账户管理类
|
||||
getManagement(){
|
||||
accountManagement().then(res => {
|
||||
let accountData = res
|
||||
this.accountData = accountData
|
||||
}).catch(err => {
|
||||
uni.showToast({
|
||||
title: err.message,
|
||||
icon: "none"
|
||||
})
|
||||
})
|
||||
|
||||
},
|
||||
// 获取委托管理类
|
||||
getDelegation(){
|
||||
delegation().then(res => {
|
||||
let delegationData = res
|
||||
this.delegation = delegationData
|
||||
}).catch(err => {
|
||||
uni.showToast({
|
||||
title: err.message,
|
||||
icon: "none"
|
||||
})
|
||||
})
|
||||
|
||||
},
|
||||
// 查看管理类业务
|
||||
onMagInfo(type, id){
|
||||
this.$Router.push({
|
||||
name : 'Mag' + type,
|
||||
params : { id }
|
||||
})
|
||||
},
|
||||
// 增收赋能接口
|
||||
getEmpower(){
|
||||
lists().then(res => {
|
||||
@@ -579,8 +663,8 @@
|
||||
officialGeneral(){
|
||||
// 获取微信授权信息
|
||||
authFollow({
|
||||
// url: 'https://web.douhuofalv.com/webview/webCode'
|
||||
url: 'https://web.douhuotest.douhuofalv.com/webview/webCode'
|
||||
url: 'https://web.douhuofalv.com/webview/webCode'
|
||||
// url: 'https://web.douhuotest.douhuofalv.com/webview/webCode'
|
||||
}).then(res => {
|
||||
window.location.href = res
|
||||
}).catch(err => {
|
||||
|
||||
Reference in New Issue
Block a user