Q-ABAB 1 år sedan
förälder
incheckning
06b20b98cd
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      src/views/activityManage/makerActvity.vue

+ 2 - 2
src/views/activityManage/makerActvity.vue

@@ -167,11 +167,11 @@
               <div class="operations">
                         <el-button type="primary"  @click="MADetails(scope.row.acId)" size="mini">查看详情</el-button>
 
-                        <el-button type="primary" v-if="scope.row.state==0 && $store.state.userInfo.type!=0"  @click="audi(scope.row,0)" size="mini">提交</el-button>
+                        <el-button type="primary" v-if="scope.row.state==0 && ($store.state.userInfo.type!=0 || scope.row.userid==$store.state.userInfo.userid)"  @click="audi(scope.row,0)" size="mini">提交</el-button>
                         <el-button type="primary" disabled v-if="scope.row.state>=1&& $store.state.userInfo.type!=0" class="disa" size="mini">已提交</el-button>
 
                         <!-- <el-button type="primary"  @click="audi(scope.row,1)" size="mini">管理审核</el-button> -->
-                        <el-button type="primary"  v-if="scope.row.state==1&& $store.state.userInfo.type==0" @click="audi(scope.row,1)" size="mini">审核</el-button>
+                        <el-button type="primary"  v-if="scope.row.state==1&& $store.state.userInfo.type==0 " @click="audi(scope.row,1)" size="mini">审核</el-button>
                         <el-button type="primary" disabled v-if="scope.row.state==0&& $store.state.userInfo.type==0" class="disa" size="mini">审核</el-button>
                         <el-button type="primary" disabled v-if="(scope.row.state==2 || scope.row.state==3) && scope.row.state!=1&& $store.state.userInfo.type==0" class="disa" size="mini">已审核</el-button>