Browse Source

修改页面详情样式,搜索Bug,提交按钮切换Bug,其他样式

luosixu 2 years ago
parent
commit
e543fdbe5a

+ 133 - 4
ruoyi-ui/src/views/business/xmsb/fwzx/index.vue

@@ -102,6 +102,7 @@
         </template>
       </el-table-column>
       <el-table-column
+        width="200"
         label="操作"
         align="center"
         class-name="small-padding fixed-width"
@@ -140,7 +141,7 @@
             size="mini"
             type="text"
             icon="el-icon-edit"
-            @click="handleUpdate(scope.row)"
+            @click="handleUpdateXQ(scope.row)"
             v-hasPermi="['business:fwzx:query']"
             >详情</el-button
           >
@@ -161,10 +162,10 @@
       v-dialog-drag
       :title="title"
       :visible.sync="open"
-      width="500px"
+      width="800px"
       append-to-body
     >
-      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
+      <el-form ref="form" :model="form" :rules="rules" label-width="170px">
         <el-form-item label="申报单位" prop="sbdw">
           <el-input v-model="form.sbdw" placeholder="请输入申报单位" />
         </el-form-item>
@@ -303,6 +304,91 @@
         <el-button @click="cancel">取 消</el-button>
       </div>
     </el-dialog>
+    <!-- 详情框 -->
+    <el-dialog
+      v-dialog-drag
+      :title="title"
+      :visible.sync="xqOpen"
+      width="1000px"
+      append-to-body
+    >
+      
+      <h3>详情信息</h3>
+      <table class="table">
+        <tr>
+          <td>申报单位</td>
+          <td>{{ form.sbdw }}</td>
+          <td>项目名称</td>
+          <td>{{ form.xmmc }}</td>
+        </tr>
+        <tr>
+          <td>项目地址</td>
+          <td>{{ form.xmdz }}</td>
+          <td>联系人</td>
+          <td>{{ form.lxr }}</td>
+        </tr>
+        <tr>
+          <td>手机号</td>
+          <td>{{ form.sjh }}</td>
+          <td>建筑面积</td>
+          <td>{{ form.jzmj }}</td>
+        </tr>
+        <tr>
+          <td>建筑面积</td>
+          <td>{{ form.jzmj }}</td>
+          <td>床位总数</td>
+          <td>{{ form.cwzs }}</td>
+        </tr>
+        <tr>
+          <td>护理型床位数</td>
+          <td>{{ form.hlxcws }}</td>
+          <td>建成后拟采取运营模式</td>
+          <td>{{ form.yyms }}</td>
+        </tr>
+        <tr>
+          <td>建设期开始</td>
+          <td>{{ form.jsqks }}</td>
+          <td>自理人数</td>
+          <td>{{ form.zlrs }}</td>
+        </tr>
+        <tr>
+          <td>建设期结束</td>
+          <td>{{ form.jsqjs }}</td>
+          <td>总投资(万元)</td>
+          <td>{{ form.ztz }}</td>
+        </tr>
+      </table>
+
+      <table class="table">
+        <tr>
+          <td>地方匹配资金(万元)</td>
+          <td>{{ form.dfppzj }}</td>
+          <td>申请省级资金(万元)</td>
+          <td>{{ form.sqsjzj }}</td>
+        </tr>
+      </table>
+
+      <table class="table">
+        <tr>
+          <td>项目概况</td>
+          <td>{{ form.xmgk }}</td>
+          <td>项目概况附件</td>
+          <td>
+            <file-upload v-model="form.xmgkFj" :isShowTip="false" :fileSize="10" :isFile="false"
+            :fileType="['jpg','jpeg','png','doc','docx','pdf']"></file-upload>
+          </td>
+        </tr>
+      </table>
+      <div slot="footer" class="dialog-footer">
+        <!-- <el-button
+          type="primary"
+          @click="submitForm"
+          :loading="submitFormLoading"
+          >确 定</el-button
+        > -->
+        <el-button @click="xqOpen =false">取 消</el-button>
+      </div>
+    </el-dialog>
   </div>
 </template>
 
