Bladeren bron

修改押金补资料状态

zhouhao 2 jaren geleden
bovenliggende
commit
efe778806f

+ 4 - 4
src/views/deposit_home/components/deposit_list-detail.vue

@@ -360,7 +360,7 @@
       </div>
       </div>
       <div>
       <div>
         <div
         <div
-          v-if="details.examineStatus == 'WAIT_REVIEW' || details.examineStatus == 'AMEND' || details.examineStatus == 'REVIEW'">
+          v-if="details.dataState == 'WAIT_REVIEW' || details.dataState == 'AMEND' || details.dataState == 'REVIEW'">
           <h3 class="gdzl">补充资料</h3>
           <h3 class="gdzl">补充资料</h3>
           <el-divider />
           <el-divider />
           <div class="mymain-container">
           <div class="mymain-container">
@@ -426,7 +426,7 @@
 
 
               </el-row>
               </el-row>
             </div>
             </div>
-            <div v-if=" isCustomer&& details.examineStatus == 'REVIEW'">
+            <div v-if=" isCustomer&& details.dataState == 'REVIEW'">
               <h3 class="gdzl">复核</h3>
               <h3 class="gdzl">复核</h3>
               <el-divider />
               <el-divider />
               <div class="diy-table-1">
               <div class="diy-table-1">
@@ -466,11 +466,11 @@
 
 
       <div style="margin: 20px 0">
       <div style="margin: 20px 0">
         <el-button
         <el-button
-          v-if="(details.examineStatus != 'OK' || (!isCustomer && details.examineStatus == 'OK')) && details.examineStatus != 'WAIT_REVIEW' && details.examineStatus != 'AMEND' && details.examineStatus != 'REVIEW'"
+          v-if="(details.examineStatus != 'OK' || (!isCustomer && details.examineStatus == 'OK')) && details.dataState != 'WAIT_REVIEW' && details.dataState != 'AMEND' && details.dataState != 'REVIEW'"
           type="primary" size="small" @click="handleSvse">保存
           type="primary" size="small" @click="handleSvse">保存
         </el-button>
         </el-button>
         <el-button
         <el-button
-          v-if="(details.examineStatus != 'OK' || (!isCustomer && details.examineStatus == 'OK')) && details.examineStatus != 'WAIT_REVIEW' && details.examineStatus != 'AMEND' && details.examineStatus != 'REVIEW'"
+          v-if="(details.examineStatus != 'OK' || (!isCustomer && details.examineStatus == 'OK')) && details.dataState != 'WAIT_REVIEW' && details.dataState != 'AMEND' && details.dataState != 'REVIEW'"
           type="primary" size="small" @click="handleReset">重置 </el-button>
           type="primary" size="small" @click="handleReset">重置 </el-button>
       </div>
       </div>
     </div>
     </div>

+ 2 - 2
src/views/deposit_home/components/deposit_replenish.vue

@@ -387,7 +387,7 @@
             </div>
             </div>
             <h3>补充资料</h3>
             <h3>补充资料</h3>
             <el-divider />
             <el-divider />
-            <div v-if="details.examineStatus == 'AMEND'">
+            <div v-if="details.dataState == 'AMEND'">
 
 
                 <div class="mymain-container">
                 <div class="mymain-container">
                     <div class="table">
                     <div class="table">
@@ -501,7 +501,7 @@
             </div>
             </div>
             <div>
             <div>
                 <div
                 <div
-                    v-if="details.examineStatus == 'OK' || details.examineStatus == 'WAIT_REVIEW' || details.examineStatus == 'AMEND' || details.examineStatus == 'REVIEW'">
+                    v-if="details.examineStatus == 'OK' || details.dataState == 'WAIT_REVIEW' || details.dataState == 'AMEND' || details.dataState == 'REVIEW'">
                     <div>
                     <div>
 
 
                         <!-- 筛选条件 -->
                         <!-- 筛选条件 -->

+ 2 - 2
src/views/deposit_home/components/refund_list-detail.vue

@@ -640,7 +640,7 @@
     <div>
     <div>
       
       
         <div
         <div
