混合支付
This commit is contained in:
@@ -27,7 +27,8 @@ const log = data => {
|
||||
// 业绩账户
|
||||
const cash = data => {
|
||||
return request({
|
||||
url: "perf/lists",
|
||||
// 1.3.5^ 版本废弃 url: "perf/lists",
|
||||
url: "perf/new_lists",
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
@@ -32,6 +32,7 @@ const umsPay = (orderId, data) => {
|
||||
|
||||
// 银联支付补差价
|
||||
const diffUmsPay = (orderId, data) => {
|
||||
console.log(data)
|
||||
return request({
|
||||
url: 'pay/diff/' + orderId + '/ums',
|
||||
data
|
||||
|
||||
@@ -599,11 +599,6 @@
|
||||
"selectedIconPath": "static/icons/tabs_show_02.png",
|
||||
"pagePath": "pages/work/index",
|
||||
"text": "工作台"
|
||||
}, {
|
||||
"iconPath": "static/icons/tabs_icon_04.png",
|
||||
"selectedIconPath": "static/icons/tabs_show_04.png",
|
||||
"pagePath": "pages/im/msg",
|
||||
"text": "消息"
|
||||
}, {
|
||||
"iconPath": "static/icons/tabs_icon_03.png",
|
||||
"selectedIconPath": "static/icons/tabs_show_03.png",
|
||||
|
||||
@@ -8,21 +8,25 @@
|
||||
</u-sticky>
|
||||
<!-- 账户余额 -->
|
||||
<view class="total" :style="'background-image: url(' + require('@/static/imgs/cash_back.png') + ');'">
|
||||
<view class="total-value nowrap">{{total}}</view>
|
||||
<view class="total-value nowrap">{{count}}</view>
|
||||
<view class="total-text">{{type == 'self' ? '个人总业绩': '团队总业绩'}}</view>
|
||||
<view class="total-total">筛选区间业绩:{{total}}</view>
|
||||
</view>
|
||||
<!-- 账户记录 -->
|
||||
<view class="logs">
|
||||
<view class="log-item">
|
||||
<view class="tabs">
|
||||
<u-tabs
|
||||
:list="tabs"
|
||||
:activeStyle="{'color': '#446EFE'}"
|
||||
lineColor="#446EFE"
|
||||
:scrollable="false"
|
||||
@click="onDayTab"
|
||||
></u-tabs>
|
||||
<view class="log-header">
|
||||
<view class="log-header-data" @click="dayShow = true">
|
||||
<label>筛选:</label>
|
||||
<view class="log-header-data-q">
|
||||
<view :class="{'show': dayTime.start_at != ''}">{{dayTime.start_at || "开始日期"}}</view>
|
||||
<view :class="{'show': dayTime.end_at != ''}">{{dayTime.end_at || "结束日期"}}</view>
|
||||
</view>
|
||||
<u-icon name="arrow-right"></u-icon>
|
||||
</view>
|
||||
<view class="log-header-title" @click="onDefaultLog">默认</view>
|
||||
</view>
|
||||
<!-- -->
|
||||
<block v-if="list.length > 0">
|
||||
<view class="log-flex" v-for="(item, index) in list" :key="index">
|
||||
<view class="log-flex-item">
|
||||
@@ -60,7 +64,21 @@
|
||||
</view>
|
||||
<u-loadmore v-if="pagesShow" :status="status" />
|
||||
</view>
|
||||
|
||||
<!-- 筛选时间 -->
|
||||
<u-calendar
|
||||
v-if="maxDate != ''"
|
||||
:show="dayShow"
|
||||
mode="range"
|
||||
color="#446EFE"
|
||||
:minDate="minDate"
|
||||
:maxDate="maxDate"
|
||||
monthNum="36"
|
||||
title="选择筛选区间"
|
||||
maxRange="90"
|
||||
rangePrompt="最大筛选天数不能超过90天"
|
||||
@close="dayShow = false"
|
||||
@confirm="onDay"
|
||||
></u-calendar>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -69,14 +87,16 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
tabs : [
|
||||
{ name: '全部业绩', value: 'all'},
|
||||
{ name: '当月业绩', value: 'month'},
|
||||
{ name: '当年业绩', value: 'year'}
|
||||
],
|
||||
dayType : 'all',
|
||||
dayShow : false,
|
||||
minDate : '',
|
||||
maxDate : '',
|
||||
dayTime : {
|
||||
start_at: '',
|
||||
end_at : ''
|
||||
},
|
||||
type : 'self',
|
||||
total : '0.00',
|
||||
count : '0.00',
|
||||
list : [],
|
||||
page : {
|
||||
current : 1,
|
||||
@@ -88,6 +108,12 @@
|
||||
},
|
||||
created() {
|
||||
this.getLog()
|
||||
// 获取当天前日期
|
||||
let date = new Date()
|
||||
let year = date.getFullYear()
|
||||
let month = date.getMonth() + 1
|
||||
let day = date.getDate() + 1
|
||||
this.maxDate = year + '-' + month + '-' + day
|
||||
},
|
||||
methods: {
|
||||
onTabs(e){
|
||||
@@ -96,27 +122,45 @@
|
||||
this.page.current = 1
|
||||
this.getLog()
|
||||
},
|
||||
// 默认日期
|
||||
onDefaultLog(){
|
||||
this.dayTime = {
|
||||
start_at: '',
|
||||
end_at : ''
|
||||
}
|
||||
this.page.current = 1
|
||||
this.getLog()
|
||||
},
|
||||
// 选择日期
|
||||
onDayTab(e){
|
||||
if(this.dayType === e.value) return
|
||||
this.dayType = e.value
|
||||
onDay(e){
|
||||
this.dayTime = {
|
||||
start_at: e[0],
|
||||
end_at : e[e.length - 1]
|
||||
}
|
||||
this.dayShow = false
|
||||
this.page.current = 1
|
||||
this.getLog()
|
||||
},
|
||||
// 获取列表
|
||||
getLog(){
|
||||
cash({
|
||||
day : this.dayType,
|
||||
start_at: this.dayTime.start_at,
|
||||
end_at : this.dayTime.end_at,
|
||||
type : this.type,
|
||||
page : this.page.current
|
||||
}).then(res => {
|
||||
let { total, lists } = res;
|
||||
let { total, lists, start, now, count } = res;
|
||||
let atList = lists.page.current == 1 ? [] : this.list
|
||||
if(this.minDate == '') this.minDate = start
|
||||
this.list = atList.concat(lists.data)
|
||||
this.total = total
|
||||
this.count = count
|
||||
this.page = lists.page
|
||||
this.pagesShow = false
|
||||
}).catch(err => {
|
||||
|
||||
console.log(err)
|
||||
|
||||
uni.showToast({
|
||||
title: err.message,
|
||||
icon : 'none'
|
||||
@@ -172,6 +216,13 @@
|
||||
line-height: 40rpx;
|
||||
padding-top: 10rpx;
|
||||
}
|
||||
.total-total{
|
||||
margin-top: 30rpx;
|
||||
border-top: solid 1px rgba(255, 255, 255, .7);
|
||||
font-size: 30rpx;
|
||||
line-height: 40rpx;
|
||||
padding-top: 30rpx;
|
||||
}
|
||||
}
|
||||
// 记录空
|
||||
.list-null{
|
||||
@@ -184,6 +235,35 @@
|
||||
.logs{
|
||||
padding: 30rpx;
|
||||
box-sizing: border-box;
|
||||
// 记录筛选
|
||||
.log-header{
|
||||
border-bottom: solid 1rpx #ddd;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 30rpx 0;
|
||||
.log-header-title{
|
||||
line-height: 70rpx;
|
||||
font-size: 30rpx;
|
||||
color: gray;
|
||||
color: $main-color;
|
||||
}
|
||||
.log-header-data{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
label{
|
||||
font-size: 30rpx;
|
||||
}
|
||||
.log-header-data-q{
|
||||
font-size: 24rpx;
|
||||
line-height: 30rpx;
|
||||
color: gray;
|
||||
.show{ color: $main-color; }
|
||||
}
|
||||
}
|
||||
}
|
||||
// 记录
|
||||
.log-item{
|
||||
background: white;
|
||||
padding: 10rpx 30rpx;
|
||||
|
||||
@@ -2,7 +2,11 @@
|
||||
<view class="content">
|
||||
<view class="block" v-if="banks.length > 0">
|
||||
<view class="bank">
|
||||
<view class="block-title">到账银行卡</view>
|
||||
<!-- <view class="block-title">到账<text>{{type == 1 ? '本人': '非本人'}}</text>银行卡</view> -->
|
||||
<view class="bank-tabs">
|
||||
<view class="item" :class="{'active': type == 1}" @click="onTypeTab(1)">本人银行卡</view>
|
||||
<view class="item" :class="{'active': type == 2}" @click="onTypeTab(2)">非本人银行卡</view>
|
||||
</view>
|
||||
<view class="bank-input">
|
||||
<label>开户银行</label>
|
||||
<picker class="banks-picker" :range="banks" range-key="name" :value="bankVal" @change="bankVal = $event.detail.value" :disabled="isDisabled" >
|
||||
@@ -19,9 +23,9 @@
|
||||
</view>
|
||||
<view class="bank-input">
|
||||
<label>持卡人姓名</label>
|
||||
<input type="text" placeholder="输入开户人真实姓名" maxlength="15" disabled v-model="name">
|
||||
<input type="text" placeholder="输入开户人真实姓名" maxlength="15" :disabled="isDisabled || type == 1" v-model="name">
|
||||
</view>
|
||||
<view class="bank-input">
|
||||
<view class="bank-input" v-if="type === 2">
|
||||
<label>身份证号</label>
|
||||
<input type="idcard" placeholder="输入开户人身份证号" maxlength="18" v-model="idcard" :disabled="isDisabled">
|
||||
</view>
|
||||
@@ -40,6 +44,8 @@
|
||||
<button class="cny-btn" :disabled="greater" @click="onSubmit">申请提现</button>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 提现提醒 -->
|
||||
<view class="withdraws-hint">后台提现管理时间 上午11:00-12:00 下午17:00-18:00</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -48,17 +54,22 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
type : 1,
|
||||
banks : [],
|
||||
bankVal : 0,
|
||||
bankNo : '',
|
||||
mobile : '',
|
||||
name : '',
|
||||
idcard : '',
|
||||
identity : {
|
||||
name : '',
|
||||
id_card_no : ''
|
||||
},
|
||||
amount : '',
|
||||
min : 0,
|
||||
rate : 0,
|
||||
balance : '0.00',
|
||||
isDisabled : false
|
||||
isDisabled : false,
|
||||
|
||||
};
|
||||
},
|
||||
@@ -73,29 +84,62 @@
|
||||
mask : true
|
||||
})
|
||||
withdrawsCreate().then(res => {
|
||||
let { bank, tax, min, balance, banks} = res;
|
||||
let bankIndex
|
||||
let { bank, tax, min, balance, banks, id_card, has_bank} = res;
|
||||
|
||||
this.rate = tax
|
||||
this.min = min
|
||||
this.balance = balance
|
||||
this.banks = [ { id: '', name: '请选择开户银行'}, ...banks ]
|
||||
this.name = bank.name
|
||||
if(bank.bank_no){
|
||||
bankIndex = this.banks.findIndex(val => val.name === bank.bank_name)
|
||||
this.identity = id_card
|
||||
this.type = bank.message_type
|
||||
this.isDisabled = has_bank
|
||||
|
||||
this.name = id_card.name
|
||||
this.idcard = id_card.id_card_no
|
||||
if(has_bank){
|
||||
let bankIndex = this.banks.findIndex(val => val.name === bank.bank_name)
|
||||
|
||||
this.bankNo = bank.bank_no
|
||||
this.mobile = bank.mobile
|
||||
this.bankVal = bankIndex >= 0 ? bankIndex : 0
|
||||
this.isDisabled = true
|
||||
}
|
||||
|
||||
uni.hideLoading()
|
||||
}).catch(err => {
|
||||
uni.showToast({
|
||||
title: err.message,
|
||||
icon : 'none'
|
||||
|
||||
console.log(err)
|
||||
|
||||
uni.showModal({
|
||||
content : err.message,
|
||||
showCancel : false,
|
||||
success : ModalRes => {
|
||||
if(ModalRes.confirm){
|
||||
this.$Router.back()
|
||||
}
|
||||
}
|
||||
})
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
onTypeTab(type){
|
||||
if(type == this.type) return
|
||||
if(this.isDisabled){
|
||||
uni.showToast({
|
||||
title: "银行卡信息已绑定,如需变更请联系系统管理员",
|
||||
icon : "none"
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
if(type == 1){
|
||||
this.name = this.identity.name
|
||||
this.idcard = this.identity.id_card_no
|
||||
}else{
|
||||
this.name = ''
|
||||
this.idcard = ''
|
||||
}
|
||||
this.type = type
|
||||
},
|
||||
onSubmit(){
|
||||
if(this.bankVal === 0){
|
||||
uni.showToast({
|
||||
@@ -114,6 +158,8 @@
|
||||
name : this.name,
|
||||
mobileNo : this.mobile,
|
||||
bank_no : this.bankNo,
|
||||
id_card : this.idcard,
|
||||
message_type: this.type,
|
||||
}).then(res => {
|
||||
uni.showModal({
|
||||
title : '提示',
|
||||
@@ -141,16 +187,40 @@
|
||||
.content{
|
||||
padding: 30rpx;
|
||||
}
|
||||
.withdraws-hint{
|
||||
padding: 30rpx;
|
||||
font-size: 30rpx;
|
||||
color: gray;
|
||||
}
|
||||
.block{
|
||||
background: white;
|
||||
.block-title{
|
||||
font-size: 30rpx;
|
||||
color: gray;
|
||||
line-height: 50rpx;
|
||||
text{
|
||||
color: $main-color;
|
||||
margin: 0 5rpx;
|
||||
}
|
||||
}
|
||||
.bank{
|
||||
background: #fdfdfd;
|
||||
padding: 50rpx;
|
||||
.bank-tabs{
|
||||
@extend .border-solid;
|
||||
margin-bottom: 30rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
line-height: 100rpx;
|
||||
.item{
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
font-size: 30rpx;
|
||||
&.active{
|
||||
color: $main-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
.bank-input{
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
<template>
|
||||
<view class="chat">
|
||||
<view class="chat-soll">
|
||||
<list>
|
||||
<cell v-for="(item, index) in 99" :key="index">消息{{index}}</cell>
|
||||
</list>
|
||||
<!-- <view class="chat-soll">
|
||||
<view v-for="(item, index) in 50" :key="index">{{item}}滚动的聊天记录</view>
|
||||
</view>
|
||||
<view class="chat-footer">
|
||||
@@ -16,7 +19,7 @@
|
||||
<image src="@/static/im/icon_00.png" mode="widthFix"></image>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -39,6 +39,26 @@
|
||||
</label>
|
||||
</radio-group>
|
||||
</view>
|
||||
<view class="deduction" v-if="(payMethod == 'wx' || payMethod == 'ali') && payType != 'free'">
|
||||
<view class="deduction-item">
|
||||
<view class="deduction-label">
|
||||
<view class="title">使用火力值抵扣</view>
|
||||
<view class="balance">余额:{{balance}}</view>
|
||||
</view>
|
||||
<u-switch
|
||||
activeColor="#446EFE"
|
||||
size="20"
|
||||
v-model="isDeduction"
|
||||
@change="onDeductionSwitch"
|
||||
></u-switch>
|
||||
</view>
|
||||
<view class="deduction-item" v-if="isDeduction">
|
||||
<view class="deduction-label">
|
||||
<view class="title">使用数量</view>
|
||||
</view>
|
||||
<input class="deduction-input" type="number" placeholder="输入火力值" v-model="deductionVal" @blur="blurDeductionVal">
|
||||
</view>
|
||||
</view>
|
||||
<!-- 确认支付 -->
|
||||
<view class="payBtn">
|
||||
<button size="default" @click="onPay">支付</button>
|
||||
@@ -49,6 +69,7 @@
|
||||
<script>
|
||||
import { info } from '@/apis/interfaces/order.js'
|
||||
import { coinPay, diffCoinPay, umsPay, umsState, diffUmsPay, umsFree, umsFreeInfo } from '@/apis/interfaces/pay.js'
|
||||
import mixin from 'uview-ui/libs/mixin/mixin';
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@@ -60,6 +81,9 @@
|
||||
payType : 'price',
|
||||
total : '0.00',
|
||||
orderNo : '',
|
||||
balance : 0,
|
||||
isDeduction : false,
|
||||
deductionVal: ''
|
||||
};
|
||||
},
|
||||
onShow() {
|
||||
@@ -109,6 +133,7 @@
|
||||
title: '获取订单信息...',
|
||||
mask : true
|
||||
})
|
||||
// 自由服务包订单信息
|
||||
if(this.$Route.query.paytype === 'free'){
|
||||
this.payMethod = "wx"
|
||||
umsFreeInfo(this.$Route.query.serviceId).then(res => {
|
||||
@@ -126,13 +151,15 @@
|
||||
})
|
||||
return
|
||||
}
|
||||
// 其他支付方式订单信息
|
||||
info(this.$Route.query.orderId).then(res => {
|
||||
let { total, order_no, business_order_id, diff_prices, diff } = res
|
||||
let { total, order_no, business_order_id, diff_prices, diff, score } = res
|
||||
this.orderId = business_order_id
|
||||
this.diffId = diff.business_order_diff_price_id
|
||||
this.payType = this.$Route.query.paytype
|
||||
this.total = this.payType === 'diff' ? diff_prices: total
|
||||
this.orderNo = order_no
|
||||
this.balance = score
|
||||
uni.hideLoading()
|
||||
}).catch(err => {
|
||||
uni.showToast({
|
||||
@@ -142,6 +169,18 @@
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
// 抵扣金额
|
||||
onDeductionSwitch(e){
|
||||
this.deductionVal = ''
|
||||
},
|
||||
// 抵扣金额
|
||||
blurDeductionVal(e){
|
||||
let { value } = e.target
|
||||
let maxVal = Math.min(this.balance, this.total)
|
||||
if(value > maxVal){
|
||||
this.deductionVal = maxVal
|
||||
}
|
||||
},
|
||||
// 支付方式
|
||||
onPay(){
|
||||
switch(this.payMethod){
|
||||
@@ -156,32 +195,38 @@
|
||||
})
|
||||
break;
|
||||
case 'wx':
|
||||
if(this.payType == 'price') this.onUmsPay('mp')
|
||||
if(this.payType == 'diff') this.onDiffUmsPay('mp')
|
||||
if(this.payType == 'price') this.onUmsPay('app')
|
||||
if(this.payType == 'diff') this.onDiffUmsPay('app')
|
||||
if(this.payType == 'free') this.onFreePay('mp')
|
||||
break;
|
||||
case 'ali':
|
||||
if(this.payType == 'price') this.onUmsPay('mp_alipay')
|
||||
if(this.payType == 'diff') this.onDiffUmsPay('mp_alipay')
|
||||
if(this.payType == 'price') this.onUmsPay('app_alipay')
|
||||
if(this.payType == 'diff') this.onDiffUmsPay('app_alipay')
|
||||
if(this.payType == 'free') this.onFreePay('mp_alipay')
|
||||
break;
|
||||
}
|
||||
},
|
||||
// 混合支付
|
||||
|
||||
// 银联三方支付
|
||||
onUmsPay(type){
|
||||
uni.showLoading({
|
||||
title: '加载中...',
|
||||
mask : true
|
||||
})
|
||||
umsPay(this.orderId, { type }).then(res => {
|
||||
umsPay(this.orderId, {
|
||||
type,
|
||||
use_fire: this.isDeduction ? 1 : 0,
|
||||
fire : this.deductionVal || 0,
|
||||
}).then(res => {
|
||||
uni.hideLoading()
|
||||
this.getState = true
|
||||
this.trade_id = res.trade_id
|
||||
switch (type){
|
||||
case 'mp':
|
||||
case 'app':
|
||||
this.onMiniWx()
|
||||
break;
|
||||
case 'mp_alipay':
|
||||
case 'app_alipay':
|
||||
plus.runtime.openURL(res.alipay)
|
||||
break;
|
||||
}
|
||||
@@ -198,15 +243,19 @@
|
||||
title: '加载中...',
|
||||
mask : true
|
||||
})
|
||||
diffUmsPay(this.diffId, {type}).then(res => {
|
||||
diffUmsPay(this.diffId, {
|
||||
type,
|
||||
use_fire: this.isDeduction ? 1 : 0,
|
||||
fire : this.deductionVal || 0
|
||||
}).then(res => {
|
||||
uni.hideLoading()
|
||||
this.getState = true
|
||||
this.trade_id = res.trade_id
|
||||
switch (type){
|
||||
case 'mp':
|
||||
case 'app':
|
||||
this.onMiniWx()
|
||||
break;
|
||||
case 'mp_alipay':
|
||||
case 'app_alipay':
|
||||
plus.runtime.openURL(res.alipay)
|
||||
break;
|
||||
}
|
||||
@@ -228,10 +277,10 @@
|
||||
this.getState = true
|
||||
this.trade_id = res.trade_id
|
||||
switch (type){
|
||||
case 'mp':
|
||||
case 'app':
|
||||
this.onMiniWx()
|
||||
break;
|
||||
case 'mp_alipay':
|
||||
case 'app_alipay':
|
||||
plus.runtime.openURL(res.alipay)
|
||||
break;
|
||||
}
|
||||
@@ -340,6 +389,33 @@
|
||||
color: gray;
|
||||
}
|
||||
}
|
||||
// 支付抵扣
|
||||
.deduction{
|
||||
background: white;
|
||||
border-radius: 20rpx;
|
||||
padding: 10rpx 30rpx;
|
||||
margin-top: 30rpx;
|
||||
.deduction-item{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 20rpx 0;
|
||||
.deduction-label{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
width: 300rpx;
|
||||
.title{ font-size: 32rpx; line-height: 40rpx; }
|
||||
.balance{ font-size: 26rpx; color: gray; line-height: 30rpx; margin-top: 5rpx; }
|
||||
}
|
||||
.deduction-input{
|
||||
height: 85rpx;
|
||||
width: calc(100% - 300rpx);
|
||||
text-align: right;
|
||||
font-size: 32rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
// 选择支付方式
|
||||
.choose{
|
||||
background-color: white;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<view class="content">
|
||||
<view class="content" v-if="!loding">
|
||||
<block v-if="!eSign">
|
||||
<!-- 上传身份证 -->
|
||||
<view class="identity-from">
|
||||
@@ -54,7 +54,7 @@
|
||||
<view class="identity-from" v-if="eSign">
|
||||
<view class="identity-inpus">
|
||||
<label>经营城市</label>
|
||||
<view class="identity-inpus-text">{{province}} {{city}}</view>
|
||||
<view class="identity-inpus-text">{{province}} {{city || '-'}}</view>
|
||||
<!-- <input type="text" placeholder="-" v-model="city" disabled> -->
|
||||
</view>
|
||||
</view>
|
||||
@@ -71,6 +71,7 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
loding : true,
|
||||
idCard : false,
|
||||
eSign : false,
|
||||
isPathChange: false,
|
||||
@@ -124,6 +125,7 @@
|
||||
let { id_card, e_sign } = res;
|
||||
this.idCard = id_card;
|
||||
this.eSign = e_sign;
|
||||
this.loding = false
|
||||
if(this.idCard){
|
||||
this.getInfo()
|
||||
return
|
||||
@@ -187,6 +189,7 @@
|
||||
showpath: res.back_card,
|
||||
path : res.back_card_path
|
||||
}
|
||||
|
||||
if(res.province.id != 0){
|
||||
this.province = res.province.name
|
||||
this.provincesVal = this.provinces.findIndex(val => val.id === res.province.id)
|
||||
|
||||
0
uni_modules/oct-im/changelog.md
Normal file
0
uni_modules/oct-im/changelog.md
Normal file
9
uni_modules/oct-im/components/oct-im/oct-im.vue
Normal file
9
uni_modules/oct-im/components/oct-im/oct-im.vue
Normal file
@@ -0,0 +1,9 @@
|
||||
<template>
|
||||
<list></list>
|
||||
</template>
|
||||
<script>
|
||||
|
||||
</script>
|
||||
<style>
|
||||
|
||||
</style>
|
||||
81
uni_modules/oct-im/package.json
Normal file
81
uni_modules/oct-im/package.json
Normal file
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"id": "oct-im",
|
||||
"displayName": "oct-im",
|
||||
"version": "1.0.0",
|
||||
"description": "oct-im",
|
||||
"keywords": [
|
||||
"oct-im"
|
||||
],
|
||||
"repository": "",
|
||||
"engines": {
|
||||
"HBuilderX": "^3.1.0"
|
||||
},
|
||||
"dcloudext": {
|
||||
"type": "component-vue",
|
||||
"sale": {
|
||||
"regular": {
|
||||
"price": "0.00"
|
||||
},
|
||||
"sourcecode": {
|
||||
"price": "0.00"
|
||||
}
|
||||
},
|
||||
"contact": {
|
||||
"qq": ""
|
||||
},
|
||||
"declaration": {
|
||||
"ads": "",
|
||||
"data": "",
|
||||
"permissions": ""
|
||||
},
|
||||
"npmurl": ""
|
||||
},
|
||||
"uni_modules": {
|
||||
"dependencies": [],
|
||||
"encrypt": [],
|
||||
"platforms": {
|
||||
"cloud": {
|
||||
"tcb": "u",
|
||||
"aliyun": "u"
|
||||
},
|
||||
"client": {
|
||||
"Vue": {
|
||||
"vue2": "u",
|
||||
"vue3": "u"
|
||||
},
|
||||
"App": {
|
||||
"app-vue": "u",
|
||||
"app-nvue": "u"
|
||||
},
|
||||
"H5-mobile": {
|
||||
"Safari": "u",
|
||||
"Android Browser": "u",
|
||||
"微信浏览器(Android)": "u",
|
||||
"QQ浏览器(Android)": "u"
|
||||
},
|
||||
"H5-pc": {
|
||||
"Chrome": "u",
|
||||
"IE": "u",
|
||||
"Edge": "u",
|
||||
"Firefox": "u",
|
||||
"Safari": "u"
|
||||
},
|
||||
"小程序": {
|
||||
"微信": "u",
|
||||
"阿里": "u",
|
||||
"百度": "u",
|
||||
"字节跳动": "u",
|
||||
"QQ": "u",
|
||||
"钉钉": "u",
|
||||
"快手": "u",
|
||||
"飞书": "u",
|
||||
"京东": "u"
|
||||
},
|
||||
"快应用": {
|
||||
"华为": "u",
|
||||
"联盟": "u"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
1
uni_modules/oct-im/readme.md
Normal file
1
uni_modules/oct-im/readme.md
Normal file
@@ -0,0 +1 @@
|
||||
# oct-im
|
||||
Reference in New Issue
Block a user