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
type="text"
:disabled="scope.row.state != 0"
@click.native="handleApply(scope.row.id, 1)"
@click.native="showAgreeWindow(scope.row.id)"
>同意</el-button
>
<el-button
@ -136,6 +136,22 @@
@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
v-if="RejectWindowVisible"
@ -179,10 +195,12 @@ export default {
sysOrigin: ""
},
listLoading: true,
RejectWindowVisible: false, //
// id
RejectTargetID: ""
RejectWindowVisible: false, //
RejectTargetID: "", // id
AgreeWindowVisible: false, //
AgreeTargetID: "" // id
};
},
computed: {
@ -227,6 +245,7 @@ export default {
handleBeautifulNumberApplyState(id, state, remark)
.then(res => {
that.listLoading = false;
that.handleClose(); //
that.$message({
message: "Successful",
type: "success"
@ -246,6 +265,21 @@ export default {
that.RejectWindowVisible = true;
},
//
showAgreeWindow(id) {
const that = this;
that.AgreeTargetID = id;
that.AgreeWindowVisible = true;
},
//
handleClose() {
const that = this;
that.AgreeTargetID = "";
that.AgreeWindowVisible = false;
},
//
renderDataSuccess() {
const that = this;