|
@@ -120,8 +120,8 @@
|
|
|
>
|
|
|
<template #default="scope">
|
|
|
<div>
|
|
|
- <span v-show="scope.row.type==0">活动创客</span>
|
|
|
- <span v-show="scope.row.type==1">个人创客</span>
|
|
|
+ <span v-if="scope.row.type==0">活动创客</span>
|
|
|
+ <span v-if="scope.row.type==1">个人创客</span>
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -155,10 +155,10 @@
|
|
|
>
|
|
|
<template #default="scope">
|
|
|
<div>
|
|
|
- <span v-show="scope.row.state==0">未审核</span>
|
|
|
- <span v-show="scope.row.state==1">待审核</span>
|
|
|
- <span v-show="scope.row.state==2">已审核</span>
|
|
|
- <span v-show="scope.row.state==3">已报销</span>
|
|
|
+ <span v-if="scope.row.state==0">未审核</span>
|
|
|
+ <span v-if="scope.row.state==1">待审核</span>
|
|
|
+ <span v-if="scope.row.state==2">已审核</span>
|
|
|
+ <span v-if="scope.row.state==3">已报销</span>
|
|
|
|
|
|
</div>
|
|
|
</template>
|
|
@@ -184,23 +184,23 @@
|
|
|
<div class="operations">
|
|
|
<el-button type="primary" size="mini" @click="details(scope.row.fid,scope.row.title,scope.row.acId)">查看详情</el-button>
|
|
|
|
|
|
- <el-button type="primary" v-show="scope.row.state==0&& $store.state.userInfo.type!=0" size="mini" @click="Audit(scope.row,0)">提交</el-button>
|
|
|
- <el-button type="primary" v-show="scope.row.state==1&& $store.state.userInfo.type!=0" class="disa" size="mini">已提交</el-button>
|
|
|
- <el-button type="primary" v-show="scope.row.state!=1 && scope.row.state!=0&& $store.state.userInfo.type!=0" class="disa" size="mini">已提交</el-button>
|
|
|
+ <el-button type="primary" v-if="scope.row.state==0&& $store.state.userInfo.type!=0" size="mini" @click="Audit(scope.row,0)">提交</el-button>
|
|
|
+ <el-button type="primary" v-if="scope.row.state==1&& $store.state.userInfo.type!=0" class="disa" size="mini">已提交</el-button>
|
|
|
+ <el-button type="primary" v-if="scope.row.state!=1 && scope.row.state!=0&& $store.state.userInfo.type!=0" class="disa" size="mini">已提交</el-button>
|
|
|
|
|
|
- <!-- <el-button type="primary" v-show="scope.row.state==2" class="disa" size="mini">已审核</el-button> -->
|
|
|
+ <!-- <el-button type="primary" v-if="scope.row.state==2" class="disa" size="mini">已审核</el-button> -->
|
|
|
|
|
|
- <el-button type="primary" v-show="scope.row.state==0&& $store.state.userInfo.type==0" class="disa" size="mini">审核</el-button>
|
|
|
- <el-button type="primary" @click="Audit(scope.row,1)" v-show="scope.row.state==1&& $store.state.userInfo.type==0" size="mini">审核</el-button>
|
|
|
- <el-button type="primary" v-show="scope.row.state==2&& $store.state.userInfo.type==0" class="disa" size="mini">审核</el-button>
|
|
|
- <el-button type="primary" v-show="scope.row.state==3&& $store.state.userInfo.type==0" class="disa" size="mini">审核</el-button>
|
|
|
+ <el-button type="primary" v-if="scope.row.state==0&& $store.state.userInfo.type==0" class="disa" size="mini">审核</el-button>
|
|
|
+ <el-button type="primary" @click="Audit(scope.row,1)" v-if="scope.row.state==1&& $store.state.userInfo.type==0" size="mini">审核</el-button>
|
|
|
+ <el-button type="primary" v-if="scope.row.state==2&& $store.state.userInfo.type==0" class="disa" size="mini">审核</el-button>
|
|
|
+ <el-button type="primary" v-if="scope.row.state==3&& $store.state.userInfo.type==0" class="disa" size="mini">审核</el-button>
|
|
|
|
|
|
|
|
|
|
|
|
- <el-button v-show="scope.row.state==0&& $store.state.userInfo.type!=0" class="disa" type="primary" size="mini">完结</el-button>
|
|
|
- <el-button v-show="scope.row.state==1&& $store.state.userInfo.type!=0" class="disa" type="primary" size="mini">完结</el-button>
|
|
|
- <el-button v-show="scope.row.state==2&& $store.state.userInfo.type!=0" @click="endDialogShow(scope.row.fid)" type="primary" size="mini">完结</el-button>
|
|
|
- <el-button v-show="scope.row.state==3&& $store.state.userInfo.type!=0" class="disa" type="primary" size="mini">已完结</el-button>
|
|
|
+ <el-button v-if="scope.row.state==0&& $store.state.userInfo.type!=0" class="disa" type="primary" size="mini">完结</el-button>
|
|
|
+ <el-button v-if="scope.row.state==1&& $store.state.userInfo.type!=0" class="disa" type="primary" size="mini">完结</el-button>
|
|
|
+ <el-button v-if="scope.row.state==2&& $store.state.userInfo.type!=0" @click="endDialogShow(scope.row.fid)" type="primary" size="mini">完结</el-button>
|
|
|
+ <el-button v-if="scope.row.state==3&& $store.state.userInfo.type!=0" class="disa" type="primary" size="mini">已完结</el-button>
|
|
|
|
|
|
|
|
|
</div>
|
|
@@ -292,7 +292,7 @@
|
|
|
</div>
|
|
|
</div> -->
|
|
|
|
|
|
- <!-- <div class="diaTit1" v-show="isManager==1">
|
|
|
+ <!-- <div class="diaTit1" v-if="isManager==1">
|
|
|
<div class="spans1" style="position: relative;top:-20px">驳回意见</div>
|
|
|
<el-input
|
|
|
type="textarea"
|
|
@@ -305,11 +305,11 @@
|
|
|
</div> -->
|
|
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
- <el-button type="primary" @click="auditPass(1)" v-show="isManager==0" class="AllDialogBtn">审核</el-button>
|
|
|
+ <el-button type="primary" @click="auditPass(1)" v-if="isManager==0" class="AllDialogBtn">审核</el-button>
|
|
|
|
|
|
|
|
|
- <el-button type="primary" @click="auditPass(2)" v-show="isManager==1" class="AllDialogBtn">审核通过</el-button>
|
|
|
- <el-button type="primary" v-show="isManager==1" @click="auditPass(0)" class="AllDialogBtn">驳回</el-button>
|
|
|
+ <el-button type="primary" @click="auditPass(2)" v-if="isManager==1" class="AllDialogBtn">审核通过</el-button>
|
|
|
+ <el-button type="primary" v-if="isManager==1" @click="auditPass(0)" class="AllDialogBtn">驳回</el-button>
|
|
|
|
|
|
<el-button @click="dialogVisible=false" class="AllDialogBtn">取消</el-button>
|
|
|
</div>
|