-          v-if="detailList.examineStatus == 'AMEND' || detailList.examineStatus == 'WAIT_REVIEW' || detailList.examineStatus == 'REVIEW'">
+          v-if="detailList.dataState == 'AMEND' || detailList.dataState == 'WAIT_REVIEW' || detailList.dataState == 'REVIEW'">
           <h3 class="gdzl">补充资料</h3>
           <h3 class="gdzl">补充资料</h3>
           <el-divider />
           <el-divider />
           <div class="mymain-container">
           <div class="mymain-container">
@@ -708,7 +708,7 @@
             </div>
             </div>
           </div>
           </div>
         </div>
         </div>
-        <div v-if="(detailList.examineStatus == 'REVIEW' || detailList.examineStatus == 'AMEND') &&isCustomer">
+        <div v-if="(detailList.dataState == 'REVIEW' || detailList.dataState == 'AMEND') &&isCustomer">
           <h3 class="gdzl">复核</h3>
           <h3 class="gdzl">复核</h3>
           <el-divider />
           <el-divider />
           <div class="diy-table-1">
           <div class="diy-table-1">

+ 1 - 1
src/views/deposit_home/deposit_list.vue

@@ -801,7 +801,7 @@
                 >申请退押
                 >申请退押
                 </el-button>
                 </el-button>
                 <el-button type="text" class="textColor"
                 <el-button type="text" class="textColor"
-                  v-if="(scope.row.examineStatus == 'OK' ||scope.row.examineStatus == 'AMEND') && isCustomer"
+                  v-if="(scope.row.examineStatus == 'OK' ||scope.row.dataState == 'AMEND') && isCustomer"
                   @click="replenishClick(scope.row.depositManageId)">补充资料</el-button>
                   @click="replenishClick(scope.row.depositManageId)">补充资料</el-button>
                 <!-- <el-button type="text" class="textColor" slot="reference"
                 <!-- <el-button type="text" class="textColor" slot="reference"
                   >免扣退押</el-button
                   >免扣退押</el-button

+ 5 - 5
src/views/deposit_home/refund_list.vue

@@ -470,16 +470,16 @@
                   v-if="(scope.row.examineStatus == 'OK' ||scope.row.examineStatus == 'AMEND') && isCustomer"
                   v-if="(scope.row.examineStatus == 'OK' ||scope.row.examineStatus == 'AMEND') && isCustomer"
                   @click="replenishClick(scope.row.depositManageId)">补充资料</el-button> -->
                   @click="replenishClick(scope.row.depositManageId)">补充资料</el-button> -->
                 <el-button type="text" class="textColor"
                 <el-button type="text" class="textColor"
-                  v-if="scope.row.examineStatus == 'WAIT_REVIEW' && $checkBtnRole('examine', $route.meta.roles)"
+                  v-if="scope.row.dataState == 'WAIT_REVIEW' && scope.row.examineStatus == 'OK'  && $checkBtnRole('examine', $route.meta.roles)"
                   @click="reexamineClick(scope.row.depositManageId)">复核</el-button>
                   @click="reexamineClick(scope.row.depositManageId)">复核</el-button>
 
 
                 <el-button type="text" class="textColor" v-if="
                 <el-button type="text" class="textColor" v-if="
                   scope.row.examineStatus == 'SAVE' ||
                   scope.row.examineStatus == 'SAVE' ||
                   scope.row.examineStatus == 'OK' ||
                   scope.row.examineStatus == 'OK' ||
                   scope.row.examineStatus == 'FAIL' ||
                   scope.row.examineStatus == 'FAIL' ||
-                  scope.row.examineStatus == 'WAIT_REVIEW' ||
-                  scope.row.examineStatus == 'REVIEW' ||
-                  scope.row.examineStatus == 'AMEND'
+                  scope.row.dataState == 'WAIT_REVIEW' ||
+                  scope.row.dataState == 'REVIEW' ||
+                  scope.row.dataState == 'AMEND'
                 
                 
                 " @click="infoFn(scope.row.depositManageId)">详情</el-button>
                 " @click="infoFn(scope.row.depositManageId)">详情</el-button>
               </template>
               </template>
@@ -864,7 +864,7 @@ export default {
     },
     },
     // 切换radio
     // 切换radio
     changeRadioFn(v) {
     changeRadioFn(v) {
-      if (!v) {
+      if (v) {
         this.screenForm.dataStates = []
         this.screenForm.dataStates = []
       }
       }
       this.examine = v
       this.examine = v