소스 검색

财务信息修改-增加让省级修改财务三个值的页面功能

953954216 5 달 전
부모
커밋
57b5da14be

+ 33 - 1
ruoyi-modules/mz-business/src/main/java/com/ruoyi/business/controller/YljgJcxxController.java

@@ -54,6 +54,22 @@ public class YljgJcxxController extends BaseController
         return getDataTable(list);
     }
 
+    @GetMapping("/cwList")
+    public TableDataInfo cwList(YljgJcxx yljgJcxx)
+    {
+        String rr = SecurityUtils.getAreaCode();
+        Map<String,String> map = SubCodeUtil.getSubCode(rr);
+        if ("3".equals(map.get("level"))){
+            yljgJcxx.setIsBj("1");
+        }
+        if (StringUtils.isNull(yljgJcxx.getXzqhId()) && "1".equals(yljgJcxx.getIsBj())){
+            yljgJcxx.setXzqhId(SecurityUtils.getAreaCode());
+        }
+        startPage();
+        List<YljgJcxx> list = yljgJcxxService.selectYljgJcxxListBusinessCw(yljgJcxx);
+        return getDataTable(list);
+    }
+
     /**
      * 服务检查机构信息列表
      */
@@ -88,17 +104,33 @@ public class YljgJcxxController extends BaseController
         return AjaxResult.success(yljgJcxxService.selectYljgJcxxBusinessById(id));
     }
 
+    /** 获取机构信息-财务详细信息 */
+//    @RequiresPermissions(value = {"business:jgxxgl:query","business:jcxx:query", "search:jcxx:query"}, logical = Logical.OR)
+    @GetMapping(value = "/cwxx/{id}")
+    public AjaxResult getCwInfo(@PathVariable("id") String id)
+    {
+        return AjaxResult.success(yljgJcxxService.selectYljgJcxxBusinessCwById(id));
+    }
+
     /**
      * 修改机构信息
      */
     @RequiresPermissions("business:jcxx:edit")
-    @Log(title = "机构信息", businessType = BusinessType.UPDATE)
     @PutMapping
     public AjaxResult edit(@Validated @RequestBody YljgJcxx yljgJcxx)
     {
             return toAjax(yljgJcxxService.updateYljgJcxx(yljgJcxx));
     }
 
+    /** 修改财务机构信息 */
+//    @RequiresPermissions("business:jcxx:editCw")
+    @Log(title = "机构信息财务", businessType = BusinessType.UPDATE)
+    @PostMapping("/editCw")
+    public AjaxResult editCw(@Validated @RequestBody YljgJcxx yljgJcxx)
+    {
+        return toAjax(yljgJcxxService.updateYljgJcxxCw(yljgJcxx));
+    }
+
     /**
      * 修改机构信息(设置机构开业状态)
      */

+ 9 - 0
ruoyi-modules/mz-organization-jg/src/main/java/com/ruoyi/organization/domain/YljgJcxx.java

@@ -864,7 +864,16 @@ public class YljgJcxx extends BaseEntity
     @NumberV(message = "{失智照护专区入住老年人数}")
     private String szzhzqRzlnrs;
 
+    @ApiModelProperty(value = "财务填报-机构名称")
+    private String cwjgmc;
 
+    @ApiModelProperty(value = "财务填报-统一社会信用代码")
+    private String cwtyshxydm;
 
+    @ApiModelProperty(value = "财务填报-类型")
+    private String cwbj;
+
+    @ApiModelProperty(value = "财务填报-是否确认")
+    private String iscwqr;
 
 }

+ 5 - 0
ruoyi-modules/mz-organization-jg/src/main/java/com/ruoyi/organization/mapper/YljgJcxxMapper.java

@@ -34,6 +34,9 @@ public interface YljgJcxxMapper extends BaseMapperPlus<YljgJcxx>
     public YljgJcxx selectYljgJcxxBySearchId(String id);
     public YljgJcxx selectYljgJcxxBusinessById(String id);
 
+    @InterceptorIgnore(tenantLine = "true")
+    public YljgJcxx selectYljgJcxxBusinessCwById(String id);
+
     /**
      * 查询机构信息列表
      *
@@ -42,6 +45,8 @@ public interface YljgJcxxMapper extends BaseMapperPlus<YljgJcxx>
      */
     public List<YljgJcxx> selectYljgJcxxList(YljgJcxx yljgJcxx);
     public List<YljgJcxx> selectYljgJcxxListBusiness(YljgJcxx yljgJcxx);
