flx:提交测试配置

This commit is contained in:
Rain_ 2025-06-27 18:27:59 +08:00
parent 5fa563818d
commit 0f3d02b179
2 changed files with 6 additions and 5 deletions

View File

@ -214,7 +214,7 @@
}, },
"router" : { "router" : {
"mode" : "hash", "mode" : "hash",
"base" : "/zjsjAPP/" "base" : "/app/"
}, },
"optimization" : { "optimization" : {
"treeShaking" : { "treeShaking" : {

View File

@ -11,9 +11,9 @@
</view> </view>
<view class="search-box" :style="{paddingTop: mobileTopHeight + 44 + 'px'}"> <view class="search-box" :style="{paddingTop: mobileTopHeight + 44 + 'px'}">
<view class="uni-form-item"> <view class="uni-form-item">
<input class="uni-input" name="searchName" @input="handleInput" v-model="searchName" <input class="uni-input" name="searchName" v-model="searchName"
placeholder="请搜索名称" /> placeholder="请搜索名称" />
<view class="search-btn"> <view class="search-btn" @click="loadData">
搜索 搜索
</view> </view>
</view> </view>
@ -52,8 +52,8 @@
mode=""></image> mode=""></image>
<image v-else src="/static/staffAttendance/attendance-bg2.png" mode=""></image> <image v-else src="/static/staffAttendance/attendance-bg2.png" mode=""></image>
<view> <view>
<view>{{item.teamName}}</view> <view>{{item.teamName ? item.teamName : '--'}}</view>
<view>{{item.enterpriseName}}</view> <view>{{item.enterpriseName ? item.enterpriseName : '--'}}</view>
</view> </view>
</view> </view>
</view> </view>
@ -196,6 +196,7 @@
pageNo: this.pageNo, pageNo: this.pageNo,
pageSize: this.pageSize, pageSize: this.pageSize,
projectSn: this.projectDetail.projectSn, projectSn: this.projectDetail.projectSn,
workerName: this.searchName,
...this.searchInfo, ...this.searchInfo,
} }
if (this.searchInfo.enterDate) { if (this.searchInfo.enterDate) {