@@ -341,10 +427,15 @@ export default {
       title: "",
       // 是否显示弹出层
       open: false,
+      // 详情对话框
+      xqOpen:false,
       // 查询参数
       queryParams: {
         pageNum: 1,
         pageSize: 10,
+        sbdw:null,
+        xmmc:null,
+        yyms:null
       },
       // 表单参数
       form: {},
@@ -423,6 +514,24 @@ export default {
     this.getList();
   },
   methods: {
+    // 详情对话框
+    handleUpdateXQ(row){
+      this.reset();
+      const id = row.id || this.ids;
+      getFwzx(id).then((response) => {
+        this.form = response.data;
+        if (this.form.xzqhId) {
+          this.form.xzqhId = JSON.stringify(this.form.xzqhId.split(","));
+        } else {
+          this.form.xzqhId = "";
+        }
+        /****** sks 需要改动的地方 start ******/
+        this.copyForm = this.deepCopy(response.data);
+        /****** sks 需要改动的地方 end ******/
+        this.xqOpen = true;
+        this.title = "修改项目申报公办养老机构建设项目信息";
+      });
+    },
     /** 查询项目申报综合嵌入式社区居家养老服务中心项目信息列表 */
     getList() {
       this.loading = true;
@@ -527,7 +636,7 @@ export default {
                     this.form.id,
                     formData
                   );
-                  // this.getList();
+                  this.getList();
                 })
                 .finally(() => (this.submitFormLoading = false));
             } else {
@@ -548,6 +657,7 @@ export default {
                 }
                 this.fwzxList.unshift({ ...this.form, id: response.data });
                 this.total++;
+                this.getList()
                 /****** sks 需要改动的地方 end ******/
               })
               .finally(() => (this.submitFormLoading = false));
@@ -594,3 +704,22 @@ export default {
   },
 };
 </script>
+
+<style rel="stylesheet/scss" lang="scss" scoped>
+  @import '@/assets/styles/common/common.scss';
+
+.el-form {
+  margin-top: 20px;
+}
+
+.switch {
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+  margin-bottom: 10px;
+}
+.sxzd {
+  font-weight: 600;
+  margin: 10px 15px;
+}
+</style>

+ 158 - 4
ruoyi-ui/src/views/business/xmsb/jgjs/index.vue

@@ -108,6 +108,7 @@
         </template>
       </el-table-column>
       <el-table-column
+        width="200"
         label="操作"
         align="center"
         class-name="small-padding fixed-width"
@@ -146,7 +147,7 @@
             size="mini"
             type="text"
             icon="el-icon-edit"
-            @click="handleUpdate(scope.row)"
+            @click="handleUpdateXQ(scope.row)"
             v-hasPermi="['business:jgjs:query']"
             >详情</el-button
           >
@@ -167,10 +168,10 @@
       v-dialog-drag
       :title="title"
       :visible.sync="open"
-      width="500px"
+      width="800px"
       append-to-body
     >
-      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
+      <el-form ref="form" :model="form" :rules="rules" label-width="170px">
         <el-form-item label="地区" prop="xzqhId">
           <RegionCascaderSelect
             endLevel="4"
@@ -358,6 +359,7 @@
           <file-upload v-model="form.fjEighth" />
         </el-form-item>
       </el-form>
+      
       <div slot="footer" class="dialog-footer">
         <el-button
           type="primary"
@@ -368,6 +370,110 @@
         <el-button @click="cancel">取 消</el-button>
       </div>
     </el-dialog>
