From 8022f7036945b75f82f2dfc43055623f81ed98f6 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期五, 23 五月 2025 22:42:56 +0800
Subject: [PATCH] yxh

---
 src/views/project/fundflowrule/index.vue |  103 +++++++++++++++++++++++++++++++++++----------------
 1 files changed, 70 insertions(+), 33 deletions(-)

diff --git a/src/views/project/fundflowrule/index.vue b/src/views/project/fundflowrule/index.vue
index 4b53108..402cf69 100644
--- a/src/views/project/fundflowrule/index.vue
+++ b/src/views/project/fundflowrule/index.vue
@@ -240,6 +240,18 @@
             v-if="scope.row.totallevel == '3'"
             size="mini"
             >涓夌骇</el-button
+          ><el-button
+            type="primary"
+            plain
+            v-if="scope.row.totallevel == '4'"
+            size="mini"
+            >鍥涚骇</el-button
+          ><el-button
+            type="primary"
+            plain
+            v-if="scope.row.totallevel == '5'"
+            size="mini"
+            >浜旂骇</el-button
           >
         </template>
       </el-table-column>
@@ -290,27 +302,34 @@
       <el-form ref="form" :model="form" :rules="rules" label-width="100px">
         <el-row>
           <el-col :span="12">
-            <el-form-item label="璐圭敤绫诲埆" prop="applytype">
-              <el-select v-model="form.applytype" placeholder="璇烽�夋嫨璐圭敤绫诲埆" style="width:100%">
-                <el-option
-                  v-for="dict in dict.type.sys_ConsolationType"
-                  :key="dict.value"
-                  :label="dict.label"
-                  :value="dict.value"
-                />
-              </el-select>
-            </el-form-item>
-          </el-col>
-
-          <el-col :span="12">
             <el-form-item label="璐圭敤绫诲埆" prop="fundtype">
-              <el-select v-model="form.fundtype" placeholder="璇烽�夋嫨璐圭敤绫诲埆" style="width:100%">
+              <el-select
+                v-model="form.fundtype"
+                placeholder="璇烽�夋嫨璐圭敤绫诲埆"
+                style="width:100%"
+              >
                 <el-option
                   v-for="dict in dict.type.sys_fundtypes"
                   :key="dict.value"
                   :label="dict.label"
                   :value="parseInt(dict.value)"
                 ></el-option>
+              </el-select>
+            </el-form-item>
+          </el-col>
+          <el-col :span="12">
+            <el-form-item label="璐圭敤鍚嶇О" prop="applytype">
+              <el-select
+                v-model="form.applytype"
+                placeholder="璇烽�夋嫨璐圭敤鍚嶇О"
+                style="width:100%"
+              >
+                <el-option
+                  v-for="dict in dict.type.sys_ConsolationType"
+                  :key="dict.value"
+                  :label="dict.label"
+                  :value="dict.value"
+                />
               </el-select>
             </el-form-item>
           </el-col>
@@ -375,13 +394,29 @@
         </el-row>
 
         <el-row>
-          <el-col>
+          <el-col :span="12">
             <el-form-item
               label="鏄惁鍙鏍稿悓閮ㄩ棬"
               prop="verificationdept"
               label-width="140px"
             >
               <el-radio-group v-model="form.verificationdept">
+                <el-radio
+                  v-for="dict in yesnoArr"
+                  :key="dict.value"
+                  :label="parseInt(dict.value)"
+                  >{{ dict.label }}</el-radio
+                >
+              </el-radio-group>
+            </el-form-item>
+          </el-col>
+          <el-col :span="12">
+            <el-form-item
+              label="鏄惁鏄繀瀹′汉"
+              prop="mustAudite"
+              label-width="140px"
+            >
+              <el-radio-group v-model="form.mustAudite">
                 <el-radio
                   v-for="dict in yesnoArr"
                   :key="dict.value"
@@ -408,7 +443,7 @@
   delFundflowrule,
   addFundflowrule,
   updateFundflowrule,
