数据页面修改

This commit is contained in:
王兴凯 2026-04-30 15:24:04 +08:00
commit 2103fdb502
3 changed files with 15 additions and 10 deletions

View File

@ -446,7 +446,10 @@ const handleSendSms = async () => {
} }
try { try {
await sendSmsCode(registerData.phone, 1); // type=1 const res:any = await sendSmsCode(registerData.phone, 1); // type=1
if (res.code == 1) {
return;
}
message.success("验证码已发送"); message.success("验证码已发送");
// 60 // 60

View File

@ -3,7 +3,7 @@
<!-- 搜索区域组件具体 props 需根据实际子组件调整 --> <!-- 搜索区域组件具体 props 需根据实际子组件调整 -->
<GuoYuSheShiShuJuTianBaoSearch @search-finish="handleSearchFinish" @reset="handleReset" /> <GuoYuSheShiShuJuTianBaoSearch @search-finish="handleSearchFinish" @reset="handleReset" />
<!-- 主表格 --> <!-- 主表格 -->
<BasicTable ref="tableRef" :columns="columns" :list-url="queryPageList" :search-params="{}"> <BasicTable ref="tableRef" :columns="columns" :list-url="queryPageList" :search-params="{}" :scroll-y="500" >
<!-- 使用 bodyCell 插槽自定义单元格渲染 --> <!-- 使用 bodyCell 插槽自定义单元格渲染 -->
<template #bodyCell="{ column, record }"> <template #bodyCell="{ column, record }">
<template v-if="column.key === 'action' || column.dataIndex === 'action'"> <template v-if="column.key === 'action' || column.dataIndex === 'action'">
@ -27,7 +27,7 @@
<div class="approval-log-modal-content"> <div class="approval-log-modal-content">
<ApprovalLogSearch :action-type-dict="actionTypeDict" @search-finish="handleApprovalLogSearch" <ApprovalLogSearch :action-type-dict="actionTypeDict" @search-finish="handleApprovalLogSearch"
@reset="handleApprovalLogReset" /> @reset="handleApprovalLogReset" />
<BasicTable ref="approvalLogTableRef" :columns="approvalLogColumns" :list-url="getApprovalLogList"> <BasicTable ref="approvalLogTableRef" :columns="approvalLogColumns" :list-url="getApprovalLogList" :scroll-y="500" >
<template #bodyCell="{ column, record }"> <template #bodyCell="{ column, record }">
<template v-if="column.dataIndex === 'action'"> <template v-if="column.dataIndex === 'action'">
{{ handName(record.action, actionTypeDict) }} {{ handName(record.action, actionTypeDict) }}
@ -42,7 +42,7 @@
<div class="change-log-modal-content"> <div class="change-log-modal-content">
<ChangeLogSearch :operation-type-dict="operationTypeDict" @search-finish="handleChangeLogSearch" <ChangeLogSearch :operation-type-dict="operationTypeDict" @search-finish="handleChangeLogSearch"
@reset="handleChangeLogReset" /> @reset="handleChangeLogReset" />
<BasicTable ref="changeLogTableRef" :columns="changeLogColumns" :list-url="getApprovalChangeLogList"> <BasicTable ref="changeLogTableRef" :columns="changeLogColumns" :list-url="getApprovalChangeLogList" :scroll-y="500" >
<template #bodyCell="{ column, record }"> <template #bodyCell="{ column, record }">
<template v-if="column.dataIndex === 'operationType'"> <template v-if="column.dataIndex === 'operationType'">
{{ handName(record.operationType, operationTypeDict) }} {{ handName(record.operationType, operationTypeDict) }}

View File

@ -969,8 +969,8 @@ function handleClearSelection() {
<img v-if="scope.row.regStatus == 'PENDING'" src="@/assets/MenuIcon/lbcz_xg.png" alt="" <img v-if="scope.row.regStatus == 'PENDING'" src="@/assets/MenuIcon/lbcz_xg.png" alt=""
title="修改" @click="editdepartment(scope.row)" style="cursor: pointer;"> title="修改" @click="editdepartment(scope.row)" style="cursor: pointer;">
<!-- frontend/src/assets/components/fish.png --> <!-- frontend/src/assets/components/fish.png -->
<img v-if="scope.row.regStatus == 'PENDING'" src="@/assets/components/fish.png" alt="" <img src="@/assets/components/fish.png" alt="" title="过鱼设施权限维护"
title="过鱼设施权限维护" @click="openFishway(scope.row)" style="cursor: pointer;"> @click="openFishway(scope.row)" style="cursor: pointer;">
<img v-if="scope.row.regStatus == 'PENDING'" src="@/assets/components/shenpitongguo.png" <img v-if="scope.row.regStatus == 'PENDING'" src="@/assets/components/shenpitongguo.png"
alt="" title="审批通过" @click="handleAuditPass(scope.row)" style="cursor: pointer;"> alt="" title="审批通过" @click="handleAuditPass(scope.row)" style="cursor: pointer;">
<img v-if="scope.row.regStatus == 'PENDING'" src="@/assets/components/shenpibohui.png" <img v-if="scope.row.regStatus == 'PENDING'" src="@/assets/components/shenpibohui.png"
@ -1085,8 +1085,9 @@ function handleClearSelection() {
</el-dialog> </el-dialog>
<!-- 审批意见对话框 --> <!-- 审批意见对话框 -->
<el-dialog v-model="auditDialogVisible" :close-on-click-modal="false" :title="auditType === 'APPROVED' ? '审批通过' : '审批驳回'" width="500px" <el-dialog v-model="auditDialogVisible" :close-on-click-modal="false"
append-to-body :before-close="handleAuditClose"> :title="auditType === 'APPROVED' ? '审批通过' : '审批驳回'" width="500px" append-to-body
:before-close="handleAuditClose">
<el-form ref="auditFormRef" :model="auditForm" :rules="auditRules" label-width="80px"> <el-form ref="auditFormRef" :model="auditForm" :rules="auditRules" label-width="80px">
<el-form-item label="审批意见" prop="commentInfo"> <el-form-item label="审批意见" prop="commentInfo">
<el-input v-model="auditForm.commentInfo" type="textarea" :rows="4" placeholder="请输入审批意见" <el-input v-model="auditForm.commentInfo" type="textarea" :rows="4" placeholder="请输入审批意见"
@ -1101,7 +1102,8 @@ function handleClearSelection() {
</template> </template>
</el-dialog> </el-dialog>
<!-- 重置密码后的回显 --> <!-- 重置密码后的回显 -->
<el-dialog v-model="resultPawss" :close-on-click-modal="false" title="重置成功" width="500px" append-to-body :before-close="closeResult"> <el-dialog v-model="resultPawss" :close-on-click-modal="false" title="重置成功" width="500px" append-to-body
:before-close="closeResult">
已将密码重置为<span style="color: #409eff;font-size: 16px;">{{ msgText }}</span> 已将密码重置为<span style="color: #409eff;font-size: 16px;">{{ msgText }}</span>
<template #footer> <template #footer>
<span class="dialog-footer"> <span class="dialog-footer">