feat(靓号申请页): 同意操作新增二次确认弹窗

This commit is contained in:
hzj 2025-12-17 18:17:34 +08:00
parent 3bf37fc26e
commit b77d349a20

View File

@ -108,7 +108,7 @@
<el-button <el-button
type="text" type="text"
:disabled="scope.row.state != 0" :disabled="scope.row.state != 0"
@click.native="handleApply(scope.row.id, 1)" @click.native="showAgreeWindow(scope.row.id)"
>同意</el-button >同意</el-button
> >
<el-button <el-button
@ -136,6 +136,22 @@
@close="userDeatilsDrawerVisible = false" @close="userDeatilsDrawerVisible = false"
/> />
<el-dialog
title="是否同意该申请"
:visible="AgreeWindowVisible"
width="30%"
:before-close="handleClose"
>
<div
style="width: 100%;display: flex;justify-content: space-around;align-items: center;"
>
<el-button type="danger" @click="handleClose">取消</el-button>
<el-button type="primary" @click="handleApply(AgreeTargetID, 1)"
>同意</el-button
>
</div>
</el-dialog>
<!-- 驳回窗口 --> <!-- 驳回窗口 -->
<apply-handle <apply-handle
v-if="RejectWindowVisible" v-if="RejectWindowVisible"
@ -179,10 +195,12 @@ export default {
sysOrigin: "" sysOrigin: ""
}, },
listLoading: true, listLoading: true,
RejectWindowVisible: false, //
// id RejectWindowVisible: false, //
RejectTargetID: "" RejectTargetID: "", // id
AgreeWindowVisible: false, //
AgreeTargetID: "" // id
}; };
}, },
computed: { computed: {
@ -227,6 +245,7 @@ export default {
handleBeautifulNumberApplyState(id, state, remark) handleBeautifulNumberApplyState(id, state, remark)
.then(res => { .then(res => {
that.listLoading = false; that.listLoading = false;
that.handleClose(); //
that.$message({ that.$message({
message: "Successful", message: "Successful",
type: "success" type: "success"
@ -246,6 +265,21 @@ export default {
that.RejectWindowVisible = true; that.RejectWindowVisible = true;
}, },
//
showAgreeWindow(id) {
const that = this;
that.AgreeTargetID = id;
that.AgreeWindowVisible = true;
},
//
handleClose() {
const that = this;
that.AgreeTargetID = "";
that.AgreeWindowVisible = false;
},
// //
renderDataSuccess() { renderDataSuccess() {
const that = this; const that = this;