代码更新

This commit is contained in:
GaoHao
2025-03-10 09:14:57 +08:00
parent 4f65b08c06
commit 490c513f48
48 changed files with 1162 additions and 537 deletions

View File

@@ -4,9 +4,6 @@
<text>{{pageData.title}}</text>
<up-icon name="arrow-down-fill" size="12" style="margin-left: 12rpx;"></up-icon>
</view>
<!-- <view class="input">
<input v-model="pageData.query.keywords" @input="inputEvent" type="text" placeholder="搜索挂账人或者手机号" />
</view> -->
<view class="input">
<up-input
shape='circle'
@@ -82,25 +79,15 @@
</template>
<script setup>
import { ref, reactive, computed } from 'vue';
import { onShow, onReachBottom } from '@dcloudio/uni-app'
import myRepayment from './components/my-repayment';
import color from '@/commons/color.js';
import {
ref,
reactive,
computed
} from 'vue';
import {
onShow
} from '@dcloudio/uni-app'
import go from '@/commons/utils/go.js';
import {
hasPermission
} from '@/commons/utils/hasPermission.js';
import {
getCreditBuyerList,
editCreditBuyer,
delCreditBuyer
} from '@/http/yskApi/credit.js';
import { hasPermission } from '@/commons/utils/hasPermission.js';
import { getCreditBuyerPage,editCreditBuyer,delCreditBuyer } from '@/api/buyer.js';
let pageData = reactive({
showStatus: false,
@@ -141,15 +128,14 @@
* 获取挂账人列表
*/
async function getList() {
getCreditBuyerList({
shopId: uni.getStorageSync("shopId"),
repaymentStatus: pageData.query.repaymentStatus,
getCreditBuyerPage({
keywords: pageData.query.keywords,
repaymentStatus: pageData.query.repaymentStatus,
size: pageData.query.size,
page: pageData.query.page
}).then(res => {
pageData.list = res.content
pageData.totalElements = res.totalElements
pageData.list = res.records
pageData.totalElements = res.totalRow
})
}
@@ -294,6 +280,7 @@
background-color: #fff;
>view{
margin-bottom: 16rpx;
margin-top: 16rpx;
}
}
.debtor{