feat(靓号申请页): 同意操作新增二次确认弹窗
This commit is contained in:
parent
3bf37fc26e
commit
b77d349a20
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user