| | |
| | | <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"> |
| | | <img v-if="info.status == '3' || info.status == '6'" class="head_bg" src="@/assets/task/bg_shenhe_fail@2x.png" alt=""> |
| | | <img v-else-if="info.status == '2' || info.status == '5'" class="head_bg" src="@/assets/task/bg_shenhe_pass@2x.png" alt=""> |
| | | <img v-if="info.status == '3' || info.status == '6'" class="head_bg" src="@/assets/task/bg_shenhe_fail@2x.png" |
| | | alt=""> |
| | | <img v-else-if="info.status == '2' || info.status == '5'" class="head_bg" |
| | | src="@/assets/task/bg_shenhe_pass@2x.png" alt=""> |
| | | <img v-else-if="info.status == '4'" class="head_bg" src="@/assets/task/bg_shenhe_chexiao@2x.png" alt=""> |
| | | <img v-else class="head_bg" src="@/assets/task/bg_shenhe@2x.png" alt=""> |
| | | <div class="left"> |
| | | <div class="h1">物流车预约</div> |
| | | <div class="time">提交时间:{{ info.createDate }}</div> |
| | | </div> |
| | | <div class="right" :class="{ scs: info.status == '2' || info.status == '5', msg: info.status == '3' || info.status == '6' }">{{ statusMap[info.status] }}</div> |
| | | <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> |
| | |
| | | <div class="item"> |
| | | <div class="label">准运证照片</div> |
| | | <div v-if="info.transportImg" class="value"> |
| | | <el-image style="width: 100px" :preview-src-list="[info.prefixUrl + info.transportImg]" :src="info.prefixUrl + info.transportImg" alt="" /> |
| | | <el-image style="width: 100px" :preview-src-list="[info.prefixUrl + info.transportImg]" |
| | | :src="info.prefixUrl + info.transportImg" alt="" /> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | <div class="content"> |
| | | <div class="head"> |
| | | <div class="event">{{ item.title }}</div> |
| | | <div class="time">{{ item.createDate }}</div> |
| | | <div class="time">{{ item.checkDate }}</div> |
| | | </div> |
| | | <div class="name_wrap"> |
| | | <span>{{ item.memberName }}<span v-if="item.statusInfo" class="status">({{ item.statusInfo |
| | |
| | | <div v-if="item.checkInfo" class="remark"> |
| | | {{ item.checkInfo }} |
| | | </div> |
| | | <div v-if="item.approveType == 1" class="carbon"> |
| | | <div v-if="item.approveType == 0 || item.type == 1 || item.approveType == 1" class="carbon"> |
| | | <div class="carbon_item" v-for="child in item.approveList" :key="child.id"> |
| | | <img :src="child.faceImg |
| | | ? child.faceImg |
| | | : require('@/assets/avatar/man.png') |
| | | "></img> |
| | | <img v-if="child.faceImg != null && child.faceImg != ''" :src="child.faceImg" class="avatar" alt="" /> |
| | | <img v-if="child.faceImg == null || child.faceImg == ''" src="@/assets/avatar/man.png" class="avatar" |
| | | alt="" /> |
| | | <div class="text">{{ child.memberName }}</div> |
| | | </div> |
| | | </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"> |
| | |
| | | id: '', |
| | | type: '', |
| | | |
| | | title: '访客预约详情', |
| | | title: '物流车预约详情', |
| | | isShowModal: false, |
| | | info: {}, |
| | | isShowAppr: false, |
| | |
| | | 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) |
| | |
| | | margin: 0 -30px; |
| | | border-radius: 8px 8px 0 0; |
| | | position: relative; |
| | | .head_bg{ |
| | | |
| | | .head_bg { |
| | | position: absolute; |
| | | width: 100%; |
| | | height: 100%; |
| | |
| | | top: 0; |
| | | z-index: 9; |
| | | } |
| | | |
| | | .h1 { |
| | | font-weight: 600; |
| | | font-size: 22px; |
| | |
| | | position: relative; |
| | | z-index: 99; |
| | | } |
| | | .scs{ |
| | | |
| | | .scs { |
| | | background-color: #00BA67; |
| | | } |
| | | .msg{ |
| | | |
| | | .msg { |
| | | background-color: #ED4545; |
| | | } |
| | | } |
| | |
| | | display: flex; |
| | | margin-bottom: 24px; |
| | | position: relative; |
| | | |
| | | .separate { |
| | | position: absolute; |
| | | border-left: 2px dashed #cccccc; |
| | |
| | | height: calc(100% - 2px); |
| | | top: 42px; |
| | | } |
| | | .info{ |
| | | |
| | | .info { |
| | | padding-top: 10px; |
| | | margin-left: 20px; |
| | | margin-right: 16px; |
| | | |
| | | .iconnew { |
| | | width: 24px; |
| | | height: 24px; |
| | | } |
| | | } |
| | | |
| | | .avatar_wrap { |
| | | width: 40px; |
| | | height: 40px; |
| | |
| | | color: #777777; |
| | | |
| | | .status { |
| | | color: $primary-color; |
| | | color: $primaryColor; |
| | | } |
| | | } |
| | | |
| | |
| | | width: 100%; |
| | | overflow-x: auto; |
| | | margin-top: 12px; |
| | | |
| | | .carbon_item { |
| | | text-align: center; |
| | | flex-shrink: 0; |