提交代码

This commit is contained in:
zlwu committed 2025-08-11 10:53:47 +08:00
1 parent ed9826f92b
commit d634846222
6 files changed
+867 -20

No files matched your search

+2 -2
View File
@@ -599,7 +599,7 @@ export default {
<style scoped>
.file-upload-container {
width: 90%;
width: 100%;
text-align: left;
}
@@ -640,7 +640,7 @@ export default {
border: 1rpx solid #dcdfe6;
border-radius: 8rpx;
overflow: hidden;
max-height: 400rpx;
max-height: 250rpx;
overflow-y: auto;
}
@@ -3,11 +3,11 @@
<u-popup
:show="visible"
mode="center"
width="85%"
width="100%"
height="90%"
border-radius="12"
@close="cancel"
:custom-style="{ width: '80vw' }"
:custom-style="{ width: '90vw' }"
>
<view class="submit-verify-container">
<view class="header">
@@ -198,7 +198,7 @@
>
退回
</u-button>
<u-button type="info" @click="cancel" class="action-btn">取消</u-button>
<!-- <u-button type="info" @click="cancel" class="action-btn">取消</u-button> -->
</view>
</view>
</view>
@@ -245,10 +245,11 @@
<u-popup
:show="backVisible"
mode="center"
width="90%"
width="80%"
height="70%"
border-radius="12"
@close="backVisible = false"
:custom-style="{ width: '90vw' }"
>
<view class="back-container">
<view class="header">
@@ -1109,6 +1110,7 @@ export default {
.content {
flex: 1;
padding: 30rpx;
width: 90% !important;
}
.form-item {
+14 -13
View File
@@ -1,11 +1,12 @@
<template>
<u-popup
v-model="visible"
:show="visible"
mode="center"
width="95%"
height="85%"
border-radius="12"
@close="close"
:custom-style="{ width: '90vw' }"
>
<view class="user-select-container">
<!-- 标题栏 -->
@@ -40,7 +41,7 @@
</view>
<!-- 部门选择 -->
<view class="dept-section">
<!-- <view class="dept-section">
<u-subsection
:list="deptList"
v-model="currentDeptIndex"
@@ -48,10 +49,10 @@
activeColor="#2979ff"
fontSize="28rpx"
/>
</view>
</view> -->
<!-- 用户列表 -->
<view class="user-list">
<scroll-view class="user-list" scroll-y="true" @scrolltolower="loadMore">
<u-loading-page
v-if="loading"
loading-text="正在加载用户列表..."
@@ -89,12 +90,12 @@
</view>
</template>
</template>
</view>
</scroll-view>
<!-- 分页加载 -->
<view v-if="!loading && userList.length > 0" class="load-more">
<u-loadmore :status="loadStatus" @loadmore="loadMore" color="#2979ff" />
</view>
<!-- 分页加载提示 -->
<!-- <view v-if="!loading && userList.length > 0" class="load-more">
<u-loadmore :status="loadStatus" color="#2979ff" />
</view> -->
<!-- 底部操作按钮 -->
<view class="footer">
@@ -193,7 +194,7 @@ export default {
async getDeptList() {
try {
const response = await request({
url: '/system/dept/treeselect',
url: '/system/user/deptTree',
method: 'GET',
});
@@ -294,7 +295,7 @@ export default {
// 加载更多
loadMore() {
if (this.loadStatus === 'loadmore') {
if (this.loadStatus === 'loadmore' && !this.loading) {
this.queryParams.pageNum++;
this.getUserList(true);
}
@@ -457,9 +458,9 @@ export default {
}
.user-list {
flex: 1;
overflow-y: auto;
height: 600rpx; /* 固定高度 */
padding: 0 30rpx;
width: 90% !important;
}
.empty-data {