From 0bed59a7c83975e466e31aa2fa14d8ee15473813 Mon Sep 17 00:00:00 2001
From: feige <feige@qq.com>
Date: 星期四, 16 一月 2025 11:20:35 +0800
Subject: [PATCH] 修改了对应的bug

---
 ruoyi-ui/src/views/marry/index.vue |   25 +++++++++++++------------
 1 files changed, 13 insertions(+), 12 deletions(-)

diff --git a/ruoyi-ui/src/views/marry/index.vue b/ruoyi-ui/src/views/marry/index.vue
index a32137c..023a33c 100644
--- a/ruoyi-ui/src/views/marry/index.vue
+++ b/ruoyi-ui/src/views/marry/index.vue
@@ -126,7 +126,7 @@
         <el-container >
           <el-col >
             <el-form ref="elForm" :model="marryList" :rules="rules" size="medium"  label-position="left"
-                     v-loading="loading" :data="marryList" @selection-change="handleSelectionChange" >
+                    :data="marryList" @selection-change="handleSelectionChange" >
               <el-row :span="16">
                 <el-form-item label="濮撳悕" prop="spouseName" label-width="40px">
                   <el-input v-model="marryList.spouseName" placeholder="" clearable :style="{width: '100%'}" :disabled="dsb">
@@ -179,7 +179,7 @@
       </div>
       <div style="padding-left:100px;padding-top:15px;width: 30%;">
         <el-container>
-          <el-col v-loading="loading" :data="marryList" @selection-change="handleSelectionChange">
+          <el-col  :data="marryList" @selection-change="handleSelectionChange">
             <el-form ref="elForm" :model="marryList" :rules="rules" size="medium"  label-position="left">
               <el-row :span="16">
                 <el-form-item label="鎬у埆" prop="spouseSex" label-width="40px">
@@ -276,15 +276,15 @@
           <template v-slot:title>
             <h2 style="font-size:16px ">鍓嶄换鎯呭喌</h2>
             <div class="title-wrapper">
-              <div>
+             <!-- <div>
                 <el-button class="button" size="mini" type="text"  @click="handleAdd">
-                  <sapn v-html="'\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0'"></sapn></el-button>
-              </div>
+                  <span v-html="'\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0'"></span></el-button>
+              </div> -->
 
 
             </div>
           </template>
-          <el-table v-loading="loading" :data="oldSpouseList" @selection-change="handleSelectionChange" :row-class-name="tableRowClassName" style="background: #FFEFF2;  border-radius: 14px 14px 14px 14px;">
+          <el-table :data="oldSpouseList" @selection-change="handleSelectionChange" :row-class-name="tableRowClassName" style="background: #FFEFF2;  border-radius: 14px 14px 14px 14px;">
             <el-table-column label="濮撳悕" prop="name" sortable width="160" align="center" >
               <template slot-scope="scope">
                 <template v-if="!scope.row.isEdit">{{ scope.row.name }}</template>
@@ -380,7 +380,7 @@
         <el-container >
           <el-col >
             <el-form ref="elForm" :model="marryList" :rules="rules" size="medium"  label-position="left"
-                     v-loading="loading" :data="marryList" @selection-change="handleSelectionChange" >
+                      :data="marryList" @selection-change="handleSelectionChange" >
               <el-row :span="16">
                 <el-form-item label="鐢熻偛鎯呭喌" prop="bearStatus" label-width="80px">
                   <template v-if="!isEditing">
@@ -437,7 +437,7 @@
       </div>
       <div style="padding-left:200px; padding-top: 58px; ">
         <el-container>
-          <el-col v-loading="loading" :data="marryList" @selection-change="handleSelectionChange">
+          <el-col  :data="marryList" @selection-change="handleSelectionChange">
             <el-form ref="elForm" :model="marryList" :rules="rules" size="medium"  label-position="left" >
 
               <el-row :span="16"  >
@@ -540,7 +540,7 @@
 import {getInfo} from "@/api/login";
 
 export default {
-  name: "show",
+  name: "ZMarry",
   dicts: ['sys_normal_disable'],
   data() {
     return {
@@ -623,7 +623,7 @@
       // 鏁版嵁鑼冨洿閫夐」
       // 鏁版嵁鑼冨洿閫夐」
       fot:['.bmp','.jpg','.jpeg','.png','.tif','.gif','.pcx','.tga','.exif','.fpx',
-        '.svg','.psd','.cdr','.pcd','.dxf','.ufo','.eps','.ai','.aw','.WMF','.webp','.apng'],
+        '.svg','.psd','.cdr','.pcd','.dxf','.ufo','.eps','.ai','.aw','.WMF','.webp','.apng','.M4A'],
 
       fileList:[
       ],
@@ -800,7 +800,7 @@
     getList() {
       this.loading = true;
       //涓汉淇℃伅
-      listMarry(this.queryParams).then(response => {
+      listMarry().then(response => {
 
           if(response.data.length === 0){
             this.loading = false;
@@ -1088,7 +1088,8 @@
       this.$set(row, 'isEdit', false);
       this.$set(this.editStatus, row.id, false);
     },
-
+handleSelectionChange()
+{},
     //闅旇鍙樿壊
     tableRowClassName({ row, rowIndex }) {
       if (rowIndex % 2 == 0) {

--
Gitblit v1.9.1