fix: H5功能测试问题大整改。

This commit is contained in:
tianyongbao
2024-07-19 14:36:01 +08:00
parent 6cff60c160
commit 7bc9c4acd5
56 changed files with 81 additions and 19 deletions

View File

@@ -1,7 +1,7 @@
// 应用全局配置
const config = {
// baseUrl: 'https://vue.ruoyi.vip/prod-api',
baseUrl: 'http://152.136.151.187:82/prod-api',
baseUrl: 'http://152.136.151.187:86/prod-api',
// baseUrl: 'http://localhost:8080',
//cloud后台网关地址
// baseUrl: 'http://192.168.10.3:8080',

View File

@@ -211,6 +211,7 @@
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -114,6 +114,7 @@
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -230,6 +230,7 @@
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -192,6 +192,7 @@
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -225,6 +225,7 @@
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -189,6 +189,7 @@
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -176,6 +176,7 @@
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -200,6 +200,7 @@ import { listBankcardLend } from '@/api/invest/bankcardlend'
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -188,6 +188,7 @@ import { listBankcardLend } from '@/api/invest/bankcardlend'
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -176,6 +176,7 @@ import { listBankcardLend } from '@/api/invest/bankcardlend'
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -211,6 +211,7 @@
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -177,6 +177,7 @@ import { listBankcardLend } from '@/api/invest/bankcardlend'
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -177,6 +177,7 @@ import { listBankcardLend } from '@/api/invest/bankcardlend'
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -189,6 +189,7 @@ import { listBankcardLend } from '@/api/invest/bankcardlend'
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -177,6 +177,7 @@ import { listBankcardLend } from '@/api/invest/bankcardlend'
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -177,6 +177,7 @@ import { listBankcardLend } from '@/api/invest/bankcardlend'
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -292,6 +292,7 @@ getDicts('daily_expenses').then(result => {
} else {
childCategoryShow.value = false
form.value.childCategory = form.value.dealCategory
form.value.childCategoryName = form.value.dealCategory
}
showDealCategory.value = false
}

View File

@@ -190,6 +190,7 @@ onLoad(() => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -96,6 +96,7 @@ onLoad(() => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -139,6 +139,7 @@ onLoad(() => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -169,6 +169,7 @@ onLoad(() => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -158,6 +158,7 @@ onLoad(() => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -159,6 +159,7 @@ onLoad(() => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -158,6 +158,7 @@ onLoad(() => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -156,6 +156,7 @@ onLoad(() => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -171,6 +171,7 @@ onLoad(() => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -44,6 +44,11 @@
<u--input v-model="form.availableLimit" placeholder="请填写可用额度"
inputAlign="right" border="none"></u--input>
</u-form-item>
<u-form-item label="账单日消费" required prop="isNextBillDateName" @click="handleShowIsNextBillDate">
<u--input v-model="form.isNextBillDateName" disabled disabledColor="#ffffff" placeholder="请选择账单日消费"
inputAlign="right" border="none"></u--input>
<u-icon slot="right" name="arrow-down"></u-icon>
</u-form-item>
<u-form-item label="信用卡安全码" prop="cvv" >
<u--input v-model="form.cvv" placeholder="请填写信用卡安全码"
inputAlign="right" border="none"></u--input>
@@ -65,11 +70,7 @@
<u--input v-model="form.effectiveDate" disabled disabledColor="#ffffff" placeholder="请选择有效期" inputAlign="right" border="none"></u--input>
<u-icon slot="right" name="arrow-right"></u-icon>
</u-form-item>
<u-form-item label="账单日消费" prop="isNextBillDateName" @click="handleShowIsNextBillDate">
<u--input v-model="form.isNextBillDateName" disabled disabledColor="#ffffff" placeholder="请选择账单日消费"
inputAlign="right" border="none"></u--input>
<u-icon slot="right" name="arrow-down"></u-icon>
</u-form-item>
<u-form-item label="账单日时间" prop="nextBillDateTime" >
<u--input v-model="form.nextBillDateTime" placeholder="请填写账单日时间"
inputAlign="right" border="none"></u--input>
@@ -162,6 +163,7 @@ const data = reactive({
statusName: [{ type: 'string', required: true, message: '账户状态不能为空', trigger: ['change', 'blur'] }],
creditLimit: [{ type: 'number', required: true, message: '信用卡额度不能为空', trigger: ['change', 'blur'] }],
balance: [{ type: 'number', required: true, message: '余额不能为空', trigger: ['change', 'blur'] }],
isNextBillDateName: [{ type: 'string', required: true, message: '账单日消费不能为空', trigger: ['change', 'blur'] }],
availableLimit: [{ type: 'number', required: true, message: '可用额度不能为空', trigger: ['change', 'blur'] }],
}
})
@@ -296,7 +298,7 @@ onLoad((option) => {
updateBankcardLend(form.value).then(res => {
proxy.$refs['uToast'].show({
message: '修改成功', complete() {
uni.navigateTo({ url: `/pages/work/base/creditCard/list` })
uni.navigateTo({ url: `/pages/work/base/creditCard/list?flag='addEdit'` })
}
})
})
@@ -304,7 +306,7 @@ onLoad((option) => {
addBankcardLend(form.value).then(res => {
proxy.$refs['uToast'].show({
message: '新增成功', complete() {
uni.navigateTo({ url: `/pages/work/base/creditCard/list` })
uni.navigateTo({ url: `/pages/work/base/creditCard/list?flag='addEdit'` })
}
})
})

View File

@@ -84,6 +84,7 @@ const isZeroBillList = ref([])
const statusList = ref([])
const settingPickShow = ref(false)
const settingColumns = ref([])
const flag = ref('list')
const data = reactive({
filterPanel: false,
queryParams: {
@@ -102,6 +103,7 @@ onLoad(() => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -106,6 +106,7 @@ onLoad(() => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -20,6 +20,10 @@
<u--input v-model="form.code" placeholder="请填写账号"
inputAlign="right" border="none"></u--input>
</u-form-item>
<u-form-item label="余额" required prop="balance" >
<u--input v-model="form.balance" placeholder="请填写余额"
inputAlign="right" border="none"></u--input>
</u-form-item>
<u-form-item label="账户状态" required prop="statusName" @click="handleShowStatus">
<u--input v-model="form.statusName" disabled disabledColor="#ffffff" placeholder="请选择账户状态"
inputAlign="right" border="none"></u--input>
@@ -113,6 +117,8 @@ const data = reactive({
fundPassword: null,
commission: null,
bond: null,
balance: null,
availableLimit: null,
debitCard: null,
activationDate: null,
createBy: null,
@@ -134,6 +140,7 @@ const data = reactive({
rules: {
name: [{ type: 'string', required: true, message: '期货账户名称不能为空', trigger: ['change', 'blur'] }],
code: [{ type: 'string', required: true, message: '账号不能为空', trigger: ['change', 'blur'] }],
balance: [{ type: 'number', required: true, message: '余额不能为空', trigger: ['change', 'blur'] }],
statusName: [{ type: 'string', required: true, message: '账户状态不能为空', trigger: ['change', 'blur'] }],
}
})

View File

@@ -93,6 +93,7 @@ onLoad(() => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -33,10 +33,10 @@
<u--input v-model="form.balance" placeholder="请填写余额"
inputAlign="right" border="none"></u--input>
</u-form-item>
<u-form-item label="可用额度" prop="availableLimit" >
<!-- <u-form-item label="可用额度" prop="availableLimit" >
<u--input v-model="form.availableLimit" placeholder="请填写可用额度"
inputAlign="right" border="none"></u--input>
</u-form-item>
</u-form-item> -->
<u-form-item label="备注" prop="remark" labelPosition="top">
<u--textarea v-model="form.remark" placeholder="请填写备注" border="none" autoHeight inputAlign="right" count
maxlength="20000" style="padding:18rpx 0;"></u--textarea>

View File

@@ -93,6 +93,7 @@ onLoad(() => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -90,6 +90,7 @@ onLoad(() => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -20,6 +20,10 @@
<u--input v-model="form.code" placeholder="请填写账号"
inputAlign="right" border="none"></u--input>
</u-form-item>
<u-form-item label="余额" required prop="balance" >
<u--input v-model="form.balance" placeholder="请填写余额"
inputAlign="right" border="none"></u--input>
</u-form-item>
<u-form-item label="账户状态" required prop="statusName" @click="handleShowStatus">
<u--input v-model="form.statusName" disabled disabledColor="#ffffff" placeholder="请选择账户状态"
inputAlign="right" border="none"></u--input>
@@ -96,6 +100,8 @@ const data = reactive({
tradingCenterPassword: null,
fundPassword: null,
commission: null,
balance: null,
availableLimit: null,
bond: null,
debitCard: null,
activationDate: null,
@@ -118,6 +124,7 @@ const data = reactive({
rules: {
name: [{ type: 'string', required: true, message: '股票账户名称不能为空', trigger: ['change', 'blur'] }],
code: [{ type: 'string', required: true, message: '账号不能为空', trigger: ['change', 'blur'] }],
balance: [{ type: 'number', required: true, message: '余额不能为空', trigger: ['change', 'blur'] }],
statusName: [{ type: 'string', required: true, message: '账户状态不能为空', trigger: ['change', 'blur'] }],
}
})

View File

@@ -85,6 +85,7 @@ onLoad(() => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -29,7 +29,7 @@
inputAlign="right" border="none"></u--input>
<u-icon slot="right" name="arrow-down"></u-icon>
</u-form-item>
<u-form-item label="备注" prop="remark" required labelPosition="top">
<u-form-item label="备注" prop="remark" labelPosition="top">
<u--textarea v-model="form.remark" placeholder="请填写备注" border="none" autoHeight inputAlign="right" count
maxlength="20000" style="padding:18rpx 0;"></u--textarea>
</u-form-item>
@@ -183,7 +183,7 @@ onLoad((option) => {
proxy.$refs['createTimeRef'].innerValue = new Date().getTime()
}
function datePickConfirm(e) {
form.value.createTime = dayjs(e.value).format("YYYY-MM-DD")
form.value.billDate = dayjs(e.value).format("YYYY-MM-DD")
datePickShow.value = false
}
function submit() {

View File

@@ -127,6 +127,7 @@ onLoad((option) => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -112,6 +112,7 @@ onLoad(() => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -250,7 +250,7 @@ onLoad((option) => {
updateInstallmentHistory(form.value).then(res => {
proxy.$refs['uToast'].show({
message: '修改成功', complete() {
uni.navigateTo({ url: `/pages/work/bill/onlineLendHistory/list` })
uni.navigateTo({ url: `/pages/work/bill/creditInstallmentHistory/list` })
}
})
})
@@ -258,7 +258,7 @@ onLoad((option) => {
addInstallmentHistory(form.value).then(res => {
proxy.$refs['uToast'].show({
message: '新增成功', complete() {
uni.navigateTo({ url: `/pages/work/bill/onlineLendHistory/list` })
uni.navigateTo({ url: `/pages/work/bill/creditInstallmentHistory/list` })
}
})
})

View File

@@ -95,6 +95,7 @@ onLoad((option) => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -148,6 +148,7 @@ onLoad(() => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -24,7 +24,7 @@
<u--input v-model="form.queryDate" disabled disabledColor="#ffffff" placeholder="请选择查询日期" inputAlign="right" border="none"></u--input>
<u-icon slot="right" name="arrow-right"></u-icon>
</u-form-item>
<u-form-item label="备注" prop="remark" required labelPosition="top">
<u-form-item label="备注" prop="remark" labelPosition="top">
<u--textarea v-model="form.remark" placeholder="请填写备注" border="none" autoHeight inputAlign="right" count
maxlength="20000" style="padding:18rpx 0;"></u--textarea>
</u-form-item>

View File

@@ -108,6 +108,7 @@ onLoad(() => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -152,7 +152,7 @@ onLoad((option) => {
proxy.$refs['createTimeRef'].innerValue = new Date().getTime()
}
function datePickConfirm(e) {
form.value.createTime = dayjs(e.value).format("YYYY-MM-DD")
form.value.billDate = dayjs(e.value).format("YYYY-MM-DD")
datePickShow.value = false
}
function submit() {

View File

@@ -127,6 +127,7 @@ onLoad((option) => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -87,6 +87,7 @@ onLoad(() => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -95,6 +95,7 @@ onLoad((option) => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -148,6 +148,7 @@ onLoad(() => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -226,7 +226,7 @@ onLoad((option) => {
updateInstallmentHistory(form.value).then(res => {
proxy.$refs['uToast'].show({
message: '修改成功', complete() {
uni.navigateTo({ url: `/pages/work/bill/onlineLendHistory/list` })
uni.navigateTo({ url: `/pages/work/bill/peopleLendHistory/list` })
}
})
})
@@ -234,7 +234,7 @@ onLoad((option) => {
addInstallmentHistory(form.value).then(res => {
proxy.$refs['uToast'].show({
message: '新增成功', complete() {
uni.navigateTo({ url: `/pages/work/bill/onlineLendHistory/list` })
uni.navigateTo({ url: `/pages/work/bill/peopleLendHistory/list` })
}
})
})

View File

@@ -116,6 +116,7 @@ onLoad(() => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -152,7 +152,7 @@ onLoad((option) => {
proxy.$refs['createTimeRef'].innerValue = new Date().getTime()
}
function datePickConfirm(e) {
form.value.createTime = dayjs(e.value).format("YYYY-MM-DD")
form.value.billDate = dayjs(e.value).format("YYYY-MM-DD")
datePickShow.value = false
}
function submit() {

View File

@@ -127,6 +127,7 @@ onLoad((option) => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -87,6 +87,7 @@ onLoad(() => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -92,6 +92,7 @@ onLoad(() => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}