瀏覽代碼

金控审核金融机构个人信息

guhongwei 5 年之前
父節點
當前提交
11a34b6174
共有 2 個文件被更改,包括 19 次插入1 次删除
  1. 4 0
      src/layout/institution/detailInfo.vue
  2. 15 1
      src/views/institution/detail.vue

+ 4 - 0
src/layout/institution/detailInfo.vue

@@ -109,6 +109,7 @@
               <el-form-item>
                 <el-button type="primary" @click="submitForm('ruleForm')">提交</el-button>
                 <el-button @click="resetForm('ruleForm')">取消</el-button>
+                <el-button type="warning" @click="shenheForm()">审核</el-button>
               </el-form-item>
             </el-col>
           </el-form>
@@ -177,6 +178,9 @@ export default {
     resetForm() {
       this.$emit('resetForm');
     },
+    shenheForm() {
+      this.$emit('shenheForm', { data: this.ruleForm });
+    },
 
     uploadSuccess({ type, data }) {
       if (type !== 'logo') {

+ 15 - 1
src/views/institution/detail.vue

@@ -6,7 +6,15 @@
           <detailTopInfo :topTitle="topTitle" :display="display" @goBack="goBack"></detailTopInfo>
         </el-col>
         <el-col :span="24" class="main">
-          <detailInfo :ruleForm="ruleForm" :rzlc="rzlc" :sshy="sshy" @submitForm="submitForm" @resetForm="resetForm" :formTitle="formTitle"></detailInfo>
+          <detailInfo
+            :ruleForm="ruleForm"
+            :rzlc="rzlc"
+            :sshy="sshy"
+            @submitForm="submitForm"
+            @resetForm="resetForm"
+            @shenheForm="shenheForm"
+            :formTitle="formTitle"
+          ></detailInfo>
         </el-col>
       </el-col>
     </el-row>
@@ -68,6 +76,12 @@ export default {
       this.$checkRes(res, '修改成功', '修改失败');
       this.$router.push({ path: '/institution/index/0' });
     },
+    async shenheForm({ data }) {
+      data.status = '2';
+      let res = this.update(data);
+      this.$checkRes(res, '审核成功', '审核失败');
+      this.$router.push({ path: '/institution/index/0' });
+    },
     // 取消
     resetForm() {
       this.$router.push({ path: '/financial/index' });