Compare commits
11 Commits
405f36425d
...
up-line
| Author | SHA1 | Date | |
|---|---|---|---|
| 149b75a7dd | |||
| eab46f3108 | |||
| f75e48a3f9 | |||
| 480d4416c2 | |||
| 3f8baac1bd | |||
| a234b15f65 | |||
| 06771c8a68 | |||
| 5f290f3b78 | |||
| cba40b636e | |||
| 8b742c6212 | |||
| 2758d4b5b2 |
@@ -39,35 +39,9 @@ const buy = data => {
|
||||
})
|
||||
}
|
||||
|
||||
// 订单列表初始化
|
||||
const orderInit = () => {
|
||||
return request({
|
||||
url : "empower/order/init",
|
||||
})
|
||||
}
|
||||
|
||||
// 订单列表
|
||||
const orderList = data => {
|
||||
return request({
|
||||
url : "empower/manager/order",
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 取消订单
|
||||
const orderCancel = order => {
|
||||
return request({
|
||||
url : "empower/order/" + order + "/cancel",
|
||||
})
|
||||
}
|
||||
|
||||
export {
|
||||
lists,
|
||||
info,
|
||||
buyInit,
|
||||
buy,
|
||||
orderInit,
|
||||
orderList,
|
||||
orderCancel
|
||||
buy
|
||||
}
|
||||
|
||||
|
||||
@@ -59,12 +59,6 @@ const synthesisAttorney = () => {
|
||||
})
|
||||
}
|
||||
|
||||
// 增收赋能单数据统计
|
||||
const empowerStatistics = () =>{
|
||||
return request({
|
||||
url : 'empower/manager/index'
|
||||
})
|
||||
}
|
||||
|
||||
export {
|
||||
index,
|
||||
@@ -72,6 +66,5 @@ export {
|
||||
sign,
|
||||
synthesisCount,
|
||||
synthesisServices,
|
||||
synthesisAttorney,
|
||||
empowerStatistics
|
||||
synthesisAttorney
|
||||
}
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"name" : "抖火法律",
|
||||
"name" : "抖火数字化咨询服务平台",
|
||||
"appid" : "__UNI__C305C03",
|
||||
"description" : "纵有疾风起,人生不言弃",
|
||||
"versionName" : "1.5.0",
|
||||
"versionCode" : 105,
|
||||
"versionName" : "1.5.2",
|
||||
"versionCode" : 152,
|
||||
"transformPx" : false,
|
||||
/* 5+App特有相关 */
|
||||
"app-plus" : {
|
||||
@@ -44,7 +44,8 @@
|
||||
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>"
|
||||
],
|
||||
"schemes" : "doufire",
|
||||
"minSdkVersion" : 21
|
||||
"minSdkVersion" : 21,
|
||||
"abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ]
|
||||
},
|
||||
/* ios打包配置 */
|
||||
"ios" : {
|
||||
@@ -133,6 +134,5 @@
|
||||
"uniStatistics" : {
|
||||
"enable" : false
|
||||
},
|
||||
"vueVersion" : "2",
|
||||
"fallbackLocale" : "zh-Hans"
|
||||
"vueVersion" : "2"
|
||||
}
|
||||
|
||||
1545
pages.json
1545
pages.json
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -27,7 +27,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="block">
|
||||
<view class="block-title">委托咨询单管理</view>
|
||||
<view class="block-title">委托订单管理</view>
|
||||
<view class="tool-flex">
|
||||
<view class="tool-flex-item" @click="onNav('SynthesizeOrder', { status: 0, type: 'entrust' })">
|
||||
<image class="icon" src="@/static/icons/work_icon_06.png"></image>
|
||||
|
||||
@@ -1,373 +1,33 @@
|
||||
<template>
|
||||
<view class="content">
|
||||
<view class="block">
|
||||
<view class="block-title">统计数据</view>
|
||||
<view class="total-flex">
|
||||
<view class="total-item" @click="onNav('EmpowerOrder', { status: 0 })">
|
||||
<image class="icon" src="@/static/icons/work_icon_00.png"></image>
|
||||
<view class="title">待支付</view>
|
||||
<view class="number">{{orderAll.init}}<text>单</text></view>
|
||||
</view>
|
||||
<view class="total-item" @click="onNav('EmpowerOrder', { status: 1 })">
|
||||
<image class="icon" src="@/static/icons/work_icon_01.png"></image>
|
||||
<view class="title">已支付</view>
|
||||
<view class="number">{{orderAll.paid}}<text>单</text></view>
|
||||
</view>
|
||||
<view class="total-item"@click="onNav('EmpowerOrder', { status: 2 })">
|
||||
<image class="icon" src="@/static/icons/work_icon_02.png"></image>
|
||||
<view class="title">已完成</view>
|
||||
<view class="number">{{orderAll.over}}<text>单</text></view>
|
||||
</view>
|
||||
<view class="total-item">
|
||||
<image class="icon" src="@/static/icons/work_icon_05.png"></image>
|
||||
<view class="title">结算金额</view>
|
||||
<view class="number">{{orderAll.amount}}<text>万</text></view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="block">
|
||||
<view class="block-title">订单管理</view>
|
||||
<view class="tool-flex">
|
||||
<view class="tool-flex-item" @click="onNav('EmpowerOrder', { status: '' })">
|
||||
<image class="icon" src="@/static/icons/work_icon_06.png"></image>
|
||||
<view class="number" v-if="orderEntrust.all > 0">{{orderEntrust.all}}</view>
|
||||
<view class="text">全部订单</view>
|
||||
</view>
|
||||
<view class="tool-flex-item" @click="onNav('EmpowerOrder', { status: 0 })">
|
||||
<image class="icon" src="@/static/icons/work_icon_17.png"></image>
|
||||
<view class="number" v-if="orderEntrust.init > 0">{{orderEntrust.init}}</view>
|
||||
<view class="text">待支付</view>
|
||||
</view>
|
||||
<view class="tool-flex-item" @click="onNav('EmpowerOrder', { status: 1 })">
|
||||
<image class="icon" src="@/static/icons/work_icon_10.png"></image>
|
||||
<view class="number" v-if="orderEntrust.paid > 0">{{orderEntrust.paid}}</view>
|
||||
<view class="text">已支付</view>
|
||||
</view>
|
||||
<view class="tool-flex-item" @click="onNav('EmpowerOrder', { status: 2 })">
|
||||
<image class="icon" src="@/static/icons/work_icon_15.png"></image>
|
||||
<view class="number" v-if="orderEntrust.over > 0">{{orderEntrust.over}}</view>
|
||||
<view class="text">已完成</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="null-pages">
|
||||
<u-empty
|
||||
mode="order"
|
||||
icon="http://cdn.uviewui.com/uview/empty/order.png"
|
||||
text="暂无相关订单"
|
||||
>
|
||||
</u-empty>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { empowerStatistics } from '@/apis/interfaces/work.js'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
// 综法订单管理
|
||||
orderAll : '',
|
||||
orderEntrust : '',
|
||||
|
||||
};
|
||||
},
|
||||
onShow() {
|
||||
this.getIndex()
|
||||
|
||||
},
|
||||
methods: {
|
||||
// 工作台信息
|
||||
getIndex(){
|
||||
uni.showLoading({
|
||||
title: '加载中...',
|
||||
mask : true
|
||||
})
|
||||
// 增收赋能订单统计
|
||||
empowerStatistics().then(res => {
|
||||
let { order, data } = res;
|
||||
this.orderAll = data
|
||||
this.orderEntrust = order
|
||||
uni.hideLoading()
|
||||
}).catch(err => {
|
||||
uni.showToast({
|
||||
title: err.message,
|
||||
icon : 'none'
|
||||
})
|
||||
})
|
||||
},
|
||||
|
||||
// 导航
|
||||
onNav(name, obj){
|
||||
let params = obj || {}
|
||||
this.$Router.push({name, params})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.content{
|
||||
padding: 30rpx 0;
|
||||
}
|
||||
// 登录提示
|
||||
.auth-null{
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
background: white;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
.auth-null-btn{
|
||||
height: 90rpx;
|
||||
line-height: 90rpx;
|
||||
padding: 0;
|
||||
width: 70vw;
|
||||
background: $main-color;
|
||||
color: white;
|
||||
font-size: 32rpx;
|
||||
margin-top: 100rpx;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
// 弹出特权
|
||||
.privilege-lay{
|
||||
width: 70vw;
|
||||
.privilege-lay-img{
|
||||
width: 70vw;
|
||||
vertical-align: top;
|
||||
}
|
||||
.privilege-lay-content{
|
||||
background: white;
|
||||
border-radius: 0 0 20rpx 20rpx;
|
||||
width: 70vw;
|
||||
padding: 80rpx 30rpx 50rpx;
|
||||
box-sizing: border-box;
|
||||
margin-top: -50rpx;
|
||||
line-height: 50rpx;
|
||||
color: #111111;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
.privilege-lay-remove{
|
||||
padding-top: 30rpx;
|
||||
text-align: center;
|
||||
.privilege-lay-icon{
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
}
|
||||
// header
|
||||
.work-bar{
|
||||
padding: 30rpx;
|
||||
margin-bottom: 30rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
&-user{
|
||||
position: relative;
|
||||
line-height: 70rpx;
|
||||
height: 70rpx;
|
||||
width: calc(100% - 200rpx);
|
||||
padding-left: 90rpx;
|
||||
box-sizing: border-box;
|
||||
.cover{
|
||||
width: 70rpx;
|
||||
height: 70rpx;
|
||||
border-radius: 50%;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
.nickname{
|
||||
font-weight: bold;
|
||||
font-size: 34rpx;
|
||||
.card{
|
||||
color: $main-color;
|
||||
font-size: 24rpx;
|
||||
display: inline-block;
|
||||
height: 40rpx;
|
||||
line-height: 38rpx;
|
||||
border-radius: 24rpx;
|
||||
padding: 0 15rpx;
|
||||
margin-left: 20rpx;
|
||||
margin-bottom: 2rpx;
|
||||
vertical-align: middle;
|
||||
border:solid 1rpx $main-color;
|
||||
font-weight: normal;
|
||||
}
|
||||
}
|
||||
}
|
||||
&-add{
|
||||
width: 200rpx;
|
||||
font-size: 30rpx;
|
||||
text-align: right;
|
||||
line-height: 70rpx;
|
||||
.icon{
|
||||
margin-right: 5rpx;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
}
|
||||
// 订单管理
|
||||
.tool-flex{
|
||||
padding: 0 10rpx;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
.tool-flex-item{
|
||||
width: 25%;
|
||||
text-align: center;
|
||||
margin-bottom: 30rpx;
|
||||
position: relative;
|
||||
.icon{
|
||||
width: 78rpx;
|
||||
height: 78rpx;
|
||||
background: #ddd;
|
||||
border-radius: 20rpx;
|
||||
}
|
||||
.number{
|
||||
position: absolute;
|
||||
right: 20%;
|
||||
background: #fe4444;
|
||||
top: -10rpx;
|
||||
height: 40rpx;
|
||||
line-height: 40rpx;
|
||||
min-width: 40rpx;
|
||||
font-size: 24rpx;
|
||||
color: white;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.text{
|
||||
line-height: 40rpx;
|
||||
font-size: 26rpx;
|
||||
color: #111;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
// 数据统计单
|
||||
.total-flex{
|
||||
padding: 0 20rpx 20rpx;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
.total-item{
|
||||
margin: 0 10rpx 20rpx;
|
||||
background: #f8f8f8;
|
||||
width: calc(50% - 20rpx);
|
||||
padding: 20rpx 20rpx 20rpx 120rpx;
|
||||
box-sizing: border-box;
|
||||
border-radius: $radius;
|
||||
position: relative;
|
||||
min-height: 140rpx;
|
||||
.icon{
|
||||
position: absolute;
|
||||
left: 20rpx;
|
||||
top: 50%;
|
||||
width: 70rpx;
|
||||
height: 70rpx;
|
||||
margin-top: -35rpx;
|
||||
}
|
||||
.title{
|
||||
font-size: 28rpx;
|
||||
color: #111;
|
||||
line-height: 40rpx;
|
||||
@extend .nowrap;
|
||||
}
|
||||
.number{
|
||||
padding-top: 5rpx;
|
||||
font-weight: bold;
|
||||
font-size: 34rpx;
|
||||
color: #111;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
line-height: 40rpx;
|
||||
@extend .nowrap;
|
||||
text{
|
||||
font-size: 80%;
|
||||
font-weight: normal;
|
||||
padding-left: 10rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// 通用板块
|
||||
.block{
|
||||
background: white;
|
||||
margin: 0 30rpx 20rpx;
|
||||
border-radius: $radius;
|
||||
.block-title{
|
||||
padding: 30rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
font-weight: bold;
|
||||
color: '#111';
|
||||
font-size: 32rpx;
|
||||
}
|
||||
}
|
||||
// 开通业务员
|
||||
.open-interest{
|
||||
padding: 30rpx;
|
||||
margin-bottom: 30rpx;
|
||||
.title{
|
||||
text-align: center;
|
||||
font-size: 34rpx;
|
||||
font-weight: bold;
|
||||
line-height: 80rpx;
|
||||
}
|
||||
.open-interest-flex{
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
padding-top: 30rpx;
|
||||
justify-content: space-between;
|
||||
.open-interest-item{
|
||||
text-align: center;
|
||||
.open-interest-icon{
|
||||
width: 88rpx;
|
||||
height: 88rpx;
|
||||
vertical-align: top;
|
||||
margin-bottom: 15rpx;
|
||||
}
|
||||
.open-interest-text{
|
||||
font-size: 28rpx;
|
||||
color: #111111;
|
||||
line-height: 40rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
// 开通步骤
|
||||
.open-interest-block{
|
||||
padding: 30rpx 0;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
.open-interest-icon{
|
||||
width: 88rpx;
|
||||
height: 88rpx;
|
||||
}
|
||||
.open-interest-text{
|
||||
width: calc( 100% - 258rpx);
|
||||
padding:0 30rpx;
|
||||
box-sizing: border-box;
|
||||
.open-interest-title{
|
||||
font-weight: bold;
|
||||
color: #111111;
|
||||
line-height: 40rpx;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
.open-interest-submit{
|
||||
color: #666666;
|
||||
font-size: 26rpx;
|
||||
line-height: 40rpx;
|
||||
}
|
||||
}
|
||||
.open-interest-btn[size="mini"]{
|
||||
width: 170rpx;
|
||||
height: 70rpx;
|
||||
line-height: 70rpx;
|
||||
padding: 0;
|
||||
border-radius: 35rpx;
|
||||
background: $main-color;
|
||||
color: white;
|
||||
font-size: 30rpx;
|
||||
&::after{
|
||||
display: none;
|
||||
}
|
||||
&[disabled]{
|
||||
background: #EEEEEE;
|
||||
color: #999999;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// 内容为空
|
||||
.null-pages{ height: 70vh; display: flex; align-items: center; justify-content: center; }
|
||||
</style>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<u-icon size="12" color="#999" name="arrow-down-fill"></u-icon>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 业务咨询类型 -->
|
||||
<!-- 业务类型 -->
|
||||
<view class="block-item">
|
||||
<label class="block-item-label"><text>*</text>业务咨询类型</label>
|
||||
<picker :range="item.fromType" range-key="title" :value="item.fromIndex" @change="businessChange($event, item, index)">
|
||||
|
||||
@@ -223,13 +223,15 @@
|
||||
<view v-else class="auth-null">
|
||||
<u-empty
|
||||
mode="permission"
|
||||
icon="https://douhuo-storage.oss-cn-beijing.aliyuncs.com/images/2023/09/04/3482a50a7b37798129c8754200c10466.png"
|
||||
icon="http://cdn.uviewui.com/uview/empty/permission.png"
|
||||
text="暂未登录"
|
||||
/>
|
||||
>
|
||||
</u-empty>
|
||||
<button class="auth-null-btn" size="mini" @click="onNav('Auth')">登录</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { index, rights, sign, synthesisCount } from '@/apis/interfaces/work.js'
|
||||
export default {
|
||||
@@ -379,7 +381,7 @@
|
||||
height: 90rpx;
|
||||
line-height: 90rpx;
|
||||
padding: 0;
|
||||
width: 80vw;
|
||||
width: 70vw;
|
||||
background: $main-color;
|
||||
color: white;
|
||||
font-size: 32rpx;
|
||||
|
||||
1219
pages/work/index.vue
1219
pages/work/index.vue
File diff suppressed because it is too large
Load Diff
@@ -111,7 +111,7 @@
|
||||
<script>
|
||||
import { lists, orderSign, getOrderSignStatus, orderCancel } from '@/apis/interfaces/order.js'
|
||||
import { levels, transfer } from '@/apis/interfaces/transfers.js'
|
||||
import modal from 'uview-ui/libs/config/props/modal';
|
||||
import modal from 'uview-ui/libs/config/props/modal';
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user