完成单位管理的接口

This commit is contained in:
2025-09-08 12:06:02 +08:00
parent fd7093e613
commit d061b4d470
4 changed files with 118 additions and 97 deletions

View File

@@ -23,21 +23,21 @@
<text class="name">{{ item.userName }}</text>
<image
class="gender-icon"
:src="item.gender === '1' ? '/static/ic_man.png' : '/static/ic_women.png'"
:src="item.gender === 1 ? '/static/ic_man.png' : '/static/ic_women.png'"
/>
<text class="phone">{{ item.phone }}</text>
</view>
<text class="time">{{ item.applyTime }}</text>
<text class="time">{{ item.createTime }}</text>
</view>
<!-- 审核状态 - 精确贴合右上角 -->
<view class="status-badge"
:class="{
'status-pending': item.status === '1',
'status-processed': item.status === '2'
'status-pending': item.isAuditState === 1,
'status-processed': item.isAuditState === 2
}">
{{ item.status === '1' ? "待处理" : "已处理" }}
{{ item.isAuditState === 1 ? "待处理" : "已处理" }}
</view>
</view>
@@ -86,7 +86,6 @@ export default {
let res = await this.$u.api.unit.queryEmployee({
pageNum: this.pageNum,
pageSize: this.pageSize,
isAudit:2
});
if (res.code == "200") {
let rows = res.rows || [];