+    <!-- 详情框 -->
+    <el-dialog
+      v-dialog-drag
+      :title="title"
+      :visible.sync="xqOpen"
+      width="1000px"
+      append-to-body
+    >
+      
+      <h3>详情信息</h3>
+      <table class="table">
+        <tr>
+          <td>地区</td>
+          <td>{{ form.xzqhName }}</td>
+          <td>项目单位</td>
+          <td>{{ form.xmdw }}</td>
+        </tr>
+        <tr>
+          <td>单位地址</td>
+          <td>{{ form.dwdz }}</td>
+          <td>项目性质</td>
+          <td>{{ translateDict('XZ098',form.xmxz) }}</td>
+        </tr>
+        <tr>
+          <td>负责人</td>
+          <td>{{ form.fzr }}</td>
+          <td>手机号</td>
+          <td>{{ form.sjh }}</td>
+        </tr>
+        <tr>
+          <td>建筑面积</td>
+          <td>{{ form.jzmj }}</td>
+          <td>床位数量</td>
+          <td>{{ form.cwsl }}</td>
+        </tr>
+        <tr>
+          <td>入住老年人数</td>
+          <td>{{ form.rzrs }}</td>
+          <td>特困供养人数</td>
+          <td>{{ form.tkgyrs }}</td>
+        </tr>
+        <tr>
+          <td>失能半失能</td>
+          <td>{{ form.snbsn }}</td>
+          <td>自理人数</td>
+          <td>{{ form.zlrs }}</td>
+        </tr>
+        <tr>
+          <td>建设期开始</td>
+          <td>{{ form.jsqks }}</td>
+          <td>建设期结束</td>
+          <td>{{ form.jsqjs }}</td>
+        </tr>
+      </table>
+
+      <table class="table">
+        <tr>
+          <td>预算资金(万元)</td>
+          <td>{{ form.yszj }}</td>
+          <td>当地政府投入(万元)</td>
+          <td>{{ form.ddzftr }}</td>
+        </tr>
+      </table>
+
+      <table class="table">
+        <tr>
+          <td>自筹资金(万元)</td>
+          <td>{{ form.zczj }}</td>
+          <td>申请省级支持资金(万元)</td>
+          <td>{{ form.sqsjzczj }}</td>
+        </tr>
+        <tr>
+          <td>附件清单</td>
+          <td colspan="4">
+            <file-upload v-model="form.fjFirst" :isShowTip="false" :fileSize="10" :isFile="false"
+                    :fileType="['jpg','jpeg','png','doc','docx','pdf']"></file-upload>
+            <file-upload v-model="form.fjSecond" :isShowTip="false" :fileSize="10" :isFile="false"
+                    :fileType="['jpg','jpeg','png','doc','docx','pdf']"></file-upload>
+            <file-upload v-model="form.fjThird" :isShowTip="false" :fileSize="10" :isFile="false"
+                    :fileType="['jpg','jpeg','png','doc','docx','pdf']"></file-upload>
+            <file-upload v-model="form.fjFourth" :isShowTip="false" :fileSize="10" :isFile="false"
+                    :fileType="['jpg','jpeg','png','doc','docx','pdf']"></file-upload>
+            <file-upload v-model="form.fjFifth" :isShowTip="false" :fileSize="10" :isFile="false"
+                    :fileType="['jpg','jpeg','png','doc','docx','pdf']"></file-upload>
+            <file-upload v-model="form.fjSixth" :isShowTip="false" :fileSize="10" :isFile="false"
+                    :fileType="['jpg','jpeg','png','doc','docx','pdf']"></file-upload>
+            <file-upload v-model="form.fjSeventh" :isShowTip="false" :fileSize="10" :isFile="false"
+                    :fileType="['jpg','jpeg','png','doc','docx','pdf']"></file-upload>
+            <file-upload v-model="form.fjEighth" :isShowTip="false" :fileSize="10" :isFile="false"
+                    :fileType="['jpg','jpeg','png','doc','docx','pdf']"></file-upload>
+          </td>
+        </tr>
+        
+      </table>
+      <div slot="footer" class="dialog-footer">
+        <!-- <el-button
+          type="primary"
+          @click="submitForm"
+          :loading="submitFormLoading"
+          >确 定</el-button
+        > -->
+        <el-button @click="xqOpen =false">取 消</el-button>
+      </div>
+    </el-dialog>
   </div>
 </template>
 