+
+    public List<YljgJcxx> selectYljgJcxxListBusinessCw(YljgJcxx yljgJcxx);
     public List<YljgJcxx> selectYljgJcxxListBusinessExport(YljgJcxx yljgJcxx);
     public List<YljgJcxx> selectYljgJcxxAdvancedList(YljgJcxx yljgJcxx);
 

+ 3 - 0
ruoyi-modules/mz-organization-jg/src/main/java/com/ruoyi/organization/service/IYljgJcxxService.java

@@ -25,6 +25,7 @@ public interface IYljgJcxxService
 
     @Slave
     public YljgJcxx selectYljgJcxxBusinessById(String id);
+    public YljgJcxx selectYljgJcxxBusinessCwById(String id);
 
     @Slave
     public List<YljgJcxx> selectFwjcYljgJcxxList(YljgJcxx yljgJcxx);
@@ -38,6 +39,7 @@ public interface IYljgJcxxService
     public List<YljgJcxx> selectYljgJcxxList(YljgJcxx yljgJcxx);
     @Slave
     public List<YljgJcxx> selectYljgJcxxListBusiness(YljgJcxx yljgJcxx);
+    public List<YljgJcxx> selectYljgJcxxListBusinessCw(YljgJcxx yljgJcxx);
 
     @Slave
     public List<YljgJcxx> selectYljgJcxxListBusinessExport(YljgJcxx yljgJcxx);
@@ -58,6 +60,7 @@ public interface IYljgJcxxService
      * @return 结果
      */
     public int updateYljgJcxx(YljgJcxx yljgJcxx);
