Merge remote-tracking branch 'origin/main'

main
wanglei 2 years ago
commit fe67e5c474

@ -0,0 +1,104 @@
package com.ruoyi.szxc.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.szxc.domain.SzxcJmTag;
import com.ruoyi.szxc.service.ISzxcJmTagService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* Controller
*
* @author hs
* @date 2024-03-21
*/
@RestController
@RequestMapping("/szxc/jmtag")
public class SzxcJmTagController extends BaseController
{
@Autowired
private ISzxcJmTagService szxcJmTagService;
/**
*
*/
@PreAuthorize("@ss.hasPermi('szxc:jmtag:list')")
@GetMapping("/list")
public TableDataInfo list(SzxcJmTag szxcJmTag)
{
startPage();
List<SzxcJmTag> list = szxcJmTagService.selectSzxcJmTagList(szxcJmTag);
return getDataTable(list);
}
/**
*
*/
@PreAuthorize("@ss.hasPermi('szxc:jmtag:export')")
@Log(title = "居民标签关联", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, SzxcJmTag szxcJmTag)
{
List<SzxcJmTag> list = szxcJmTagService.selectSzxcJmTagList(szxcJmTag);
ExcelUtil<SzxcJmTag> util = new ExcelUtil<SzxcJmTag>(SzxcJmTag.class);
util.exportExcel(response, list, "居民标签关联数据");
}
/**
*
*/
@PreAuthorize("@ss.hasPermi('szxc:jmtag:query')")
@GetMapping(value = "/{jmId}")
public AjaxResult getInfo(@PathVariable("jmId") Long jmId)
{
return success(szxcJmTagService.selectSzxcJmTagByJmId(jmId));
}
/**
*
*/
@PreAuthorize("@ss.hasPermi('szxc:jmtag:add')")
@Log(title = "居民标签关联", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody SzxcJmTag szxcJmTag)
{
return toAjax(szxcJmTagService.insertSzxcJmTag(szxcJmTag));
}
/**
*
*/
@PreAuthorize("@ss.hasPermi('szxc:jmtag:edit')")
@Log(title = "居民标签关联", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody SzxcJmTag szxcJmTag)
{
return toAjax(szxcJmTagService.updateSzxcJmTag(szxcJmTag));
}
/**
*
*/
@PreAuthorize("@ss.hasPermi('szxc:jmtag:remove')")
@Log(title = "居民标签关联", businessType = BusinessType.DELETE)
@DeleteMapping("/{jmIds}")
public AjaxResult remove(@PathVariable Long[] jmIds)
{
return toAjax(szxcJmTagService.deleteSzxcJmTagByJmIds(jmIds));
}
}