-  exportFundflowrule,
+  exportFundflowrule
 } from "@/api/project/fundflowrule";
 
 export default {
@@ -417,7 +452,7 @@
     "sys_expensetype",
     "sys_consolationfundlevel",
     "sys_fundtypes",
-    "sys_ConsolationType",
+    "sys_ConsolationType"
   ],
   data() {
     return {
@@ -451,7 +486,7 @@
         verificationdept: null,
         flowlevel: null,
         totallevel: null,
-        fundtype: null,
+        fundtype: null
       },
       // 琛ㄥ崟鍙傛暟
       form: {},
@@ -459,13 +494,15 @@
       rules: {},
       yesnoArr: [
         { label: "鍚�", value: 0 },
-        { label: "鏄�", value: 1 },
+        { label: "鏄�", value: 1 }
       ],
       checkLevelArr: [
         { label: "涓�绾�", value: "1" },
         { label: "浜岀骇", value: "2" },
         { label: "涓夌骇", value: "3" },
-      ],
+        { label: "鍥涚骇", value: "4" },
+        { label: "浜旂骇", value: "5" }
+      ]
     };
   },
   created() {
@@ -475,7 +512,7 @@
     /** 鏌ヨ璐圭敤瀹℃壒瑙勫垯鍒楄〃 */
     getList() {
       this.loading = true;
-      listFundflowrule(this.queryParams).then((response) => {
+      listFundflowrule(this.queryParams).then(response => {
         this.fundflowruleList = response.rows;
         this.total = response.total;
         this.loading = false;
@@ -496,7 +533,7 @@
         verificationdept: null,
         flowlevel: null,
         totallevel: null,
-        fundtype: null,
+        fundtype: null
       };
       this.resetForm("form");
     },
@@ -512,7 +549,7 @@
     },
     // 澶氶�夋閫変腑鏁版嵁
     handleSelectionChange(selection) {
-      this.ids = selection.map((item) => item.id);
+      this.ids = selection.map(item => item.id);
       this.single = selection.length !== 1;
       this.multiple = !selection.length;
     },
@@ -526,26 +563,26 @@
     handleUpdate(row) {
       this.reset();
       const id = row.id || this.ids;
-      getFundflowrule(id).then((response) => {
+      getFundflowrule(id).then(response => {
         this.form = response.data;
-        this.form.flowlevel =  this.form.flowlevel.toString();
-        this.form.totallevel =  this.form.totallevel.toString();
+        this.form.flowlevel = this.form.flowlevel.toString();
+        this.form.totallevel = this.form.totallevel.toString();
         this.open = true;
         this.title = "淇敼璐圭敤瀹℃壒瑙勫垯";
       });
     },
     /** 鎻愪氦鎸夐挳 */
     submitForm() {
-      this.$refs["form"].validate((valid) => {
+      this.$refs["form"].validate(valid => {
         if (valid) {
           if (this.form.id != null) {
-            updateFundflowrule(this.form).then((response) => {
+            updateFundflowrule(this.form).then(response => {
               this.$modal.msgSuccess("淇敼鎴愬姛");
               this.open = false;
               this.getList();
             });
           } else {
-            addFundflowrule(this.form).then((response) => {
+            addFundflowrule(this.form).then(response => {
               this.$modal.msgSuccess("鏂板鎴愬姛");
               this.open = false;
               this.getList();
@@ -559,7 +596,7 @@
       const ids = row.id || this.ids;
       this.$modal
         .confirm('鏄惁纭鍒犻櫎璐圭敤瀹℃壒瑙勫垯缂栧彿涓�"' + ids + '"鐨勬暟鎹」锛�')
-        .then(function () {
+        .then(function() {
           return delFundflowrule(ids);
         })
         .then(() => {
@@ -577,12 +614,12 @@
           this.exportLoading = true;
           return exportFundflowrule(queryParams);
         })
-        .then((response) => {
+        .then(response => {
           this.$download.name(response.msg);
           this.exportLoading = false;
         })
         .catch(() => {});
-    },
-  },
+    }
+  }
 };
 </script>

--
Gitblit v1.9.3