| | |
| | | <template> |
| | | <GlobalWindow :title="title" :visible.sync="isShowModal" @confirm="confirm"> |
| | | <GlobalWindow :title="title" :visible.sync="isShowModal" @close="close" @confirm="confirm"> |
| | | <div class="modal_wrap"> |
| | | <div class="modal_content"> |
| | | <div class="header"> |
| | |
| | | <div class="right" :class="{ scs: info.status == '2' || info.status == '5', msg: info.status == '3' || info.status == '6' }">{{ statusMap[info.status] }}</div> |
| | | </div> |
| | | <div class="info"> |
| | | <div class="title">公务车申请信息</div> |
| | | <div class="title">物流车预约信息</div> |
| | | <div class="list"> |
| | | <div class="item"> |
| | | <div class="label">申请人</div> |
| | |
| | | info.approveDateVO.canBeApproved != null && |
| | | info.approveDateVO.canBeApproved == 1 |
| | | ">拒绝</el-button> |
| | | <el-button @click="isShowModal = false">返回</el-button> |
| | | <el-button @click="close">返回</el-button> |
| | | </template> |
| | | <!-- 同意/拒绝 --> |
| | | <el-dialog append-to-body :title="apprTitle" :visible.sync="isShowAppr" width="480px"> |
| | |
| | | this.subLoading = false |
| | | this.$tip.apiSuccess('处理成功') |
| | | this.getDetail() |
| | | this.$emit('success') |
| | | this.$emit('close') |
| | | this.isShowAppr = false |
| | | }) |
| | | .finally(() => { |
| | |
| | | } |
| | | }) |
| | | }, |
| | | close(){ |
| | | this.isShowModal = false |
| | | this.$emit('close') |
| | | }, |
| | | handleAppr(val) { |
| | | this.$set(this.param, 'status', val) |
| | | this.apprTitle = val == 2 ? '同意' : '拒绝' |