@ -1,17 +1,18 @@
package com.ruoyi.szxc.domain; package com.ruoyi.szxc.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel; import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity; import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;
/** /**
* szxc_hkbg_recard * szxc_hkbg_recard
* *
* @author hs * @author hs
* @date 2024-03-15 * @date 2024-03-21
*/ */
public class SzxcHkbgRecard extends BaseEntity public class SzxcHkbgRecard extends BaseEntity
{ {
@ -20,6 +21,10 @@ public class SzxcHkbgRecard extends BaseEntity
/** id */ /** id */
private Long id; private Long id;
/** 居民id */
@Excel(name = "居民id")
private Long jmId;
/** 姓名 */ /** 姓名 */
@Excel(name = "姓名") @Excel(name = "姓名")
private String name; private String name;
@ -61,102 +66,111 @@ public class SzxcHkbgRecard extends BaseEntity
@Excel(name = "创建者ID") @Excel(name = "创建者ID")
private Long userId; private Long userId;
public void setId(Long id) public void setId(Long id)
{ {
this.id = id; this.id = id;
} }
public Long getId() public Long getId()
{ {
return id; return id;
} }
public void setName(String name) public void setJmId(Long jmId)
{
this.jmId = jmId;
}
public Long getJmId()
{
return jmId;
}
public void setName(String name)
{ {
this.name = name; this.name = name;
} }
public String getName() public String getName()
{ {
return name; return name;
} }
public void setIdCard(String idCard) public void setIdCard(String idCard)
{ {
this.idCard = idCard; this.idCard = idCard;
} }
public String getIdCard() public String getIdCard()
{ {
return idCard; return idCard;
} }
public void setAcountNo(Long acountNo) public void setAcountNo(Long acountNo)
{ {
this.acountNo = acountNo; this.acountNo = acountNo;
} }
public Long getAcountNo() public Long getAcountNo()
{ {
return acountNo; return acountNo;
} }
public void setRelation(String relation) public void setRelation(String relation)
{ {
this.relation = relation; this.relation = relation;
} }
public String getRelation() public String getRelation()
{ {
return relation; return relation;
} }
public void setBgType(String bgType) public void setBgType(String bgType)
{ {
this.bgType = bgType; this.bgType = bgType;
} }
public String getBgType() public String getBgType()
{ {
return bgType; return bgType;
} }
public void setNumber(String number) public void setNumber(String number)
{ {
this.number = number; this.number = number;
} }
public String getNumber() public String getNumber()
{ {
return number; return number;
} }
public void setBgTime(Date bgTime) public void setBgTime(Date bgTime)
{ {
this.bgTime = bgTime; this.bgTime = bgTime;
} }
public Date getBgTime() public Date getBgTime()
{ {
return bgTime; return bgTime;
} }
public void setBgReason(String bgReason) public void setBgReason(String bgReason)
{ {
this.bgReason = bgReason; this.bgReason = bgReason;
} }
public String getBgReason() public String getBgReason()
{ {
return bgReason; return bgReason;
} }
public void setDeptId(Long deptId) public void setDeptId(Long deptId)
{ {
this.deptId = deptId; this.deptId = deptId;
} }
public Long getDeptId() public Long getDeptId()
{ {
return deptId; return deptId;
} }
public void setUserId(Long userId) public void setUserId(Long userId)
{ {
this.userId = userId; this.userId = userId;
} }
public Long getUserId() public Long getUserId()
{ {
return userId; return userId;
} }
@ -164,21 +178,22 @@ public class SzxcHkbgRecard extends BaseEntity
@Override @Override
public String toString() { public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId()) .append("id", getId())
.append("name", getName()) .append("jmId", getJmId())
.append("idCard", getIdCard()) .append("name", getName())
.append("acountNo", getAcountNo()) .append("idCard", getIdCard())
.append("relation", getRelation()) .append("acountNo", getAcountNo())
.append("bgType", getBgType()) .append("relation", getRelation())
.append("number", getNumber()) .append("bgType", getBgType())
.append("bgTime", getBgTime()) .append("number", getNumber())
.append("bgReason", getBgReason()) .append("bgTime", getBgTime())
.append("createBy", getCreateBy()) .append("bgReason", getBgReason())
.append("createTime", getCreateTime()) .append("createBy", getCreateBy())
.append("updateBy", getUpdateBy()) .append("createTime", getCreateTime())
.append("updateTime", getUpdateTime()) .append("updateBy", getUpdateBy())
.append("deptId", getDeptId()) .append("updateTime", getUpdateTime())
.append("userId", getUserId()) .append("deptId", getDeptId())
.toString(); .append("userId", getUserId())
.toString();
} }
} }

@ -0,0 +1,62 @@
package com.ruoyi.szxc.service;
import com.ruoyi.szxc.domain.SzxcJmTag;
import java.util.List;
/**
* Service
*
* @author hs
* @date 2024-03-21
*/
public interface ISzxcJmTagService
{
/**
*
*
* @param jmId
* @return
*/
public SzxcJmTag selectSzxcJmTagByJmId(Long jmId);
/**
*
*
* @param szxcJmTag
* @return
*/
public List<SzxcJmTag> selectSzxcJmTagList(SzxcJmTag szxcJmTag);
/**
*
*
* @param szxcJmTag
* @return
*/
public int insertSzxcJmTag(SzxcJmTag szxcJmTag);
/**
*
*
* @param szxcJmTag
* @return
*/
public int updateSzxcJmTag(SzxcJmTag szxcJmTag);
/**
*
*
* @param jmIds
* @return
*/
public int deleteSzxcJmTagByJmIds(Long[] jmIds);
/**
*
*
* @param jmId
* @return
*/
public int deleteSzxcJmTagByJmId(Long jmId);
}

