zxz 3 年之前
父节点
当前提交
efbef872b9
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. 6 6
      src/views/platformaudit/grainPulseDynamic.vue

+ 6 - 6
src/views/platformaudit/grainPulseDynamic.vue

@@ -85,7 +85,6 @@
             <el-button
               size="medium"
               type="danger"
-              
               v-if="scope.row.statusFlag == 1"
               @click="rejectList(scope.row)"
               >驳回</el-button
@@ -93,7 +92,6 @@
             <el-button
               size="medium"
               type="primary"
-             
               v-if="scope.row.statusFlag == 1"
               @click="adoptList(scope.row)"
               v-hasPermission="`audit.tranMerchant.tranMerchantInfo.view`"
@@ -144,8 +142,8 @@
       </el-form>
       <div slot="footer" class="dialog-footer">
         <span v-if="SettledCompanyDynamicsList.statusFlag == '1'">
-        <el-button @click="reject(id)" type="danger">驳回</el-button>
-        <el-button @click="adopt(id)" type="primary">通过</el-button>
+          <el-button @click="reject(id)" type="danger">驳回</el-button>
+          <el-button @click="adopt(id)" type="primary">通过</el-button>
         </span>
         <span v-else-if="SettledCompanyDynamicsList.statusFlag != '1'"
           ><el-button @click="dialogFormVisible = fase">关闭</el-button>
@@ -283,7 +281,7 @@ export default {
         .toPromise()
         .then((response) => {
           this.SettledCompanyDynamicsList = response
-          this.id=response.id
+          this.id = response.id
         })
       this.dialogFormVisible = true
     },
@@ -318,6 +316,7 @@ export default {
                 title: '成功',
                 message: '通过成功',
               })
+              this.dialogFormVisible = false
               this.getList()
             })
             .catch((response) => {
@@ -328,7 +327,7 @@ export default {
           return false
         })
     },
-        //列表审核通过
+    //列表审核通过
     adoptList(row) {
       this.settledCompanyDynamicsInfo.flag = 1
       this.settledCompanyDynamicsInfo.id = row.id
@@ -372,6 +371,7 @@ export default {
                 title: '成功',
                 message: '驳回成功',
               })
+              this.dialogFormVisible = false
               this.getList()
             })
             .catch((response) => {