yuanyiming 1 rok pred
rodič
commit
d4e0f8d21c

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

@@ -168,19 +168,19 @@
                         <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" disabled v-show="scope.row.state>=1&& $store.state.userInfo.type!=0" class="disa" 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-show="scope.row.state==1&& $store.state.userInfo.type==0" @click="audi(scope.row,1)" size="mini">审核</el-button>
-                        <el-button type="primary" disabled v-show="scope.row.state==0&& $store.state.userInfo.type==0" class="disa" size="mini">审核</el-button>
-                        <el-button type="primary" disabled v-show="(scope.row.state==2 || scope.row.state==3) && 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&& $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>
 
                         
                         <!-- <el-button type="primary"  size="mini" @click="edit(scope.row.acId)">申请表</el-button> -->
 
-                        <el-button type="primary" v-show="scope.row.state!=2 && scope.row.state!=3 && $store.state.userInfo.type!=0" class="disa" size="mini" @click="end(scope.row)" >完结</el-button>
-                        <el-button type="primary" v-show="scope.row.state==2&& $store.state.userInfo.type!=0" size="mini" @click="end(scope.row)" >完结</el-button>
-                        <el-button type="primary" v-show="scope.row.state==3&& $store.state.userInfo.type!=0" size="mini" class="disa">已完结</el-button>
+                        <el-button type="primary" v-if="scope.row.state!=2 && scope.row.state!=3 && $store.state.userInfo.type!=0" class="disa" size="mini">完结</el-button>
+                        <el-button type="primary" v-if="scope.row.state==2&& $store.state.userInfo.type!=0" size="mini" @click="end(scope.row)" >完结</el-button>
+                        <el-button type="primary" v-if="scope.row.state==3&& $store.state.userInfo.type!=0" size="mini" class="disa">已完结</el-button>
 
               </div>
           </template>
@@ -222,7 +222,7 @@
                 <el-input disabled v-model="processTable.phone"></el-input>
               </div>
             </div>
-            <div class="diaTit1" v-show="isManager==1">
+            <div class="diaTit1" v-if="isManager==1">
               <div class="spans1" style="position: relative;top:-24px">驳回意见</div>
               <div class="inp">
                 <el-input
@@ -235,9 +235,9 @@
               </div>
             </div>
             <div slot="footer" class="dialog-footer">
-              <el-button type="primary" @click="Commit(1)" v-show="isManager==0" class="AllDialogBtn">确认提交</el-button>
-              <el-button type="primary" @click="Commit(2)"  v-show="isManager==1" class="AllDialogBtn">通过</el-button>
-              <el-button type="primary" @click="rejectApply"  v-show="isManager==1" class="AllDialogBtn">驳回</el-button>
+              <el-button type="primary" @click="Commit(1)" v-if="isManager==0" class="AllDialogBtn">确认提交</el-button>
+              <el-button type="primary" @click="Commit(2)"  v-if="isManager==1" class="AllDialogBtn">通过</el-button>
+              <el-button type="primary" @click="rejectApply"  v-if="isManager==1" class="AllDialogBtn">驳回</el-button>
               <el-button @click="init" class="AllDialogBtn">取消</el-button>
             </div>
       </el-dialog>
@@ -316,7 +316,7 @@
         <div>{{ item.fileName }}</div>
         <el-button type="primary" @click="delEndTableFile(item.url)" size="mini">删除文件</el-button>
       </div>
-      <el-progress style="margin-top:20px" v-show="progress.show" :percentage="progress.value" :format="ProgressFormat"></el-progress>
+      <el-progress style="margin-top:20px" v-if="progress.show" :percentage="progress.value" :format="ProgressFormat"></el-progress>
       <div class="addMoneyBtn">
           <div class="jia">+</div>添加
           <div id="upFile">

+ 22 - 22
src/views/fundManage/makerfund.vue

@@ -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>

+ 15 - 15
src/views/projectApply/projectApplication.vue

@@ -240,41 +240,41 @@
 
               <el-button
                 type="primary"