@ -0,0 +1,94 @@
package com.ruoyi.szxc.service.impl;
import com.ruoyi.szxc.domain.SzxcJmTag;
import com.ruoyi.szxc.mapper.SzxcJmTagMapper;
import com.ruoyi.szxc.service.ISzxcJmTagService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* Service
*
* @author hs
* @date 2024-03-21
*/
@Service
public class SzxcJmTagServiceImpl implements ISzxcJmTagService
{
@Autowired
private SzxcJmTagMapper szxcJmTagMapper;
/**
*
*
* @param jmId
* @return
*/
@Override
public SzxcJmTag selectSzxcJmTagByJmId(Long jmId)
{
return szxcJmTagMapper.selectSzxcJmTagByJmId(jmId);
}
/**
*
*
* @param szxcJmTag
* @return
*/
@Override
public List<SzxcJmTag> selectSzxcJmTagList(SzxcJmTag szxcJmTag)
{
return szxcJmTagMapper.selectSzxcJmTagList(szxcJmTag);
}
/**
*
*
* @param szxcJmTag
* @return
*/
@Override
public int insertSzxcJmTag(SzxcJmTag szxcJmTag)
{
return szxcJmTagMapper.insertSzxcJmTag(szxcJmTag);
}
/**
*
*
* @param szxcJmTag
* @return
*/
@Override
public int updateSzxcJmTag(SzxcJmTag szxcJmTag)
{
return szxcJmTagMapper.updateSzxcJmTag(szxcJmTag);
}
/**
*
*
* @param jmIds
* @return
*/
@Override
public int deleteSzxcJmTagByJmIds(Long[] jmIds)
{
return szxcJmTagMapper.deleteSzxcJmTagByJmIds(jmIds);
}
/**
*
*
* @param jmId
* @return
*/
@Override
public int deleteSzxcJmTagByJmId(Long jmId)
{
return szxcJmTagMapper.deleteSzxcJmTagByJmId(jmId);
}
}