@@ -407,10 +513,14 @@ export default {
       title: "",
       // 是否显示弹出层
       open: false,
+      // 详情对话框
+      xqOpen:false,
       // 查询参数
       queryParams: {
         pageNum: 1,
         pageSize: 10,
+        xmxz:null,
+        xmdw:null,
       },
       // 表单参数
       form: {},
@@ -497,6 +607,28 @@ export default {
     this.getList();
   },
   methods: {
+    // 字典翻译
+    translateDict(type, value) {
+      return this.selectDictLabel(this.dict.type[type], value)
+    },
+    // 详情对话框
+    handleUpdateXQ(row){
+      this.reset();
+      const id = row.id || this.ids;
+      getJgjs(id).then((response) => {
+        this.form = response.data;
+        if (this.form.xzqhId) {
+          this.form.xzqhId = JSON.stringify(this.form.xzqhId.split(","));
+        } else {
+          this.form.xzqhId = "";
+        }
+        /****** sks 需要改动的地方 start ******/
+        this.copyForm = this.deepCopy(response.data);
+        /****** sks 需要改动的地方 end ******/
+        this.xqOpen = true;
+        this.title = "修改项目申报公办养老机构建设项目信息";
+      });
+    },
     /** 查询项目申报公办养老机构建设项目信息列表 */
     getList() {
       this.loading = true;
@@ -623,6 +755,7 @@ export default {
             if (formData) {
               updateJgjs({ ...formData, id: this.form.id, xzqhId: szxzqh })
                 .then((response) => {
+                  console.log('提交了');
                   this.$modal.msgSuccess("修改成功");
                   this.open = false;
                   this.jgjsList = this.dataReplacement(
@@ -634,9 +767,11 @@ export default {
                 })
                 .finally(() => (this.submitFormLoading = false));
             } else {
+              console.log('提交了');
               this.$modal.msgSuccess("修改成功");
               this.open = false;
               this.submitFormLoading = false;
+              // this.getList();
             }
             /****** sks 需要改动的地方 end ******/
           } else {
@@ -644,13 +779,13 @@ export default {
               .then((response) => {
                 this.$modal.msgSuccess("新增成功");
                 this.open = false;
-                // this.getList();
                 /****** sks 需要改动的地方 start ******/
                 if (this.queryParams.pageSize === this.jgjsList.length) {
                   this.jgjsList.pop();
                 }
                 this.jgjsList.unshift({ ...this.form, id: response.data });
                 this.total++;
+                this.getList();
                 /****** sks 需要改动的地方 end ******/
               })
               .finally(() => (this.submitFormLoading = false));
@@ -697,3 +832,22 @@ export default {
   },
 };
 </script>
+
+<style rel="stylesheet/scss" lang="scss" scoped>
+  @import '@/assets/styles/common/common.scss';
+
+.el-form {
+  margin-top: 20px;
+}
+
+.switch {
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+  margin-bottom: 10px;
+}
+.sxzd {
+  font-weight: 600;
+  margin: 10px 15px;
+}
+</style>

+ 140 - 3
ruoyi-ui/src/views/business/xmsb/sz/index.vue

@@ -87,6 +87,7 @@
         </template>
       </el-table-column>
       <el-table-column
+        width="200"
         label="操作"
         align="center"
         class-name="small-padding fixed-width"
@@ -125,7 +126,7 @@
             size="mini"
             type="text"
             icon="el-icon-edit"
-            @click="handleUpdate(scope.row)"
+            @click="handleUpdateXQ(scope.row)"
             v-hasPermi="['business:sz:query']"
             >详情</el-button
           >
@@ -146,10 +147,10 @@
       v-dialog-drag
       :title="title"
       :visible.sync="open"
-      width="500px"
+      width="800px"
       append-to-body
     >
-      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
+      <el-form ref="form" :model="form" :rules="rules" label-width="170px">
         <el-form-item label="机构名称" prop="jgmc">
           <el-input v-model="form.jgmc" placeholder="请输入机构名称" />
         </el-form-item>
@@ -351,6 +352,101 @@
         <el-button @click="cancel">取 消</el-button>
       </div>
     </el-dialog>
+
+    <!-- 详情框 -->
+    <el-dialog
+      v-dialog-drag
+      :title="title"
+      :visible.sync="xqOpen"
+      width="1000px"
+      append-to-body
+    >
+      
+      <h3>详情信息</h3>
+      <table class="table">
+        <tr>
+          <td>机构名称</td>
+          <td>{{ form.jgmc }}</td>
+          <td>地址</td>
+          <td>{{ form.dz }}</td>
+        </tr>
+        <tr>
+          <td>联系人</td>
+          <td>{{ form.lxr }}</td>
+          <td>手机号</td>
+          <td>{{ form.sjh }}</td>
+        </tr>
+        <tr>
+          <td>总床位数</td>
+          <td>{{ form.zcws }}</td>
+          <td>护理型床位数</td>
+          <td>{{ form.hlxcws }}</td>
+        </tr>
+        <tr>
+          <td>专区总床位数</td>
+          <td>{{ form.zqzcws }}</td>
+          <td>现有失智人员数量</td>
+          <td>{{ form.xyszrys }}</td>
+        </tr>
+        <tr>
+          <td>总投资数(万元)</td>
+          <td>{{ form.ztzs }}</td>
+          <td>配备护理人员数</td>
+          <td>{{ form.pbhlrys }}</td>
+        </tr>
+        <tr>
+          <td>安装电磁感应门</td>
+          <td>{{ form.azdcgym }}</td>
+          <td>配备护理型床</td>
+          <td>{{ form.pbhlxc }}</td>
+        </tr>
+        <tr>
+          <td>窗户安全设施</td>
+          <td>{{ form.chaqss }}</td>
+          <td>室内软装</td>
+          <td>{{ form.snrz }}</td>
+        </tr>
+      </table>
+
+      <table class="table">
+        <tr>
+          <td>墙壁装饰</td>
+          <td>{{ form.qbzs }}</td>
+          <td>设置认知康复空间</td>
+          <td>{{ form.szrzkfkj }}</td>
+        </tr>
+      </table>
+
+      <table class="table">
+        <tr>
+          <td>设置疗愈性园林景观小品</td>
+          <td>{{ form.szlyxyljgxp }}</td>
+          <td>安装监控设施</td>
+          <td>{{ form.azjkss }}</td>
+        </tr>
+        <tr>
+          <td>室内认知症活动空间</td>
+          <td>{{ form.snrzzhdkj}}</td>
+          <td>其他</td>
+          <td>{{ form.qt}}</td>
+        </tr>
+        <tr>
+          <td>项目概况</td>
+          <td>{{ form.xmgk}}</td>
+          <td>备注</td>
+          <td>{{ form.bz}}</td>
+        </tr>
+      </table>
+      <div slot="footer" class="dialog-footer">
+        <!-- <el-button
+          type="primary"
+          @click="submitForm"
+          :loading="submitFormLoading"
+          >确 定</el-button
+        > -->
+        <el-button @click="xqOpen =false">取 消</el-button>
+      </div>
+    </el-dialog>
   </div>
 </template>
 
@@ -382,10 +478,13 @@ export default {
       title: "",
       // 是否显示弹出层
       open: false,
+      xqOpen:false,
       // 查询参数
       queryParams: {
         pageNum: 1,
         pageSize: 10,
+        jgmc:null,
+        lxr:null
       },
       // 表单参数
       form: {},
@@ -447,6 +546,24 @@ export default {
     this.getList();
   },
   methods: {
+    // 详情对话框
+    handleUpdateXQ(row){
+      this.reset();
+      const id = row.id || this.ids;
+      getSz(id).then((response) => {
+        this.form = response.data;
+        if (this.form.xzqhId) {
+          this.form.xzqhId = JSON.stringify(this.form.xzqhId.split(","));
+        } else {
+          this.form.xzqhId = "";
+        }
+        /****** sks 需要改动的地方 start ******/
+        this.copyForm = this.deepCopy(response.data);
+        /****** sks 需要改动的地方 end ******/
+        this.xqOpen = true;
+        this.title = "修改项目申报公办养老机构建设项目信息";
+      });
+    },
     /** 查询项目申报失智照护专区建设项目信息列表 */
     getList() {
       this.loading = true;
@@ -578,6 +695,7 @@ export default {
                 }
                 this.szList.unshift({ ...this.form, id: response.data });
                 this.total++;
+                this.getList()
                 /****** sks 需要改动的地方 end ******/
               })
               .finally(() => (this.submitFormLoading = false));
@@ -624,3 +742,22 @@ export default {
   },
 };
 </script>
+
+<style rel="stylesheet/scss" lang="scss" scoped>
+  @import '@/assets/styles/common/common.scss';
+
+.el-form {
+  margin-top: 20px;
+}
+
+.switch {
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+  margin-bottom: 10px;
+}
+.sxzd {
+  font-weight: 600;
+  margin: 10px 15px;
+}
+</style>

+ 117 - 3
ruoyi-ui/src/views/business/xmsb/yldy/index.vue

@@ -105,6 +105,7 @@
         </template>
       </el-table-column>
       <el-table-column
+        width="200"
         label="操作"
         align="center"
         class-name="small-padding fixed-width"
@@ -143,7 +144,7 @@
             size="mini"
             type="text"
             icon="el-icon-edit"
-            @click="handleUpdate(scope.row)"
+            @click="handleUpdateXQ(scope.row)"
             v-hasPermi="['business:yldy:query']"
             >详情</el-button
           >
@@ -164,10 +165,10 @@
       v-dialog-drag
       :title="title"
       :visible.sync="open"
-      width="500px"
+      width="800px"
       append-to-body
     >
-      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
+      <el-form ref="form" :model="form" :rules="rules" label-width="180px">
         <el-form-item label="地区" prop="xzqhId">
           <RegionCascaderSelect
             endLevel="4"
@@ -303,6 +304,78 @@
         <el-button @click="cancel">取 消</el-button>
       </div>
     </el-dialog>
+
+     <!-- 详情框 -->
+    <el-dialog
+      v-dialog-drag
+      :title="title"
+      :visible.sync="xqOpen"
+      width="1000px"
+      append-to-body
+    >
+      
+      <h3>详情信息</h3>
+      <table class="table">
+        <tr>
+          <td>地区</td>
+          <td>{{ form.xzqhName }}</td>
+          <td>行政村</td>
+          <td>{{ form.xmmc }}</td>
+        </tr>
+        <tr>
+          <td>全村总人口</td>
+          <td>{{ form.qczrk }}</td>
+          <td>全村老年人口</td>
+          <td>{{ form.qclnrk }}</td>
+        </tr>
+        <tr>
+          <td>建筑面积</td>
+          <td>{{ form.jzmj }}</td>
+          <td>设置床位数</td>
+          <td>{{ form.szcws }}</td>
+        </tr>
+        <tr>
+          <td>设施来源</td>
+          <td>{{ form.ssly }}</td>
+          <td>预算资金(万元)</td>
+          <td>{{ form.yszj }}</td>
+        </tr>
+        <tr>
+          <td>村委会自筹(万元)</td>
+          <td>{{ form.cwhzc }}</td>
+          <td>当地财政收入(万元)</td>
+          <td>{{ form.ddczsr }}</td>
+        </tr>
+        <tr>
+          <td>申请省级支持资金(万元)</td>
+          <td>{{ form.sqsjzczj }}</td>
+          <td>联系人</td>
+          <td>{{ form.lxr }}</td>
+        </tr>
+        <tr>
+          <td>手机号</td>
+          <td>{{ form.sjh }}</td>
+          <td>建设方案</td>
+          <td>{{ form.jsfa }}</td>
+        </tr>
+        <tr>
+          <td>建设方案附件</td>
+          <td colspan="4">
+            <file-upload v-model="form.jsfaFj" :isShowTip="false" :fileSize="10" :isFile="false"
+            :fileType="['jpg','jpeg','png','doc','docx','pdf']"></file-upload>
+          </td>
+        </tr>
+      </table>
+      <div slot="footer" class="dialog-footer">
+        <!-- <el-button
+          type="primary"
+          @click="submitForm"
+          :loading="submitFormLoading"
+          >确 定</el-button
+        > -->
+        <el-button @click="xqOpen =false">取 消</el-button>
+      </div>
+    </el-dialog>
   </div>
 </template>
 
@@ -336,6 +409,8 @@ export default {
       showSearch: true,
       // 总条数
       total: 0,
+      // 详情对话框
+      xqOpen:false,
       // 项目申报农村养老大院项目信息表格数据
       yldyList: [],
       // 弹出层标题
@@ -346,6 +421,8 @@ export default {
       queryParams: {
         pageNum: 1,
         pageSize: 10,
+        xzc:null,
+        ssly:null,
       },
       // 表单参数
       form: {},
@@ -417,6 +494,24 @@ export default {
     this.getList();
   },
   methods: {
+    // 详情对话框
+    handleUpdateXQ(row){
+      this.reset();
+      const id = row.id || this.ids;
+      getYldy(id).then((response) => {
+        this.form = response.data;
+        if (this.form.xzqhId) {
+          this.form.xzqhId = JSON.stringify(this.form.xzqhId.split(","));
+        } else {
+          this.form.xzqhId = "";
+        }
+        /****** sks 需要改动的地方 start ******/
+        this.copyForm = this.deepCopy(response.data);
+        /****** sks 需要改动的地方 end ******/
+        this.xqOpen = true;
+        this.title = "修改项目申报公办养老机构建设项目信息";
+      });
+    },
     /** 查询项目申报农村养老大院项目信息列表 */
     getList() {
       this.loading = true;
@@ -563,6 +658,7 @@ export default {
                 }
                 this.yldyList.unshift({ ...this.form, id: response.data });
                 this.total++;
+                this.getList()
                 /****** sks 需要改动的地方 end ******/
               })
               .finally(() => (this.submitFormLoading = false));
@@ -609,3 +705,21 @@ export default {
   },
 };
 </script>
+<style rel="stylesheet/scss" lang="scss" scoped>
+  @import '@/assets/styles/common/common.scss';
+
+.el-form {
+  margin-top: 20px;
+}
+
+.switch {
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+  margin-bottom: 10px;
+}
+.sxzd {
+  font-weight: 600;
+  margin: 10px 15px;
+}
+</style>