-                v-show="scope.row.isupload == 0 && $store.state.userInfo.type!=0"
+                v-if="scope.row.isupload == 0 && $store.state.userInfo.type!=0"
                 @click="audit(scope.row, 0)"
                 >提交</el-button
               >
               <!--0申请人审核 -->
               <el-button
                 type="primary"
-                v-show="scope.row.isupload == 1&& $store.state.userInfo.type!=0"
+                v-if="scope.row.isupload == 1&& $store.state.userInfo.type!=0"
                 class="disa"
                 >已提交</el-button
               >
               <el-button
                 type="primary"
-                v-show="scope.row.isupload == 2&& $store.state.userInfo.type!=0"
+                v-if="scope.row.isupload == 2&& $store.state.userInfo.type!=0"
                 class="disa"
                 size="mini"
                 >已审核</el-button
               >
               <el-button
                 type="primary"
-                v-show="scope.row.isupload == 3&& $store.state.userInfo.type!=0"
+                v-if="scope.row.isupload == 3&& $store.state.userInfo.type!=0"
                 class="disa"
                 size="mini"
                 >待结项</el-button
               >
               <el-button
                 type="primary"
-                v-show="scope.row.isupload == 4&& $store.state.userInfo.type!=0"
+                v-if="scope.row.isupload == 4&& $store.state.userInfo.type!=0"
                 class="disa"
                 size="mini"
                 >已结项</el-button
               >
 
               <el-button
-                v-show="scope.row.isupload == 0 && $store.state.userInfo.type==0"
+                v-if="scope.row.isupload == 0 && $store.state.userInfo.type==0"
                 type="primary"
                 class="disa"
                 size="mini"
@@ -282,28 +282,28 @@
               >
               <!--1管理员审核 -->
               <el-button
-                v-show="scope.row.isupload == 1 && $store.state.userInfo.type==0"
+                v-if="scope.row.isupload == 1 && $store.state.userInfo.type==0"
                 type="primary"
                 size="mini"
                 @click="audit(scope.row, 1)"
                 >审核</el-button
               >
               <el-button
-                v-show="scope.row.isupload == 2 && $store.state.userInfo.type==0"
+                v-if="scope.row.isupload == 2 && $store.state.userInfo.type==0"
                 type="primary"
                 class="disa"
                 size="mini"
                 >已审核</el-button
               >
               <el-button
-                v-show="scope.row.isupload == 3&& $store.state.userInfo.type==0"
+                v-if="scope.row.isupload == 3&& $store.state.userInfo.type==0"
                 type="primary"
                 class="disa"
                 size="mini"
                 >待结项</el-button
               >
               <el-button
-                v-show="scope.row.isupload == 4&& $store.state.userInfo.type==0"
+                v-if="scope.row.isupload == 4&& $store.state.userInfo.type==0"
                 type="primary"
                 class="disa"
                 size="mini"
@@ -380,7 +380,7 @@
           ></el-input>
         </div>
       </div>
-      <div class="diaTit1" v-show="isManager == 1">
+      <!-- <div class="diaTit1" v-if="isManager == 1">
         <div class="spans1" style="position: relative; top: -24px">
           驳回意见
         </div>
@@ -394,25 +394,25 @@
           >
           </el-input>
         </div>
-      </div>
+      </div> -->
       <div slot="footer" class="dialog-footer">
         <el-button
           type="primary"
-          v-show="isManager == 0"
+          v-if="isManager == 0"
           @click="ApplyPersonCommit"
           class="AllDialogBtn"
           >审核</el-button
         >
         <el-button
           type="primary"
-          v-show="isManager == 1"
+          v-if="isManager == 1"
           @click="ManagerCommit"
           class="AllDialogBtn"
           >通过</el-button
         >
         <el-button
           type="primary"
-          v-show="isManager == 1"
+          v-if="isManager == 1"
           @click="rejectApply"
           class="AllDialogBtn"
           >驳回</el-button