@ -1,11 +1,12 @@
<?xml version="1.0" encoding="UTF-8" ?> <?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper <!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd"> "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.szxc.mapper.SzxcHkbgRecardMapper"> <mapper namespace="com.ruoyi.szxc.mapper.SzxcHkbgRecardMapper">
<resultMap type="SzxcHkbgRecard" id="SzxcHkbgRecardResult"> <resultMap type="SzxcHkbgRecard" id="SzxcHkbgRecardResult">
<result property="id" column="id" /> <result property="id" column="id" />
<result property="jmId" column="jm_id" />
<result property="name" column="name" /> <result property="name" column="name" />
<result property="idCard" column="id_card" /> <result property="idCard" column="id_card" />
<result property="acountNo" column="acount_no" /> <result property="acountNo" column="acount_no" />
@ -23,12 +24,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap> </resultMap>
<sql id="selectSzxcHkbgRecardVo"> <sql id="selectSzxcHkbgRecardVo">
select id, name, id_card, acount_no, relation, bg_type, number, bg_time, bg_reason, create_by, create_time, update_by, update_time, dept_id, user_id from szxc_hkbg_recard select id, jm_id, name, id_card, acount_no, relation, bg_type, number, bg_time, bg_reason, create_by, create_time, update_by, update_time, dept_id, user_id from szxc_hkbg_recard
</sql> </sql>
<select id="selectSzxcHkbgRecardList" parameterType="SzxcHkbgRecard" resultMap="SzxcHkbgRecardResult"> <select id="selectSzxcHkbgRecardList" parameterType="SzxcHkbgRecard" resultMap="SzxcHkbgRecardResult">
<include refid="selectSzxcHkbgRecardVo"/> <include refid="selectSzxcHkbgRecardVo"/>
<where> <where>
<if test="jmId != null "> and jm_id = #{jmId}</if>
<if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if> <if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if>
<if test="idCard != null and idCard != ''"> and id_card = #{idCard}</if> <if test="idCard != null and idCard != ''"> and id_card = #{idCard}</if>
<if test="acountNo != null "> and acount_no = #{acountNo}</if> <if test="acountNo != null "> and acount_no = #{acountNo}</if>
@ -41,15 +43,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="userId != null "> and user_id = #{userId}</if> <if test="userId != null "> and user_id = #{userId}</if>
</where> </where>
</select> </select>
<select id="selectSzxcHkbgRecardById" parameterType="Long" resultMap="SzxcHkbgRecardResult"> <select id="selectSzxcHkbgRecardById" parameterType="Long" resultMap="SzxcHkbgRecardResult">
<include refid="selectSzxcHkbgRecardVo"/> <include refid="selectSzxcHkbgRecardVo"/>
where id = #{id} where id = #{id}
</select> </select>
<insert id="insertSzxcHkbgRecard" parameterType="SzxcHkbgRecard" useGeneratedKeys="true" keyProperty="id"> <insert id="insertSzxcHkbgRecard" parameterType="SzxcHkbgRecard" useGeneratedKeys="true" keyProperty="id">
insert into szxc_hkbg_recard insert into szxc_hkbg_recard
<trim prefix="(" suffix=")" suffixOverrides=","> <trim prefix="(" suffix=")" suffixOverrides=",">
<if test="jmId != null">jm_id,</if>
<if test="name != null">name,</if> <if test="name != null">name,</if>
<if test="idCard != null">id_card,</if> <if test="idCard != null">id_card,</if>
<if test="acountNo != null">acount_no,</if> <if test="acountNo != null">acount_no,</if>
@ -64,8 +67,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateTime != null">update_time,</if> <if test="updateTime != null">update_time,</if>
<if test="deptId != null">dept_id,</if> <if test="deptId != null">dept_id,</if>
<if test="userId != null">user_id,</if> <if test="userId != null">user_id,</if>
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides=","> <trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="jmId != null">#{jmId},</if>
<if test="name != null">#{name},</if> <if test="name != null">#{name},</if>
<if test="idCard != null">#{idCard},</if> <if test="idCard != null">#{idCard},</if>
<if test="acountNo != null">#{acountNo},</if> <if test="acountNo != null">#{acountNo},</if>
@ -80,12 +84,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateTime != null">#{updateTime},</if> <if test="updateTime != null">#{updateTime},</if>
<if test="deptId != null">#{deptId},</if> <if test="deptId != null">#{deptId},</if>
<if test="userId != null">#{userId},</if> <if test="userId != null">#{userId},</if>
</trim> </trim>
</insert> </insert>
<update id="updateSzxcHkbgRecard" parameterType="SzxcHkbgRecard"> <update id="updateSzxcHkbgRecard" parameterType="SzxcHkbgRecard">
update szxc_hkbg_recard update szxc_hkbg_recard
<trim prefix="SET" suffixOverrides=","> <trim prefix="SET" suffixOverrides=",">
<if test="jmId != null">jm_id = #{jmId},</if>
<if test="name != null">name = #{name},</if> <if test="name != null">name = #{name},</if>
<if test="idCard != null">id_card = #{idCard},</if> <if test="idCard != null">id_card = #{idCard},</if>
<if test="acountNo != null">acount_no = #{acountNo},</if> <if test="acountNo != null">acount_no = #{acountNo},</if>
@ -109,7 +114,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</delete> </delete>
<delete id="deleteSzxcHkbgRecardByIds" parameterType="String"> <delete id="deleteSzxcHkbgRecardByIds" parameterType="String">
delete from szxc_hkbg_recard where id in delete from szxc_hkbg_recard where id in
<foreach item="id" collection="array" open="(" separator="," close=")"> <foreach item="id" collection="array" open="(" separator="," close=")">
#{id} #{id}
</foreach> </foreach>