+    public int updateYljgJcxxCw(YljgJcxx yljgJcxx);
     public int updateYljgSczt(YljgJcxx yljgJcxx);
     public String checkSczt(YljgJcxx yljgJcxx);
     /**

+ 19 - 0
ruoyi-modules/mz-organization-jg/src/main/java/com/ruoyi/organization/service/impl/YljgJcxxServiceImpl.java

@@ -86,6 +86,12 @@ public class YljgJcxxServiceImpl implements IYljgJcxxService
         return yljgJcxxMapper.selectYljgJcxxBusinessById(id);
     }
 
+    @Override
+    public YljgJcxx selectYljgJcxxBusinessCwById(String id)
+    {
+        return yljgJcxxMapper.selectYljgJcxxBusinessCwById(id);
+    }
+
 
     /**
      * 查询机构信息列表
@@ -104,6 +110,13 @@ public class YljgJcxxServiceImpl implements IYljgJcxxService
     {
         return yljgJcxxMapper.selectYljgJcxxListBusiness(yljgJcxx);
     }
+
+    @Override
+    public List<YljgJcxx> selectYljgJcxxListBusinessCw(YljgJcxx yljgJcxx)
+    {
+        return yljgJcxxMapper.selectYljgJcxxListBusinessCw(yljgJcxx);
+    }
+
     @Override
     public List<YljgJcxx> selectYljgJcxxListBusinessExport(YljgJcxx yljgJcxx)
     {
@@ -454,6 +467,12 @@ public class YljgJcxxServiceImpl implements IYljgJcxxService
         return yljgJcxxMapper.updateYljgJcxx(yljgJcxx);
     }
 
+    @Override
+    public int updateYljgJcxxCw(YljgJcxx yljgJcxx)
+    {
+        return yljgJcxxMapper.updateById(yljgJcxx);
+    }
+
     public int updateYljgSczt(YljgJcxx yljgJcxx)
     {
         insertYljgJcxxUpdateHi(yljgJcxx);

+ 58 - 0
ruoyi-modules/mz-organization-jg/src/main/resources/mapper/organization/YljgJcxxMapper.xml

@@ -238,6 +238,27 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <result property="gmb"    column="gmb"    />
     </resultMap>
 
+    <resultMap type="YljgJcxx" id="YljgJcxxCwResult">
+        <result property="id"    column="id"    />
+        <result property="tyshxydm"    column="tyshxydm"    />
+        <result property="jgmc"    column="jgmc"    />
+        <result property="txdz"    column="txdz"    />
+        <result property="frxm"    column="frxm"    />
+        <result property="frlxfs"    column="frlxfs"    />
+        <result property="frzjhm"    column="frzjhm"    />
+        <result property="frdjjg"    column="frdjjg"    />
+        <result property="frlx"    column="frlx"    />
+        <result property="csxz"    column="csxz"    />
+        <result property="scwz"    column="scwz"    />
+        <result property="dwxz"    column="dwxz"    />
+        <result property="xbzt"    column="xbzt"    />
+        <result property="isGry"    column="is_gry"    />
+        <result property="cwjgmc"    column="cwjgmc"    />
+        <result property="cwtyshxydm"    column="cwtyshxydm"    />
+        <result property="cwbj"    column="cwbj"    />
+        <result property="iscwqr"    column="iscwqr"    />
+    </resultMap>
+
         <sql id="selectYljgJcxxVo">
             select
             getxzqhmcbycode(a.szxzqh) as szxzqh_names,
@@ -299,6 +320,32 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         </where>
     </select>
 
+    <select id="selectYljgJcxxListBusinessCw" parameterType="YljgJcxx" resultMap="YljgJcxxCwResult">
+        select
+        id,tyshxydm,jgmc,txdz,
+        frxm, frlxfs,frzjhm,frdjjg,frlx,
+        dwxz,scwz,xbzt,csxz,is_gry,
+        cwjgmc,cwtyshxydm,cwbj,iscwqr,sczt,
+        create_time_str, create_user_id, create_by, create_unit,create_tounit,create_bmjsc,create_qhjsc, create_unit_name,
+        update_time_str, update_user_id, update_by, update_unit, update_unit_name
+        from yljg_jcxx
+        <where>
+            jlrq is not null
+            <if test="xzqhId != null and isBj == 0"> and ssxzqh IN ( SELECT CODE FROM SYS_DEPT_JL WHERE FIND_IN_SET(#{xzqhId},ancestors) OR CODE = #{xzqhId} )</if>
+            <if test="xzqhId != null and isBj == 1"> and ssxzqh = #{xzqhId}</if>
+            <if test="jgmc != null  and jgmc != ''"> and jgmc like concat('%', #{jgmc}, '%')</if>
+            <if test="tyshxydm != null  and tyshxydm != ''"> and tyshxydm like concat('%', #{tyshxydm}, '%')</if>
+            <if test="isBa != null  and isBa != ''"> and is_ba = #{isBa}</if>
+            <if test="isGbmy != null  and isGbmy != ''"> and is_gbmy = #{isGbmy}</if>
+            <if test='isGbmb == "01"'> and dwxz in ('30','31','32','33','40','41','42','43') </if>
+            <if test='isGbmb == "00"'> and dwxz in ('10','20','21','22','23') </if>
+            <if test="sczt != null  and sczt != ''"> and sczt = #{sczt}</if>
+            <if test="iscwqr != null  and iscwqr != ''"> and iscwqr = #{iscwqr}</if>
+            <if test="cwbj != null  and cwbj != ''"> and cwbj = #{cwbj}</if>
+        </where>
+    </select>
+
+
     <select id="selectYljgJcxxListBusinessExport" parameterType="YljgJcxx" resultMap="YljgJcxxResultExport">
         select
         id, zzjgdm, tyshxydm, jgmc, jlrq, czyy, czsj,
@@ -499,6 +546,17 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         where a.id = #{id}
     </select>
 
+    <select id="selectYljgJcxxBusinessCwById" parameterType="String" resultMap="YljgJcxxCwResult">
+        select
+            id,tyshxydm,jgmc,txdz,
+            frxm, frlxfs,frzjhm,frdjjg,frlx,
+            dwxz,scwz,xbzt,csxz,is_gry,
+            cwjgmc,cwtyshxydm,cwbj,iscwqr
+        from yljg_jcxx
+        where id = #{id}
+    </select>
+
+
     <select id="selectYljgJcxxList" parameterType="YljgJcxx" resultMap="YljgJcxxResult">
         <include refid="selectYljgJcxxVo"/>
         <where>

+ 26 - 0
ruoyi-ui/src/api/business/fwjggl/jcxx.js

@@ -9,6 +9,15 @@ export function listJcxx(query) {
   })
 }
 
+// 查询机构财务信息列表
+export function listJcxxCw(query) {
+  return request({
+    url: '/business/jcxx/cwList',
+    method: 'get',
+    params: query
+  })
+}
+
 // 查询机构信息列表
 export function fwjcList(query) {
   return request({
@@ -26,6 +35,14 @@ export function getJcxx(id) {
   })
 }
 
+// 查询机构信财务息详细
+export function getJcxxCw(id) {
+  return request({
+    url: '/business/jcxx/cwxx/' + id,
+    method: 'get'
+  })
+}
+
 // 信用代码查询机构
 export function selectJgByXydm(id) {
   return request({
@@ -53,6 +70,15 @@ export function updateJcxx(data) {
   })
 }
 
+// 修改机构财务信息
+export function updateJcxxCw(data) {
+  return request({
+    url: '/business/jcxx/editCw',
+    method: 'post',
+    data: data
+  })
+}
+
 // 修改机构信息开业状态
 export function updateJgKyzt(data) {
   return request({

+ 478 - 0
ruoyi-ui/src/views/business/fwjggl/cwxxtbXg/index.vue

@@ -0,0 +1,478 @@
+<template>
+  <div class="app-container">
+    <el-row :gutter="20">
+      <el-col :span="4" :xs="24">
+        <QueryThisLevel :initLevel="queryParams.isBj" :active="1" :inactive="0" @changeLevel="changSwitch">
+        </QueryThisLevel>
+        <span class="sxzd">行政区划</span>
+        <dept-tree :userId="user.userData.dept.parentId" @handleNodeClick="handleNodeClick">
+        </dept-tree>
+      </el-col>
+      <el-col :span="20" :xs="24">
+        <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch"
+          label-width="140px">
+
+          <el-form-item label="统一社会信用代码" prop="tyshxydm">
+            <el-input v-model="queryParams.tyshxydm" placeholder="请输入统一社会信用代码" maxlength="18" clearable
+              @keyup.enter.native="handleQuery" />
+          </el-form-item>
+          <el-form-item label="机构名称[原值]" prop="jgmc">
+            <el-input v-model="queryParams.jgmc" placeholder="请输入机构名称" clearable @keyup.enter.native="handleQuery" />
+          </el-form-item>
+
+          <el-form-item label="是否财务确认" prop="iscwqr">
+            <el-select
+              v-model="queryParams.iscwqr"
+              placeholder="请选择状态"
+              clearable
+            >
+              <el-option
+                v-for="dict in dict.type.CZ035"
+                :key="dict.value"
+                :label="dict.label"
+                :value="dict.value"
+              />
+            </el-select>
+          </el-form-item>
+
+          <el-form-item label="台卡类型" prop="cwbj">
+            <el-select v-model="queryParams.cwbj" placeholder="请选择台卡类型" clearable>
+              <el-option
+                v-for="item in optionsTklx"
+                :key="item.value"
+                :label="item.label"
+                :value="item.value">
+              </el-option>
+            </el-select>
+          </el-form-item>
+
+          <el-form-item>
+            <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
+            <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
+            <el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport"
+                v-hasPermi="['business:jcxx:export']">导出</el-button>
+          </el-form-item>
+        </el-form>
+
+        <el-table v-loading="loading" :data="jcxxList">
+          <el-table-column label="序号" align="center">
+            <template slot-scope="scope">
+              {{ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1 }}
+            </template>
+          </el-table-column>
+          <el-table-column label="统一社会信用代码[原值]" align="center" prop="tyshxydm" width="200" />
+          <el-table-column label="统一社会信用代码[财务]" align="center" prop="cwtyshxydm" width="200" />
+          <el-table-column label="机构名称[原值]" align="center" prop="jgmc" width="300" />
+          <el-table-column label="机构名称[财务]" align="center" prop="cwjgmc" width="300" />
+          <el-table-column label="运营状态" align="center" prop="sczt" >
+            <template slot-scope="scope">
+              <dict-tag :options="dict.type.CH026" :value="scope.row.sczt" />
+            </template>
+          </el-table-column>
+          <el-table-column label="台卡类型[财务]" align="center" prop="cwbj" />
+          <el-table-column label="是否确认" align="center" prop="iscwqr" >
+            <template slot-scope="scope">
+              <dict-tag :options="dict.type.CZ035" :value="scope.row.iscwqr" />
+            </template>
+          </el-table-column>
+          <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
+            <template slot-scope="scope">
+                    <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)">财务确认</el-button>
+            </template>
+          </el-table-column>
+        </el-table>
+
+        <pagination v-show="total>0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
+          @pagination="getList" />
+      </el-col>
+    </el-row>
+    <!--修改-->
+    <el-dialog custom-class="custom" v-dialog-drag :title="title" :visible.sync="openXG" width="1500px" append-to-body>
+      <div>
+        <el-scrollbar wrapClass="scrollbar-wrap">
+          <h3>机构基本信息</h3>
+          <table>
+            <tr>
+              <td>统一社会信用代码</td>
+              <td>{{ form.tyshxydm }}</td>
+              <td>单位名称</td>
+              <td>{{ form.jgmc }}</td>
+            </tr>
+            <tr>
+              <td>单位通信地址</td>
+              <td colspan="5">{{ form.szxzqhName }} {{ form.txdz }}</td>
+            </tr>
+          </table>
+          <h3>法人信息</h3>
+          <table>
+            <tr>
+              <td>法人或负责人姓名</td>
+              <td>{{ form.frxm }}</td>
+              <td>法人或负责人证件号码</td>
+              <td>{{ form.frzjhm }}</td>
+            </tr>
+            <tr>
+              <td>法人或负责人联系方式</td>
+              <td>{{ form.frlxfs }}</td>
+              <td>法人登记机关</td>
+              <td>{{ form.frdjjg }}</td>
+              <td>法人类型</td>
+              <td>{{ translateDict('CH007', form.frlx) }}</td>
+            </tr>
+          </table>
+          <h3>扩展信息</h3>
+          <table>
+            <tr>
+              <td>单位性质</td>
+              <td>{{ translateDict('C0038', form.dwxz) }}</td>
+              <td>所处位置</td>
+              <td>{{ translateDict('CH012', form.scwz) }}</td>
+              <td>兴办主体</td>
+              <td>{{ translateDict('CH010', form.xbzt) }}</td>
+            </tr>
+            <tr>
+              <td>场所性质</td>
+              <td>{{ translateDict('CH009', form.csxz) }}</td>
+              <td>是否光荣院</td>
+              <td>{{ translateDict('CZ035', form.isGry) }}</td>
+            </tr>
+          </table>
+        </el-scrollbar>
+      </div>
+      <h3>财务信息修改</h3>
+      <div class="formFlex">
+        <el-form  ref="form" :model="form" label-width="200px" >
+          <div class="formFlex">
+            <el-form-item label="财务-统一社会信用代码" prop="cwtyshxydm" class="formWidth">
+              <el-input v-model="form.cwtyshxydm"  placeholder="请输入统一社会信用代码" maxlength="18"/>
+            </el-form-item>
+            <el-form-item label="财务-机构名称" prop="cwjgmc" class="formWidth">
+              <el-input v-model="form.cwjgmc" style="width: 300px" placeholder="请输入单位名称"/>
+            </el-form-item>
+            <el-form-item label="财务-机构类型" prop="cwbj" class="formWidth">
+              <el-select v-model="form.cwbj" placeholder="请选择机构类型">
+                <el-option label="社会福利院" value="社会福利院"/>
+                <el-option label="农村特困人员救助供养机构" value="农村特困人员救助供养机构"/>
+                <el-option label="养老公寓等其他养老机构" value="养老公寓等其他养老机构"/>
+              </el-select>
+            </el-form-item>
+          </div>
+          <div class="formFlex">
+            <el-form-item label="是否认证" prop="iscwqr">
+              <el-select v-model="form.iscwqr" placeholder="请选择是否认证" clearable>
+                <el-option v-for="dict in dict.type.CZ035" :key="dict.value" :label="dict.label" :value="dict.value"/>
+              </el-select>
+            </el-form-item>
+          </div>
+        </el-form>
+      </div>
+      <div slot="footer" class="dialog-footer">
+        <el-button type="primary" @click="submitForm" :loading="submitFormLoading">提 交</el-button>
+        <el-button @click="cancel">取 消</el-button>
+      </div>
+    </el-dialog>
+
+  </div>
+</template>
+
+<script>
+import {getJcxx, listJcxx, updateJgKyzt, updateJcxxCw, getJcxxCw, listJcxxCw} from '@/api/business/fwjggl/jcxx'
+import { mapState } from 'vuex'
+import { decryptData_ECB, decryptRowData_ECB } from "@/api/tool/sm4";
+
+export default {
+  name: "cwxxTbXg",
+  dicts: [
+    'C0038', 'C0015', 'CH026',
+    'CH007', 'CH009', 'CH010', 'CH012', 'CH013', 'CH014', 'C0015', 'CH052', 'CH059', 'CH060',
+    'CZ035', 'CZ005', 'CZ026', 'CZ004',
+    'XZ036', 'XZ065', 'XZ070'],
+  data() {
+    return {
+      optionsTklx: [{
+        value: '社会福利院',
+        label: '社会福利院'
+      }, {
+        value: '农村特困人员救助供养机构',
+        label: '农村特困人员救助供养机构'
+      }, {
+        value: '养老公寓等其他养老机构',
+        label: '养老公寓等其他养老机构'
+      }],
+      jgId: null,
+      openXG: false,
+      isXQ: false,
+      fixation: {},
+      openXQ: false,
+      // 遮罩层
+      loading: true,
+      submitFormLoading: false,
+      // 选中数组
+      ids: [],
+      // 非单个禁用
+      single: true,
+      // 非多个禁用
+      multiple: true,
+      // 显示搜索条件
+      showSearch: true,
+      // 总条数
+      total: 0,
+      // 机构备案表格数据
+      jcxxList: [],
+      // 弹出层标题
+      title: "",
+      // 是否显示弹出层
+      open: false,
+      // 查询参数
+      queryParams: {
+        isBa: null,
+        sczt: '01',
+        tyshxydm: null,
+        iscwqr: null,
+        cwbj: null,
+        jgmc: null,
+        pageNum: 1,
+        pageSize: 10,
+        // 是否仅查询本级
+        isBj: '0',
+      },
+      searchXydm: null,
+      // 表单参数
+      form: {},
+      cwForm: {},
+      // 表单校验
+      rules: {
+        czyy: [
+          { required: true, message: "操作原因不能为空", trigger: "change" },
+        ],
+        czsj: [
+          { required: true, message: "操作时间不能为空", trigger: "change" },
+        ],
+      },
+      openCz: false,
+    };
+  },
+  created() {
+    this.getList();
+  },
+  computed: {
+    ...mapState(['user']),
+  },
+  methods: {
+    changeOpen() {
+      this.openXG = false;
+      this.getList();
+    },
+    changDate(row) {
+      this.reset();
+      this.form.id = row.id;
+      this.form.sczt = row.command;
+      this.openCz = true;
+    },
+    // switch单击事件
+    changSwitch(value) {
+      this.queryParams.isBj = value
+      this.handleQuery()
+    },
+    // 节点单击事件
+    handleNodeClick(data) {
+      this.queryParams.xzqhId = data.code
+      this.handleQuery()
+    },
+    translateDict(type, value, is) {
+      if (is && value && value.length > 0) {
+        let list = '';
+        this.dict.type[type].forEach(item => {
+          // if (value.indexOf(item.value) !== -1) { // 这里有bug, 字典值为0,01,02,03 但值是02,03 这样就会出 这样0的字典值也会翻译出来
+          // if (item.value == value) {
+          // list = list + item.label + ' '
+          // }
+          const itemArr = value.split(',');
+          if (itemArr.includes(item.value))
+          {
+            list = list + item.label + ' '
+          }
+        })
+        return list
+      }
+      return this.selectDictLabel(this.dict.type[type], value)
+    },
+    /** 查询机构列表 */
+    getList() {
+      this.loading = true;
+      this.queryParams.params = {};
+      listJcxxCw(this.queryParams).then(response => {
+        this.jcxxList = response.rows;
+        this.total = response.total;
+        this.loading = false;
+      });
+    },
+    // 取消按钮
+    cancel() {
+      this.openXG = false;
+      this.reset();
+    },
+    // 表单重置
+    reset() {
+      this.submitFormLoading = false;
+      this.searchXydm = null
+      // this.form = {
+      //   sczt: null,
+      //   czyy: null,
+      //   czsj: null
+      // };
+      this.resetForm("form");
+    },
+    /** 搜索按钮操作 */
+    handleQuery() {
+      this.queryParams.pageNum = 1;
+      this.getList();
+    },
+    /** 重置按钮操作 */
+    resetQuery() {
+      this.resetForm("queryForm");
+      this.handleQuery();
+    },
+    // 多选框选中数据
+    handleSelectionChange(selection) {
+      this.ids = selection.map(item => item.id)
+      this.single = selection.length !== 1
+      this.multiple = !selection.length
+    },
+    handleXQ(row) {
+      this.handleUpdate(row, true)
+    },
+    /** 修改按钮操作 */
+    handleUpdate(row, is) {
+      this.reset();
+      const id = row.id || this.ids
+      getJcxxCw(id).then(response => {
+        this.form = decryptData_ECB(response.data, ["frxm", "frzjhm", "frlxfs", "txdz"], [1, 2, 3, 4]);
+        Object.keys(this.form).forEach(key => {
+          this.form[key] === null ? this.form[key] = '' : false
+        })
+        this.copyForm = this.deepCopy(response.data)
+        this.openXG = true;
+        this.title = '修改财务信息填报数据项'
+      });
+    },
+    /** 提交按钮 */
+    submitForm() {
+      this.$refs['form'].validate((valid) => {
+        if (valid) {
+          this.openXG = true
+          this.cwForm.id = this.form.id;
+          this.cwForm.cwjgmc = this.form.cwjgmc;
+          this.cwForm.cwtyshxydm = this.form.cwtyshxydm;
+          this.cwForm.cwbj = this.form.cwbj;
+          this.cwForm.iscwqr = this.form.iscwqr;
+          updateJcxxCw(this.cwForm)
+            .then((response) => {
+              this.$modal.msgSuccess('修改成功')
+              this.openCz = false
+              this.jcxxList = this.dataReplacement(this.jcxxList, this.form.id, this.cwForm);
+            })
+            .finally(() => (this.openXG = false))
+          this.openXG = false
+        }
+      })
+    },
+    particulars(row) {
+      this.reset()
+      getJcxx(row.id).then(response => {
+        this.open = true
+        this.form = response.data
+        this.form.szlx = this.form.szlrlx ? this.form.szlrlx.split(',') : []
+      })
+    },
+    /** 导出按钮操作 */
+    handleExport() {
+      this.download(
+        "business/jcxx/export",
+        {
+          ...this.queryParams,
+        },
+        `机构信息_${new Date().getTime()}.xlsx`
+      );
+    },
+  }
+};
+</script>
+<style ref="stylesheet/scss" lang="scss" scoped>
+table td {
+  width: 10%;
+  height: 2.5rem;
+  padding: 0.5%;
+  font-weight: 500;
+  border: 1px solid #ddd;
+}
+
+table {
+  width: 100%;
+  border-collapse: collapse;
+  border: 1px solid #ddd;
+}
+
+table td:nth-child(odd) {
+  text-align: right;
+  background: #f5f5f5;
+}
+
+.formFlex {
+  display: flex;
+  width: 100%;
+  flex-wrap: wrap;
+}
+
+.formWidth {
+  width: 33.33%;
+  /*display: flex !important;*/
+}
+
+.formWidth2 {
+  width: 50%;
+  /*display: flex !important;*/
+}
+
+.formWidth3 {
+  width: 100%;
+  /*display: flex !important;*/
+}
+
+.el-select {
+  width: 100%;
+}
+
+.el-date-editor.el-input {
+  width: 100%;
+}
+
+h3 {
+  /*margin: 0;*/
+  width: 100%;
+  padding: 0.5rem !important;
+  background-image: -o-linear-gradient(290deg, #ddd 10%, #fff 90%);
+  background-image: linear-gradient(160deg, #ddd 10%, #fff 90%);
+  color: #000;
+  font-weight: 500;
+  font-size: 1.1rem;
+  margin-bottom: 10px;
+}
+
+.tips {
+  margin: 0;
+  padding: 0.5%;
+  color: #f5222d;
+  display: block;
+  font-size: 14px;
+}
+
+.el-textarea {
+  width: 100%;
+}
+
+.sxzd {
+  font-weight: 600;
+  margin: 10px 15px;
+}
+</style>