|
@@ -2,7 +2,7 @@
|
|
<div>
|
|
<div>
|
|
<el-drawer :title="title" :visible.sync="show" :with-header="false" :size="'600px'" :before-close="closeDetail" direction="rtl">
|
|
<el-drawer :title="title" :visible.sync="show" :with-header="false" :size="'600px'" :before-close="closeDetail" direction="rtl">
|
|
<div class="drawer_title">审批详情</div>
|
|
<div class="drawer_title">审批详情</div>
|
|
- <div v-loading="detail_loading">
|
|
|
|
|
|
+ <div v-loading="detail_loading" style="height: 100%;">
|
|
<div class="detail_popup" v-if="detail_info !== null">
|
|
<div class="detail_popup" v-if="detail_info !== null">
|
|
<el-row :gutter="10" style="padding-bottom:20px;border-bottom:1px #f8f8f8 solid;position: relative;">
|
|
<el-row :gutter="10" style="padding-bottom:20px;border-bottom:1px #f8f8f8 solid;position: relative;">
|
|
<el-col :span="24">
|
|
<el-col :span="24">
|
|
@@ -70,19 +70,20 @@
|
|
<div v-show="detail_info.process">
|
|
<div v-show="detail_info.process">
|
|
<Steps :process="detail_info.process"></Steps>
|
|
<Steps :process="detail_info.process"></Steps>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
- <el-row style="border-top: 1px #f8f8f8 solid;">
|
|
|
|
- <el-col :span="24" style="text-align: right;padding-top:20px" v-if="detail_info.status == 0&&detail_info.reviewer_id==$getUserData().id">
|
|
|
|
- <el-button v-if="detail_info.pt_id == 1" @click="closeDetail">取消</el-button>
|
|
|
|
- <el-button v-else @click="rejectBtn">驳回</el-button>
|
|
|
|
- <el-button type="primary" @click="adoptBtn">通过</el-button>
|
|
|
|
- </el-col>
|
|
|
|
- <el-col :span="24" style="text-align: right;padding-top:20px" v-if="detail_info.can_refuse == '1'">
|
|
|
|
- <span style="color:#909399;font-size:12px;padding-right:20px">撤回后需重新审批</span>
|
|
|
|
- <el-button type="primary" @click="revokeApproval">撤回审批</el-button>
|
|
|
|
- </el-col>
|
|
|
|
- </el-row>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
+
|
|
|
|
+ <div class="detailBut" >
|
|
|
|
+ <div style="text-align: right;padding-top:20px" v-if="detail_info.status == 0&&detail_info.reviewer_id==$getUserData().id">
|
|
|
|
+ <el-button v-if="detail_info.pt_id == 1" @click="closeDetail">取消</el-button>
|
|
|
|
+ <el-button v-else @click="rejectBtn">驳回</el-button>
|
|
|
|
+ <el-button type="primary" @click="adoptBtn">通过</el-button>
|
|
|
|
+ </div>
|
|
|
|
+ <div style="text-align: right;padding-top:20px" v-if="detail_info.can_refuse == '1'">
|
|
|
|
+ <span style="color:#909399;font-size:12px;padding-right:20px">撤回后需重新审批</span>
|
|
|
|
+ <el-button type="primary" @click="revokeApproval">撤回审批</el-button>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
</el-drawer>
|
|
</el-drawer>
|
|
|
|
|
|
@@ -721,11 +722,21 @@ label {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+.detailBut {
|
|
|
|
+ border-top: 1px solid rgb(248, 248, 248);
|
|
|
|
+ width: 100%;
|
|
|
|
+ position: absolute;
|
|
|
|
+ bottom: 0px;
|
|
|
|
+ right: 0;
|
|
|
|
+ padding: 0 20px 10px 0;
|
|
|
|
+ z-index: 1;
|
|
|
|
+ background-color: #fff;
|
|
|
|
+}
|
|
.detail_popup {
|
|
.detail_popup {
|
|
padding: 20px;
|
|
padding: 20px;
|
|
overflow-y: auto;
|
|
overflow-y: auto;
|
|
overflow-x: hidden !important;
|
|
overflow-x: hidden !important;
|
|
- height: calc(100vh - 100px);
|
|
|
|
|
|
+ height: calc(100vh - 184px);
|
|
padding-bottom: 30px;
|
|
padding-bottom: 30px;
|
|
.row_title {
|
|
.row_title {
|
|
position: relative;
|
|
position: relative;
|