Commit e10ba5fa authored by 华国豪's avatar 华国豪 🙄

财务一键审核

parent 54a66bb3
......@@ -112,12 +112,12 @@
<div class="page_fnDm" @keyup.enter="resetPageIndex(),getPageList()">
<ul class="_nav clearfix">
<!-- <li :class="active==5?'_active':''" @click="active=5,msg.Conditon=5,getPageList()">全部</li> -->
<li :class="active==1?'_active':''" @click="active=1,msg.Conditon=1,getPageList()">我发起的</li>
<li :class="active==3?'_active':''" @click="active=3,msg.Conditon=3,getPageList()">待我审批的</li>
<li :class="active==2?'_active':''" @click="active=2,msg.Conditon=2,getPageList()">我审批的</li>
<li :class="active==6?'_active':''" @click="active=6,msg.Conditon=6,getPageList()">我作废的</li>
<li :class="active==7?'_active':''" @click="active=7,msg.Conditon=7,getPageList()">被驳回的</li>
<li :class="active==4?'_active':''" @click="active=4,msg.Conditon=4,getPageList()">抄送给我的</li>
<li :class="active==1?'_active':''" @click="active=1, msg.Conditon=1, getPageList(), BOSSBtn = false">我发起的</li>
<li :class="active==3?'_active':''" @click="active=3, msg.Conditon=3, getPageList(), BOSSBtn = false">待我审批的</li>
<li :class="active==2?'_active':''" @click="active=2, msg.Conditon=2, getPageList()" >我审批的</li>
<li :class="active==6?'_active':''" @click="active=6, msg.Conditon=6, getPageList(), BOSSBtn = false">我作废的</li>
<li :class="active==7?'_active':''" @click="active=7, msg.Conditon=7, getPageList(), BOSSBtn = false">被驳回的</li>
<li :class="active==4?'_active':''" @click="active=4, msg.Conditon=4, getPageList(), BOSSBtn = false">抄送给我的</li>
</ul>
<div class="query-box">
<ul class="clearfix">
......@@ -227,7 +227,7 @@
</el-option>
</el-select>
</span>
</li>
</li>
<li>
<span>
<em>{{$t('fnc.zhleixing')}}</em>
......
......@@ -3,6 +3,7 @@
width: 830px;
background-color: white;
padding: 10px;
position: relative;
}
.page_iisMgdetail > p {
font-size: 18px;
......@@ -30,6 +31,18 @@
.page_iisMgdetail .cursorpointer{
text-decoration: underline;
}
.imd_img_box {
position: absolute;
right: -400px;
top: 0;
width: 400px;
background-color: #eaeaea;
}
.imd_img_box>p{
padding: 10px 25px 15px 25px;
font-size: 14px;
}
</style>
<template>
<div class="page_iisMgdetail" v-loading="loading">
......@@ -160,6 +173,16 @@
<div class="iis_save" v-else-if="noDetail && detail.InvoiceApplyState===1 && EmployeeId === detail.CreateBy && EmployeeId === 1">
<button class="normalBtn" @click="setStatus(2)">{{$t('pub.cancelBtn')}}</button>
</div>
<div class="imd_img_box">
<p v-if="detail.ConfirmFileList && detail.ConfirmFileList.length>0">确认函</p>
<div style="width:100%;" v-if="detail.ConfirmFileList && detail.ConfirmFileList.length>0">
<el-carousel trigger="click" height="293px" width="440px" :interval="5000">
<el-carousel-item style="height: 293px;" v-for="(item, index) in detail.ConfirmFileList" :key="index">
<img @click="showImg(item.Url)" :src="domainManager().ViittoFileUrl + item.Url" alt="" style="width: 100%;">
</el-carousel-item>
</el-carousel>
</div>
</div>
<el-dialog title="提示信息" width="400px" :visible.sync="dialogFormVisible" center :before-close="closeChangeMachie" >
<el-form label-width="110px">
<el-form-item label="拒绝理由">
......@@ -171,6 +194,9 @@
<button class="normalBtn" type="primary" @click="setStatus(4)">{{$t('pub.sureBtn')}}</button>
</div>
</el-dialog>
<viewer :images="images" :options='imageOptions' @inited="inited" class="viewer" ref="viewer">
<img v-for="src in images" :src="src" :key="src">
</viewer>
</div>
</template>
<script>
......@@ -191,9 +217,31 @@ export default {
},
noDetail: false,
EmployeeId: 0,
images: [],
imageOptions:{
navbar:false,
title:false
},
};
},
methods: {
inited (viewer){
this.$viewer = viewer
},
showImg(src){
src = this.domainManager().ViittoFileUrl + src;
let isExsit=false
this.images.forEach(x=>{
if(x==src)
isExsit=true
})
if(!isExsit) {
this.images.push(src)
} else {
this.$viewer.view(this.images.indexOf(src))
}
this.$viewer.show()
},
goUrlO: function (OrderId) {
this.$router.push({ name: 'enrollTotal', query: { id: OrderId, blank: 'y', tab: '报名统计'} });
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment