commit
9ca407b055
@ -0,0 +1,98 @@
|
|||||||
|
package com.da.dangan.controller;
|
||||||
|
|
||||||
|
import com.da.common.annotation.Log;
|
||||||
|
import com.da.common.core.controller.BaseController;
|
||||||
|
import com.da.common.core.domain.AjaxResult;
|
||||||
|
import com.da.common.core.page.TableDataInfo;
|
||||||
|
import com.da.common.enums.BusinessType;
|
||||||
|
import com.da.common.utils.poi.ExcelUtil;
|
||||||
|
import com.da.dangan.domain.DaYtzm;
|
||||||
|
import com.da.dangan.service.IDaYtzmService;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.security.access.prepost.PreAuthorize;
|
||||||
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 一胎证明Controller
|
||||||
|
*
|
||||||
|
* @author hs
|
||||||
|
* @date 2024-06-14
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/dangan/ytzm")
|
||||||
|
public class DaYtzmController extends BaseController
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private IDaYtzmService daYtzmService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询一胎证明列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('dangan:ytzm:list')")
|
||||||
|
@GetMapping("/list")
|
||||||
|
public TableDataInfo list(DaYtzm daYtzm)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<DaYtzm> list = daYtzmService.selectDaYtzmList(daYtzm);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出一胎证明列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('dangan:ytzm:export')")
|
||||||
|
@Log(title = "一胎证明", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
public void export(HttpServletResponse response, DaYtzm daYtzm)
|
||||||
|
{
|
||||||
|
List<DaYtzm> list = daYtzmService.selectDaYtzmList(daYtzm);
|
||||||
|
ExcelUtil<DaYtzm> util = new ExcelUtil<DaYtzm>(DaYtzm.class);
|
||||||
|
util.exportExcel(response, list, "一胎证明数据");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取一胎证明详细信息
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('dangan:ytzm:query')")
|
||||||
|
@GetMapping(value = "/{id}")
|
||||||
|
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||||
|
{
|
||||||
|
return success(daYtzmService.selectDaYtzmById(id));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增一胎证明
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('dangan:ytzm:add')")
|
||||||
|
@Log(title = "一胎证明", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping
|
||||||
|
public AjaxResult add(@RequestBody DaYtzm daYtzm)
|
||||||
|
{
|
||||||
|
return toAjax(daYtzmService.insertDaYtzm(daYtzm));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改一胎证明
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('dangan:ytzm:edit')")
|
||||||
|
@Log(title = "一胎证明", businessType = BusinessType.UPDATE)
|
||||||
|
@PutMapping
|
||||||
|
public AjaxResult edit(@RequestBody DaYtzm daYtzm)
|
||||||
|
{
|
||||||
|
return toAjax(daYtzmService.updateDaYtzm(daYtzm));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除一胎证明
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('dangan:ytzm:remove')")
|
||||||
|
@Log(title = "一胎证明", businessType = BusinessType.DELETE)
|
||||||
|
@DeleteMapping("/{ids}")
|
||||||
|
public AjaxResult remove(@PathVariable Long[] ids)
|
||||||
|
{
|
||||||
|
return toAjax(daYtzmService.deleteDaYtzmByIds(ids));
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,104 @@
|
|||||||
|
package com.da.dangan.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.da.common.annotation.Log;
|
||||||
|
import com.da.common.core.controller.BaseController;
|
||||||
|
import com.da.common.core.domain.AjaxResult;
|
||||||
|
import com.da.common.enums.BusinessType;
|
||||||
|
import com.da.dangan.domain.DaZqz;
|
||||||
|
import com.da.dangan.service.IDaZqzService;
|
||||||
|
import com.da.common.utils.poi.ExcelUtil;
|
||||||
|
import com.da.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 准迁证Controller
|
||||||
|
*
|
||||||
|
* @author hs
|
||||||
|
* @date 2024-06-14
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/dangan/zqz")
|
||||||
|
public class DaZqzController extends BaseController
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private IDaZqzService daZqzService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询准迁证列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('dangan:zqz:list')")
|
||||||
|
@GetMapping("/list")
|
||||||
|
public TableDataInfo list(DaZqz daZqz)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<DaZqz> list = daZqzService.selectDaZqzList(daZqz);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出准迁证列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('dangan:zqz:export')")
|
||||||
|
@Log(title = "准迁证", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
public void export(HttpServletResponse response, DaZqz daZqz)
|
||||||
|
{
|
||||||
|
List<DaZqz> list = daZqzService.selectDaZqzList(daZqz);
|
||||||
|
ExcelUtil<DaZqz> util = new ExcelUtil<DaZqz>(DaZqz.class);
|
||||||
|
util.exportExcel(response, list, "准迁证数据");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取准迁证详细信息
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('dangan:zqz:query')")
|
||||||
|
@GetMapping(value = "/{id}")
|
||||||
|
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||||
|
{
|
||||||
|
return success(daZqzService.selectDaZqzById(id));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增准迁证
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('dangan:zqz:add')")
|
||||||
|
@Log(title = "准迁证", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping
|
||||||
|
public AjaxResult add(@RequestBody DaZqz daZqz)
|
||||||
|
{
|
||||||
|
return toAjax(daZqzService.insertDaZqz(daZqz));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改准迁证
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('dangan:zqz:edit')")
|
||||||
|
@Log(title = "准迁证", businessType = BusinessType.UPDATE)
|
||||||
|
@PutMapping
|
||||||
|
public AjaxResult edit(@RequestBody DaZqz daZqz)
|
||||||
|
{
|
||||||
|
return toAjax(daZqzService.updateDaZqz(daZqz));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除准迁证
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('dangan:zqz:remove')")
|
||||||
|
@Log(title = "准迁证", businessType = BusinessType.DELETE)
|
||||||
|
@DeleteMapping("/{ids}")
|
||||||
|
public AjaxResult remove(@PathVariable Long[] ids)
|
||||||
|
{
|
||||||
|
return toAjax(daZqzService.deleteDaZqzByIds(ids));
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,428 @@
|
|||||||
|
package com.da.dangan.domain;
|
||||||
|
|
||||||
|
import com.da.common.annotation.Excel;
|
||||||
|
import com.da.common.core.domain.BaseEntity;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 一胎证明对象 da_ytzm
|
||||||
|
*
|
||||||
|
* @author hs
|
||||||
|
* @date 2024-06-14
|
||||||
|
*/
|
||||||
|
public class DaYtzm extends BaseEntity
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/** id */
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/** 业务类型(字典) */
|
||||||
|
@Excel(name = "业务类型(字典)")
|
||||||
|
private String ywType;
|
||||||
|
|
||||||
|
/** 目录id */
|
||||||
|
@Excel(name = "目录id")
|
||||||
|
private Long muId;
|
||||||
|
|
||||||
|
/** 年份 */
|
||||||
|
@Excel(name = "年份")
|
||||||
|
private String year;
|
||||||
|
|
||||||
|
/** 序号 */
|
||||||
|
@Excel(name = "序号")
|
||||||
|
private String xh;
|
||||||
|
|
||||||
|
/** 姓名女 */
|
||||||
|
@Excel(name = "姓名女")
|
||||||
|
private String wName;
|
||||||
|
|
||||||
|
/** 工作单位女 */
|
||||||
|
@Excel(name = "工作单位女")
|
||||||
|
private String wUnit;
|
||||||
|
|
||||||
|
/** 身份证号女 */
|
||||||
|
@Excel(name = "身份证号女")
|
||||||
|
private String wCardId;
|
||||||
|
|
||||||
|
/** 姓名男 */
|
||||||
|
@Excel(name = "姓名男")
|
||||||
|
private String mName;
|
||||||
|
|
||||||
|
/** 工作单位男 */
|
||||||
|
@Excel(name = "工作单位男")
|
||||||
|
private String mUnit;
|
||||||
|
|
||||||
|
/** 身份证号男 */
|
||||||
|
@Excel(name = "身份证号男")
|
||||||
|
private String mCardId;
|
||||||
|
|
||||||
|
/** 生育证号 */
|
||||||
|
@Excel(name = "生育证号")
|
||||||
|
private String syzh;
|
||||||
|
|
||||||
|
/** 出生日期 */
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
|
||||||
|
private Date birthday;
|
||||||
|
|
||||||
|
/** 医院地址 */
|
||||||
|
@Excel(name = "医院地址")
|
||||||
|
private String hospital;
|
||||||
|
|
||||||
|
/** 婴儿性别 */
|
||||||
|
@Excel(name = "婴儿性别")
|
||||||
|
private String babySex;
|
||||||
|
|
||||||
|
/** 意见 */
|
||||||
|
@Excel(name = "意见")
|
||||||
|
private String suggest;
|
||||||
|
|
||||||
|
/** 派出所位置 */
|
||||||
|
@Excel(name = "派出所位置")
|
||||||
|
private String pcsAddress;
|
||||||
|
|
||||||
|
/** 填表日
|
||||||
|
填表日期1 */
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@Excel(name = "填表日期1", width = 30, dateFormat = "yyyy-MM-dd")
|
||||||
|
private Date tbDate1;
|
||||||
|
|
||||||
|
/** 填表日
|
||||||
|
填表日期2 */
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@Excel(name = "填表日期2", width = 30, dateFormat = "yyyy-MM-dd")
|
||||||
|
private Date tbDate2;
|
||||||
|
|
||||||
|
/** 识别图片id */
|
||||||
|
@Excel(name = "识别图片id")
|
||||||
|
private String picIds;
|
||||||
|
|
||||||
|
/** 识别图片 */
|
||||||
|
@Excel(name = "识别图片")
|
||||||
|
private String pictures;
|
||||||
|
|
||||||
|
/** 相关图片id */
|
||||||
|
@Excel(name = "相关图片id")
|
||||||
|
private String allPicIds;
|
||||||
|
|
||||||
|
/** 相关图片 */
|
||||||
|
@Excel(name = "相关图片")
|
||||||
|
private String allPics;
|
||||||
|
|
||||||
|
/** 是否纠错(字典0否1是) */
|
||||||
|
@Excel(name = "是否纠错(字典0否1是)")
|
||||||
|
private String errorCorrect;
|
||||||
|
|
||||||
|
/** 审核状态(字典) */
|
||||||
|
@Excel(name = "审核状态(字典)")
|
||||||
|
private String auditStatus;
|
||||||
|
|
||||||
|
/** 审核人 */
|
||||||
|
@Excel(name = "审核人")
|
||||||
|
private String auditName;
|
||||||
|
|
||||||
|
/** 审核结果 */
|
||||||
|
@Excel(name = "审核结果")
|
||||||
|
private String auditResult;
|
||||||
|
|
||||||
|
/** 审核原由 */
|
||||||
|
@Excel(name = "审核原由")
|
||||||
|
private String auditReason;
|
||||||
|
|
||||||
|
public void setId(Long id)
|
||||||
|
{
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getId()
|
||||||
|
{
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
public void setYwType(String ywType)
|
||||||
|
{
|
||||||
|
this.ywType = ywType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getYwType()
|
||||||
|
{
|
||||||
|
return ywType;
|
||||||
|
}
|
||||||
|
public void setMuId(Long muId)
|
||||||
|
{
|
||||||
|
this.muId = muId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getMuId()
|
||||||
|
{
|
||||||
|
return muId;
|
||||||
|
}
|
||||||
|
public void setYear(String year)
|
||||||
|
{
|
||||||
|
this.year = year;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getYear()
|
||||||
|
{
|
||||||
|
return year;
|
||||||
|
}
|
||||||
|
public void setXh(String xh)
|
||||||
|
{
|
||||||
|
this.xh = xh;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getXh()
|
||||||
|
{
|
||||||
|
return xh;
|
||||||
|
}
|
||||||
|
public void setwName(String wName)
|
||||||
|
{
|
||||||
|
this.wName = wName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getwName()
|
||||||
|
{
|
||||||
|
return wName;
|
||||||
|
}
|
||||||
|
public void setwUnit(String wUnit)
|
||||||
|
{
|
||||||
|
this.wUnit = wUnit;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getwUnit()
|
||||||
|
{
|
||||||
|
return wUnit;
|
||||||
|
}
|
||||||
|
public void setwCardId(String wCardId)
|
||||||
|
{
|
||||||
|
this.wCardId = wCardId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getwCardId()
|
||||||
|
{
|
||||||
|
return wCardId;
|
||||||
|
}
|
||||||
|
public void setmName(String mName)
|
||||||
|
{
|
||||||
|
this.mName = mName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getmName()
|
||||||
|
{
|
||||||
|
return mName;
|
||||||
|
}
|
||||||
|
public void setmUnit(String mUnit)
|
||||||
|
{
|
||||||
|
this.mUnit = mUnit;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getmUnit()
|
||||||
|
{
|
||||||
|
return mUnit;
|
||||||
|
}
|
||||||
|
public void setmCardId(String mCardId)
|
||||||
|
{
|
||||||
|
this.mCardId = mCardId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getmCardId()
|
||||||
|
{
|
||||||
|
return mCardId;
|
||||||
|
}
|
||||||
|
public void setSyzh(String syzh)
|
||||||
|
{
|
||||||
|
this.syzh = syzh;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getSyzh()
|
||||||
|
{
|
||||||
|
return syzh;
|
||||||
|
}
|
||||||
|
public void setBirthday(Date birthday)
|
||||||
|
{
|
||||||
|
this.birthday = birthday;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getBirthday()
|
||||||
|
{
|
||||||
|
return birthday;
|
||||||
|
}
|
||||||
|
public void setHospital(String hospital)
|
||||||
|
{
|
||||||
|
this.hospital = hospital;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getHospital()
|
||||||
|
{
|
||||||
|
return hospital;
|
||||||
|
}
|
||||||
|
public void setBabySex(String babySex)
|
||||||
|
{
|
||||||
|
this.babySex = babySex;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getBabySex()
|
||||||
|
{
|
||||||
|
return babySex;
|
||||||
|
}
|
||||||
|
public void setSuggest(String suggest)
|
||||||
|
{
|
||||||
|
this.suggest = suggest;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getSuggest()
|
||||||
|
{
|
||||||
|
return suggest;
|
||||||
|
}
|
||||||
|
public void setPcsAddress(String pcsAddress)
|
||||||
|
{
|
||||||
|
this.pcsAddress = pcsAddress;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getPcsAddress()
|
||||||
|
{
|
||||||
|
return pcsAddress;
|
||||||
|
}
|
||||||
|
public void setTbDate1(Date tbDate1)
|
||||||
|
{
|
||||||
|
this.tbDate1 = tbDate1;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getTbDate1()
|
||||||
|
{
|
||||||
|
return tbDate1;
|
||||||
|
}
|
||||||
|
public void setTbDate2(Date tbDate2)
|
||||||
|
{
|
||||||
|
this.tbDate2 = tbDate2;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getTbDate2()
|
||||||
|
{
|
||||||
|
return tbDate2;
|
||||||
|
}
|
||||||
|
public void setPicIds(String picIds)
|
||||||
|
{
|
||||||
|
this.picIds = picIds;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getPicIds()
|
||||||
|
{
|
||||||
|
return picIds;
|
||||||
|
}
|
||||||
|
public void setPictures(String pictures)
|
||||||
|
{
|
||||||
|
this.pictures = pictures;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getPictures()
|
||||||
|
{
|
||||||
|
return pictures;
|
||||||
|
}
|
||||||
|
public void setAllPicIds(String allPicIds)
|
||||||
|
{
|
||||||
|
this.allPicIds = allPicIds;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getAllPicIds()
|
||||||
|
{
|
||||||
|
return allPicIds;
|
||||||
|
}
|
||||||
|
public void setAllPics(String allPics)
|
||||||
|
{
|
||||||
|
this.allPics = allPics;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getAllPics()
|
||||||
|
{
|
||||||
|
return allPics;
|
||||||
|
}
|
||||||
|
public void setErrorCorrect(String errorCorrect)
|
||||||
|
{
|
||||||
|
this.errorCorrect = errorCorrect;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getErrorCorrect()
|
||||||
|
{
|
||||||
|
return errorCorrect;
|
||||||
|
}
|
||||||
|
public void setAuditStatus(String auditStatus)
|
||||||
|
{
|
||||||
|
this.auditStatus = auditStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getAuditStatus()
|
||||||
|
{
|
||||||
|
return auditStatus;
|
||||||
|
}
|
||||||
|
public void setAuditName(String auditName)
|
||||||
|
{
|
||||||
|
this.auditName = auditName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getAuditName()
|
||||||
|
{
|
||||||
|
return auditName;
|
||||||
|
}
|
||||||
|
public void setAuditResult(String auditResult)
|
||||||
|
{
|
||||||
|
this.auditResult = auditResult;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getAuditResult()
|
||||||
|
{
|
||||||
|
return auditResult;
|
||||||
|
}
|
||||||
|
public void setAuditReason(String auditReason)
|
||||||
|
{
|
||||||
|
this.auditReason = auditReason;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getAuditReason()
|
||||||
|
{
|
||||||
|
return auditReason;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||||
|
.append("id", getId())
|
||||||
|
.append("ywType", getYwType())
|
||||||
|
.append("muId", getMuId())
|
||||||
|
.append("year", getYear())
|
||||||
|
.append("xh", getXh())
|
||||||
|
.append("wName", getwName())
|
||||||
|
.append("wUnit", getwUnit())
|
||||||
|
.append("wCardId", getwCardId())
|
||||||
|
.append("mName", getmName())
|
||||||
|
.append("mUnit", getmUnit())
|
||||||
|
.append("mCardId", getmCardId())
|
||||||
|
.append("syzh", getSyzh())
|
||||||
|
.append("birthday", getBirthday())
|
||||||
|
.append("hospital", getHospital())
|
||||||
|
.append("babySex", getBabySex())
|
||||||
|
.append("suggest", getSuggest())
|
||||||
|
.append("pcsAddress", getPcsAddress())
|
||||||
|
.append("tbDate1", getTbDate1())
|
||||||
|
.append("tbDate2", getTbDate2())
|
||||||
|
.append("picIds", getPicIds())
|
||||||
|
.append("pictures", getPictures())
|
||||||
|
.append("allPicIds", getAllPicIds())
|
||||||
|
.append("allPics", getAllPics())
|
||||||
|
.append("errorCorrect", getErrorCorrect())
|
||||||
|
.append("auditStatus", getAuditStatus())
|
||||||
|
.append("auditName", getAuditName())
|
||||||
|
.append("auditResult", getAuditResult())
|
||||||
|
.append("auditReason", getAuditReason())
|
||||||
|
.append("remark", getRemark())
|
||||||
|
.append("createBy", getCreateBy())
|
||||||
|
.append("createTime", getCreateTime())
|
||||||
|
.append("updateBy", getUpdateBy())
|
||||||
|
.append("updateTime", getUpdateTime())
|
||||||
|
.toString();
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,577 @@
|
|||||||
|
package com.da.dangan.domain;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
import com.da.common.annotation.Excel;
|
||||||
|
import com.da.common.core.domain.BaseEntity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 准迁证对象 da_zqz
|
||||||
|
*
|
||||||
|
* @author hs
|
||||||
|
* @date 2024-06-14
|
||||||
|
*/
|
||||||
|
public class DaZqz extends BaseEntity
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/** id */
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/** 业务类型(字典) */
|
||||||
|
@Excel(name = "业务类型(字典)")
|
||||||
|
private String ywType;
|
||||||
|
|
||||||
|
/** 目录id */
|
||||||
|
@Excel(name = "目录id")
|
||||||
|
private Long muId;
|
||||||
|
|
||||||
|
/** 编号 */
|
||||||
|
@Excel(name = "编号")
|
||||||
|
private String num;
|
||||||
|
|
||||||
|
/** 申请人姓名 */
|
||||||
|
@Excel(name = "申请人姓名")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
/** 申请人身份证号 */
|
||||||
|
@Excel(name = "申请人身份证号")
|
||||||
|
private String cardId;
|
||||||
|
|
||||||
|
/** 住址 */
|
||||||
|
@Excel(name = "住址")
|
||||||
|
private String address;
|
||||||
|
|
||||||
|
/** 登记机关 */
|
||||||
|
@Excel(name = "登记机关")
|
||||||
|
private String djJg;
|
||||||
|
|
||||||
|
/** 与申请人关系1 */
|
||||||
|
@Excel(name = "与申请人关系1")
|
||||||
|
private String relation1;
|
||||||
|
|
||||||
|
/** 姓名1 */
|
||||||
|
@Excel(name = "姓名1")
|
||||||
|
private String name1;
|
||||||
|
|
||||||
|
/** 性别1 */
|
||||||
|
@Excel(name = "性别1")
|
||||||
|
private String sex1;
|
||||||
|
|
||||||
|
/** 身份证号1 */
|
||||||
|
@Excel(name = "身份证号1")
|
||||||
|
private String cardId1;
|
||||||
|
|
||||||
|
/** 与申请人关系2 */
|
||||||
|
@Excel(name = "与申请人关系2")
|
||||||
|
private String relation2;
|
||||||
|
|
||||||
|
/** 姓名2 */
|
||||||
|
@Excel(name = "姓名2")
|
||||||
|
private String name2;
|
||||||
|
|
||||||
|
/** 性别2 */
|
||||||
|
@Excel(name = "性别2")
|
||||||
|
private String sex2;
|
||||||
|
|
||||||
|
/** 身份证号2 */
|
||||||
|
@Excel(name = "身份证号2")
|
||||||
|
private String cardId2;
|
||||||
|
|
||||||
|
/** 与申请人关系3 */
|
||||||
|
@Excel(name = "与申请人关系3")
|
||||||
|
private String relation3;
|
||||||
|
|
||||||
|
/** 姓名3 */
|
||||||
|
@Excel(name = "姓名3")
|
||||||
|
private String name3;
|
||||||
|
|
||||||
|
/** 性别3 */
|
||||||
|
@Excel(name = "性别3")
|
||||||
|
private String sex3;
|
||||||
|
|
||||||
|
/** 身份证号3 */
|
||||||
|
@Excel(name = "身份证号3")
|
||||||
|
private String cardId3;
|
||||||
|
|
||||||
|
/** 与申请人关系4 */
|
||||||
|
@Excel(name = "与申请人关系4")
|
||||||
|
private String relation4;
|
||||||
|
|
||||||
|
/** 姓名4 */
|
||||||
|
@Excel(name = "姓名4")
|
||||||
|
private String name4;
|
||||||
|
|
||||||
|
/** 性别4 */
|
||||||
|
@Excel(name = "性别4")
|
||||||
|
private String sex4;
|
||||||
|
|
||||||
|
/** 身份证号4 */
|
||||||
|
@Excel(name = "身份证号4")
|
||||||
|
private String cardId4;
|
||||||
|
|
||||||
|
/** 发往单位 */
|
||||||
|
@Excel(name = "发往单位")
|
||||||
|
private String fwdw;
|
||||||
|
|
||||||
|
/** 迁入地址 */
|
||||||
|
@Excel(name = "迁入地址")
|
||||||
|
private String qrAddress;
|
||||||
|
|
||||||
|
/** 准迁原因 */
|
||||||
|
@Excel(name = "准迁原因")
|
||||||
|
private String zqReason;
|
||||||
|
|
||||||
|
/** 批准机关 */
|
||||||
|
@Excel(name = "批准机关")
|
||||||
|
private String pzjg;
|
||||||
|
|
||||||
|
/** 承办人 */
|
||||||
|
@Excel(name = "承办人")
|
||||||
|
private String cbr;
|
||||||
|
|
||||||
|
/** 签发日期 */
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@Excel(name = "签发日期", width = 30, dateFormat = "yyyy-MM-dd")
|
||||||
|
private Date qfDate;
|
||||||
|
|
||||||
|
/** 识别图片id */
|
||||||
|
@Excel(name = "识别图片id")
|
||||||
|
private String picIds;
|
||||||
|
|
||||||
|
/** 识别图片 */
|
||||||
|
@Excel(name = "识别图片")
|
||||||
|
private String pictures;
|
||||||
|
|
||||||
|
/** 相关图片id */
|
||||||
|
@Excel(name = "相关图片id")
|
||||||
|
private String allPicIds;
|
||||||
|
|
||||||
|
/** 相关图片 */
|
||||||
|
@Excel(name = "相关图片")
|
||||||
|
private String allPics;
|
||||||
|
|
||||||
|
/** 是否纠错(字典0否1是) */
|
||||||
|
@Excel(name = "是否纠错(字典0否1是)")
|
||||||
|
private String errorCorrect;
|
||||||
|
|
||||||
|
/** 审核状态(字典) */
|
||||||
|
@Excel(name = "审核状态(字典)")
|
||||||
|
private String auditStatus;
|
||||||
|
|
||||||
|
/** 审核人 */
|
||||||
|
@Excel(name = "审核人")
|
||||||
|
private String auditName;
|
||||||
|
|
||||||
|
/** 审核结果 */
|
||||||
|
@Excel(name = "审核结果")
|
||||||
|
private String auditResult;
|
||||||
|
|
||||||
|
/** 审核原由 */
|
||||||
|
@Excel(name = "审核原由")
|
||||||
|
private String auditReason;
|
||||||
|
|
||||||
|
public void setId(Long id)
|
||||||
|
{
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getId()
|
||||||
|
{
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
public void setYwType(String ywType)
|
||||||
|
{
|
||||||
|
this.ywType = ywType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getYwType()
|
||||||
|
{
|
||||||
|
return ywType;
|
||||||
|
}
|
||||||
|
public void setMuId(Long muId)
|
||||||
|
{
|
||||||
|
this.muId = muId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getMuId()
|
||||||
|
{
|
||||||
|
return muId;
|
||||||
|
}
|
||||||
|
public void setNum(String num)
|
||||||
|
{
|
||||||
|
this.num = num;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getNum()
|
||||||
|
{
|
||||||
|
return num;
|
||||||
|
}
|
||||||
|
public void setName(String name)
|
||||||
|
{
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getName()
|
||||||
|
{
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
public void setCardId(String cardId)
|
||||||
|
{
|
||||||
|
this.cardId = cardId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCardId()
|
||||||
|
{
|
||||||
|
return cardId;
|
||||||
|
}
|
||||||
|
public void setAddress(String address)
|
||||||
|
{
|
||||||
|
this.address = address;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getAddress()
|
||||||
|
{
|
||||||
|
return address;
|
||||||
|
}
|
||||||
|
public void setDjJg(String djJg)
|
||||||
|
{
|
||||||
|
this.djJg = djJg;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDjJg()
|
||||||
|
{
|
||||||
|
return djJg;
|
||||||
|
}
|
||||||
|
public void setRelation1(String relation1)
|
||||||
|
{
|
||||||
|
this.relation1 = relation1;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getRelation1()
|
||||||
|
{
|
||||||
|
return relation1;
|
||||||
|
}
|
||||||
|
public void setName1(String name1)
|
||||||
|
{
|
||||||
|
this.name1 = name1;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getName1()
|
||||||
|
{
|
||||||
|
return name1;
|
||||||
|
}
|
||||||
|
public void setSex1(String sex1)
|
||||||
|
{
|
||||||
|
this.sex1 = sex1;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getSex1()
|
||||||
|
{
|
||||||
|
return sex1;
|
||||||
|
}
|
||||||
|
public void setCardId1(String cardId1)
|
||||||
|
{
|
||||||
|
this.cardId1 = cardId1;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCardId1()
|
||||||
|
{
|
||||||
|
return cardId1;
|
||||||
|
}
|
||||||
|
public void setRelation2(String relation2)
|
||||||
|
{
|
||||||
|
this.relation2 = relation2;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getRelation2()
|
||||||
|
{
|
||||||
|
return relation2;
|
||||||
|
}
|
||||||
|
public void setName2(String name2)
|
||||||
|
{
|
||||||
|
this.name2 = name2;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getName2()
|
||||||
|
{
|
||||||
|
return name2;
|
||||||
|
}
|
||||||
|
public void setSex2(String sex2)
|
||||||
|
{
|
||||||
|
this.sex2 = sex2;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getSex2()
|
||||||
|
{
|
||||||
|
return sex2;
|
||||||
|
}
|
||||||
|
public void setCardId2(String cardId2)
|
||||||
|
{
|
||||||
|
this.cardId2 = cardId2;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCardId2()
|
||||||
|
{
|
||||||
|
return cardId2;
|
||||||
|
}
|
||||||
|
public void setRelation3(String relation3)
|
||||||
|
{
|
||||||
|
this.relation3 = relation3;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getRelation3()
|
||||||
|
{
|
||||||
|
return relation3;
|
||||||
|
}
|
||||||
|
public void setName3(String name3)
|
||||||
|
{
|
||||||
|
this.name3 = name3;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getName3()
|
||||||
|
{
|
||||||
|
return name3;
|
||||||
|
}
|
||||||
|
public void setSex3(String sex3)
|
||||||
|
{
|
||||||
|
this.sex3 = sex3;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getSex3()
|
||||||
|
{
|
||||||
|
return sex3;
|
||||||
|
}
|
||||||
|
public void setCardId3(String cardId3)
|
||||||
|
{
|
||||||
|
this.cardId3 = cardId3;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCardId3()
|
||||||
|
{
|
||||||
|
return cardId3;
|
||||||
|
}
|
||||||
|
public void setRelation4(String relation4)
|
||||||
|
{
|
||||||
|
this.relation4 = relation4;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getRelation4()
|
||||||
|
{
|
||||||
|
return relation4;
|
||||||
|
}
|
||||||
|
public void setName4(String name4)
|
||||||
|
{
|
||||||
|
this.name4 = name4;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getName4()
|
||||||
|
{
|
||||||
|
return name4;
|
||||||
|
}
|
||||||
|
public void setSex4(String sex4)
|
||||||
|
{
|
||||||
|
this.sex4 = sex4;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getSex4()
|
||||||
|
{
|
||||||
|
return sex4;
|
||||||
|
}
|
||||||
|
public void setCardId4(String cardId4)
|
||||||
|
{
|
||||||
|
this.cardId4 = cardId4;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCardId4()
|
||||||
|
{
|
||||||
|
return cardId4;
|
||||||
|
}
|
||||||
|
public void setFwdw(String fwdw)
|
||||||
|
{
|
||||||
|
this.fwdw = fwdw;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getFwdw()
|
||||||
|
{
|
||||||
|
return fwdw;
|
||||||
|
}
|
||||||
|
public void setQrAddress(String qrAddress)
|
||||||
|
{
|
||||||
|
this.qrAddress = qrAddress;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getQrAddress()
|
||||||
|
{
|
||||||
|
return qrAddress;
|
||||||
|
}
|
||||||
|
public void setZqReason(String zqReason)
|
||||||
|
{
|
||||||
|
this.zqReason = zqReason;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getZqReason()
|
||||||
|
{
|
||||||
|
return zqReason;
|
||||||
|
}
|
||||||
|
public void setPzjg(String pzjg)
|
||||||
|
{
|
||||||
|
this.pzjg = pzjg;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getPzjg()
|
||||||
|
{
|
||||||
|
return pzjg;
|
||||||
|
}
|
||||||
|
public void setCbr(String cbr)
|
||||||
|
{
|
||||||
|
this.cbr = cbr;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCbr()
|
||||||
|
{
|
||||||
|
return cbr;
|
||||||
|
}
|
||||||
|
public void setQfDate(Date qfDate)
|
||||||
|
{
|
||||||
|
this.qfDate = qfDate;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getQfDate()
|
||||||
|
{
|
||||||
|
return qfDate;
|
||||||
|
}
|
||||||
|
public void setPicIds(String picIds)
|
||||||
|
{
|
||||||
|
this.picIds = picIds;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getPicIds()
|
||||||
|
{
|
||||||
|
return picIds;
|
||||||
|
}
|
||||||
|
public void setPictures(String pictures)
|
||||||
|
{
|
||||||
|
this.pictures = pictures;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getPictures()
|
||||||
|
{
|
||||||
|
return pictures;
|
||||||
|
}
|
||||||
|
public void setAllPicIds(String allPicIds)
|
||||||
|
{
|
||||||
|
this.allPicIds = allPicIds;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getAllPicIds()
|
||||||
|
{
|
||||||
|
return allPicIds;
|
||||||
|
}
|
||||||
|
public void setAllPics(String allPics)
|
||||||
|
{
|
||||||
|
this.allPics = allPics;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getAllPics()
|
||||||
|
{
|
||||||
|
return allPics;
|
||||||
|
}
|
||||||
|
public void setErrorCorrect(String errorCorrect)
|
||||||
|
{
|
||||||
|
this.errorCorrect = errorCorrect;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getErrorCorrect()
|
||||||
|
{
|
||||||
|
return errorCorrect;
|
||||||
|
}
|
||||||
|
public void setAuditStatus(String auditStatus)
|
||||||
|
{
|
||||||
|
this.auditStatus = auditStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getAuditStatus()
|
||||||
|
{
|
||||||
|
return auditStatus;
|
||||||
|
}
|
||||||
|
public void setAuditName(String auditName)
|
||||||
|
{
|
||||||
|
this.auditName = auditName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getAuditName()
|
||||||
|
{
|
||||||
|
return auditName;
|
||||||
|
}
|
||||||
|
public void setAuditResult(String auditResult)
|
||||||
|
{
|
||||||
|
this.auditResult = auditResult;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getAuditResult()
|
||||||
|
{
|
||||||
|
return auditResult;
|
||||||
|
}
|
||||||
|
public void setAuditReason(String auditReason)
|
||||||
|
{
|
||||||
|
this.auditReason = auditReason;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getAuditReason()
|
||||||
|
{
|
||||||
|
return auditReason;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||||
|
.append("id", getId())
|
||||||
|
.append("ywType", getYwType())
|
||||||
|
.append("muId", getMuId())
|
||||||
|
.append("num", getNum())
|
||||||
|
.append("name", getName())
|
||||||
|
.append("cardId", getCardId())
|
||||||
|
.append("address", getAddress())
|
||||||
|
.append("djJg", getDjJg())
|
||||||
|
.append("relation1", getRelation1())
|
||||||
|
.append("name1", getName1())
|
||||||
|
.append("sex1", getSex1())
|
||||||
|
.append("cardId1", getCardId1())
|
||||||
|
.append("relation2", getRelation2())
|
||||||
|
.append("name2", getName2())
|
||||||
|
.append("sex2", getSex2())
|
||||||
|
.append("cardId2", getCardId2())
|
||||||
|
.append("relation3", getRelation3())
|
||||||
|
.append("name3", getName3())
|
||||||
|
.append("sex3", getSex3())
|
||||||
|
.append("cardId3", getCardId3())
|
||||||
|
.append("relation4", getRelation4())
|
||||||
|
.append("name4", getName4())
|
||||||
|
.append("sex4", getSex4())
|
||||||
|
.append("cardId4", getCardId4())
|
||||||
|
.append("fwdw", getFwdw())
|
||||||
|
.append("qrAddress", getQrAddress())
|
||||||
|
.append("zqReason", getZqReason())
|
||||||
|
.append("pzjg", getPzjg())
|
||||||
|
.append("cbr", getCbr())
|
||||||
|
.append("qfDate", getQfDate())
|
||||||
|
.append("picIds", getPicIds())
|
||||||
|
.append("pictures", getPictures())
|
||||||
|
.append("allPicIds", getAllPicIds())
|
||||||
|
.append("allPics", getAllPics())
|
||||||
|
.append("errorCorrect", getErrorCorrect())
|
||||||
|
.append("auditStatus", getAuditStatus())
|
||||||
|
.append("auditName", getAuditName())
|
||||||
|
.append("auditResult", getAuditResult())
|
||||||
|
.append("auditReason", getAuditReason())
|
||||||
|
.append("remark", getRemark())
|
||||||
|
.append("createBy", getCreateBy())
|
||||||
|
.append("createTime", getCreateTime())
|
||||||
|
.append("updateBy", getUpdateBy())
|
||||||
|
.append("updateTime", getUpdateTime())
|
||||||
|
.toString();
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,61 @@
|
|||||||
|
package com.da.dangan.mapper;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.da.dangan.domain.DaYtzm;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 一胎证明Mapper接口
|
||||||
|
*
|
||||||
|
* @author hs
|
||||||
|
* @date 2024-06-14
|
||||||
|
*/
|
||||||
|
public interface DaYtzmMapper
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询一胎证明
|
||||||
|
*
|
||||||
|
* @param id 一胎证明主键
|
||||||
|
* @return 一胎证明
|
||||||
|
*/
|
||||||
|
public DaYtzm selectDaYtzmById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询一胎证明列表
|
||||||
|
*
|
||||||
|
* @param daYtzm 一胎证明
|
||||||
|
* @return 一胎证明集合
|
||||||
|
*/
|
||||||
|
public List<DaYtzm> selectDaYtzmList(DaYtzm daYtzm);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增一胎证明
|
||||||
|
*
|
||||||
|
* @param daYtzm 一胎证明
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertDaYtzm(DaYtzm daYtzm);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改一胎证明
|
||||||
|
*
|
||||||
|
* @param daYtzm 一胎证明
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateDaYtzm(DaYtzm daYtzm);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除一胎证明
|
||||||
|
*
|
||||||
|
* @param id 一胎证明主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteDaYtzmById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除一胎证明
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的数据主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteDaYtzmByIds(Long[] ids);
|
||||||
|
}
|
||||||
@ -0,0 +1,61 @@
|
|||||||
|
package com.da.dangan.mapper;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.da.dangan.domain.DaZqz;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 准迁证Mapper接口
|
||||||
|
*
|
||||||
|
* @author hs
|
||||||
|
* @date 2024-06-14
|
||||||
|
*/
|
||||||
|
public interface DaZqzMapper
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询准迁证
|
||||||
|
*
|
||||||
|
* @param id 准迁证主键
|
||||||
|
* @return 准迁证
|
||||||
|
*/
|
||||||
|
public DaZqz selectDaZqzById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询准迁证列表
|
||||||
|
*
|
||||||
|
* @param daZqz 准迁证
|
||||||
|
* @return 准迁证集合
|
||||||
|
*/
|
||||||
|
public List<DaZqz> selectDaZqzList(DaZqz daZqz);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增准迁证
|
||||||
|
*
|
||||||
|
* @param daZqz 准迁证
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertDaZqz(DaZqz daZqz);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改准迁证
|
||||||
|
*
|
||||||
|
* @param daZqz 准迁证
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateDaZqz(DaZqz daZqz);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除准迁证
|
||||||
|
*
|
||||||
|
* @param id 准迁证主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteDaZqzById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除准迁证
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的数据主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteDaZqzByIds(Long[] ids);
|
||||||
|
}
|
||||||
@ -0,0 +1,61 @@
|
|||||||
|
package com.da.dangan.service;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.da.dangan.domain.DaYtzm;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 一胎证明Service接口
|
||||||
|
*
|
||||||
|
* @author hs
|
||||||
|
* @date 2024-06-14
|
||||||
|
*/
|
||||||
|
public interface IDaYtzmService
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询一胎证明
|
||||||
|
*
|
||||||
|
* @param id 一胎证明主键
|
||||||
|
* @return 一胎证明
|
||||||
|
*/
|
||||||
|
public DaYtzm selectDaYtzmById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询一胎证明列表
|
||||||
|
*
|
||||||
|
* @param daYtzm 一胎证明
|
||||||
|
* @return 一胎证明集合
|
||||||
|
*/
|
||||||
|
public List<DaYtzm> selectDaYtzmList(DaYtzm daYtzm);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增一胎证明
|
||||||
|
*
|
||||||
|
* @param daYtzm 一胎证明
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertDaYtzm(DaYtzm daYtzm);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改一胎证明
|
||||||
|
*
|
||||||
|
* @param daYtzm 一胎证明
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateDaYtzm(DaYtzm daYtzm);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除一胎证明
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的一胎证明主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteDaYtzmByIds(Long[] ids);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除一胎证明信息
|
||||||
|
*
|
||||||
|
* @param id 一胎证明主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteDaYtzmById(Long id);
|
||||||
|
}
|
||||||
@ -0,0 +1,61 @@
|
|||||||
|
package com.da.dangan.service;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.da.dangan.domain.DaZqz;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 准迁证Service接口
|
||||||
|
*
|
||||||
|
* @author hs
|
||||||
|
* @date 2024-06-14
|
||||||
|
*/
|
||||||
|
public interface IDaZqzService
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询准迁证
|
||||||
|
*
|
||||||
|
* @param id 准迁证主键
|
||||||
|
* @return 准迁证
|
||||||
|
*/
|
||||||
|
public DaZqz selectDaZqzById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询准迁证列表
|
||||||
|
*
|
||||||
|
* @param daZqz 准迁证
|
||||||
|
* @return 准迁证集合
|
||||||
|
*/
|
||||||
|
public List<DaZqz> selectDaZqzList(DaZqz daZqz);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增准迁证
|
||||||
|
*
|
||||||
|
* @param daZqz 准迁证
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertDaZqz(DaZqz daZqz);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改准迁证
|
||||||
|
*
|
||||||
|
* @param daZqz 准迁证
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateDaZqz(DaZqz daZqz);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除准迁证
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的准迁证主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteDaZqzByIds(Long[] ids);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除准迁证信息
|
||||||
|
*
|
||||||
|
* @param id 准迁证主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteDaZqzById(Long id);
|
||||||
|
}
|
||||||
@ -0,0 +1,96 @@
|
|||||||
|
package com.da.dangan.service.impl;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.da.common.utils.DateUtils;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
import com.da.dangan.mapper.DaYtzmMapper;
|
||||||
|
import com.da.dangan.domain.DaYtzm;
|
||||||
|
import com.da.dangan.service.IDaYtzmService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 一胎证明Service业务层处理
|
||||||
|
*
|
||||||
|
* @author hs
|
||||||
|
* @date 2024-06-14
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class DaYtzmServiceImpl implements IDaYtzmService
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private DaYtzmMapper daYtzmMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询一胎证明
|
||||||
|
*
|
||||||
|
* @param id 一胎证明主键
|
||||||
|
* @return 一胎证明
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public DaYtzm selectDaYtzmById(Long id)
|
||||||
|
{
|
||||||
|
return daYtzmMapper.selectDaYtzmById(id);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询一胎证明列表
|
||||||
|
*
|
||||||
|
* @param daYtzm 一胎证明
|
||||||
|
* @return 一胎证明
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<DaYtzm> selectDaYtzmList(DaYtzm daYtzm)
|
||||||
|
{
|
||||||
|
return daYtzmMapper.selectDaYtzmList(daYtzm);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增一胎证明
|
||||||
|
*
|
||||||
|
* @param daYtzm 一胎证明
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int insertDaYtzm(DaYtzm daYtzm)
|
||||||
|
{
|
||||||
|
daYtzm.setCreateTime(DateUtils.getNowDate());
|
||||||
|
return daYtzmMapper.insertDaYtzm(daYtzm);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改一胎证明
|
||||||
|
*
|
||||||
|
* @param daYtzm 一胎证明
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int updateDaYtzm(DaYtzm daYtzm)
|
||||||
|
{
|
||||||
|
daYtzm.setUpdateTime(DateUtils.getNowDate());
|
||||||
|
return daYtzmMapper.updateDaYtzm(daYtzm);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除一胎证明
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的一胎证明主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteDaYtzmByIds(Long[] ids)
|
||||||
|
{
|
||||||
|
return daYtzmMapper.deleteDaYtzmByIds(ids);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除一胎证明信息
|
||||||
|
*
|
||||||
|
* @param id 一胎证明主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteDaYtzmById(Long id)
|
||||||
|
{
|
||||||
|
return daYtzmMapper.deleteDaYtzmById(id);
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,96 @@
|
|||||||
|
package com.da.dangan.service.impl;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.da.common.utils.DateUtils;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
import com.da.dangan.mapper.DaZqzMapper;
|
||||||
|
import com.da.dangan.domain.DaZqz;
|
||||||
|
import com.da.dangan.service.IDaZqzService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 准迁证Service业务层处理
|
||||||
|
*
|
||||||
|
* @author hs
|
||||||
|
* @date 2024-06-14
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class DaZqzServiceImpl implements IDaZqzService
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private DaZqzMapper daZqzMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询准迁证
|
||||||
|
*
|
||||||
|
* @param id 准迁证主键
|
||||||
|
* @return 准迁证
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public DaZqz selectDaZqzById(Long id)
|
||||||
|
{
|
||||||
|
return daZqzMapper.selectDaZqzById(id);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询准迁证列表
|
||||||
|
*
|
||||||
|
* @param daZqz 准迁证
|
||||||
|
* @return 准迁证
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<DaZqz> selectDaZqzList(DaZqz daZqz)
|
||||||
|
{
|
||||||
|
return daZqzMapper.selectDaZqzList(daZqz);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增准迁证
|
||||||
|
*
|
||||||
|
* @param daZqz 准迁证
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int insertDaZqz(DaZqz daZqz)
|
||||||
|
{
|
||||||
|
daZqz.setCreateTime(DateUtils.getNowDate());
|
||||||
|
return daZqzMapper.insertDaZqz(daZqz);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改准迁证
|
||||||
|
*
|
||||||
|
* @param daZqz 准迁证
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int updateDaZqz(DaZqz daZqz)
|
||||||
|
{
|
||||||
|
daZqz.setUpdateTime(DateUtils.getNowDate());
|
||||||
|
return daZqzMapper.updateDaZqz(daZqz);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除准迁证
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的准迁证主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteDaZqzByIds(Long[] ids)
|
||||||
|
{
|
||||||
|
return daZqzMapper.deleteDaZqzByIds(ids);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除准迁证信息
|
||||||
|
*
|
||||||
|
* @param id 准迁证主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteDaZqzById(Long id)
|
||||||
|
{
|
||||||
|
return daZqzMapper.deleteDaZqzById(id);
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,206 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<!DOCTYPE mapper
|
||||||
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="com.da.dangan.mapper.DaYtzmMapper">
|
||||||
|
|
||||||
|
<resultMap type="DaYtzm" id="DaYtzmResult">
|
||||||
|
<result property="id" column="id" />
|
||||||
|
<result property="ywType" column="yw_type" />
|
||||||
|
<result property="muId" column="mu_id" />
|
||||||
|
<result property="year" column="year" />
|
||||||
|
<result property="xh" column="xh" />
|
||||||
|
<result property="wName" column="w_name" />
|
||||||
|
<result property="wUnit" column="w_unit" />
|
||||||
|
<result property="wCardId" column="w_card_id" />
|
||||||
|
<result property="mName" column="m_name" />
|
||||||
|
<result property="mUnit" column="m_unit" />
|
||||||
|
<result property="mCardId" column="m_card_id" />
|
||||||
|
<result property="syzh" column="syzh" />
|
||||||
|
<result property="birthday" column="birthday" />
|
||||||
|
<result property="hospital" column="hospital" />
|
||||||
|
<result property="babySex" column="baby_sex" />
|
||||||
|
<result property="suggest" column="suggest" />
|
||||||
|
<result property="pcsAddress" column="pcs_address" />
|
||||||
|
<result property="tbDate1" column="tb_date1" />
|
||||||
|
<result property="tbDate2" column="tb_date2" />
|
||||||
|
<result property="picIds" column="pic_ids" />
|
||||||
|
<result property="pictures" column="pictures" />
|
||||||
|
<result property="allPicIds" column="all_pic_ids" />
|
||||||
|
<result property="allPics" column="all_pics" />
|
||||||
|
<result property="errorCorrect" column="error_correct" />
|
||||||
|
<result property="auditStatus" column="audit_status" />
|
||||||
|
<result property="auditName" column="audit_name" />
|
||||||
|
<result property="auditResult" column="audit_result" />
|
||||||
|
<result property="auditReason" column="audit_reason" />
|
||||||
|
<result property="remark" column="remark" />
|
||||||
|
<result property="createBy" column="create_by" />
|
||||||
|
<result property="createTime" column="create_time" />
|
||||||
|
<result property="updateBy" column="update_by" />
|
||||||
|
<result property="updateTime" column="update_time" />
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="selectDaYtzmVo">
|
||||||
|
select id, yw_type, mu_id, year, xh, w_name, w_unit, w_card_id, m_name, m_unit, m_card_id, syzh, birthday, hospital, baby_sex, suggest, pcs_address, tb_date1, tb_date2, pic_ids, pictures, all_pic_ids, all_pics, error_correct, audit_status, audit_name, audit_result, audit_reason, remark, create_by, create_time, update_by, update_time from da_ytzm
|
||||||
|
</sql>
|
||||||
|
|
||||||
|
<select id="selectDaYtzmList" parameterType="DaYtzm" resultMap="DaYtzmResult">
|
||||||
|
<include refid="selectDaYtzmVo"/>
|
||||||
|
<where>
|
||||||
|
<if test="ywType != null and ywType != ''"> and yw_type = #{ywType}</if>
|
||||||
|
<if test="muId != null "> and mu_id = #{muId}</if>
|
||||||
|
<if test="year != null and year != ''"> and year = #{year}</if>
|
||||||
|
<if test="xh != null and xh != ''"> and xh = #{xh}</if>
|
||||||
|
<if test="wName != null and wName != ''"> and w_name like concat('%', #{wName}, '%')</if>
|
||||||
|
<if test="wUnit != null and wUnit != ''"> and w_unit = #{wUnit}</if>
|
||||||
|
<if test="wCardId != null and wCardId != ''"> and w_card_id = #{wCardId}</if>
|
||||||
|
<if test="mName != null and mName != ''"> and m_name like concat('%', #{mName}, '%')</if>
|
||||||
|
<if test="mUnit != null and mUnit != ''"> and m_unit = #{mUnit}</if>
|
||||||
|
<if test="mCardId != null and mCardId != ''"> and m_card_id = #{mCardId}</if>
|
||||||
|
<if test="syzh != null and syzh != ''"> and syzh = #{syzh}</if>
|
||||||
|
<if test="birthday != null "> and birthday = #{birthday}</if>
|
||||||
|
<if test="hospital != null and hospital != ''"> and hospital = #{hospital}</if>
|
||||||
|
<if test="babySex != null and babySex != ''"> and baby_sex = #{babySex}</if>
|
||||||
|
<if test="suggest != null and suggest != ''"> and suggest = #{suggest}</if>
|
||||||
|
<if test="pcsAddress != null and pcsAddress != ''"> and pcs_address = #{pcsAddress}</if>
|
||||||
|
<if test="tbDate1 != null "> and tb_date1 = #{tbDate1}</if>
|
||||||
|
<if test="tbDate2 != null "> and tb_date2 = #{tbDate2}</if>
|
||||||
|
<if test="picIds != null and picIds != ''"> and pic_ids = #{picIds}</if>
|
||||||
|
<if test="pictures != null and pictures != ''"> and pictures = #{pictures}</if>
|
||||||
|
<if test="allPicIds != null and allPicIds != ''"> and all_pic_ids = #{allPicIds}</if>
|
||||||
|
<if test="allPics != null and allPics != ''"> and all_pics = #{allPics}</if>
|
||||||
|
<if test="errorCorrect != null and errorCorrect != ''"> and error_correct = #{errorCorrect}</if>
|
||||||
|
<if test="auditStatus != null and auditStatus != ''"> and audit_status = #{auditStatus}</if>
|
||||||
|
<if test="auditName != null and auditName != ''"> and audit_name like concat('%', #{auditName}, '%')</if>
|
||||||
|
<if test="auditResult != null and auditResult != ''"> and audit_result = #{auditResult}</if>
|
||||||
|
<if test="auditReason != null and auditReason != ''"> and audit_reason = #{auditReason}</if>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="selectDaYtzmById" parameterType="Long" resultMap="DaYtzmResult">
|
||||||
|
<include refid="selectDaYtzmVo"/>
|
||||||
|
where id = #{id}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<insert id="insertDaYtzm" parameterType="DaYtzm" useGeneratedKeys="true" keyProperty="id">
|
||||||
|
insert into da_ytzm
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="ywType != null">yw_type,</if>
|
||||||
|
<if test="muId != null">mu_id,</if>
|
||||||
|
<if test="year != null">year,</if>
|
||||||
|
<if test="xh != null">xh,</if>
|
||||||
|
<if test="wName != null">w_name,</if>
|
||||||
|
<if test="wUnit != null">w_unit,</if>
|
||||||
|
<if test="wCardId != null">w_card_id,</if>
|
||||||
|
<if test="mName != null">m_name,</if>
|
||||||
|
<if test="mUnit != null">m_unit,</if>
|
||||||
|
<if test="mCardId != null">m_card_id,</if>
|
||||||
|
<if test="syzh != null">syzh,</if>
|
||||||
|
<if test="birthday != null">birthday,</if>
|
||||||
|
<if test="hospital != null">hospital,</if>
|
||||||
|
<if test="babySex != null">baby_sex,</if>
|
||||||
|
<if test="suggest != null">suggest,</if>
|
||||||
|
<if test="pcsAddress != null">pcs_address,</if>
|
||||||
|
<if test="tbDate1 != null">tb_date1,</if>
|
||||||
|
<if test="tbDate2 != null">tb_date2,</if>
|
||||||
|
<if test="picIds != null">pic_ids,</if>
|
||||||
|
<if test="pictures != null">pictures,</if>
|
||||||
|
<if test="allPicIds != null">all_pic_ids,</if>
|
||||||
|
<if test="allPics != null">all_pics,</if>
|
||||||
|
<if test="errorCorrect != null">error_correct,</if>
|
||||||
|
<if test="auditStatus != null">audit_status,</if>
|
||||||
|
<if test="auditName != null">audit_name,</if>
|
||||||
|
<if test="auditResult != null">audit_result,</if>
|
||||||
|
<if test="auditReason != null">audit_reason,</if>
|
||||||
|
<if test="remark != null">remark,</if>
|
||||||
|
<if test="createBy != null">create_by,</if>
|
||||||
|
<if test="createTime != null">create_time,</if>
|
||||||
|
<if test="updateBy != null">update_by,</if>
|
||||||
|
<if test="updateTime != null">update_time,</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="ywType != null">#{ywType},</if>
|
||||||
|
<if test="muId != null">#{muId},</if>
|
||||||
|
<if test="year != null">#{year},</if>
|
||||||
|
<if test="xh != null">#{xh},</if>
|
||||||
|
<if test="wName != null">#{wName},</if>
|
||||||
|
<if test="wUnit != null">#{wUnit},</if>
|
||||||
|
<if test="wCardId != null">#{wCardId},</if>
|
||||||
|
<if test="mName != null">#{mName},</if>
|
||||||
|
<if test="mUnit != null">#{mUnit},</if>
|
||||||
|
<if test="mCardId != null">#{mCardId},</if>
|
||||||
|
<if test="syzh != null">#{syzh},</if>
|
||||||
|
<if test="birthday != null">#{birthday},</if>
|
||||||
|
<if test="hospital != null">#{hospital},</if>
|
||||||
|
<if test="babySex != null">#{babySex},</if>
|
||||||
|
<if test="suggest != null">#{suggest},</if>
|
||||||
|
<if test="pcsAddress != null">#{pcsAddress},</if>
|
||||||
|
<if test="tbDate1 != null">#{tbDate1},</if>
|
||||||
|
<if test="tbDate2 != null">#{tbDate2},</if>
|
||||||
|
<if test="picIds != null">#{picIds},</if>
|
||||||
|
<if test="pictures != null">#{pictures},</if>
|
||||||
|
<if test="allPicIds != null">#{allPicIds},</if>
|
||||||
|
<if test="allPics != null">#{allPics},</if>
|
||||||
|
<if test="errorCorrect != null">#{errorCorrect},</if>
|
||||||
|
<if test="auditStatus != null">#{auditStatus},</if>
|
||||||
|
<if test="auditName != null">#{auditName},</if>
|
||||||
|
<if test="auditResult != null">#{auditResult},</if>
|
||||||
|
<if test="auditReason != null">#{auditReason},</if>
|
||||||
|
<if test="remark != null">#{remark},</if>
|
||||||
|
<if test="createBy != null">#{createBy},</if>
|
||||||
|
<if test="createTime != null">#{createTime},</if>
|
||||||
|
<if test="updateBy != null">#{updateBy},</if>
|
||||||
|
<if test="updateTime != null">#{updateTime},</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
|
||||||
|
<update id="updateDaYtzm" parameterType="DaYtzm">
|
||||||
|
update da_ytzm
|
||||||
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
|
<if test="ywType != null">yw_type = #{ywType},</if>
|
||||||
|
<if test="muId != null">mu_id = #{muId},</if>
|
||||||
|
<if test="year != null">year = #{year},</if>
|
||||||
|
<if test="xh != null">xh = #{xh},</if>
|
||||||
|
<if test="wName != null">w_name = #{wName},</if>
|
||||||
|
<if test="wUnit != null">w_unit = #{wUnit},</if>
|
||||||
|
<if test="wCardId != null">w_card_id = #{wCardId},</if>
|
||||||
|
<if test="mName != null">m_name = #{mName},</if>
|
||||||
|
<if test="mUnit != null">m_unit = #{mUnit},</if>
|
||||||
|
<if test="mCardId != null">m_card_id = #{mCardId},</if>
|
||||||
|
<if test="syzh != null">syzh = #{syzh},</if>
|
||||||
|
<if test="birthday != null">birthday = #{birthday},</if>
|
||||||
|
<if test="hospital != null">hospital = #{hospital},</if>
|
||||||
|
<if test="babySex != null">baby_sex = #{babySex},</if>
|
||||||
|
<if test="suggest != null">suggest = #{suggest},</if>
|
||||||
|
<if test="pcsAddress != null">pcs_address = #{pcsAddress},</if>
|
||||||
|
<if test="tbDate1 != null">tb_date1 = #{tbDate1},</if>
|
||||||
|
<if test="tbDate2 != null">tb_date2 = #{tbDate2},</if>
|
||||||
|
<if test="picIds != null">pic_ids = #{picIds},</if>
|
||||||
|
<if test="pictures != null">pictures = #{pictures},</if>
|
||||||
|
<if test="allPicIds != null">all_pic_ids = #{allPicIds},</if>
|
||||||
|
<if test="allPics != null">all_pics = #{allPics},</if>
|
||||||
|
<if test="errorCorrect != null">error_correct = #{errorCorrect},</if>
|
||||||
|
<if test="auditStatus != null">audit_status = #{auditStatus},</if>
|
||||||
|
<if test="auditName != null">audit_name = #{auditName},</if>
|
||||||
|
<if test="auditResult != null">audit_result = #{auditResult},</if>
|
||||||
|
<if test="auditReason != null">audit_reason = #{auditReason},</if>
|
||||||
|
<if test="remark != null">remark = #{remark},</if>
|
||||||
|
<if test="createBy != null">create_by = #{createBy},</if>
|
||||||
|
<if test="createTime != null">create_time = #{createTime},</if>
|
||||||
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||||
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||||
|
</trim>
|
||||||
|
where id = #{id}
|
||||||
|
</update>
|
||||||
|
|
||||||
|
<delete id="deleteDaYtzmById" parameterType="Long">
|
||||||
|
delete from da_ytzm where id = #{id}
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
<delete id="deleteDaYtzmByIds" parameterType="String">
|
||||||
|
delete from da_ytzm where id in
|
||||||
|
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||||
|
#{id}
|
||||||
|
</foreach>
|
||||||
|
</delete>
|
||||||
|
</mapper>
|
||||||
@ -0,0 +1,261 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<!DOCTYPE mapper
|
||||||
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="com.da.dangan.mapper.DaZqzMapper">
|
||||||
|
|
||||||
|
<resultMap type="DaZqz" id="DaZqzResult">
|
||||||
|
<result property="id" column="id" />
|
||||||
|
<result property="ywType" column="yw_type" />
|
||||||
|
<result property="muId" column="mu_id" />
|
||||||
|
<result property="num" column="num" />
|
||||||
|
<result property="name" column="name" />
|
||||||
|
<result property="cardId" column="card_id" />
|
||||||
|
<result property="address" column="address" />
|
||||||
|
<result property="djJg" column="dj_jg" />
|
||||||
|
<result property="relation1" column="relation1" />
|
||||||
|
<result property="name1" column="name1" />
|
||||||
|
<result property="sex1" column="sex1" />
|
||||||
|
<result property="cardId1" column="card_id1" />
|
||||||
|
<result property="relation2" column="relation2" />
|
||||||
|
<result property="name2" column="name2" />
|
||||||
|
<result property="sex2" column="sex2" />
|
||||||
|
<result property="cardId2" column="card_id2" />
|
||||||
|
<result property="relation3" column="relation3" />
|
||||||
|
<result property="name3" column="name3" />
|
||||||
|
<result property="sex3" column="sex3" />
|
||||||
|
<result property="cardId3" column="card_id3" />
|
||||||
|
<result property="relation4" column="relation4" />
|
||||||
|
<result property="name4" column="name4" />
|
||||||
|
<result property="sex4" column="sex4" />
|
||||||
|
<result property="cardId4" column="card_id4" />
|
||||||
|
<result property="fwdw" column="fwdw" />
|
||||||
|
<result property="qrAddress" column="qr_address" />
|
||||||
|
<result property="zqReason" column="zq_reason" />
|
||||||
|
<result property="pzjg" column="pzjg" />
|
||||||
|
<result property="cbr" column="cbr" />
|
||||||
|
<result property="qfDate" column="qf_date" />
|
||||||
|
<result property="picIds" column="pic_ids" />
|
||||||
|
<result property="pictures" column="pictures" />
|
||||||
|
<result property="allPicIds" column="all_pic_ids" />
|
||||||
|
<result property="allPics" column="all_pics" />
|
||||||
|
<result property="errorCorrect" column="error_correct" />
|
||||||
|
<result property="auditStatus" column="audit_status" />
|
||||||
|
<result property="auditName" column="audit_name" />
|
||||||
|
<result property="auditResult" column="audit_result" />
|
||||||
|
<result property="auditReason" column="audit_reason" />
|
||||||
|
<result property="remark" column="remark" />
|
||||||
|
<result property="createBy" column="create_by" />
|
||||||
|
<result property="createTime" column="create_time" />
|
||||||
|
<result property="updateBy" column="update_by" />
|
||||||
|
<result property="updateTime" column="update_time" />
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="selectDaZqzVo">
|
||||||
|
select id, yw_type, mu_id, num, name, card_id, address, dj_jg, relation1, name1, sex1, card_id1, relation2, name2, sex2, card_id2, relation3, name3, sex3, card_id3, relation4, name4, sex4, card_id4, fwdw, qr_address, zq_reason, pzjg, cbr, qf_date, pic_ids, pictures, all_pic_ids, all_pics, error_correct, audit_status, audit_name, audit_result, audit_reason, remark, create_by, create_time, update_by, update_time from da_zqz
|
||||||
|
</sql>
|
||||||
|
|
||||||
|
<select id="selectDaZqzList" parameterType="DaZqz" resultMap="DaZqzResult">
|
||||||
|
<include refid="selectDaZqzVo"/>
|
||||||
|
<where>
|
||||||
|
<if test="ywType != null and ywType != ''"> and yw_type = #{ywType}</if>
|
||||||
|
<if test="muId != null "> and mu_id = #{muId}</if>
|
||||||
|
<if test="num != null and num != ''"> and num = #{num}</if>
|
||||||
|
<if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if>
|
||||||
|
<if test="cardId != null and cardId != ''"> and card_id = #{cardId}</if>
|
||||||
|
<if test="address != null and address != ''"> and address = #{address}</if>
|
||||||
|
<if test="djJg != null and djJg != ''"> and dj_jg = #{djJg}</if>
|
||||||
|
<if test="relation1 != null and relation1 != ''"> and relation1 = #{relation1}</if>
|
||||||
|
<if test="name1 != null and name1 != ''"> and name1 = #{name1}</if>
|
||||||
|
<if test="sex1 != null and sex1 != ''"> and sex1 = #{sex1}</if>
|
||||||
|
<if test="cardId1 != null and cardId1 != ''"> and card_id1 = #{cardId1}</if>
|
||||||
|
<if test="relation2 != null and relation2 != ''"> and relation2 = #{relation2}</if>
|
||||||
|
<if test="name2 != null and name2 != ''"> and name2 = #{name2}</if>
|
||||||
|
<if test="sex2 != null and sex2 != ''"> and sex2 = #{sex2}</if>
|
||||||
|
<if test="cardId2 != null and cardId2 != ''"> and card_id2 = #{cardId2}</if>
|
||||||
|
<if test="relation3 != null and relation3 != ''"> and relation3 = #{relation3}</if>
|
||||||
|
<if test="name3 != null and name3 != ''"> and name3 = #{name3}</if>
|
||||||
|
<if test="sex3 != null and sex3 != ''"> and sex3 = #{sex3}</if>
|
||||||
|
<if test="cardId3 != null and cardId3 != ''"> and card_id3 = #{cardId3}</if>
|
||||||
|
<if test="relation4 != null and relation4 != ''"> and relation4 = #{relation4}</if>
|
||||||
|
<if test="name4 != null and name4 != ''"> and name4 = #{name4}</if>
|
||||||
|
<if test="sex4 != null and sex4 != ''"> and sex4 = #{sex4}</if>
|
||||||
|
<if test="cardId4 != null and cardId4 != ''"> and card_id4 = #{cardId4}</if>
|
||||||
|
<if test="fwdw != null and fwdw != ''"> and fwdw = #{fwdw}</if>
|
||||||
|
<if test="qrAddress != null and qrAddress != ''"> and qr_address = #{qrAddress}</if>
|
||||||
|
<if test="zqReason != null and zqReason != ''"> and zq_reason = #{zqReason}</if>
|
||||||
|
<if test="pzjg != null and pzjg != ''"> and pzjg = #{pzjg}</if>
|
||||||
|
<if test="cbr != null and cbr != ''"> and cbr = #{cbr}</if>
|
||||||
|
<if test="qfDate != null "> and qf_date = #{qfDate}</if>
|
||||||
|
<if test="picIds != null and picIds != ''"> and pic_ids = #{picIds}</if>
|
||||||
|
<if test="pictures != null and pictures != ''"> and pictures = #{pictures}</if>
|
||||||
|
<if test="allPicIds != null and allPicIds != ''"> and all_pic_ids = #{allPicIds}</if>
|
||||||
|
<if test="allPics != null and allPics != ''"> and all_pics = #{allPics}</if>
|
||||||
|
<if test="errorCorrect != null and errorCorrect != ''"> and error_correct = #{errorCorrect}</if>
|
||||||
|
<if test="auditStatus != null and auditStatus != ''"> and audit_status = #{auditStatus}</if>
|
||||||
|
<if test="auditName != null and auditName != ''"> and audit_name like concat('%', #{auditName}, '%')</if>
|
||||||
|
<if test="auditResult != null and auditResult != ''"> and audit_result = #{auditResult}</if>
|
||||||
|
<if test="auditReason != null and auditReason != ''"> and audit_reason = #{auditReason}</if>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="selectDaZqzById" parameterType="Long" resultMap="DaZqzResult">
|
||||||
|
<include refid="selectDaZqzVo"/>
|
||||||
|
where id = #{id}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<insert id="insertDaZqz" parameterType="DaZqz" useGeneratedKeys="true" keyProperty="id">
|
||||||
|
insert into da_zqz
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="ywType != null">yw_type,</if>
|
||||||
|
<if test="muId != null">mu_id,</if>
|
||||||
|
<if test="num != null">num,</if>
|
||||||
|
<if test="name != null">name,</if>
|
||||||
|
<if test="cardId != null">card_id,</if>
|
||||||
|
<if test="address != null">address,</if>
|
||||||
|
<if test="djJg != null">dj_jg,</if>
|
||||||
|
<if test="relation1 != null">relation1,</if>
|
||||||
|
<if test="name1 != null">name1,</if>
|
||||||
|
<if test="sex1 != null">sex1,</if>
|
||||||
|
<if test="cardId1 != null">card_id1,</if>
|
||||||
|
<if test="relation2 != null">relation2,</if>
|
||||||
|
<if test="name2 != null">name2,</if>
|
||||||
|
<if test="sex2 != null">sex2,</if>
|
||||||
|
<if test="cardId2 != null">card_id2,</if>
|
||||||
|
<if test="relation3 != null">relation3,</if>
|
||||||
|
<if test="name3 != null">name3,</if>
|
||||||
|
<if test="sex3 != null">sex3,</if>
|
||||||
|
<if test="cardId3 != null">card_id3,</if>
|
||||||
|
<if test="relation4 != null">relation4,</if>
|
||||||
|
<if test="name4 != null">name4,</if>
|
||||||
|
<if test="sex4 != null">sex4,</if>
|
||||||
|
<if test="cardId4 != null">card_id4,</if>
|
||||||
|
<if test="fwdw != null">fwdw,</if>
|
||||||
|
<if test="qrAddress != null">qr_address,</if>
|
||||||
|
<if test="zqReason != null">zq_reason,</if>
|
||||||
|
<if test="pzjg != null">pzjg,</if>
|
||||||
|
<if test="cbr != null">cbr,</if>
|
||||||
|
<if test="qfDate != null">qf_date,</if>
|
||||||
|
<if test="picIds != null">pic_ids,</if>
|
||||||
|
<if test="pictures != null">pictures,</if>
|
||||||
|
<if test="allPicIds != null">all_pic_ids,</if>
|
||||||
|
<if test="allPics != null">all_pics,</if>
|
||||||
|
<if test="errorCorrect != null">error_correct,</if>
|
||||||
|
<if test="auditStatus != null">audit_status,</if>
|
||||||
|
<if test="auditName != null">audit_name,</if>
|
||||||
|
<if test="auditResult != null">audit_result,</if>
|
||||||
|
<if test="auditReason != null">audit_reason,</if>
|
||||||
|
<if test="remark != null">remark,</if>
|
||||||
|
<if test="createBy != null">create_by,</if>
|
||||||
|
<if test="createTime != null">create_time,</if>
|
||||||
|
<if test="updateBy != null">update_by,</if>
|
||||||
|
<if test="updateTime != null">update_time,</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="ywType != null">#{ywType},</if>
|
||||||
|
<if test="muId != null">#{muId},</if>
|
||||||
|
<if test="num != null">#{num},</if>
|
||||||
|
<if test="name != null">#{name},</if>
|
||||||
|
<if test="cardId != null">#{cardId},</if>
|
||||||
|
<if test="address != null">#{address},</if>
|
||||||
|
<if test="djJg != null">#{djJg},</if>
|
||||||
|
<if test="relation1 != null">#{relation1},</if>
|
||||||
|
<if test="name1 != null">#{name1},</if>
|
||||||
|
<if test="sex1 != null">#{sex1},</if>
|
||||||
|
<if test="cardId1 != null">#{cardId1},</if>
|
||||||
|
<if test="relation2 != null">#{relation2},</if>
|
||||||
|
<if test="name2 != null">#{name2},</if>
|
||||||
|
<if test="sex2 != null">#{sex2},</if>
|
||||||
|
<if test="cardId2 != null">#{cardId2},</if>
|
||||||
|
<if test="relation3 != null">#{relation3},</if>
|
||||||
|
<if test="name3 != null">#{name3},</if>
|
||||||
|
<if test="sex3 != null">#{sex3},</if>
|
||||||
|
<if test="cardId3 != null">#{cardId3},</if>
|
||||||
|
<if test="relation4 != null">#{relation4},</if>
|
||||||
|
<if test="name4 != null">#{name4},</if>
|
||||||
|
<if test="sex4 != null">#{sex4},</if>
|
||||||
|
<if test="cardId4 != null">#{cardId4},</if>
|
||||||
|
<if test="fwdw != null">#{fwdw},</if>
|
||||||
|
<if test="qrAddress != null">#{qrAddress},</if>
|
||||||
|
<if test="zqReason != null">#{zqReason},</if>
|
||||||
|
<if test="pzjg != null">#{pzjg},</if>
|
||||||
|
<if test="cbr != null">#{cbr},</if>
|
||||||
|
<if test="qfDate != null">#{qfDate},</if>
|
||||||
|
<if test="picIds != null">#{picIds},</if>
|
||||||
|
<if test="pictures != null">#{pictures},</if>
|
||||||
|
<if test="allPicIds != null">#{allPicIds},</if>
|
||||||
|
<if test="allPics != null">#{allPics},</if>
|
||||||
|
<if test="errorCorrect != null">#{errorCorrect},</if>
|
||||||
|
<if test="auditStatus != null">#{auditStatus},</if>
|
||||||
|
<if test="auditName != null">#{auditName},</if>
|
||||||
|
<if test="auditResult != null">#{auditResult},</if>
|
||||||
|
<if test="auditReason != null">#{auditReason},</if>
|
||||||
|
<if test="remark != null">#{remark},</if>
|
||||||
|
<if test="createBy != null">#{createBy},</if>
|
||||||
|
<if test="createTime != null">#{createTime},</if>
|
||||||
|
<if test="updateBy != null">#{updateBy},</if>
|
||||||
|
<if test="updateTime != null">#{updateTime},</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
|
||||||
|
<update id="updateDaZqz" parameterType="DaZqz">
|
||||||
|
update da_zqz
|
||||||
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
|
<if test="ywType != null">yw_type = #{ywType},</if>
|
||||||
|
<if test="muId != null">mu_id = #{muId},</if>
|
||||||
|
<if test="num != null">num = #{num},</if>
|
||||||
|
<if test="name != null">name = #{name},</if>
|
||||||
|
<if test="cardId != null">card_id = #{cardId},</if>
|
||||||
|
<if test="address != null">address = #{address},</if>
|
||||||
|
<if test="djJg != null">dj_jg = #{djJg},</if>
|
||||||
|
<if test="relation1 != null">relation1 = #{relation1},</if>
|
||||||
|
<if test="name1 != null">name1 = #{name1},</if>
|
||||||
|
<if test="sex1 != null">sex1 = #{sex1},</if>
|
||||||
|
<if test="cardId1 != null">card_id1 = #{cardId1},</if>
|
||||||
|
<if test="relation2 != null">relation2 = #{relation2},</if>
|
||||||
|
<if test="name2 != null">name2 = #{name2},</if>
|
||||||
|
<if test="sex2 != null">sex2 = #{sex2},</if>
|
||||||
|
<if test="cardId2 != null">card_id2 = #{cardId2},</if>
|
||||||
|
<if test="relation3 != null">relation3 = #{relation3},</if>
|
||||||
|
<if test="name3 != null">name3 = #{name3},</if>
|
||||||
|
<if test="sex3 != null">sex3 = #{sex3},</if>
|
||||||
|
<if test="cardId3 != null">card_id3 = #{cardId3},</if>
|
||||||
|
<if test="relation4 != null">relation4 = #{relation4},</if>
|
||||||
|
<if test="name4 != null">name4 = #{name4},</if>
|
||||||
|
<if test="sex4 != null">sex4 = #{sex4},</if>
|
||||||
|
<if test="cardId4 != null">card_id4 = #{cardId4},</if>
|
||||||
|
<if test="fwdw != null">fwdw = #{fwdw},</if>
|
||||||
|
<if test="qrAddress != null">qr_address = #{qrAddress},</if>
|
||||||
|
<if test="zqReason != null">zq_reason = #{zqReason},</if>
|
||||||
|
<if test="pzjg != null">pzjg = #{pzjg},</if>
|
||||||
|
<if test="cbr != null">cbr = #{cbr},</if>
|
||||||
|
<if test="qfDate != null">qf_date = #{qfDate},</if>
|
||||||
|
<if test="picIds != null">pic_ids = #{picIds},</if>
|
||||||
|
<if test="pictures != null">pictures = #{pictures},</if>
|
||||||
|
<if test="allPicIds != null">all_pic_ids = #{allPicIds},</if>
|
||||||
|
<if test="allPics != null">all_pics = #{allPics},</if>
|
||||||
|
<if test="errorCorrect != null">error_correct = #{errorCorrect},</if>
|
||||||
|
<if test="auditStatus != null">audit_status = #{auditStatus},</if>
|
||||||
|
<if test="auditName != null">audit_name = #{auditName},</if>
|
||||||
|
<if test="auditResult != null">audit_result = #{auditResult},</if>
|
||||||
|
<if test="auditReason != null">audit_reason = #{auditReason},</if>
|
||||||
|
<if test="remark != null">remark = #{remark},</if>
|
||||||
|
<if test="createBy != null">create_by = #{createBy},</if>
|
||||||
|
<if test="createTime != null">create_time = #{createTime},</if>
|
||||||
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||||
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||||
|
</trim>
|
||||||
|
where id = #{id}
|
||||||
|
</update>
|
||||||
|
|
||||||
|
<delete id="deleteDaZqzById" parameterType="Long">
|
||||||
|
delete from da_zqz where id = #{id}
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
<delete id="deleteDaZqzByIds" parameterType="String">
|
||||||
|
delete from da_zqz where id in
|
||||||
|
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||||
|
#{id}
|
||||||
|
</foreach>
|
||||||
|
</delete>
|
||||||
|
</mapper>
|
||||||
@ -0,0 +1,44 @@
|
|||||||
|
import request from '@/utils/request'
|
||||||
|
|
||||||
|
// 查询一胎证明列表
|
||||||
|
export function listYtzm(query) {
|
||||||
|
return request({
|
||||||
|
url: '/dangan/ytzm/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查询一胎证明详细
|
||||||
|
export function getYtzm(id) {
|
||||||
|
return request({
|
||||||
|
url: '/dangan/ytzm/' + id,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 新增一胎证明
|
||||||
|
export function addYtzm(data) {
|
||||||
|
return request({
|
||||||
|
url: '/dangan/ytzm',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 修改一胎证明
|
||||||
|
export function updateYtzm(data) {
|
||||||
|
return request({
|
||||||
|
url: '/dangan/ytzm',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 删除一胎证明
|
||||||
|
export function delYtzm(id) {
|
||||||
|
return request({
|
||||||
|
url: '/dangan/ytzm/' + id,
|
||||||
|
method: 'delete'
|
||||||
|
})
|
||||||
|
}
|
||||||
@ -0,0 +1,44 @@
|
|||||||
|
import request from '@/utils/request'
|
||||||
|
|
||||||
|
// 查询准迁证列表
|
||||||
|
export function listZqz(query) {
|
||||||
|
return request({
|
||||||
|
url: '/dangan/zqz/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查询准迁证详细
|
||||||
|
export function getZqz(id) {
|
||||||
|
return request({
|
||||||
|
url: '/dangan/zqz/' + id,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 新增准迁证
|
||||||
|
export function addZqz(data) {
|
||||||
|
return request({
|
||||||
|
url: '/dangan/zqz',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 修改准迁证
|
||||||
|
export function updateZqz(data) {
|
||||||
|
return request({
|
||||||
|
url: '/dangan/zqz',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 删除准迁证
|
||||||
|
export function delZqz(id) {
|
||||||
|
return request({
|
||||||
|
url: '/dangan/zqz/' + id,
|
||||||
|
method: 'delete'
|
||||||
|
})
|
||||||
|
}
|
||||||
@ -0,0 +1,609 @@
|
|||||||
|
<template>
|
||||||
|
<div class="app-container">
|
||||||
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
||||||
|
<el-form-item label="目录id" prop="muId">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.muId"
|
||||||
|
placeholder="请输入目录id"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="年份" prop="year">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.year"
|
||||||
|
placeholder="请输入年份"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="序号" prop="xh">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.xh"
|
||||||
|
placeholder="请输入序号"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="姓名女" prop="wName">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.wName"
|
||||||
|
placeholder="请输入姓名女"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="工作单位女" prop="wUnit">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.wUnit"
|
||||||
|
placeholder="请输入工作单位女"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="身份证号女" prop="wCardId">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.wCardId"
|
||||||
|
placeholder="请输入身份证号女"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="姓名男" prop="mName">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.mName"
|
||||||
|
placeholder="请输入姓名男"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="工作单位男" prop="mUnit">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.mUnit"
|
||||||
|
placeholder="请输入工作单位男"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="身份证号男" prop="mCardId">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.mCardId"
|
||||||
|
placeholder="请输入身份证号男"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="生育证号" prop="syzh">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.syzh"
|
||||||
|
placeholder="请输入生育证号"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="出生日期" prop="birthday">
|
||||||
|
<el-date-picker clearable
|
||||||
|
v-model="queryParams.birthday"
|
||||||
|
type="date"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
placeholder="请选择出生日期">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="医院地址" prop="hospital">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.hospital"
|
||||||
|
placeholder="请输入医院地址"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="意见" prop="suggest">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.suggest"
|
||||||
|
placeholder="请输入意见"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="派出所位置" prop="pcsAddress">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.pcsAddress"
|
||||||
|
placeholder="请输入派出所位置"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="填表日
|
||||||
|
填表日期1" prop="tbDate1">
|
||||||
|
<el-date-picker clearable
|
||||||
|
v-model="queryParams.tbDate1"
|
||||||
|
type="date"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
placeholder="请选择填表日
|
||||||
|
填表日期1">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="填表日
|
||||||
|
填表日期2" prop="tbDate2">
|
||||||
|
<el-date-picker clearable
|
||||||
|
v-model="queryParams.tbDate2"
|
||||||
|
type="date"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
placeholder="请选择填表日
|
||||||
|
填表日期2">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="识别图片id" prop="picIds">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.picIds"
|
||||||
|
placeholder="请输入识别图片id"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="相关图片id" prop="allPicIds">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.allPicIds"
|
||||||
|
placeholder="请输入相关图片id"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="是否纠错(字典0否1是)" prop="errorCorrect">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.errorCorrect"
|
||||||
|
placeholder="请输入是否纠错(字典0否1是)"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="审核人" prop="auditName">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.auditName"
|
||||||
|
placeholder="请输入审核人"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="审核结果" prop="auditResult">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.auditResult"
|
||||||
|
placeholder="请输入审核结果"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="审核原由" prop="auditReason">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.auditReason"
|
||||||
|
placeholder="请输入审核原由"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</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-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="['dangan:ytzm: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="['dangan:ytzm: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="['dangan:ytzm: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="['dangan:ytzm:export']"
|
||||||
|
>导出</el-button>
|
||||||
|
</el-col>
|
||||||
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||||
|
</el-row>
|
||||||
|
|
||||||
|
<el-table v-loading="loading" :data="ytzmList" @selection-change="handleSelectionChange">
|
||||||
|
<el-table-column type="selection" width="55" align="center" />
|
||||||
|
<el-table-column label="id" align="center" prop="id" />
|
||||||
|
<el-table-column label="业务类型(字典)" align="center" prop="ywType" />
|
||||||
|
<el-table-column label="目录id" align="center" prop="muId" />
|
||||||
|
<el-table-column label="年份" align="center" prop="year" />
|
||||||
|
<el-table-column label="序号" align="center" prop="xh" />
|
||||||
|
<el-table-column label="姓名女" align="center" prop="wName" />
|
||||||
|
<el-table-column label="工作单位女" align="center" prop="wUnit" />
|
||||||
|
<el-table-column label="身份证号女" align="center" prop="wCardId" />
|
||||||
|
<el-table-column label="姓名男" align="center" prop="mName" />
|
||||||
|
<el-table-column label="工作单位男" align="center" prop="mUnit" />
|
||||||
|
<el-table-column label="身份证号男" align="center" prop="mCardId" />
|
||||||
|
<el-table-column label="生育证号" align="center" prop="syzh" />
|
||||||
|
<el-table-column label="出生日期" align="center" prop="birthday" width="180">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ parseTime(scope.row.birthday, '{y}-{m}-{d}') }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="医院地址" align="center" prop="hospital" />
|
||||||
|
<el-table-column label="婴儿性别" align="center" prop="babySex" />
|
||||||
|
<el-table-column label="意见" align="center" prop="suggest" />
|
||||||
|
<el-table-column label="派出所位置" align="center" prop="pcsAddress" />
|
||||||
|
<el-table-column label="填表日
|
||||||
|
填表日期1" align="center" prop="tbDate1" width="180">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ parseTime(scope.row.tbDate1, '{y}-{m}-{d}') }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="填表日
|
||||||
|
填表日期2" align="center" prop="tbDate2" width="180">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ parseTime(scope.row.tbDate2, '{y}-{m}-{d}') }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="识别图片id" align="center" prop="picIds" />
|
||||||
|
<el-table-column label="识别图片" align="center" prop="pictures" />
|
||||||
|
<el-table-column label="相关图片id" align="center" prop="allPicIds" />
|
||||||
|
<el-table-column label="相关图片" align="center" prop="allPics" />
|
||||||
|
<el-table-column label="是否纠错(字典0否1是)" align="center" prop="errorCorrect" />
|
||||||
|
<el-table-column label="审核状态(字典)" align="center" prop="auditStatus" />
|
||||||
|
<el-table-column label="审核人" align="center" prop="auditName" />
|
||||||
|
<el-table-column label="审核结果" align="center" prop="auditResult" />
|
||||||
|
<el-table-column label="审核原由" align="center" prop="auditReason" />
|
||||||
|
<el-table-column label="备注" align="center" prop="remark" />
|
||||||
|
<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="['dangan:ytzm:edit']"
|
||||||
|
>修改</el-button>
|
||||||
|
<el-button
|
||||||
|
size="mini"
|
||||||
|
type="text"
|
||||||
|
icon="el-icon-delete"
|
||||||
|
@click="handleDelete(scope.row)"
|
||||||
|
v-hasPermi="['dangan:ytzm: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-item label="目录id" prop="muId">
|
||||||
|
<el-input v-model="form.muId" placeholder="请输入目录id" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="年份" prop="year">
|
||||||
|
<el-input v-model="form.year" placeholder="请输入年份" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="序号" prop="xh">
|
||||||
|
<el-input v-model="form.xh" placeholder="请输入序号" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="姓名女" prop="wName">
|
||||||
|
<el-input v-model="form.wName" placeholder="请输入姓名女" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="工作单位女" prop="wUnit">
|
||||||
|
<el-input v-model="form.wUnit" placeholder="请输入工作单位女" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="身份证号女" prop="wCardId">
|
||||||
|
<el-input v-model="form.wCardId" placeholder="请输入身份证号女" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="姓名男" prop="mName">
|
||||||
|
<el-input v-model="form.mName" placeholder="请输入姓名男" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="工作单位男" prop="mUnit">
|
||||||
|
<el-input v-model="form.mUnit" placeholder="请输入工作单位男" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="身份证号男" prop="mCardId">
|
||||||
|
<el-input v-model="form.mCardId" placeholder="请输入身份证号男" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="生育证号" prop="syzh">
|
||||||
|
<el-input v-model="form.syzh" placeholder="请输入生育证号" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="出生日期" prop="birthday">
|
||||||
|
<el-date-picker clearable
|
||||||
|
v-model="form.birthday"
|
||||||
|
type="date"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
placeholder="请选择出生日期">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="医院地址" prop="hospital">
|
||||||
|
<el-input v-model="form.hospital" placeholder="请输入医院地址" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="意见" prop="suggest">
|
||||||
|
<el-input v-model="form.suggest" placeholder="请输入意见" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="派出所位置" prop="pcsAddress">
|
||||||
|
<el-input v-model="form.pcsAddress" placeholder="请输入派出所位置" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="填表日
|
||||||
|
填表日期1" prop="tbDate1">
|
||||||
|
<el-date-picker clearable
|
||||||
|
v-model="form.tbDate1"
|
||||||
|
type="date"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
placeholder="请选择填表日
|
||||||
|
填表日期1">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="填表日
|
||||||
|
填表日期2" prop="tbDate2">
|
||||||
|
<el-date-picker clearable
|
||||||
|
v-model="form.tbDate2"
|
||||||
|
type="date"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
placeholder="请选择填表日
|
||||||
|
填表日期2">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="识别图片id" prop="picIds">
|
||||||
|
<el-input v-model="form.picIds" placeholder="请输入识别图片id" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="识别图片" prop="pictures">
|
||||||
|
<el-input v-model="form.pictures" type="textarea" placeholder="请输入内容" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="相关图片id" prop="allPicIds">
|
||||||
|
<el-input v-model="form.allPicIds" placeholder="请输入相关图片id" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="相关图片" prop="allPics">
|
||||||
|
<el-input v-model="form.allPics" type="textarea" placeholder="请输入内容" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="是否纠错(字典0否1是)" prop="errorCorrect">
|
||||||
|
<el-input v-model="form.errorCorrect" placeholder="请输入是否纠错(字典0否1是)" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="审核人" prop="auditName">
|
||||||
|
<el-input v-model="form.auditName" placeholder="请输入审核人" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="审核结果" prop="auditResult">
|
||||||
|
<el-input v-model="form.auditResult" placeholder="请输入审核结果" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="审核原由" prop="auditReason">
|
||||||
|
<el-input v-model="form.auditReason" placeholder="请输入审核原由" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="备注" prop="remark">
|
||||||
|
<el-input v-model="form.remark" type="textarea" placeholder="请输入内容" />
|
||||||
|
</el-form-item>
|
||||||
|
</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 { listYtzm, getYtzm, delYtzm, addYtzm, updateYtzm } from "@/api/dangan/ytzm";
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: "Ytzm",
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
// 遮罩层
|
||||||
|
loading: true,
|
||||||
|
// 选中数组
|
||||||
|
ids: [],
|
||||||
|
// 非单个禁用
|
||||||
|
single: true,
|
||||||
|
// 非多个禁用
|
||||||
|
multiple: true,
|
||||||
|
// 显示搜索条件
|
||||||
|
showSearch: true,
|
||||||
|
// 总条数
|
||||||
|
total: 0,
|
||||||
|
// 一胎证明表格数据
|
||||||
|
ytzmList: [],
|
||||||
|
// 弹出层标题
|
||||||
|
title: "",
|
||||||
|
// 是否显示弹出层
|
||||||
|
open: false,
|
||||||
|
// 查询参数
|
||||||
|
queryParams: {
|
||||||
|
pageNum: 1,
|
||||||
|
pageSize: 10,
|
||||||
|
ywType: null,
|
||||||
|
muId: null,
|
||||||
|
year: null,
|
||||||
|
xh: null,
|
||||||
|
wName: null,
|
||||||
|
wUnit: null,
|
||||||
|
wCardId: null,
|
||||||
|
mName: null,
|
||||||
|
mUnit: null,
|
||||||
|
mCardId: null,
|
||||||
|
syzh: null,
|
||||||
|
birthday: null,
|
||||||
|
hospital: null,
|
||||||
|
babySex: null,
|
||||||
|
suggest: null,
|
||||||
|
pcsAddress: null,
|
||||||
|
tbDate1: null,
|
||||||
|
tbDate2: null,
|
||||||
|
picIds: null,
|
||||||
|
pictures: null,
|
||||||
|
allPicIds: null,
|
||||||
|
allPics: null,
|
||||||
|
errorCorrect: null,
|
||||||
|
auditStatus: null,
|
||||||
|
auditName: null,
|
||||||
|
auditResult: null,
|
||||||
|
auditReason: null,
|
||||||
|
},
|
||||||
|
// 表单参数
|
||||||
|
form: {},
|
||||||
|
// 表单校验
|
||||||
|
rules: {
|
||||||
|
muId: [
|
||||||
|
{ required: true, message: "目录id不能为空", trigger: "blur" }
|
||||||
|
],
|
||||||
|
}
|
||||||
|
};
|
||||||
|
},
|
||||||
|
created() {
|
||||||
|
this.getList();
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
/** 查询一胎证明列表 */
|
||||||
|
getList() {
|
||||||
|
this.loading = true;
|
||||||
|
listYtzm(this.queryParams).then(response => {
|
||||||
|
this.ytzmList = response.rows;
|
||||||
|
this.total = response.total;
|
||||||
|
this.loading = false;
|
||||||
|
});
|
||||||
|
},
|
||||||
|
// 取消按钮
|
||||||
|
cancel() {
|
||||||
|
this.open = false;
|
||||||
|
this.reset();
|
||||||
|
},
|
||||||
|
// 表单重置
|
||||||
|
reset() {
|
||||||
|
this.form = {
|
||||||
|
id: null,
|
||||||
|
ywType: null,
|
||||||
|
muId: null,
|
||||||
|
year: null,
|
||||||
|
xh: null,
|
||||||
|
wName: null,
|
||||||
|
wUnit: null,
|
||||||
|
wCardId: null,
|
||||||
|
mName: null,
|
||||||
|
mUnit: null,
|
||||||
|
mCardId: null,
|
||||||
|
syzh: null,
|
||||||
|
birthday: null,
|
||||||
|
hospital: null,
|
||||||
|
babySex: null,
|
||||||
|
suggest: null,
|
||||||
|
pcsAddress: null,
|
||||||
|
tbDate1: null,
|
||||||
|
tbDate2: null,
|
||||||
|
picIds: null,
|
||||||
|
pictures: null,
|
||||||
|
allPicIds: null,
|
||||||
|
allPics: null,
|
||||||
|
errorCorrect: null,
|
||||||
|
auditStatus: null,
|
||||||
|
auditName: null,
|
||||||
|
auditResult: null,
|
||||||
|
auditReason: null,
|
||||||
|
remark: null,
|
||||||
|
createBy: null,
|
||||||
|
createTime: null,
|
||||||
|
updateBy: null,
|
||||||
|
updateTime: 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
|
||||||
|
},
|
||||||
|
/** 新增按钮操作 */
|
||||||
|
handleAdd() {
|
||||||
|
this.reset();
|
||||||
|
this.open = true;
|
||||||
|
this.title = "添加一胎证明";
|
||||||
|
},
|
||||||
|
/** 修改按钮操作 */
|
||||||
|
handleUpdate(row) {
|
||||||
|
this.reset();
|
||||||
|
const id = row.id || this.ids
|
||||||
|
getYtzm(id).then(response => {
|
||||||
|
this.form = response.data;
|
||||||
|
this.open = true;
|
||||||
|
this.title = "修改一胎证明";
|
||||||
|
});
|
||||||
|
},
|
||||||
|
/** 提交按钮 */
|
||||||
|
submitForm() {
|
||||||
|
this.$refs["form"].validate(valid => {
|
||||||
|
if (valid) {
|
||||||
|
if (this.form.id != null) {
|
||||||
|
updateYtzm(this.form).then(response => {
|
||||||
|
this.$modal.msgSuccess("修改成功");
|
||||||
|
this.open = false;
|
||||||
|
this.getList();
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
addYtzm(this.form).then(response => {
|
||||||
|
this.$modal.msgSuccess("新增成功");
|
||||||
|
this.open = false;
|
||||||
|
this.getList();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
|
/** 删除按钮操作 */
|
||||||
|
handleDelete(row) {
|
||||||
|
const ids = row.id || this.ids;
|
||||||
|
this.$modal.confirm('是否确认删除一胎证明编号为"' + ids + '"的数据项?').then(function() {
|
||||||
|
return delYtzm(ids);
|
||||||
|
}).then(() => {
|
||||||
|
this.getList();
|
||||||
|
this.$modal.msgSuccess("删除成功");
|
||||||
|
}).catch(() => {});
|
||||||
|
},
|
||||||
|
/** 导出按钮操作 */
|
||||||
|
handleExport() {
|
||||||
|
this.download('dangan/ytzm/export', {
|
||||||
|
...this.queryParams
|
||||||
|
}, `ytzm_${new Date().getTime()}.xlsx`)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
</script>
|
||||||
@ -0,0 +1,746 @@
|
|||||||
|
<template>
|
||||||
|
<div class="app-container">
|
||||||
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
||||||
|
<el-form-item label="目录id" prop="muId">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.muId"
|
||||||
|
placeholder="请输入目录id"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="编号" prop="num">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.num"
|
||||||
|
placeholder="请输入编号"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="申请人姓名" prop="name">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.name"
|
||||||
|
placeholder="请输入申请人姓名"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="申请人身份证号" prop="cardId">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.cardId"
|
||||||
|
placeholder="请输入申请人身份证号"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="住址" prop="address">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.address"
|
||||||
|
placeholder="请输入住址"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="登记机关" prop="djJg">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.djJg"
|
||||||
|
placeholder="请输入登记机关"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="与申请人关系1" prop="relation1">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.relation1"
|
||||||
|
placeholder="请输入与申请人关系1"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="姓名1" prop="name1">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.name1"
|
||||||
|
placeholder="请输入姓名1"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="性别1" prop="sex1">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.sex1"
|
||||||
|
placeholder="请输入性别1"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="身份证号1" prop="cardId1">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.cardId1"
|
||||||
|
placeholder="请输入身份证号1"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="与申请人关系2" prop="relation2">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.relation2"
|
||||||
|
placeholder="请输入与申请人关系2"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="姓名2" prop="name2">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.name2"
|
||||||
|
placeholder="请输入姓名2"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="性别2" prop="sex2">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.sex2"
|
||||||
|
placeholder="请输入性别2"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="身份证号2" prop="cardId2">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.cardId2"
|
||||||
|
placeholder="请输入身份证号2"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="与申请人关系3" prop="relation3">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.relation3"
|
||||||
|
placeholder="请输入与申请人关系3"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="姓名3" prop="name3">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.name3"
|
||||||
|
placeholder="请输入姓名3"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="性别3" prop="sex3">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.sex3"
|
||||||
|
placeholder="请输入性别3"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="身份证号3" prop="cardId3">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.cardId3"
|
||||||
|
placeholder="请输入身份证号3"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="与申请人关系4" prop="relation4">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.relation4"
|
||||||
|
placeholder="请输入与申请人关系4"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="姓名4" prop="name4">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.name4"
|
||||||
|
placeholder="请输入姓名4"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="性别4" prop="sex4">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.sex4"
|
||||||
|
placeholder="请输入性别4"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="身份证号4" prop="cardId4">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.cardId4"
|
||||||
|
placeholder="请输入身份证号4"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="发往单位" prop="fwdw">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.fwdw"
|
||||||
|
placeholder="请输入发往单位"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="迁入地址" prop="qrAddress">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.qrAddress"
|
||||||
|
placeholder="请输入迁入地址"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="准迁原因" prop="zqReason">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.zqReason"
|
||||||
|
placeholder="请输入准迁原因"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="批准机关" prop="pzjg">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.pzjg"
|
||||||
|
placeholder="请输入批准机关"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="承办人" prop="cbr">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.cbr"
|
||||||
|
placeholder="请输入承办人"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="签发日期" prop="qfDate">
|
||||||
|
<el-date-picker clearable
|
||||||
|
v-model="queryParams.qfDate"
|
||||||
|
type="date"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
placeholder="请选择签发日期">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="识别图片id" prop="picIds">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.picIds"
|
||||||
|
placeholder="请输入识别图片id"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="相关图片id" prop="allPicIds">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.allPicIds"
|
||||||
|
placeholder="请输入相关图片id"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="是否纠错(字典0否1是)" prop="errorCorrect">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.errorCorrect"
|
||||||
|
placeholder="请输入是否纠错(字典0否1是)"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="审核人" prop="auditName">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.auditName"
|
||||||
|
placeholder="请输入审核人"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="审核结果" prop="auditResult">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.auditResult"
|
||||||
|
placeholder="请输入审核结果"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="审核原由" prop="auditReason">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.auditReason"
|
||||||
|
placeholder="请输入审核原由"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</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-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="['dangan:zqz: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="['dangan:zqz: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="['dangan:zqz: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="['dangan:zqz:export']"
|
||||||
|
>导出</el-button>
|
||||||
|
</el-col>
|
||||||
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||||
|
</el-row>
|
||||||
|
|
||||||
|
<el-table v-loading="loading" :data="zqzList" @selection-change="handleSelectionChange">
|
||||||
|
<el-table-column type="selection" width="55" align="center" />
|
||||||
|
<el-table-column label="id" align="center" prop="id" />
|
||||||
|
<el-table-column label="业务类型(字典)" align="center" prop="ywType" />
|
||||||
|
<el-table-column label="目录id" align="center" prop="muId" />
|
||||||
|
<el-table-column label="编号" align="center" prop="num" />
|
||||||
|
<el-table-column label="申请人姓名" align="center" prop="name" />
|
||||||
|
<el-table-column label="申请人身份证号" align="center" prop="cardId" />
|
||||||
|
<el-table-column label="住址" align="center" prop="address" />
|
||||||
|
<el-table-column label="登记机关" align="center" prop="djJg" />
|
||||||
|
<el-table-column label="与申请人关系1" align="center" prop="relation1" />
|
||||||
|
<el-table-column label="姓名1" align="center" prop="name1" />
|
||||||
|
<el-table-column label="性别1" align="center" prop="sex1" />
|
||||||
|
<el-table-column label="身份证号1" align="center" prop="cardId1" />
|
||||||
|
<el-table-column label="与申请人关系2" align="center" prop="relation2" />
|
||||||
|
<el-table-column label="姓名2" align="center" prop="name2" />
|
||||||
|
<el-table-column label="性别2" align="center" prop="sex2" />
|
||||||
|
<el-table-column label="身份证号2" align="center" prop="cardId2" />
|
||||||
|
<el-table-column label="与申请人关系3" align="center" prop="relation3" />
|
||||||
|
<el-table-column label="姓名3" align="center" prop="name3" />
|
||||||
|
<el-table-column label="性别3" align="center" prop="sex3" />
|
||||||
|
<el-table-column label="身份证号3" align="center" prop="cardId3" />
|
||||||
|
<el-table-column label="与申请人关系4" align="center" prop="relation4" />
|
||||||
|
<el-table-column label="姓名4" align="center" prop="name4" />
|
||||||
|
<el-table-column label="性别4" align="center" prop="sex4" />
|
||||||
|
<el-table-column label="身份证号4" align="center" prop="cardId4" />
|
||||||
|
<el-table-column label="发往单位" align="center" prop="fwdw" />
|
||||||
|
<el-table-column label="迁入地址" align="center" prop="qrAddress" />
|
||||||
|
<el-table-column label="准迁原因" align="center" prop="zqReason" />
|
||||||
|
<el-table-column label="批准机关" align="center" prop="pzjg" />
|
||||||
|
<el-table-column label="承办人" align="center" prop="cbr" />
|
||||||
|
<el-table-column label="签发日期" align="center" prop="qfDate" width="180">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ parseTime(scope.row.qfDate, '{y}-{m}-{d}') }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="识别图片id" align="center" prop="picIds" />
|
||||||
|
<el-table-column label="识别图片" align="center" prop="pictures" />
|
||||||
|
<el-table-column label="相关图片id" align="center" prop="allPicIds" />
|
||||||
|
<el-table-column label="相关图片" align="center" prop="allPics" />
|
||||||
|
<el-table-column label="是否纠错(字典0否1是)" align="center" prop="errorCorrect" />
|
||||||
|
<el-table-column label="审核状态(字典)" align="center" prop="auditStatus" />
|
||||||
|
<el-table-column label="审核人" align="center" prop="auditName" />
|
||||||
|
<el-table-column label="审核结果" align="center" prop="auditResult" />
|
||||||
|
<el-table-column label="审核原由" align="center" prop="auditReason" />
|
||||||
|
<el-table-column label="备注" align="center" prop="remark" />
|
||||||
|
<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="['dangan:zqz:edit']"
|
||||||
|
>修改</el-button>
|
||||||
|
<el-button
|
||||||
|
size="mini"
|
||||||
|
type="text"
|
||||||
|
icon="el-icon-delete"
|
||||||
|
@click="handleDelete(scope.row)"
|
||||||
|
v-hasPermi="['dangan:zqz: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-item label="目录id" prop="muId">
|
||||||
|
<el-input v-model="form.muId" placeholder="请输入目录id" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="编号" prop="num">
|
||||||
|
<el-input v-model="form.num" placeholder="请输入编号" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="申请人姓名" prop="name">
|
||||||
|
<el-input v-model="form.name" placeholder="请输入申请人姓名" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="申请人身份证号" prop="cardId">
|
||||||
|
<el-input v-model="form.cardId" placeholder="请输入申请人身份证号" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="住址" prop="address">
|
||||||
|
<el-input v-model="form.address" placeholder="请输入住址" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="登记机关" prop="djJg">
|
||||||
|
<el-input v-model="form.djJg" placeholder="请输入登记机关" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="与申请人关系1" prop="relation1">
|
||||||
|
<el-input v-model="form.relation1" placeholder="请输入与申请人关系1" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="姓名1" prop="name1">
|
||||||
|
<el-input v-model="form.name1" placeholder="请输入姓名1" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="性别1" prop="sex1">
|
||||||
|
<el-input v-model="form.sex1" placeholder="请输入性别1" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="身份证号1" prop="cardId1">
|
||||||
|
<el-input v-model="form.cardId1" placeholder="请输入身份证号1" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="与申请人关系2" prop="relation2">
|
||||||
|
<el-input v-model="form.relation2" placeholder="请输入与申请人关系2" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="姓名2" prop="name2">
|
||||||
|
<el-input v-model="form.name2" placeholder="请输入姓名2" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="性别2" prop="sex2">
|
||||||
|
<el-input v-model="form.sex2" placeholder="请输入性别2" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="身份证号2" prop="cardId2">
|
||||||
|
<el-input v-model="form.cardId2" placeholder="请输入身份证号2" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="与申请人关系3" prop="relation3">
|
||||||
|
<el-input v-model="form.relation3" placeholder="请输入与申请人关系3" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="姓名3" prop="name3">
|
||||||
|
<el-input v-model="form.name3" placeholder="请输入姓名3" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="性别3" prop="sex3">
|
||||||
|
<el-input v-model="form.sex3" placeholder="请输入性别3" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="身份证号3" prop="cardId3">
|
||||||
|
<el-input v-model="form.cardId3" placeholder="请输入身份证号3" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="与申请人关系4" prop="relation4">
|
||||||
|
<el-input v-model="form.relation4" placeholder="请输入与申请人关系4" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="姓名4" prop="name4">
|
||||||
|
<el-input v-model="form.name4" placeholder="请输入姓名4" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="性别4" prop="sex4">
|
||||||
|
<el-input v-model="form.sex4" placeholder="请输入性别4" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="身份证号4" prop="cardId4">
|
||||||
|
<el-input v-model="form.cardId4" placeholder="请输入身份证号4" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="发往单位" prop="fwdw">
|
||||||
|
<el-input v-model="form.fwdw" placeholder="请输入发往单位" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="迁入地址" prop="qrAddress">
|
||||||
|
<el-input v-model="form.qrAddress" placeholder="请输入迁入地址" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="准迁原因" prop="zqReason">
|
||||||
|
<el-input v-model="form.zqReason" placeholder="请输入准迁原因" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="批准机关" prop="pzjg">
|
||||||
|
<el-input v-model="form.pzjg" placeholder="请输入批准机关" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="承办人" prop="cbr">
|
||||||
|
<el-input v-model="form.cbr" placeholder="请输入承办人" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="签发日期" prop="qfDate">
|
||||||
|
<el-date-picker clearable
|
||||||
|
v-model="form.qfDate"
|
||||||
|
type="date"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
placeholder="请选择签发日期">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="识别图片id" prop="picIds">
|
||||||
|
<el-input v-model="form.picIds" placeholder="请输入识别图片id" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="识别图片" prop="pictures">
|
||||||
|
<el-input v-model="form.pictures" type="textarea" placeholder="请输入内容" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="相关图片id" prop="allPicIds">
|
||||||
|
<el-input v-model="form.allPicIds" placeholder="请输入相关图片id" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="相关图片" prop="allPics">
|
||||||
|
<el-input v-model="form.allPics" type="textarea" placeholder="请输入内容" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="是否纠错(字典0否1是)" prop="errorCorrect">
|
||||||
|
<el-input v-model="form.errorCorrect" placeholder="请输入是否纠错(字典0否1是)" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="审核人" prop="auditName">
|
||||||
|
<el-input v-model="form.auditName" placeholder="请输入审核人" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="审核结果" prop="auditResult">
|
||||||
|
<el-input v-model="form.auditResult" placeholder="请输入审核结果" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="审核原由" prop="auditReason">
|
||||||
|
<el-input v-model="form.auditReason" placeholder="请输入审核原由" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="备注" prop="remark">
|
||||||
|
<el-input v-model="form.remark" type="textarea" placeholder="请输入内容" />
|
||||||
|
</el-form-item>
|
||||||
|
</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 { listZqz, getZqz, delZqz, addZqz, updateZqz } from "@/api/dangan/zqz";
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: "Zqz",
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
// 遮罩层
|
||||||
|
loading: true,
|
||||||
|
// 选中数组
|
||||||
|
ids: [],
|
||||||
|
// 非单个禁用
|
||||||
|
single: true,
|
||||||
|
// 非多个禁用
|
||||||
|
multiple: true,
|
||||||
|
// 显示搜索条件
|
||||||
|
showSearch: true,
|
||||||
|
// 总条数
|
||||||
|
total: 0,
|
||||||
|
// 准迁证表格数据
|
||||||
|
zqzList: [],
|
||||||
|
// 弹出层标题
|
||||||
|
title: "",
|
||||||
|
// 是否显示弹出层
|
||||||
|
open: false,
|
||||||
|
// 查询参数
|
||||||
|
queryParams: {
|
||||||
|
pageNum: 1,
|
||||||
|
pageSize: 10,
|
||||||
|
ywType: null,
|
||||||
|
muId: null,
|
||||||
|
num: null,
|
||||||
|
name: null,
|
||||||
|
cardId: null,
|
||||||
|
address: null,
|
||||||
|
djJg: null,
|
||||||
|
relation1: null,
|
||||||
|
name1: null,
|
||||||
|
sex1: null,
|
||||||
|
cardId1: null,
|
||||||
|
relation2: null,
|
||||||
|
name2: null,
|
||||||
|
sex2: null,
|
||||||
|
cardId2: null,
|
||||||
|
relation3: null,
|
||||||
|
name3: null,
|
||||||
|
sex3: null,
|
||||||
|
cardId3: null,
|
||||||
|
relation4: null,
|
||||||
|
name4: null,
|
||||||
|
sex4: null,
|
||||||
|
cardId4: null,
|
||||||
|
fwdw: null,
|
||||||
|
qrAddress: null,
|
||||||
|
zqReason: null,
|
||||||
|
pzjg: null,
|
||||||
|
cbr: null,
|
||||||
|
qfDate: null,
|
||||||
|
picIds: null,
|
||||||
|
pictures: null,
|
||||||
|
allPicIds: null,
|
||||||
|
allPics: null,
|
||||||
|
errorCorrect: null,
|
||||||
|
auditStatus: null,
|
||||||
|
auditName: null,
|
||||||
|
auditResult: null,
|
||||||
|
auditReason: null,
|
||||||
|
},
|
||||||
|
// 表单参数
|
||||||
|
form: {},
|
||||||
|
// 表单校验
|
||||||
|
rules: {
|
||||||
|
muId: [
|
||||||
|
{ required: true, message: "目录id不能为空", trigger: "blur" }
|
||||||
|
],
|
||||||
|
}
|
||||||
|
};
|
||||||
|
},
|
||||||
|
created() {
|
||||||
|
this.getList();
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
/** 查询准迁证列表 */
|
||||||
|
getList() {
|
||||||
|
this.loading = true;
|
||||||
|
listZqz(this.queryParams).then(response => {
|
||||||
|
this.zqzList = response.rows;
|
||||||
|
this.total = response.total;
|
||||||
|
this.loading = false;
|
||||||
|
});
|
||||||
|
},
|
||||||
|
// 取消按钮
|
||||||
|
cancel() {
|
||||||
|
this.open = false;
|
||||||
|
this.reset();
|
||||||
|
},
|
||||||
|
// 表单重置
|
||||||
|
reset() {
|
||||||
|
this.form = {
|
||||||
|
id: null,
|
||||||
|
ywType: null,
|
||||||
|
muId: null,
|
||||||
|
num: null,
|
||||||
|
name: null,
|
||||||
|
cardId: null,
|
||||||
|
address: null,
|
||||||
|
djJg: null,
|
||||||
|
relation1: null,
|
||||||
|
name1: null,
|
||||||
|
sex1: null,
|
||||||
|
cardId1: null,
|
||||||
|
relation2: null,
|
||||||
|
name2: null,
|
||||||
|
sex2: null,
|
||||||
|
cardId2: null,
|
||||||
|
relation3: null,
|
||||||
|
name3: null,
|
||||||
|
sex3: null,
|
||||||
|
cardId3: null,
|
||||||
|
relation4: null,
|
||||||
|
name4: null,
|
||||||
|
sex4: null,
|
||||||
|
cardId4: null,
|
||||||
|
fwdw: null,
|
||||||
|
qrAddress: null,
|
||||||
|
zqReason: null,
|
||||||
|
pzjg: null,
|
||||||
|
cbr: null,
|
||||||
|
qfDate: null,
|
||||||
|
picIds: null,
|
||||||
|
pictures: null,
|
||||||
|
allPicIds: null,
|
||||||
|
allPics: null,
|
||||||
|
errorCorrect: null,
|
||||||
|
auditStatus: null,
|
||||||
|
auditName: null,
|
||||||
|
auditResult: null,
|
||||||
|
auditReason: null,
|
||||||
|
remark: null,
|
||||||
|
createBy: null,
|
||||||
|
createTime: null,
|
||||||
|
updateBy: null,
|
||||||
|
updateTime: 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
|
||||||
|
},
|
||||||
|
/** 新增按钮操作 */
|
||||||
|
handleAdd() {
|
||||||
|
this.reset();
|
||||||
|
this.open = true;
|
||||||
|
this.title = "添加准迁证";
|
||||||
|
},
|
||||||
|
/** 修改按钮操作 */
|
||||||
|
handleUpdate(row) {
|
||||||
|
this.reset();
|
||||||
|
const id = row.id || this.ids
|
||||||
|
getZqz(id).then(response => {
|
||||||
|
this.form = response.data;
|
||||||
|
this.open = true;
|
||||||
|
this.title = "修改准迁证";
|
||||||
|
});
|
||||||
|
},
|
||||||
|
/** 提交按钮 */
|
||||||
|
submitForm() {
|
||||||
|
this.$refs["form"].validate(valid => {
|
||||||
|
if (valid) {
|
||||||
|
if (this.form.id != null) {
|
||||||
|
updateZqz(this.form).then(response => {
|
||||||
|
this.$modal.msgSuccess("修改成功");
|
||||||
|
this.open = false;
|
||||||
|
this.getList();
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
addZqz(this.form).then(response => {
|
||||||
|
this.$modal.msgSuccess("新增成功");
|
||||||
|
this.open = false;
|
||||||
|
this.getList();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
|
/** 删除按钮操作 */
|
||||||
|
handleDelete(row) {
|
||||||
|
const ids = row.id || this.ids;
|
||||||
|
this.$modal.confirm('是否确认删除准迁证编号为"' + ids + '"的数据项?').then(function() {
|
||||||
|
return delZqz(ids);
|
||||||
|
}).then(() => {
|
||||||
|
this.getList();
|
||||||
|
this.$modal.msgSuccess("删除成功");
|
||||||
|
}).catch(() => {});
|
||||||
|
},
|
||||||
|
/** 导出按钮操作 */
|
||||||
|
handleExport() {
|
||||||
|
this.download('dangan/zqz/export', {
|
||||||
|
...this.queryParams
|
||||||
|
}, `zqz_${new Date().getTime()}.xlsx`)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
</script>
|
||||||
Loading…
Reference in new issue