@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询居民标签关联列表
export function listJmtag(query) {
return request({
url: '/szxc/jmtag/list',
method: 'get',
params: query
})
}
// 查询居民标签关联详细
export function getJmtag(jmId) {
return request({
url: '/szxc/jmtag/' + jmId,
method: 'get'
})
}
// 新增居民标签关联
export function addJmtag(data) {
return request({
url: '/szxc/jmtag',
method: 'post',
data: data
})
}
// 修改居民标签关联
export function updateJmtag(data) {
return request({
url: '/szxc/jmtag',
method: 'put',
data: data
})
}
// 删除居民标签关联
export function delJmtag(jmId) {
return request({
url: '/szxc/jmtag/' + jmId,
method: 'delete'
})
}

@ -0,0 +1,233 @@
<template>
<div class="app-container">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
<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-form-item>
</el-form>
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<el-button
type="primary"
plain
icon="el-icon-plus"
size="mini"
@click="handleAdd"
v-hasPermi="['szxc:jmtag:add']"
>新增</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="success"
plain
icon="el-icon-edit"
size="mini"
:disabled="single"
@click="handleUpdate"
v-hasPermi="['szxc:jmtag:edit']"
>修改</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="danger"
plain
icon="el-icon-delete"
size="mini"
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['szxc:jmtag:remove']"
>删除</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="warning"
plain
icon="el-icon-download"
size="mini"
@click="handleExport"
v-hasPermi="['szxc:jmtag:export']"
>导出</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
<el-table v-loading="loading" :data="jmtagList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="居民id" align="center" prop="jmId" />
<el-table-column label="标签id" align="center" prop="tagId" />
<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)"
v-hasPermi="['szxc:jmtag:edit']"
>修改</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['szxc:jmtag:remove']"
>删除</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-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm"> </el-button>
<el-button @click="cancel"> </el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import { listJmtag, getJmtag, delJmtag, addJmtag, updateJmtag } from "@/api/szxc/jmtag";
export default {
name: "Jmtag",
data() {
return {
//
loading: true,
//
ids: [],
//
single: true,
//
multiple: true,
//
showSearch: true,
//
total: 0,
//
jmtagList: [],
//
title: "",
//
open: false,
//
queryParams: {
pageNum: 1,
pageSize: 10,
},
//
form: {},
//
rules: {
}
};
},
created() {
this.getList();
},
methods: {
/** 查询居民标签关联列表 */
getList() {
this.loading = true;
listJmtag(this.queryParams).then(response => {
this.jmtagList = response.rows;
this.total = response.total;
this.loading = false;
});
},
//
cancel() {
this.open = false;
this.reset();
},
//
reset() {
this.form = {
jmId: null,
tagId: 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.jmId)
this.single = selection.length!==1
this.multiple = !selection.length
},
/** 新增按钮操作 */
handleAdd() {
this.reset();
this.open = true;
this.title = "添加居民标签关联";
},
/** 修改按钮操作 */
handleUpdate(row) {
this.reset();
const jmId = row.jmId || this.ids
getJmtag(jmId).then(response => {
this.form = response.data;
this.open = true;
this.title = "修改居民标签关联";
});
},
/** 提交按钮 */
submitForm() {
this.$refs["form"].validate(valid => {
if (valid) {
if (this.form.jmId != null) {
updateJmtag(this.form).then(response => {
this.$modal.msgSuccess("修改成功");
this.open = false;
this.getList();
});
} else {
addJmtag(this.form).then(response => {
this.$modal.msgSuccess("新增成功");
this.open = false;
this.getList();
});
}
}
});
},
/** 删除按钮操作 */
handleDelete(row) {
const jmIds = row.jmId || this.ids;
this.$modal.confirm('是否确认删除居民标签关联编号为"' + jmIds + '"的数据项?').then(function() {
return delJmtag(jmIds);
}).then(() => {
this.getList();
this.$modal.msgSuccess("删除成功");
}).catch(() => {});
},
/** 导出按钮操作 */
handleExport() {
this.download('szxc/jmtag/export', {
...this.queryParams
}, `jmtag_${new Date().getTime()}.xlsx`)
}
}
};
</script>
Loading…
Cancel
Save