tapd相关修改更新

This commit is contained in:
GaoHao
2025-03-19 18:19:34 +08:00
parent 994cf8bf2b
commit f01bc839f7
53 changed files with 1084 additions and 1032 deletions

View File

@@ -84,7 +84,7 @@
function toOrder(){
go.to('PAGES_ORDER_INDEX',{
userId:props.data.id||'',
userId: props.data.userId||'',
type:'user'
})
}

View File

@@ -130,7 +130,7 @@
</view>
<view class="">
<input type="number" v-model="datas.form.money" placeholder="请输入金额" />
<input type="digit" v-model="datas.form.money" @change="datas.form.money = $utils.isPrice(datas.form.money)" placeholder="请输入金额" />
<view class="">
</view>
@@ -150,7 +150,6 @@
import { shopUserSummary, shopUserList,shopUserMoney } from '@/http/api/shopUser.js'
import { onShow } from '@dcloudio/uni-app';
import { midfiyAccount } from '@/http/yskApi/requestAll.js';
import { onReachBottom } from '@dcloudio/uni-app';
import { hasPermission } from '@/commons/utils/hasPermission.js';
@@ -231,7 +230,9 @@
* @param {Object} i
*/
function tabsChange(i) {
pageData.query.isVip = pageData.tabsList[i].value
pageData.userList = [];
pageData.query.page = 1;
pageData.query.isVip = pageData.tabsList[i].value;
getUser()
getAllShopInfo()
}
@@ -239,7 +240,7 @@
* 搜索
*/
function searchFunc() {
pageData.query.page = 1
pageData.query.page = 1;
getUser()
getAllShopInfo()
}
@@ -312,6 +313,13 @@
* 修改余额确定
*/
let callTabletakeNumberEvent = async () => {
if( datas.form.money == ''){
uni.showToast({
title: '请输入增减金额',
icon: 'none'
})
return;
}
let res = await shopUserMoney({
id: datas.activeUser.id,
...datas.form