数据页面修改
This commit is contained in:
commit
2103fdb502
@ -446,7 +446,10 @@ const handleSendSms = async () => {
|
||||
}
|
||||
|
||||
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("验证码已发送");
|
||||
|
||||
// 启动60秒倒计时
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<!-- 搜索区域组件,具体 props 需根据实际子组件调整 -->
|
||||
<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 插槽自定义单元格渲染 -->
|
||||
<template #bodyCell="{ column, record }">
|
||||
<template v-if="column.key === 'action' || column.dataIndex === 'action'">
|
||||
@ -27,7 +27,7 @@
|
||||
<div class="approval-log-modal-content">
|
||||
<ApprovalLogSearch :action-type-dict="actionTypeDict" @search-finish="handleApprovalLogSearch"
|
||||
@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 v-if="column.dataIndex === 'action'">
|
||||
{{ handName(record.action, actionTypeDict) }}
|
||||
@ -42,7 +42,7 @@
|
||||
<div class="change-log-modal-content">
|
||||
<ChangeLogSearch :operation-type-dict="operationTypeDict" @search-finish="handleChangeLogSearch"
|
||||
@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 v-if="column.dataIndex === 'operationType'">
|
||||
{{ handName(record.operationType, operationTypeDict) }}
|
||||
|
||||
@ -969,8 +969,8 @@ function handleClearSelection() {
|
||||
<img v-if="scope.row.regStatus == 'PENDING'" src="@/assets/MenuIcon/lbcz_xg.png" alt=""
|
||||
title="修改" @click="editdepartment(scope.row)" style="cursor: pointer;">
|
||||
<!-- frontend/src/assets/components/fish.png -->
|
||||
<img v-if="scope.row.regStatus == 'PENDING'" src="@/assets/components/fish.png" alt=""
|
||||
title="过鱼设施权限维护" @click="openFishway(scope.row)" style="cursor: pointer;">
|
||||
<img src="@/assets/components/fish.png" alt="" title="过鱼设施权限维护"
|
||||
@click="openFishway(scope.row)" style="cursor: pointer;">
|
||||
<img v-if="scope.row.regStatus == 'PENDING'" src="@/assets/components/shenpitongguo.png"
|
||||
alt="" title="审批通过" @click="handleAuditPass(scope.row)" style="cursor: pointer;">
|
||||
<img v-if="scope.row.regStatus == 'PENDING'" src="@/assets/components/shenpibohui.png"
|
||||
@ -1085,8 +1085,9 @@ function handleClearSelection() {
|
||||
</el-dialog>
|
||||
|
||||
<!-- 审批意见对话框 -->
|
||||
<el-dialog v-model="auditDialogVisible" :close-on-click-modal="false" :title="auditType === 'APPROVED' ? '审批通过' : '审批驳回'" width="500px"
|
||||
append-to-body :before-close="handleAuditClose">
|
||||
<el-dialog v-model="auditDialogVisible" :close-on-click-modal="false"
|
||||
:title="auditType === 'APPROVED' ? '审批通过' : '审批驳回'" width="500px" append-to-body
|
||||
:before-close="handleAuditClose">
|
||||
<el-form ref="auditFormRef" :model="auditForm" :rules="auditRules" label-width="80px">
|
||||
<el-form-item label="审批意见" prop="commentInfo">
|
||||
<el-input v-model="auditForm.commentInfo" type="textarea" :rows="4" placeholder="请输入审批意见"
|
||||
@ -1101,7 +1102,8 @@ function handleClearSelection() {
|
||||
</template>
|
||||
</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>
|
||||
<template #footer>
|
||||
<span class="dialog-footer">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user