Browse Source

设备完整性泵、管件台账

liu85600613 3 years ago
parent
commit
2d0cfb64f5

+ 103 - 0
master/src/main/java/com/ruoyi/project/intact/controller/TIntactGjController.java

@@ -0,0 +1,103 @@
+package com.ruoyi.project.intact.controller;
+
+import java.util.List;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.ruoyi.framework.aspectj.lang.annotation.Log;
+import com.ruoyi.framework.aspectj.lang.enums.BusinessType;
+import com.ruoyi.project.intact.domain.TIntactGj;
+import com.ruoyi.project.intact.service.ITIntactGjService;
+import com.ruoyi.framework.web.controller.BaseController;
+import com.ruoyi.framework.web.domain.AjaxResult;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.framework.web.page.TableDataInfo;
+
+/**
+ * 设备完整性管件台账Controller
+ *
+ * @author ruoyi
+ * @date 2022-06-22
+ */
+@RestController
+@RequestMapping("/intact/gj")
+public class TIntactGjController extends BaseController
+{
+    @Autowired
+    private ITIntactGjService tIntactGjService;
+
+    /**
+     * 查询设备完整性管件台账列表
+     */
+    @PreAuthorize("@ss.hasPermi('intact:gj:list')")
+    @GetMapping("/list")
+    public TableDataInfo list(TIntactGj tIntactGj)
+    {
+        startPage();
+        List<TIntactGj> list = tIntactGjService.selectTIntactGjList(tIntactGj);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出设备完整性管件台账列表
+     */
+    @PreAuthorize("@ss.hasPermi('intact:gj:export')")
+    @Log(title = "设备完整性管件台账", businessType = BusinessType.EXPORT)
+    @GetMapping("/export")
+    public AjaxResult export(TIntactGj tIntactGj)
+    {
+        List<TIntactGj> list = tIntactGjService.selectTIntactGjList(tIntactGj);
+        ExcelUtil<TIntactGj> util = new ExcelUtil<TIntactGj>(TIntactGj.class);
+        return util.exportExcel(list, "gj");
+    }
+
+    /**
+     * 获取设备完整性管件台账详细信息
+     */
+    @PreAuthorize("@ss.hasPermi('intact:gj:query')")
+    @GetMapping(value = "/{id}")
+    public AjaxResult getInfo(@PathVariable("id") Long id)
+    {
+        return AjaxResult.success(tIntactGjService.selectTIntactGjById(id));
+    }
+
+    /**
+     * 新增设备完整性管件台账
+     */
+    @PreAuthorize("@ss.hasPermi('intact:gj:add')")
+    @Log(title = "设备完整性管件台账", businessType = BusinessType.INSERT)
+    @PostMapping
+    public AjaxResult add(@RequestBody TIntactGj tIntactGj)
+    {
+        return toAjax(tIntactGjService.insertTIntactGj(tIntactGj));
+    }
+
+    /**
+     * 修改设备完整性管件台账
+     */
+    @PreAuthorize("@ss.hasPermi('intact:gj:edit')")
+    @Log(title = "设备完整性管件台账", businessType = BusinessType.UPDATE)
+    @PutMapping
+    public AjaxResult edit(@RequestBody TIntactGj tIntactGj)
+    {
+        return toAjax(tIntactGjService.updateTIntactGj(tIntactGj));
+    }
+
+    /**
+     * 删除设备完整性管件台账
+     */
+    @PreAuthorize("@ss.hasPermi('intact:gj:remove')")
+    @Log(title = "设备完整性管件台账", businessType = BusinessType.DELETE)
+	@DeleteMapping("/{ids}")
+    public AjaxResult remove(@PathVariable Long[] ids)
+    {
+        return toAjax(tIntactGjService.deleteTIntactGjByIds(ids));
+    }
+}

+ 103 - 0
master/src/main/java/com/ruoyi/project/intact/controller/TIntactPumpController.java

@@ -0,0 +1,103 @@
+package com.ruoyi.project.intact.controller;
+
+import java.util.List;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.ruoyi.framework.aspectj.lang.annotation.Log;
+import com.ruoyi.framework.aspectj.lang.enums.BusinessType;
+import com.ruoyi.project.intact.domain.TIntactPump;
+import com.ruoyi.project.intact.service.ITIntactPumpService;
+import com.ruoyi.framework.web.controller.BaseController;
+import com.ruoyi.framework.web.domain.AjaxResult;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.framework.web.page.TableDataInfo;
+
+/**
+ * 设备完整性泵台账Controller
+ *
+ * @author ruoyi
+ * @date 2022-06-22
+ */
+@RestController
+@RequestMapping("/intact/pump")
+public class TIntactPumpController extends BaseController
+{
+    @Autowired
+    private ITIntactPumpService tIntactPumpService;
+
+    /**
+     * 查询设备完整性泵台账列表
+     */
+    @PreAuthorize("@ss.hasPermi('intact:pump:list')")
+    @GetMapping("/list")
+    public TableDataInfo list(TIntactPump tIntactPump)
+    {
+        startPage();
+        List<TIntactPump> list = tIntactPumpService.selectTIntactPumpList(tIntactPump);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出设备完整性泵台账列表
+     */
+    @PreAuthorize("@ss.hasPermi('intact:pump:export')")
+    @Log(title = "设备完整性泵台账", businessType = BusinessType.EXPORT)
+    @GetMapping("/export")
+    public AjaxResult export(TIntactPump tIntactPump)
+    {
+        List<TIntactPump> list = tIntactPumpService.selectTIntactPumpList(tIntactPump);
+        ExcelUtil<TIntactPump> util = new ExcelUtil<TIntactPump>(TIntactPump.class);
+        return util.exportExcel(list, "pump");
+    }
+
+    /**
+     * 获取设备完整性泵台账详细信息
+     */
+    @PreAuthorize("@ss.hasPermi('intact:pump:query')")
+    @GetMapping(value = "/{id}")
+    public AjaxResult getInfo(@PathVariable("id") Long id)
+    {
+        return AjaxResult.success(tIntactPumpService.selectTIntactPumpById(id));
+    }
+
+    /**
+     * 新增设备完整性泵台账
+     */
+    @PreAuthorize("@ss.hasPermi('intact:pump:add')")
+    @Log(title = "设备完整性泵台账", businessType = BusinessType.INSERT)
+    @PostMapping
+    public AjaxResult add(@RequestBody TIntactPump tIntactPump)
+    {
+        return toAjax(tIntactPumpService.insertTIntactPump(tIntactPump));
+    }
+
+    /**
+     * 修改设备完整性泵台账
+     */
+    @PreAuthorize("@ss.hasPermi('intact:pump:edit')")
+    @Log(title = "设备完整性泵台账", businessType = BusinessType.UPDATE)
+    @PutMapping
+    public AjaxResult edit(@RequestBody TIntactPump tIntactPump)
+    {
+        return toAjax(tIntactPumpService.updateTIntactPump(tIntactPump));
+    }
+
+    /**
+     * 删除设备完整性泵台账
+     */
+    @PreAuthorize("@ss.hasPermi('intact:pump:remove')")
+    @Log(title = "设备完整性泵台账", businessType = BusinessType.DELETE)
+	@DeleteMapping("/{ids}")
+    public AjaxResult remove(@PathVariable Long[] ids)
+    {
+        return toAjax(tIntactPumpService.deleteTIntactPumpByIds(ids));
+    }
+}

+ 877 - 0
master/src/main/java/com/ruoyi/project/intact/domain/TIntactGj.java

@@ -0,0 +1,877 @@
+package com.ruoyi.project.intact.domain;
+
+import java.util.Date;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.ruoyi.framework.aspectj.lang.annotation.Excel;
+import com.ruoyi.framework.web.domain.BaseEntity;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+
+/**
+ * 设备完整性管件台账对象 t_intact_gj
+ *
+ * @author ruoyi
+ * @date 2022-06-22
+ */
+@TableName("T_INTACT_GJ")
+public class TIntactGj extends BaseEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 唯一标识ID */
+    private Long id;
+
+    /** 装置名称 */
+    @Excel(name = "装置名称")
+    private String plantCode;
+
+    /** 单元 */
+    @Excel(name = "单元")
+    private String unit;
+
+    /** 设备名称 */
+    @Excel(name = "设备名称")
+    private String devname;
+
+    /** 设备位号 */
+    @Excel(name = "设备位号")
+    private String devno;
+
+    /** 投用年月 */
+    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
+    @Excel(name = "投用年月", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date submitdate;
+
+    /** 状态 */
+    @Excel(name = "状态")
+    private Long status;
+
+    /** 状态 1 :正常 ;0:删除 */
+    private Long delFlag;
+
+    /** 创建人 */
+    @Excel(name = "创建人")
+    private Long createrCode;
+
+    /** 创建时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
+    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date createdate;
+
+    /** 修改人 */
+    @Excel(name = "修改人")
+    private Long updaterCode;
+
+    /** 修改时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
+    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date updatedate;
+
+    /** 部门编号 */
+    @Excel(name = "部门编号")
+    private Long deptId;
+
+    /** 备注 */
+    @Excel(name = "备注")
+    private String remarks;
+
+    /** 审核状态 */
+    @Excel(name = "审核状态")
+    private Long approveStatus;
+
+    /** 注册代码 */
+    @Excel(name = "注册代码")
+    private String regno;
+
+    /** 使用证编号 */
+    @Excel(name = "使用证编号")
+    private String useno;
+
+    /** 上次年检时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
+    @Excel(name = "上次年检时间", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date warnDate;
+
+    /** 检测周期 */
+    @Excel(name = "检测周期")
+    private Long warnCycle;
+
+    /** 下次年检时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
+    @Excel(name = "下次年检时间", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date nextWarnDate;
+
+    /** 预警标识 */
+    @Excel(name = "预警标识")
+    private Long warnFlag;
+
+    /** 管道级别 */
+    @Excel(name = "管道级别")
+    private String grade;
+
+    /** 设计单位 */
+    @Excel(name = "设计单位")
+    private String designer;
+
+    /** 安装单位 */
+    @Excel(name = "安装单位")
+    private String installer;
+
+    /** 材质 */
+    @Excel(name = "材质")
+    private String material;
+
+    /** 直径 */
+    @Excel(name = "直径")
+    private String dia;
+
+    /** 厚度等级 */
+    @Excel(name = "厚度等级")
+    private String scheduleNo;
+
+    /** 长度 */
+    @Excel(name = "长度")
+    private String length;
+
+    /** 起点 */
+    @Excel(name = "起点")
+    private String starting;
+
+    /** 终点 */
+    @Excel(name = "终点")
+    private String ending;
+
+    /** 设计压力 */
+    @Excel(name = "设计压力")
+    private String desPressure;
+
+    /** 设计温度 */
+    @Excel(name = "设计温度")
+    private String desTemp;
+
+    /** 工作压力 */
+    @Excel(name = "工作压力")
+    private String optPressure;
+
+    /** 工作温度 */
+    @Excel(name = "工作温度")
+    private String optTemp;
+
+    /** 介质 */
+    @Excel(name = "介质")
+    private String medium;
+
+    /** 年度检查结论 */
+    @Excel(name = "年度检查结论")
+    private String checkConclusion;
+
+    /** 检验单位 */
+    @Excel(name = "检验单位")
+    private String checkUnit;
+
+    /** 安全状况等级 */
+    @Excel(name = "安全状况等级")
+    private String safeClass;
+
+    /** 报告编号 */
+    @Excel(name = "报告编号")
+    private String reportNo;
+
+    /** 最新申请时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
+    @Excel(name = "最新申请时间", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date approveTime;
+
+    /** 状态修改时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
+    @Excel(name = "状态修改时间", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date changeTime;
+
+    /** PM维修组 */
+    @Excel(name = "PM维修组")
+    private String plantMaint;
+
+    /** 装置维修工程师 */
+    @Excel(name = "装置维修工程师")
+    private String engineer;
+
+    /** 焊口数量 */
+    @Excel(name = "焊口数量")
+    private String weldNumber;
+
+    /** 敷设方式 */
+    @Excel(name = "敷设方式")
+    private String layingMethod;
+
+    /** 绝热层代码 */
+    @Excel(name = "绝热层代码")
+    private String adiabatic;
+
+    /** 防腐层代码 */
+    @Excel(name = "防腐层代码")
+    private String antiCorrosion;
+
+    /** 绝热层厚度 */
+    @Excel(name = "绝热层厚度")
+    private String adiabaticThickness;
+
+    /** 是否涉危化品 */
+    @Excel(name = "是否涉危化品")
+    private String isDanger;
+
+    /** 安装日期 */
+    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
+    @Excel(name = "安装日期", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date installDate;
+
+    /** 年度检查日期 */
+    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
+    @Excel(name = "年度检查日期", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date yearWarnDate;
+
+    /** 年度检查日期 */
+    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
+    @Excel(name = "年度检查日期", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date yearNextWarnDate;
+
+    /** 年度检查报告编号 */
+    @Excel(name = "年度检查报告编号")
+    private String yearReportNo;
+
+    /** 管道编号是否变色 */
+    @Excel(name = "管道编号是否变色")
+    private Long isRepeat;
+
+    /** 种类 */
+    @Excel(name = "种类")
+    private Long type;
+
+    /** 安装位置 */
+    @Excel(name = "安装位置")
+    private String position;
+
+    /** 尺寸 */
+    @Excel(name = "尺寸")
+    private Long deviceSize;
+
+    /** 泄空方式 */
+    @Excel(name = "泄空方式")
+    private String leakageMode;
+
+    /** 档案 */
+    @Excel(name = "档案")
+    private String archives;
+
+    /** 部门名称 */
+    @Excel(name = "部门名称")
+    private String deptName;
+
+    public void setDeptName(String deptName)
+    {
+        this.deptName = deptName;
+    }
+
+    public String getDeptName()
+    {
+        return deptName;
+    }
+
+    public void setId(Long id)
+    {
+        this.id = id;
+    }
+
+    public Long getId()
+    {
+        return id;
+    }
+    public void setPlantCode(String plantCode)
+    {
+        this.plantCode = plantCode;
+    }
+
+    public String getPlantCode()
+    {
+        return plantCode;
+    }
+    public void setUnit(String unit)
+    {
+        this.unit = unit;
+    }
+
+    public String getUnit()
+    {
+        return unit;
+    }
+    public void setDevname(String devname)
+    {
+        this.devname = devname;
+    }
+
+    public String getDevname()
+    {
+        return devname;
+    }
+    public void setDevno(String devno)
+    {
+        this.devno = devno;
+    }
+
+    public String getDevno()
+    {
+        return devno;
+    }
+    public void setSubmitdate(Date submitdate)
+    {
+        this.submitdate = submitdate;
+    }
+
+    public Date getSubmitdate()
+    {
+        return submitdate;
+    }
+    public void setStatus(Long status)
+    {
+        this.status = status;
+    }
+
+    public Long getStatus()
+    {
+        return status;
+    }
+    public void setDelFlag(Long delFlag)
+    {
+        this.delFlag = delFlag;
+    }
+
+    public Long getDelFlag()
+    {
+        return delFlag;
+    }
+    public void setCreaterCode(Long createrCode)
+    {
+        this.createrCode = createrCode;
+    }
+
+    public Long getCreaterCode()
+    {
+        return createrCode;
+    }
+    public void setCreatedate(Date createdate)
+    {
+        this.createdate = createdate;
+    }
+
+    public Date getCreatedate()
+    {
+        return createdate;
+    }
+    public void setUpdaterCode(Long updaterCode)
+    {
+        this.updaterCode = updaterCode;
+    }
+
+    public Long getUpdaterCode()
+    {
+        return updaterCode;
+    }
+    public void setUpdatedate(Date updatedate)
+    {
+        this.updatedate = updatedate;
+    }
+
+    public Date getUpdatedate()
+    {
+        return updatedate;
+    }
+    public void setDeptId(Long deptId)
+    {
+        this.deptId = deptId;
+    }
+
+    public Long getDeptId()
+    {
+        return deptId;
+    }
+    public void setRemarks(String remarks)
+    {
+        this.remarks = remarks;
+    }
+
+    public String getRemarks()
+    {
+        return remarks;
+    }
+    public void setApproveStatus(Long approveStatus)
+    {
+        this.approveStatus = approveStatus;
+    }
+
+    public Long getApproveStatus()
+    {
+        return approveStatus;
+    }
+    public void setRegno(String regno)
+    {
+        this.regno = regno;
+    }
+
+    public String getRegno()
+    {
+        return regno;
+    }
+    public void setUseno(String useno)
+    {
+        this.useno = useno;
+    }
+
+    public String getUseno()
+    {
+        return useno;
+    }
+    public void setWarnDate(Date warnDate)
+    {
+        this.warnDate = warnDate;
+    }
+
+    public Date getWarnDate()
+    {
+        return warnDate;
+    }
+    public void setWarnCycle(Long warnCycle)
+    {
+        this.warnCycle = warnCycle;
+    }
+
+    public Long getWarnCycle()
+    {
+        return warnCycle;
+    }
+    public void setNextWarnDate(Date nextWarnDate)
+    {
+        this.nextWarnDate = nextWarnDate;
+    }
+
+    public Date getNextWarnDate()
+    {
+        return nextWarnDate;
+    }
+    public void setWarnFlag(Long warnFlag)
+    {
+        this.warnFlag = warnFlag;
+    }
+
+    public Long getWarnFlag()
+    {
+        return warnFlag;
+    }
+    public void setGrade(String grade)
+    {
+        this.grade = grade;
+    }
+
+    public String getGrade()
+    {
+        return grade;
+    }
+    public void setDesigner(String designer)
+    {
+        this.designer = designer;
+    }
+
+    public String getDesigner()
+    {
+        return designer;
+    }
+    public void setInstaller(String installer)
+    {
+        this.installer = installer;
+    }
+
+    public String getInstaller()
+    {
+        return installer;
+    }
+    public void setMaterial(String material)
+    {
+        this.material = material;
+    }
+
+    public String getMaterial()
+    {
+        return material;
+    }
+    public void setDia(String dia)
+    {
+        this.dia = dia;
+    }
+
+    public String getDia()
+    {
+        return dia;
+    }
+    public void setScheduleNo(String scheduleNo)
+    {
+        this.scheduleNo = scheduleNo;
+    }
+
+    public String getScheduleNo()
+    {
+        return scheduleNo;
+    }
+    public void setLength(String length)
+    {
+        this.length = length;
+    }
+
+    public String getLength()
+    {
+        return length;
+    }
+    public void setStarting(String starting)
+    {
+        this.starting = starting;
+    }
+
+    public String getStarting()
+    {
+        return starting;
+    }
+    public void setEnding(String ending)
+    {
+        this.ending = ending;
+    }
+
+    public String getEnding()
+    {
+        return ending;
+    }
+    public void setDesPressure(String desPressure)
+    {
+        this.desPressure = desPressure;
+    }
+
+    public String getDesPressure()
+    {
+        return desPressure;
+    }
+    public void setDesTemp(String desTemp)
+    {
+        this.desTemp = desTemp;
+    }
+
+    public String getDesTemp()
+    {
+        return desTemp;
+    }
+    public void setOptPressure(String optPressure)
+    {
+        this.optPressure = optPressure;
+    }
+
+    public String getOptPressure()
+    {
+        return optPressure;
+    }
+    public void setOptTemp(String optTemp)
+    {
+        this.optTemp = optTemp;
+    }
+
+    public String getOptTemp()
+    {
+        return optTemp;
+    }
+    public void setMedium(String medium)
+    {
+        this.medium = medium;
+    }
+
+    public String getMedium()
+    {
+        return medium;
+    }
+    public void setCheckConclusion(String checkConclusion)
+    {
+        this.checkConclusion = checkConclusion;
+    }
+
+    public String getCheckConclusion()
+    {
+        return checkConclusion;
+    }
+    public void setCheckUnit(String checkUnit)
+    {
+        this.checkUnit = checkUnit;
+    }
+
+    public String getCheckUnit()
+    {
+        return checkUnit;
+    }
+    public void setSafeClass(String safeClass)
+    {
+        this.safeClass = safeClass;
+    }
+
+    public String getSafeClass()
+    {
+        return safeClass;
+    }
+    public void setReportNo(String reportNo)
+    {
+        this.reportNo = reportNo;
+    }
+
+    public String getReportNo()
+    {
+        return reportNo;
+    }
+    public void setApproveTime(Date approveTime)
+    {
+        this.approveTime = approveTime;
+    }
+
+    public Date getApproveTime()
+    {
+        return approveTime;
+    }
+    public void setChangeTime(Date changeTime)
+    {
+        this.changeTime = changeTime;
+    }
+
+    public Date getChangeTime()
+    {
+        return changeTime;
+    }
+    public void setPlantMaint(String plantMaint)
+    {
+        this.plantMaint = plantMaint;
+    }
+
+    public String getPlantMaint()
+    {
+        return plantMaint;
+    }
+    public void setEngineer(String engineer)
+    {
+        this.engineer = engineer;
+    }
+
+    public String getEngineer()
+    {
+        return engineer;
+    }
+    public void setWeldNumber(String weldNumber)
+    {
+        this.weldNumber = weldNumber;
+    }
+
+    public String getWeldNumber()
+    {
+        return weldNumber;
+    }
+    public void setLayingMethod(String layingMethod)
+    {
+        this.layingMethod = layingMethod;
+    }
+
+    public String getLayingMethod()
+    {
+        return layingMethod;
+    }
+    public void setAdiabatic(String adiabatic)
+    {
+        this.adiabatic = adiabatic;
+    }
+
+    public String getAdiabatic()
+    {
+        return adiabatic;
+    }
+    public void setAntiCorrosion(String antiCorrosion)
+    {
+        this.antiCorrosion = antiCorrosion;
+    }
+
+    public String getAntiCorrosion()
+    {
+        return antiCorrosion;
+    }
+    public void setAdiabaticThickness(String adiabaticThickness)
+    {
+        this.adiabaticThickness = adiabaticThickness;
+    }
+
+    public String getAdiabaticThickness()
+    {
+        return adiabaticThickness;
+    }
+    public void setIsDanger(String isDanger)
+    {
+        this.isDanger = isDanger;
+    }
+
+    public String getIsDanger()
+    {
+        return isDanger;
+    }
+    public void setInstallDate(Date installDate)
+    {
+        this.installDate = installDate;
+    }
+
+    public Date getInstallDate()
+    {
+        return installDate;
+    }
+    public void setYearWarnDate(Date yearWarnDate)
+    {
+        this.yearWarnDate = yearWarnDate;
+    }
+
+    public Date getYearWarnDate()
+    {
+        return yearWarnDate;
+    }
+    public void setYearNextWarnDate(Date yearNextWarnDate)
+    {
+        this.yearNextWarnDate = yearNextWarnDate;
+    }
+
+    public Date getYearNextWarnDate()
+    {
+        return yearNextWarnDate;
+    }
+    public void setYearReportNo(String yearReportNo)
+    {
+        this.yearReportNo = yearReportNo;
+    }
+
+    public String getYearReportNo()
+    {
+        return yearReportNo;
+    }
+    public void setIsRepeat(Long isRepeat)
+    {
+        this.isRepeat = isRepeat;
+    }
+
+    public Long getIsRepeat()
+    {
+        return isRepeat;
+    }
+    public void setType(Long type)
+    {
+        this.type = type;
+    }
+
+    public Long getType()
+    {
+        return type;
+    }
+    public void setPosition(String position)
+    {
+        this.position = position;
+    }
+
+    public String getPosition()
+    {
+        return position;
+    }
+    public void setDeviceSize(Long deviceSize)
+    {
+        this.deviceSize = deviceSize;
+    }
+
+    public Long getDeviceSize()
+    {
+        return deviceSize;
+    }
+    public void setLeakageMode(String leakageMode)
+    {
+        this.leakageMode = leakageMode;
+    }
+
+    public String getLeakageMode()
+    {
+        return leakageMode;
+    }
+    public void setArchives(String archives)
+    {
+        this.archives = archives;
+    }
+
+    public String getArchives()
+    {
+        return archives;
+    }
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+            .append("id", getId())
+            .append("plantCode", getPlantCode())
+            .append("unit", getUnit())
+            .append("devname", getDevname())
+            .append("devno", getDevno())
+            .append("submitdate", getSubmitdate())
+            .append("status", getStatus())
+            .append("delFlag", getDelFlag())
+            .append("createrCode", getCreaterCode())
+            .append("createdate", getCreatedate())
+            .append("updaterCode", getUpdaterCode())
+            .append("updatedate", getUpdatedate())
+            .append("deptId", getDeptId())
+            .append("remarks", getRemarks())
+            .append("approveStatus", getApproveStatus())
+            .append("regno", getRegno())
+            .append("useno", getUseno())
+            .append("warnDate", getWarnDate())
+            .append("warnCycle", getWarnCycle())
+            .append("nextWarnDate", getNextWarnDate())
+            .append("warnFlag", getWarnFlag())
+            .append("grade", getGrade())
+            .append("designer", getDesigner())
+            .append("installer", getInstaller())
+            .append("material", getMaterial())
+            .append("dia", getDia())
+            .append("scheduleNo", getScheduleNo())
+            .append("length", getLength())
+            .append("starting", getStarting())
+            .append("ending", getEnding())
+            .append("desPressure", getDesPressure())
+            .append("desTemp", getDesTemp())
+            .append("optPressure", getOptPressure())
+            .append("optTemp", getOptTemp())
+            .append("medium", getMedium())
+            .append("checkConclusion", getCheckConclusion())
+            .append("checkUnit", getCheckUnit())
+            .append("safeClass", getSafeClass())
+            .append("reportNo", getReportNo())
+            .append("approveTime", getApproveTime())
+            .append("changeTime", getChangeTime())
+            .append("plantMaint", getPlantMaint())
+            .append("engineer", getEngineer())
+            .append("weldNumber", getWeldNumber())
+            .append("layingMethod", getLayingMethod())
+            .append("adiabatic", getAdiabatic())
+            .append("antiCorrosion", getAntiCorrosion())
+            .append("adiabaticThickness", getAdiabaticThickness())
+            .append("isDanger", getIsDanger())
+            .append("installDate", getInstallDate())
+            .append("yearWarnDate", getYearWarnDate())
+            .append("yearNextWarnDate", getYearNextWarnDate())
+            .append("yearReportNo", getYearReportNo())
+            .append("isRepeat", getIsRepeat())
+            .append("type", getType())
+            .append("position", getPosition())
+            .append("deviceSize", getDeviceSize())
+            .append("leakageMode", getLeakageMode())
+            .append("archives", getArchives())
+            .toString();
+    }
+}

+ 878 - 0
master/src/main/java/com/ruoyi/project/intact/domain/TIntactPump.java

@@ -0,0 +1,878 @@
+package com.ruoyi.project.intact.domain;
+
+import java.util.Date;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.ruoyi.framework.aspectj.lang.annotation.Excel;
+import com.ruoyi.framework.web.domain.BaseEntity;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * 设备完整性泵台账对象 t_intact_pump
+ *
+ * @author ruoyi
+ * @date 2022-06-22
+ */
+@TableName("T_INTACT_PUMP")
+public class TIntactPump extends BaseEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 唯一标识ID */
+    private Long id;
+
+    /** 装置名称 */
+    @Excel(name = "装置名称")
+    private String plantCode;
+
+    /** 单元 */
+    @Excel(name = "单元")
+    private String unit;
+
+    /** 设备名称 */
+    @Excel(name = "设备名称")
+    private String devname;
+
+    /** 设备位号 */
+    @Excel(name = "设备位号")
+    private String devno;
+
+    /** 投用年月 */
+    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
+    @Excel(name = "投用年月", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date submitdate;
+
+    /** 状态 */
+    @Excel(name = "状态")
+    private Long status;
+
+    /** 状态 1 :正常 ;0:删除 */
+    private Long delFlag;
+
+    /** 创建人 */
+    @Excel(name = "创建人")
+    private Long createrCode;
+
+    /** 创建时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
+    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date createdate;
+
+    /** 修改人 */
+    @Excel(name = "修改人")
+    private Long updaterCode;
+
+    /** 修改时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
+    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date updatedate;
+
+    /** 部门编号 */
+    @Excel(name = "部门编号")
+    private Long deptId;
+
+    /** 备注 */
+    @Excel(name = "备注")
+    private String remarks;
+
+    /** 审核状态 */
+    @Excel(name = "审核状态")
+    private Long approveStatus;
+
+    /** 注册代码 */
+    @Excel(name = "注册代码")
+    private String regno;
+
+    /** 使用证编号 */
+    @Excel(name = "使用证编号")
+    private String useno;
+
+    /** 上次年检时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
+    @Excel(name = "上次年检时间", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date warnDate;
+
+    /** 检测周期 */
+    @Excel(name = "检测周期")
+    private Long warnCycle;
+
+    /** 下次年检时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
+    @Excel(name = "下次年检时间", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date nextWarnDate;
+
+    /** 预警标识 */
+    @Excel(name = "预警标识")
+    private Long warnFlag;
+
+    /** 管道级别 */
+    @Excel(name = "管道级别")
+    private String grade;
+
+    /** 设计单位 */
+    @Excel(name = "设计单位")
+    private String designer;
+
+    /** 安装单位 */
+    @Excel(name = "安装单位")
+    private String installer;
+
+    /** 材质 */
+    @Excel(name = "材质")
+    private String material;
+
+    /** 直径 */
+    @Excel(name = "直径")
+    private String dia;
+
+    /** 厚度等级 */
+    @Excel(name = "厚度等级")
+    private String scheduleNo;
+
+    /** 长度 */
+    @Excel(name = "长度")
+    private String length;
+
+    /** 起点 */
+    @Excel(name = "起点")
+    private String starting;
+
+    /** 终点 */
+    @Excel(name = "终点")
+    private String ending;
+
+    /** 设计压力 */
+    @Excel(name = "设计压力")
+    private String desPressure;
+
+    /** 设计温度 */
+    @Excel(name = "设计温度")
+    private String desTemp;
+
+    /** 工作压力 */
+    @Excel(name = "工作压力")
+    private String optPressure;
+
+    /** 工作温度 */
+    @Excel(name = "工作温度")
+    private String optTemp;
+
+    /** 介质 */
+    @Excel(name = "介质")
+    private String medium;
+
+    /** 年度检查结论 */
+    @Excel(name = "年度检查结论")
+    private String checkConclusion;
+
+    /** 检验单位 */
+    @Excel(name = "检验单位")
+    private String checkUnit;
+
+    /** 安全状况等级 */
+    @Excel(name = "安全状况等级")
+    private String safeClass;
+
+    /** 报告编号 */
+    @Excel(name = "报告编号")
+    private String reportNo;
+
+    /** 最新申请时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
+    @Excel(name = "最新申请时间", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date approveTime;
+
+    /** 状态修改时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
+    @Excel(name = "状态修改时间", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date changeTime;
+
+    /** PM维修组 */
+    @Excel(name = "PM维修组")
+    private String plantMaint;
+
+    /** 装置维修工程师 */
+    @Excel(name = "装置维修工程师")
+    private String engineer;
+
+    /** 焊口数量 */
+    @Excel(name = "焊口数量")
+    private String weldNumber;
+
+    /** 敷设方式 */
+    @Excel(name = "敷设方式")
+    private String layingMethod;
+
+    /** 绝热层代码 */
+    @Excel(name = "绝热层代码")
+    private String adiabatic;
+
+    /** 防腐层代码 */
+    @Excel(name = "防腐层代码")
+    private String antiCorrosion;
+
+    /** 绝热层厚度 */
+    @Excel(name = "绝热层厚度")
+    private String adiabaticThickness;
+
+    /** 是否涉危化品 */
+    @Excel(name = "是否涉危化品")
+    private String isDanger;
+
+    /** 安装日期 */
+    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
+    @Excel(name = "安装日期", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date installDate;
+
+    /** 年度检查日期 */
+    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
+    @Excel(name = "年度检查日期", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date yearWarnDate;
+
+    /** 年度检查日期 */
+    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
+    @Excel(name = "年度检查日期", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date yearNextWarnDate;
+
+    /** 年度检查报告编号 */
+    @Excel(name = "年度检查报告编号")
+    private String yearReportNo;
+
+    /** 管道编号是否变色 */
+    @Excel(name = "管道编号是否变色")
+    private Long isRepeat;
+
+    /** 种类 */
+    @Excel(name = "种类")
+    private Long type;
+
+    /** 安装位置 */
+    @Excel(name = "安装位置")
+    private String position;
+
+    /** 尺寸 */
+    @Excel(name = "尺寸")
+    private Long deviceSize;
+
+    /** 泄空方式 */
+    @Excel(name = "泄空方式")
+    private String leakageMode;
+
+    /** 档案 */
+    @Excel(name = "档案")
+    private String archives;
+
+    /** 部门名称 */
+    @Excel(name = "部门名称")
+    private String deptName;
+
+    public void setDeptName(String deptName)
+    {
+        this.deptName = deptName;
+    }
+
+    public String getDeptName()
+    {
+        return deptName;
+    }
+
+    public void setId(Long id)
+    {
+        this.id = id;
+    }
+
+    public Long getId()
+    {
+        return id;
+    }
+    public void setPlantCode(String plantCode)
+    {
+        this.plantCode = plantCode;
+    }
+
+    public String getPlantCode()
+    {
+        return plantCode;
+    }
+    public void setUnit(String unit)
+    {
+        this.unit = unit;
+    }
+
+    public String getUnit()
+    {
+        return unit;
+    }
+    public void setDevname(String devname)
+    {
+        this.devname = devname;
+    }
+
+    public String getDevname()
+    {
+        return devname;
+    }
+    public void setDevno(String devno)
+    {
+        this.devno = devno;
+    }
+
+    public String getDevno()
+    {
+        return devno;
+    }
+    public void setSubmitdate(Date submitdate)
+    {
+        this.submitdate = submitdate;
+    }
+
+    public Date getSubmitdate()
+    {
+        return submitdate;
+    }
+    public void setStatus(Long status)
+    {
+        this.status = status;
+    }
+
+    public Long getStatus()
+    {
+        return status;
+    }
+    public void setDelFlag(Long delFlag)
+    {
+        this.delFlag = delFlag;
+    }
+
+    public Long getDelFlag()
+    {
+        return delFlag;
+    }
+    public void setCreaterCode(Long createrCode)
+    {
+        this.createrCode = createrCode;
+    }
+
+    public Long getCreaterCode()
+    {
+        return createrCode;
+    }
+    public void setCreatedate(Date createdate)
+    {
+        this.createdate = createdate;
+    }
+
+    public Date getCreatedate()
+    {
+        return createdate;
+    }
+    public void setUpdaterCode(Long updaterCode)
+    {
+        this.updaterCode = updaterCode;
+    }
+
+    public Long getUpdaterCode()
+    {
+        return updaterCode;
+    }
+    public void setUpdatedate(Date updatedate)
+    {
+        this.updatedate = updatedate;
+    }
+
+    public Date getUpdatedate()
+    {
+        return updatedate;
+    }
+    public void setDeptId(Long deptId)
+    {
+        this.deptId = deptId;
+    }
+
+    public Long getDeptId()
+    {
+        return deptId;
+    }
+    public void setRemarks(String remarks)
+    {
+        this.remarks = remarks;
+    }
+
+    public String getRemarks()
+    {
+        return remarks;
+    }
+    public void setApproveStatus(Long approveStatus)
+    {
+        this.approveStatus = approveStatus;
+    }
+
+    public Long getApproveStatus()
+    {
+        return approveStatus;
+    }
+    public void setRegno(String regno)
+    {
+        this.regno = regno;
+    }
+
+    public String getRegno()
+    {
+        return regno;
+    }
+    public void setUseno(String useno)
+    {
+        this.useno = useno;
+    }
+
+    public String getUseno()
+    {
+        return useno;
+    }
+    public void setWarnDate(Date warnDate)
+    {
+        this.warnDate = warnDate;
+    }
+
+    public Date getWarnDate()
+    {
+        return warnDate;
+    }
+    public void setWarnCycle(Long warnCycle)
+    {
+        this.warnCycle = warnCycle;
+    }
+
+    public Long getWarnCycle()
+    {
+        return warnCycle;
+    }
+    public void setNextWarnDate(Date nextWarnDate)
+    {
+        this.nextWarnDate = nextWarnDate;
+    }
+
+    public Date getNextWarnDate()
+    {
+        return nextWarnDate;
+    }
+    public void setWarnFlag(Long warnFlag)
+    {
+        this.warnFlag = warnFlag;
+    }
+
+    public Long getWarnFlag()
+    {
+        return warnFlag;
+    }
+    public void setGrade(String grade)
+    {
+        this.grade = grade;
+    }
+
+    public String getGrade()
+    {
+        return grade;
+    }
+    public void setDesigner(String designer)
+    {
+        this.designer = designer;
+    }
+
+    public String getDesigner()
+    {
+        return designer;
+    }
+    public void setInstaller(String installer)
+    {
+        this.installer = installer;
+    }
+
+    public String getInstaller()
+    {
+        return installer;
+    }
+    public void setMaterial(String material)
+    {
+        this.material = material;
+    }
+
+    public String getMaterial()
+    {
+        return material;
+    }
+    public void setDia(String dia)
+    {
+        this.dia = dia;
+    }
+
+    public String getDia()
+    {
+        return dia;
+    }
+    public void setScheduleNo(String scheduleNo)
+    {
+        this.scheduleNo = scheduleNo;
+    }
+
+    public String getScheduleNo()
+    {
+        return scheduleNo;
+    }
+    public void setLength(String length)
+    {
+        this.length = length;
+    }
+
+    public String getLength()
+    {
+        return length;
+    }
+    public void setStarting(String starting)
+    {
+        this.starting = starting;
+    }
+
+    public String getStarting()
+    {
+        return starting;
+    }
+    public void setEnding(String ending)
+    {
+        this.ending = ending;
+    }
+
+    public String getEnding()
+    {
+        return ending;
+    }
+    public void setDesPressure(String desPressure)
+    {
+        this.desPressure = desPressure;
+    }
+
+    public String getDesPressure()
+    {
+        return desPressure;
+    }
+    public void setDesTemp(String desTemp)
+    {
+        this.desTemp = desTemp;
+    }
+
+    public String getDesTemp()
+    {
+        return desTemp;
+    }
+    public void setOptPressure(String optPressure)
+    {
+        this.optPressure = optPressure;
+    }
+
+    public String getOptPressure()
+    {
+        return optPressure;
+    }
+    public void setOptTemp(String optTemp)
+    {
+        this.optTemp = optTemp;
+    }
+
+    public String getOptTemp()
+    {
+        return optTemp;
+    }
+    public void setMedium(String medium)
+    {
+        this.medium = medium;
+    }
+
+    public String getMedium()
+    {
+        return medium;
+    }
+    public void setCheckConclusion(String checkConclusion)
+    {
+        this.checkConclusion = checkConclusion;
+    }
+
+    public String getCheckConclusion()
+    {
+        return checkConclusion;
+    }
+    public void setCheckUnit(String checkUnit)
+    {
+        this.checkUnit = checkUnit;
+    }
+
+    public String getCheckUnit()
+    {
+        return checkUnit;
+    }
+    public void setSafeClass(String safeClass)
+    {
+        this.safeClass = safeClass;
+    }
+
+    public String getSafeClass()
+    {
+        return safeClass;
+    }
+    public void setReportNo(String reportNo)
+    {
+        this.reportNo = reportNo;
+    }
+
+    public String getReportNo()
+    {
+        return reportNo;
+    }
+    public void setApproveTime(Date approveTime)
+    {
+        this.approveTime = approveTime;
+    }
+
+    public Date getApproveTime()
+    {
+        return approveTime;
+    }
+    public void setChangeTime(Date changeTime)
+    {
+        this.changeTime = changeTime;
+    }
+
+    public Date getChangeTime()
+    {
+        return changeTime;
+    }
+    public void setPlantMaint(String plantMaint)
+    {
+        this.plantMaint = plantMaint;
+    }
+
+    public String getPlantMaint()
+    {
+        return plantMaint;
+    }
+    public void setEngineer(String engineer)
+    {
+        this.engineer = engineer;
+    }
+
+    public String getEngineer()
+    {
+        return engineer;
+    }
+    public void setWeldNumber(String weldNumber)
+    {
+        this.weldNumber = weldNumber;
+    }
+
+    public String getWeldNumber()
+    {
+        return weldNumber;
+    }
+    public void setLayingMethod(String layingMethod)
+    {
+        this.layingMethod = layingMethod;
+    }
+
+    public String getLayingMethod()
+    {
+        return layingMethod;
+    }
+    public void setAdiabatic(String adiabatic)
+    {
+        this.adiabatic = adiabatic;
+    }
+
+    public String getAdiabatic()
+    {
+        return adiabatic;
+    }
+    public void setAntiCorrosion(String antiCorrosion)
+    {
+        this.antiCorrosion = antiCorrosion;
+    }
+
+    public String getAntiCorrosion()
+    {
+        return antiCorrosion;
+    }
+    public void setAdiabaticThickness(String adiabaticThickness)
+    {
+        this.adiabaticThickness = adiabaticThickness;
+    }
+
+    public String getAdiabaticThickness()
+    {
+        return adiabaticThickness;
+    }
+    public void setIsDanger(String isDanger)
+    {
+        this.isDanger = isDanger;
+    }
+
+    public String getIsDanger()
+    {
+        return isDanger;
+    }
+    public void setInstallDate(Date installDate)
+    {
+        this.installDate = installDate;
+    }
+
+    public Date getInstallDate()
+    {
+        return installDate;
+    }
+    public void setYearWarnDate(Date yearWarnDate)
+    {
+        this.yearWarnDate = yearWarnDate;
+    }
+
+    public Date getYearWarnDate()
+    {
+        return yearWarnDate;
+    }
+    public void setYearNextWarnDate(Date yearNextWarnDate)
+    {
+        this.yearNextWarnDate = yearNextWarnDate;
+    }
+
+    public Date getYearNextWarnDate()
+    {
+        return yearNextWarnDate;
+    }
+    public void setYearReportNo(String yearReportNo)
+    {
+        this.yearReportNo = yearReportNo;
+    }
+
+    public String getYearReportNo()
+    {
+        return yearReportNo;
+    }
+    public void setIsRepeat(Long isRepeat)
+    {
+        this.isRepeat = isRepeat;
+    }
+
+    public Long getIsRepeat()
+    {
+        return isRepeat;
+    }
+    public void setType(Long type)
+    {
+        this.type = type;
+    }
+
+    public Long getType()
+    {
+        return type;
+    }
+    public void setPosition(String position)
+    {
+        this.position = position;
+    }
+
+    public String getPosition()
+    {
+        return position;
+    }
+    public void setDeviceSize(Long deviceSize)
+    {
+        this.deviceSize = deviceSize;
+    }
+
+    public Long getDeviceSize()
+    {
+        return deviceSize;
+    }
+    public void setLeakageMode(String leakageMode)
+    {
+        this.leakageMode = leakageMode;
+    }
+
+    public String getLeakageMode()
+    {
+        return leakageMode;
+    }
+    public void setArchives(String archives)
+    {
+        this.archives = archives;
+    }
+
+    public String getArchives()
+    {
+        return archives;
+    }
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+            .append("id", getId())
+            .append("plantCode", getPlantCode())
+            .append("unit", getUnit())
+            .append("devname", getDevname())
+            .append("devno", getDevno())
+            .append("submitdate", getSubmitdate())
+            .append("status", getStatus())
+            .append("delFlag", getDelFlag())
+            .append("createrCode", getCreaterCode())
+            .append("createdate", getCreatedate())
+            .append("updaterCode", getUpdaterCode())
+            .append("updatedate", getUpdatedate())
+            .append("deptId", getDeptId())
+            .append("remarks", getRemarks())
+            .append("approveStatus", getApproveStatus())
+            .append("regno", getRegno())
+            .append("useno", getUseno())
+            .append("warnDate", getWarnDate())
+            .append("warnCycle", getWarnCycle())
+            .append("nextWarnDate", getNextWarnDate())
+            .append("warnFlag", getWarnFlag())
+            .append("grade", getGrade())
+            .append("designer", getDesigner())
+            .append("installer", getInstaller())
+            .append("material", getMaterial())
+            .append("dia", getDia())
+            .append("scheduleNo", getScheduleNo())
+            .append("length", getLength())
+            .append("starting", getStarting())
+            .append("ending", getEnding())
+            .append("desPressure", getDesPressure())
+            .append("desTemp", getDesTemp())
+            .append("optPressure", getOptPressure())
+            .append("optTemp", getOptTemp())
+            .append("medium", getMedium())
+            .append("checkConclusion", getCheckConclusion())
+            .append("checkUnit", getCheckUnit())
+            .append("safeClass", getSafeClass())
+            .append("reportNo", getReportNo())
+            .append("approveTime", getApproveTime())
+            .append("changeTime", getChangeTime())
+            .append("plantMaint", getPlantMaint())
+            .append("engineer", getEngineer())
+            .append("weldNumber", getWeldNumber())
+            .append("layingMethod", getLayingMethod())
+            .append("adiabatic", getAdiabatic())
+            .append("antiCorrosion", getAntiCorrosion())
+            .append("adiabaticThickness", getAdiabaticThickness())
+            .append("isDanger", getIsDanger())
+            .append("installDate", getInstallDate())
+            .append("yearWarnDate", getYearWarnDate())
+            .append("yearNextWarnDate", getYearNextWarnDate())
+            .append("yearReportNo", getYearReportNo())
+            .append("isRepeat", getIsRepeat())
+            .append("type", getType())
+            .append("position", getPosition())
+            .append("deviceSize", getDeviceSize())
+            .append("leakageMode", getLeakageMode())
+            .append("archives", getArchives())
+            .toString();
+    }
+}

+ 66 - 0
master/src/main/java/com/ruoyi/project/intact/mapper/TIntactGjMapper.java

@@ -0,0 +1,66 @@
+package com.ruoyi.project.intact.mapper;
+
+import java.util.List;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.ruoyi.framework.aspectj.lang.annotation.DataScope;
+import com.ruoyi.project.intact.domain.TIntactGj;
+
+/**
+ * 设备完整性管件台账Mapper接口
+ * 
+ * @author ruoyi
+ * @date 2022-06-22
+ */
+@TableName("T_INTACT_GJ")
+public interface TIntactGjMapper 
+{
+    /**
+     * 查询设备完整性管件台账
+     * 
+     * @param id 设备完整性管件台账ID
+     * @return 设备完整性管件台账
+     */
+    public TIntactGj selectTIntactGjById(Long id);
+
+    /**
+     * 查询设备完整性管件台账列表
+     * 
+     * @param tIntactGj 设备完整性管件台账
+     * @return 设备完整性管件台账集合
+     */
+    @DataScope(deptAlias = "d")
+    public List<TIntactGj> selectTIntactGjList(TIntactGj tIntactGj);
+
+    /**
+     * 新增设备完整性管件台账
+     * 
+     * @param tIntactGj 设备完整性管件台账
+     * @return 结果
+     */
+    public int insertTIntactGj(TIntactGj tIntactGj);
+
+    /**
+     * 修改设备完整性管件台账
+     * 
+     * @param tIntactGj 设备完整性管件台账
+     * @return 结果
+     */
+    public int updateTIntactGj(TIntactGj tIntactGj);
+
+    /**
+     * 删除设备完整性管件台账
+     * 
+     * @param id 设备完整性管件台账ID
+     * @return 结果
+     */
+    public int deleteTIntactGjById(Long id);
+
+    /**
+     * 批量删除设备完整性管件台账
+     * 
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    public int deleteTIntactGjByIds(Long[] ids);
+}

+ 66 - 0
master/src/main/java/com/ruoyi/project/intact/mapper/TIntactPumpMapper.java

@@ -0,0 +1,66 @@
+package com.ruoyi.project.intact.mapper;
+
+import java.util.List;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.ruoyi.framework.aspectj.lang.annotation.DataScope;
+import com.ruoyi.project.intact.domain.TIntactPump;
+
+/**
+ * 设备完整性泵台账Mapper接口
+ * 
+ * @author ruoyi
+ * @date 2022-06-22
+ */
+@TableName("T_INTACT_PUMP")
+public interface TIntactPumpMapper 
+{
+    /**
+     * 查询设备完整性泵台账
+     * 
+     * @param id 设备完整性泵台账ID
+     * @return 设备完整性泵台账
+     */
+    public TIntactPump selectTIntactPumpById(Long id);
+
+    /**
+     * 查询设备完整性泵台账列表
+     * 
+     * @param tIntactPump 设备完整性泵台账
+     * @return 设备完整性泵台账集合
+     */
+    @DataScope(deptAlias = "d")
+    public List<TIntactPump> selectTIntactPumpList(TIntactPump tIntactPump);
+
+    /**
+     * 新增设备完整性泵台账
+     * 
+     * @param tIntactPump 设备完整性泵台账
+     * @return 结果
+     */
+    public int insertTIntactPump(TIntactPump tIntactPump);
+
+    /**
+     * 修改设备完整性泵台账
+     * 
+     * @param tIntactPump 设备完整性泵台账
+     * @return 结果
+     */
+    public int updateTIntactPump(TIntactPump tIntactPump);
+
+    /**
+     * 删除设备完整性泵台账
+     * 
+     * @param id 设备完整性泵台账ID
+     * @return 结果
+     */
+    public int deleteTIntactPumpById(Long id);
+
+    /**
+     * 批量删除设备完整性泵台账
+     * 
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    public int deleteTIntactPumpByIds(Long[] ids);
+}

+ 61 - 0
master/src/main/java/com/ruoyi/project/intact/service/ITIntactGjService.java

@@ -0,0 +1,61 @@
+package com.ruoyi.project.intact.service;
+
+import java.util.List;
+import com.ruoyi.project.intact.domain.TIntactGj;
+
+/**
+ * 设备完整性管件台账Service接口
+ * 
+ * @author ruoyi
+ * @date 2022-06-22
+ */
+public interface ITIntactGjService 
+{
+    /**
+     * 查询设备完整性管件台账
+     * 
+     * @param id 设备完整性管件台账ID
+     * @return 设备完整性管件台账
+     */
+    public TIntactGj selectTIntactGjById(Long id);
+
+    /**
+     * 查询设备完整性管件台账列表
+     * 
+     * @param tIntactGj 设备完整性管件台账
+     * @return 设备完整性管件台账集合
+     */
+    public List<TIntactGj> selectTIntactGjList(TIntactGj tIntactGj);
+
+    /**
+     * 新增设备完整性管件台账
+     * 
+     * @param tIntactGj 设备完整性管件台账
+     * @return 结果
+     */
+    public int insertTIntactGj(TIntactGj tIntactGj);
+
+    /**
+     * 修改设备完整性管件台账
+     * 
+     * @param tIntactGj 设备完整性管件台账
+     * @return 结果
+     */
+    public int updateTIntactGj(TIntactGj tIntactGj);
+
+    /**
+     * 批量删除设备完整性管件台账
+     * 
+     * @param ids 需要删除的设备完整性管件台账ID
+     * @return 结果
+     */
+    public int deleteTIntactGjByIds(Long[] ids);
+
+    /**
+     * 删除设备完整性管件台账信息
+     * 
+     * @param id 设备完整性管件台账ID
+     * @return 结果
+     */
+    public int deleteTIntactGjById(Long id);
+}

+ 61 - 0
master/src/main/java/com/ruoyi/project/intact/service/ITIntactPumpService.java

@@ -0,0 +1,61 @@
+package com.ruoyi.project.intact.service;
+
+import java.util.List;
+import com.ruoyi.project.intact.domain.TIntactPump;
+
+/**
+ * 设备完整性泵台账Service接口
+ * 
+ * @author ruoyi
+ * @date 2022-06-22
+ */
+public interface ITIntactPumpService 
+{
+    /**
+     * 查询设备完整性泵台账
+     * 
+     * @param id 设备完整性泵台账ID
+     * @return 设备完整性泵台账
+     */
+    public TIntactPump selectTIntactPumpById(Long id);
+
+    /**
+     * 查询设备完整性泵台账列表
+     * 
+     * @param tIntactPump 设备完整性泵台账
+     * @return 设备完整性泵台账集合
+     */
+    public List<TIntactPump> selectTIntactPumpList(TIntactPump tIntactPump);
+
+    /**
+     * 新增设备完整性泵台账
+     * 
+     * @param tIntactPump 设备完整性泵台账
+     * @return 结果
+     */
+    public int insertTIntactPump(TIntactPump tIntactPump);
+
+    /**
+     * 修改设备完整性泵台账
+     * 
+     * @param tIntactPump 设备完整性泵台账
+     * @return 结果
+     */
+    public int updateTIntactPump(TIntactPump tIntactPump);
+
+    /**
+     * 批量删除设备完整性泵台账
+     * 
+     * @param ids 需要删除的设备完整性泵台账ID
+     * @return 结果
+     */
+    public int deleteTIntactPumpByIds(Long[] ids);
+
+    /**
+     * 删除设备完整性泵台账信息
+     * 
+     * @param id 设备完整性泵台账ID
+     * @return 结果
+     */
+    public int deleteTIntactPumpById(Long id);
+}

+ 93 - 0
master/src/main/java/com/ruoyi/project/intact/service/impl/TIntactGjServiceImpl.java

@@ -0,0 +1,93 @@
+package com.ruoyi.project.intact.service.impl;
+
+import java.util.List;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ruoyi.project.intact.mapper.TIntactGjMapper;
+import com.ruoyi.project.intact.domain.TIntactGj;
+import com.ruoyi.project.intact.service.ITIntactGjService;
+
+/**
+ * 设备完整性管件台账Service业务层处理
+ *
+ * @author ruoyi
+ * @date 2022-06-22
+ */
+@Service
+public class TIntactGjServiceImpl implements ITIntactGjService
+{
+    @Autowired
+    private TIntactGjMapper tIntactGjMapper;
+
+    /**
+     * 查询设备完整性管件台账
+     *
+     * @param id 设备完整性管件台账ID
+     * @return 设备完整性管件台账
+     */
+    @Override
+    public TIntactGj selectTIntactGjById(Long id)
+    {
+        return tIntactGjMapper.selectTIntactGjById(id);
+    }
+
+    /**
+     * 查询设备完整性管件台账列表
+     *
+     * @param tIntactGj 设备完整性管件台账
+     * @return 设备完整性管件台账
+     */
+    @Override
+    public List<TIntactGj> selectTIntactGjList(TIntactGj tIntactGj)
+    {
+        return tIntactGjMapper.selectTIntactGjList(tIntactGj);
+    }
+
+    /**
+     * 新增设备完整性管件台账
+     *
+     * @param tIntactGj 设备完整性管件台账
+     * @return 结果
+     */
+    @Override
+    public int insertTIntactGj(TIntactGj tIntactGj)
+    {
+        return tIntactGjMapper.insertTIntactGj(tIntactGj);
+    }
+
+    /**
+     * 修改设备完整性管件台账
+     *
+     * @param tIntactGj 设备完整性管件台账
+     * @return 结果
+     */
+    @Override
+    public int updateTIntactGj(TIntactGj tIntactGj)
+    {
+        return tIntactGjMapper.updateTIntactGj(tIntactGj);
+    }
+
+    /**
+     * 批量删除设备完整性管件台账
+     *
+     * @param ids 需要删除的设备完整性管件台账ID
+     * @return 结果
+     */
+    @Override
+    public int deleteTIntactGjByIds(Long[] ids)
+    {
+        return tIntactGjMapper.deleteTIntactGjByIds(ids);
+    }
+
+    /**
+     * 删除设备完整性管件台账信息
+     *
+     * @param id 设备完整性管件台账ID
+     * @return 结果
+     */
+    @Override
+    public int deleteTIntactGjById(Long id)
+    {
+        return tIntactGjMapper.deleteTIntactGjById(id);
+    }
+}

+ 93 - 0
master/src/main/java/com/ruoyi/project/intact/service/impl/TIntactPumpServiceImpl.java

@@ -0,0 +1,93 @@
+package com.ruoyi.project.intact.service.impl;
+
+import java.util.List;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ruoyi.project.intact.mapper.TIntactPumpMapper;
+import com.ruoyi.project.intact.domain.TIntactPump;
+import com.ruoyi.project.intact.service.ITIntactPumpService;
+
+/**
+ * 设备完整性泵台账Service业务层处理
+ *
+ * @author ruoyi
+ * @date 2022-06-22
+ */
+@Service
+public class TIntactPumpServiceImpl implements ITIntactPumpService
+{
+    @Autowired
+    private TIntactPumpMapper tIntactPumpMapper;
+
+    /**
+     * 查询设备完整性泵台账
+     *
+     * @param id 设备完整性泵台账ID
+     * @return 设备完整性泵台账
+     */
+    @Override
+    public TIntactPump selectTIntactPumpById(Long id)
+    {
+        return tIntactPumpMapper.selectTIntactPumpById(id);
+    }
+
+    /**
+     * 查询设备完整性泵台账列表
+     *
+     * @param tIntactPump 设备完整性泵台账
+     * @return 设备完整性泵台账
+     */
+    @Override
+    public List<TIntactPump> selectTIntactPumpList(TIntactPump tIntactPump)
+    {
+        return tIntactPumpMapper.selectTIntactPumpList(tIntactPump);
+    }
+
+    /**
+     * 新增设备完整性泵台账
+     *
+     * @param tIntactPump 设备完整性泵台账
+     * @return 结果
+     */
+    @Override
+    public int insertTIntactPump(TIntactPump tIntactPump)
+    {
+        return tIntactPumpMapper.insertTIntactPump(tIntactPump);
+    }
+
+    /**
+     * 修改设备完整性泵台账
+     *
+     * @param tIntactPump 设备完整性泵台账
+     * @return 结果
+     */
+    @Override
+    public int updateTIntactPump(TIntactPump tIntactPump)
+    {
+        return tIntactPumpMapper.updateTIntactPump(tIntactPump);
+    }
+
+    /**
+     * 批量删除设备完整性泵台账
+     *
+     * @param ids 需要删除的设备完整性泵台账ID
+     * @return 结果
+     */
+    @Override
+    public int deleteTIntactPumpByIds(Long[] ids)
+    {
+        return tIntactPumpMapper.deleteTIntactPumpByIds(ids);
+    }
+
+    /**
+     * 删除设备完整性泵台账信息
+     *
+     * @param id 设备完整性泵台账ID
+     * @return 结果
+     */
+    @Override
+    public int deleteTIntactPumpById(Long id)
+    {
+        return tIntactPumpMapper.deleteTIntactPumpById(id);
+    }
+}

+ 1 - 1
master/src/main/resources/application.yml

@@ -9,7 +9,7 @@ ruoyi:
   # 实例演示开关
   demoEnabled: true
   # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /u03/cpmsfile/uploadPath)
-  profile: /u03/cpmsfile/uploadPath
+  profile: D:/ruoyi/uploadPath
   # 邮件中链接跳转路径 示例(本地:http://localhost/#,服务器:http://47.114.101.16:8080/cpms/index.html#)
   requestJumpPath: https://cpms.basf-ypc.net.cn/cpms/index.html#
   # 获取ip地址开关

+ 351 - 0
master/src/main/resources/mybatis/intact/TIntactGjMapper.xml

@@ -0,0 +1,351 @@
+<?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.ruoyi.project.intact.mapper.TIntactGjMapper">
+    
+    <resultMap type="TIntactGj" id="TIntactGjResult">
+        <result property="id"    column="id"    />
+        <result property="plantCode"    column="plant_code"    />
+        <result property="unit"    column="unit"    />
+        <result property="devname"    column="devname"    />
+        <result property="devno"    column="devno"    />
+        <result property="submitdate"    column="submitdate"    />
+        <result property="status"    column="status"    />
+        <result property="delFlag"    column="del_flag"    />
+        <result property="createrCode"    column="creater_code"    />
+        <result property="createdate"    column="createdate"    />
+        <result property="updaterCode"    column="updater_code"    />
+        <result property="updatedate"    column="updatedate"    />
+        <result property="deptId"    column="dept_id"    />
+        <result property="remarks"    column="remarks"    />
+        <result property="approveStatus"    column="approve_status"    />
+        <result property="regno"    column="regno"    />
+        <result property="useno"    column="useno"    />
+        <result property="warnDate"    column="warn_date"    />
+        <result property="warnCycle"    column="warn_cycle"    />
+        <result property="nextWarnDate"    column="next_warn_date"    />
+        <result property="warnFlag"    column="warn_flag"    />
+        <result property="grade"    column="grade"    />
+        <result property="designer"    column="designer"    />
+        <result property="installer"    column="installer"    />
+        <result property="material"    column="material"    />
+        <result property="dia"    column="dia"    />
+        <result property="scheduleNo"    column="schedule_no"    />
+        <result property="length"    column="length"    />
+        <result property="starting"    column="starting"    />
+        <result property="ending"    column="ending"    />
+        <result property="desPressure"    column="des_pressure"    />
+        <result property="desTemp"    column="des_temp"    />
+        <result property="optPressure"    column="opt_pressure"    />
+        <result property="optTemp"    column="opt_temp"    />
+        <result property="medium"    column="medium"    />
+        <result property="checkConclusion"    column="check_conclusion"    />
+        <result property="checkUnit"    column="check_unit"    />
+        <result property="safeClass"    column="safe_class"    />
+        <result property="reportNo"    column="report_no"    />
+        <result property="approveTime"    column="approve_time"    />
+        <result property="changeTime"    column="change_time"    />
+        <result property="plantMaint"    column="plant_maint"    />
+        <result property="engineer"    column="engineer"    />
+        <result property="weldNumber"    column="weld_number"    />
+        <result property="layingMethod"    column="laying_method"    />
+        <result property="adiabatic"    column="adiabatic"    />
+        <result property="antiCorrosion"    column="anti_corrosion"    />
+        <result property="adiabaticThickness"    column="adiabatic_thickness"    />
+        <result property="isDanger"    column="is_danger"    />
+        <result property="installDate"    column="install_date"    />
+        <result property="yearWarnDate"    column="year_warn_date"    />
+        <result property="yearNextWarnDate"    column="year_next_warn_date"    />
+        <result property="yearReportNo"    column="year_report_no"    />
+        <result property="isRepeat"    column="is_repeat"    />
+        <result property="type"    column="type"    />
+        <result property="position"    column="position"    />
+        <result property="deviceSize"    column="device_size"    />
+        <result property="leakageMode"    column="leakage_mode"    />
+        <result property="archives"    column="archives"    />
+        <result property="deptName" column="dept_name" />
+    </resultMap>
+
+    <sql id="selectTIntactGjVo">
+        select d.id, d.plant_code, d.unit, d.devname, d.devno, d.submitdate, d.status, d.del_flag, d.creater_code, d.createdate, d.updater_code, d.updatedate, d.dept_id, d.remarks, d.approve_status, d.regno, d.useno, d.warn_date, d.warn_cycle, d.next_warn_date, d.warn_flag, d.grade, d.designer, d.installer, d.material, d.dia, d.schedule_no, d.length, d.starting, d.ending, d.des_pressure, d.des_temp, d.opt_pressure, d.opt_temp, d.medium, d.check_conclusion, d.check_unit, d.safe_class, d.report_no, d.approve_time, d.change_time, d.plant_maint, d.engineer, d.weld_number, d.laying_method, d.adiabatic, d.anti_corrosion, d.adiabatic_thickness, d.is_danger, d.install_date, d.year_warn_date, d.year_next_warn_date, d.year_report_no, d.is_repeat, d.type, d.position, d.device_size, d.leakage_mode, d.archives ,s.dept_name from t_intact_gj d
+      left join sys_dept s on s.dept_id = d.dept_id
+    </sql>
+
+    <select id="selectTIntactGjList" parameterType="TIntactGj" resultMap="TIntactGjResult">
+        <include refid="selectTIntactGjVo"/>
+        <where>  
+            <if test="plantCode != null  and plantCode != ''"> and plant_code = #{plantCode}</if>
+            <if test="unit != null  and unit != ''"> and unit = #{unit}</if>
+            <if test="devname != null  and devname != ''"> and devname like concat(concat('%', #{devname}), '%')</if>
+            <if test="devno != null  and devno != ''"> and devno = #{devno}</if>
+            <if test="submitdate != null "> and submitdate = #{submitdate}</if>
+            <if test="status != null "> and d.status = #{status}</if>
+            <if test="createrCode != null "> and creater_code = #{createrCode}</if>
+            <if test="createdate != null "> and createdate = #{createdate}</if>
+            <if test="updaterCode != null "> and updater_code = #{updaterCode}</if>
+            <if test="updatedate != null "> and updatedate = #{updatedate}</if>
+            <if test="deptId != null "> and dept_id = #{deptId}</if>
+            <if test="remarks != null  and remarks != ''"> and remarks = #{remarks}</if>
+            <if test="approveStatus != null "> and approve_status = #{approveStatus}</if>
+            <if test="regno != null  and regno != ''"> and regno = #{regno}</if>
+            <if test="useno != null  and useno != ''"> and useno = #{useno}</if>
+            <if test="warnDate != null "> and warn_date = #{warnDate}</if>
+            <if test="warnCycle != null "> and warn_cycle = #{warnCycle}</if>
+            <if test="nextWarnDate != null "> and next_warn_date = #{nextWarnDate}</if>
+            <if test="warnFlag != null "> and warn_flag = #{warnFlag}</if>
+            <if test="grade != null  and grade != ''"> and grade = #{grade}</if>
+            <if test="designer != null  and designer != ''"> and designer = #{designer}</if>
+            <if test="installer != null  and installer != ''"> and installer = #{installer}</if>
+            <if test="material != null  and material != ''"> and material = #{material}</if>
+            <if test="dia != null  and dia != ''"> and dia = #{dia}</if>
+            <if test="scheduleNo != null  and scheduleNo != ''"> and schedule_no = #{scheduleNo}</if>
+            <if test="length != null  and length != ''"> and length = #{length}</if>
+            <if test="starting != null  and starting != ''"> and starting = #{starting}</if>
+            <if test="ending != null  and ending != ''"> and ending = #{ending}</if>
+            <if test="desPressure != null  and desPressure != ''"> and des_pressure = #{desPressure}</if>
+            <if test="desTemp != null  and desTemp != ''"> and des_temp = #{desTemp}</if>
+            <if test="optPressure != null  and optPressure != ''"> and opt_pressure = #{optPressure}</if>
+            <if test="optTemp != null  and optTemp != ''"> and opt_temp = #{optTemp}</if>
+            <if test="medium != null  and medium != ''"> and medium = #{medium}</if>
+            <if test="checkConclusion != null  and checkConclusion != ''"> and check_conclusion = #{checkConclusion}</if>
+            <if test="checkUnit != null  and checkUnit != ''"> and check_unit = #{checkUnit}</if>
+            <if test="safeClass != null  and safeClass != ''"> and safe_class = #{safeClass}</if>
+            <if test="reportNo != null  and reportNo != ''"> and report_no = #{reportNo}</if>
+            <if test="approveTime != null "> and approve_time = #{approveTime}</if>
+            <if test="changeTime != null "> and change_time = #{changeTime}</if>
+            <if test="plantMaint != null  and plantMaint != ''"> and plant_maint = #{plantMaint}</if>
+            <if test="engineer != null  and engineer != ''"> and engineer = #{engineer}</if>
+            <if test="weldNumber != null  and weldNumber != ''"> and weld_number = #{weldNumber}</if>
+            <if test="layingMethod != null  and layingMethod != ''"> and laying_method = #{layingMethod}</if>
+            <if test="adiabatic != null  and adiabatic != ''"> and adiabatic = #{adiabatic}</if>
+            <if test="antiCorrosion != null  and antiCorrosion != ''"> and anti_corrosion = #{antiCorrosion}</if>
+            <if test="adiabaticThickness != null  and adiabaticThickness != ''"> and adiabatic_thickness = #{adiabaticThickness}</if>
+            <if test="isDanger != null  and isDanger != ''"> and is_danger = #{isDanger}</if>
+            <if test="installDate != null "> and install_date = #{installDate}</if>
+            <if test="yearWarnDate != null "> and year_warn_date = #{yearWarnDate}</if>
+            <if test="yearNextWarnDate != null "> and year_next_warn_date = #{yearNextWarnDate}</if>
+            <if test="yearReportNo != null  and yearReportNo != ''"> and year_report_no = #{yearReportNo}</if>
+            <if test="isRepeat != null "> and is_repeat = #{isRepeat}</if>
+            <if test="type != null "> and type = #{type}</if>
+            <if test="position != null  and position != ''"> and position = #{position}</if>
+            <if test="deviceSize != null "> and device_size = #{deviceSize}</if>
+            <if test="leakageMode != null  and leakageMode != ''"> and leakage_mode = #{leakageMode}</if>
+            <if test="archives != null  and archives != ''"> and archives = #{archives}</if>
+            and d.del_flag = 0
+        </where>
+        <!-- 数据范围过滤 -->
+        ${params.dataScope}
+    </select>
+    
+    <select id="selectTIntactGjById" parameterType="Long" resultMap="TIntactGjResult">
+        <include refid="selectTIntactGjVo"/>
+        where id = #{id}
+    </select>
+        
+    <insert id="insertTIntactGj" parameterType="TIntactGj">
+        <selectKey keyProperty="id" resultType="long" order="BEFORE">
+            SELECT seq_t_intact_gj.NEXTVAL as id FROM DUAL
+        </selectKey>
+        insert into t_intact_gj
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="id != null">id,</if>
+            <if test="plantCode != null">plant_code,</if>
+            <if test="unit != null">unit,</if>
+            <if test="devname != null">devname,</if>
+            <if test="devno != null">devno,</if>
+            <if test="submitdate != null">submitdate,</if>
+            <if test="status != null">status,</if>
+            <if test="delFlag != null">del_flag,</if>
+            <if test="createrCode != null">creater_code,</if>
+            <if test="createdate != null">createdate,</if>
+            <if test="updaterCode != null">updater_code,</if>
+            <if test="updatedate != null">updatedate,</if>
+            <if test="deptId != null">dept_id,</if>
+            <if test="remarks != null">remarks,</if>
+            <if test="approveStatus != null">approve_status,</if>
+            <if test="regno != null">regno,</if>
+            <if test="useno != null">useno,</if>
+            <if test="warnDate != null">warn_date,</if>
+            <if test="warnCycle != null">warn_cycle,</if>
+            <if test="nextWarnDate != null">next_warn_date,</if>
+            <if test="warnFlag != null">warn_flag,</if>
+            <if test="grade != null">grade,</if>
+            <if test="designer != null">designer,</if>
+            <if test="installer != null">installer,</if>
+            <if test="material != null">material,</if>
+            <if test="dia != null">dia,</if>
+            <if test="scheduleNo != null">schedule_no,</if>
+            <if test="length != null">length,</if>
+            <if test="starting != null">starting,</if>
+            <if test="ending != null">ending,</if>
+            <if test="desPressure != null">des_pressure,</if>
+            <if test="desTemp != null">des_temp,</if>
+            <if test="optPressure != null">opt_pressure,</if>
+            <if test="optTemp != null">opt_temp,</if>
+            <if test="medium != null">medium,</if>
+            <if test="checkConclusion != null">check_conclusion,</if>
+            <if test="checkUnit != null">check_unit,</if>
+            <if test="safeClass != null">safe_class,</if>
+            <if test="reportNo != null">report_no,</if>
+            <if test="approveTime != null">approve_time,</if>
+            <if test="changeTime != null">change_time,</if>
+            <if test="plantMaint != null">plant_maint,</if>
+            <if test="engineer != null">engineer,</if>
+            <if test="weldNumber != null">weld_number,</if>
+            <if test="layingMethod != null">laying_method,</if>
+            <if test="adiabatic != null">adiabatic,</if>
+            <if test="antiCorrosion != null">anti_corrosion,</if>
+            <if test="adiabaticThickness != null">adiabatic_thickness,</if>
+            <if test="isDanger != null">is_danger,</if>
+            <if test="installDate != null">install_date,</if>
+            <if test="yearWarnDate != null">year_warn_date,</if>
+            <if test="yearNextWarnDate != null">year_next_warn_date,</if>
+            <if test="yearReportNo != null">year_report_no,</if>
+            <if test="isRepeat != null">is_repeat,</if>
+            <if test="type != null">type,</if>
+            <if test="position != null">position,</if>
+            <if test="deviceSize != null">device_size,</if>
+            <if test="leakageMode != null">leakage_mode,</if>
+            <if test="archives != null">archives,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="id != null">#{id},</if>
+            <if test="plantCode != null">#{plantCode},</if>
+            <if test="unit != null">#{unit},</if>
+            <if test="devname != null">#{devname},</if>
+            <if test="devno != null">#{devno},</if>
+            <if test="submitdate != null">#{submitdate},</if>
+            <if test="status != null">#{status},</if>
+            <if test="delFlag != null">#{delFlag},</if>
+            <if test="createrCode != null">#{createrCode},</if>
+            <if test="createdate != null">#{createdate},</if>
+            <if test="updaterCode != null">#{updaterCode},</if>
+            <if test="updatedate != null">#{updatedate},</if>
+            <if test="deptId != null">#{deptId},</if>
+            <if test="remarks != null">#{remarks},</if>
+            <if test="approveStatus != null">#{approveStatus},</if>
+            <if test="regno != null">#{regno},</if>
+            <if test="useno != null">#{useno},</if>
+            <if test="warnDate != null">#{warnDate},</if>
+            <if test="warnCycle != null">#{warnCycle},</if>
+            <if test="nextWarnDate != null">#{nextWarnDate},</if>
+            <if test="warnFlag != null">#{warnFlag},</if>
+            <if test="grade != null">#{grade},</if>
+            <if test="designer != null">#{designer},</if>
+            <if test="installer != null">#{installer},</if>
+            <if test="material != null">#{material},</if>
+            <if test="dia != null">#{dia},</if>
+            <if test="scheduleNo != null">#{scheduleNo},</if>
+            <if test="length != null">#{length},</if>
+            <if test="starting != null">#{starting},</if>
+            <if test="ending != null">#{ending},</if>
+            <if test="desPressure != null">#{desPressure},</if>
+            <if test="desTemp != null">#{desTemp},</if>
+            <if test="optPressure != null">#{optPressure},</if>
+            <if test="optTemp != null">#{optTemp},</if>
+            <if test="medium != null">#{medium},</if>
+            <if test="checkConclusion != null">#{checkConclusion},</if>
+            <if test="checkUnit != null">#{checkUnit},</if>
+            <if test="safeClass != null">#{safeClass},</if>
+            <if test="reportNo != null">#{reportNo},</if>
+            <if test="approveTime != null">#{approveTime},</if>
+            <if test="changeTime != null">#{changeTime},</if>
+            <if test="plantMaint != null">#{plantMaint},</if>
+            <if test="engineer != null">#{engineer},</if>
+            <if test="weldNumber != null">#{weldNumber},</if>
+            <if test="layingMethod != null">#{layingMethod},</if>
+            <if test="adiabatic != null">#{adiabatic},</if>
+            <if test="antiCorrosion != null">#{antiCorrosion},</if>
+            <if test="adiabaticThickness != null">#{adiabaticThickness},</if>
+            <if test="isDanger != null">#{isDanger},</if>
+            <if test="installDate != null">#{installDate},</if>
+            <if test="yearWarnDate != null">#{yearWarnDate},</if>
+            <if test="yearNextWarnDate != null">#{yearNextWarnDate},</if>
+            <if test="yearReportNo != null">#{yearReportNo},</if>
+            <if test="isRepeat != null">#{isRepeat},</if>
+            <if test="type != null">#{type},</if>
+            <if test="position != null">#{position},</if>
+            <if test="deviceSize != null">#{deviceSize},</if>
+            <if test="leakageMode != null">#{leakageMode},</if>
+            <if test="archives != null">#{archives},</if>
+         </trim>
+    </insert>
+
+    <update id="updateTIntactGj" parameterType="TIntactGj">
+        update t_intact_gj
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="plantCode != null">plant_code = #{plantCode},</if>
+            <if test="unit != null">unit = #{unit},</if>
+            <if test="devname != null">devname = #{devname},</if>
+            <if test="devno != null">devno = #{devno},</if>
+            <if test="submitdate != null">submitdate = #{submitdate},</if>
+            <if test="status != null">status = #{status},</if>
+            <if test="delFlag != null">del_flag = #{delFlag},</if>
+            <if test="createrCode != null">creater_code = #{createrCode},</if>
+            <if test="createdate != null">createdate = #{createdate},</if>
+            <if test="updaterCode != null">updater_code = #{updaterCode},</if>
+            <if test="updatedate != null">updatedate = #{updatedate},</if>
+            <if test="deptId != null">dept_id = #{deptId},</if>
+            <if test="remarks != null">remarks = #{remarks},</if>
+            <if test="approveStatus != null">approve_status = #{approveStatus},</if>
+            <if test="regno != null">regno = #{regno},</if>
+            <if test="useno != null">useno = #{useno},</if>
+            <if test="warnDate != null">warn_date = #{warnDate},</if>
+            <if test="warnCycle != null">warn_cycle = #{warnCycle},</if>
+            <if test="nextWarnDate != null">next_warn_date = #{nextWarnDate},</if>
+            <if test="warnFlag != null">warn_flag = #{warnFlag},</if>
+            <if test="grade != null">grade = #{grade},</if>
+            <if test="designer != null">designer = #{designer},</if>
+            <if test="installer != null">installer = #{installer},</if>
+            <if test="material != null">material = #{material},</if>
+            <if test="dia != null">dia = #{dia},</if>
+            <if test="scheduleNo != null">schedule_no = #{scheduleNo},</if>
+            <if test="length != null">length = #{length},</if>
+            <if test="starting != null">starting = #{starting},</if>
+            <if test="ending != null">ending = #{ending},</if>
+            <if test="desPressure != null">des_pressure = #{desPressure},</if>
+            <if test="desTemp != null">des_temp = #{desTemp},</if>
+            <if test="optPressure != null">opt_pressure = #{optPressure},</if>
+            <if test="optTemp != null">opt_temp = #{optTemp},</if>
+            <if test="medium != null">medium = #{medium},</if>
+            <if test="checkConclusion != null">check_conclusion = #{checkConclusion},</if>
+            <if test="checkUnit != null">check_unit = #{checkUnit},</if>
+            <if test="safeClass != null">safe_class = #{safeClass},</if>
+            <if test="reportNo != null">report_no = #{reportNo},</if>
+            <if test="approveTime != null">approve_time = #{approveTime},</if>
+            <if test="changeTime != null">change_time = #{changeTime},</if>
+            <if test="plantMaint != null">plant_maint = #{plantMaint},</if>
+            <if test="engineer != null">engineer = #{engineer},</if>
+            <if test="weldNumber != null">weld_number = #{weldNumber},</if>
+            <if test="layingMethod != null">laying_method = #{layingMethod},</if>
+            <if test="adiabatic != null">adiabatic = #{adiabatic},</if>
+            <if test="antiCorrosion != null">anti_corrosion = #{antiCorrosion},</if>
+            <if test="adiabaticThickness != null">adiabatic_thickness = #{adiabaticThickness},</if>
+            <if test="isDanger != null">is_danger = #{isDanger},</if>
+            <if test="installDate != null">install_date = #{installDate},</if>
+            <if test="yearWarnDate != null">year_warn_date = #{yearWarnDate},</if>
+            <if test="yearNextWarnDate != null">year_next_warn_date = #{yearNextWarnDate},</if>
+            <if test="yearReportNo != null">year_report_no = #{yearReportNo},</if>
+            <if test="isRepeat != null">is_repeat = #{isRepeat},</if>
+            <if test="type != null">type = #{type},</if>
+            <if test="position != null">position = #{position},</if>
+            <if test="deviceSize != null">device_size = #{deviceSize},</if>
+            <if test="leakageMode != null">leakage_mode = #{leakageMode},</if>
+            <if test="archives != null">archives = #{archives},</if>
+        </trim>
+        where id = #{id}
+    </update>
+
+    <update id="deleteTIntactGjById" parameterType="Long">
+        update t_intact_gj set del_flag = 2 where id = #{id}
+    </update>
+
+    <update id="deleteTIntactGjByIds" parameterType="String">
+        update t_intact_gj set del_flag = 2 where id in
+        <foreach item="id" collection="array" open="(" separator="," close=")">
+            #{id}
+        </foreach>
+    </update>
+    
+</mapper>

+ 351 - 0
master/src/main/resources/mybatis/intact/TIntactPumpMapper.xml

@@ -0,0 +1,351 @@
+<?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.ruoyi.project.intact.mapper.TIntactPumpMapper">
+    
+    <resultMap type="TIntactPump" id="TIntactPumpResult">
+        <result property="id"    column="id"    />
+        <result property="plantCode"    column="plant_code"    />
+        <result property="unit"    column="unit"    />
+        <result property="devname"    column="devname"    />
+        <result property="devno"    column="devno"    />
+        <result property="submitdate"    column="submitdate"    />
+        <result property="status"    column="status"    />
+        <result property="delFlag"    column="del_flag"    />
+        <result property="createrCode"    column="creater_code"    />
+        <result property="createdate"    column="createdate"    />
+        <result property="updaterCode"    column="updater_code"    />
+        <result property="updatedate"    column="updatedate"    />
+        <result property="deptId"    column="dept_id"    />
+        <result property="remarks"    column="remarks"    />
+        <result property="approveStatus"    column="approve_status"    />
+        <result property="regno"    column="regno"    />
+        <result property="useno"    column="useno"    />
+        <result property="warnDate"    column="warn_date"    />
+        <result property="warnCycle"    column="warn_cycle"    />
+        <result property="nextWarnDate"    column="next_warn_date"    />
+        <result property="warnFlag"    column="warn_flag"    />
+        <result property="grade"    column="grade"    />
+        <result property="designer"    column="designer"    />
+        <result property="installer"    column="installer"    />
+        <result property="material"    column="material"    />
+        <result property="dia"    column="dia"    />
+        <result property="scheduleNo"    column="schedule_no"    />
+        <result property="length"    column="length"    />
+        <result property="starting"    column="starting"    />
+        <result property="ending"    column="ending"    />
+        <result property="desPressure"    column="des_pressure"    />
+        <result property="desTemp"    column="des_temp"    />
+        <result property="optPressure"    column="opt_pressure"    />
+        <result property="optTemp"    column="opt_temp"    />
+        <result property="medium"    column="medium"    />
+        <result property="checkConclusion"    column="check_conclusion"    />
+        <result property="checkUnit"    column="check_unit"    />
+        <result property="safeClass"    column="safe_class"    />
+        <result property="reportNo"    column="report_no"    />
+        <result property="approveTime"    column="approve_time"    />
+        <result property="changeTime"    column="change_time"    />
+        <result property="plantMaint"    column="plant_maint"    />
+        <result property="engineer"    column="engineer"    />
+        <result property="weldNumber"    column="weld_number"    />
+        <result property="layingMethod"    column="laying_method"    />
+        <result property="adiabatic"    column="adiabatic"    />
+        <result property="antiCorrosion"    column="anti_corrosion"    />
+        <result property="adiabaticThickness"    column="adiabatic_thickness"    />
+        <result property="isDanger"    column="is_danger"    />
+        <result property="installDate"    column="install_date"    />
+        <result property="yearWarnDate"    column="year_warn_date"    />
+        <result property="yearNextWarnDate"    column="year_next_warn_date"    />
+        <result property="yearReportNo"    column="year_report_no"    />
+        <result property="isRepeat"    column="is_repeat"    />
+        <result property="type"    column="type"    />
+        <result property="position"    column="position"    />
+        <result property="deviceSize"    column="device_size"    />
+        <result property="leakageMode"    column="leakage_mode"    />
+        <result property="archives"    column="archives"    />
+        <result property="deptName" column="dept_name" />
+    </resultMap>
+
+    <sql id="selectTIntactPumpVo">
+        select d.id, d.plant_code, d.unit, d.devname, d.devno, d.submitdate, d.status, d.del_flag, d.creater_code, d.createdate, d.updater_code, d.updatedate, d.dept_id, d.remarks, d.approve_status, d.regno, d.useno, d.warn_date, d.warn_cycle, d.next_warn_date, d.warn_flag, d.grade, d.designer, d.installer, d.material, d.dia, d.schedule_no, d.length, d.starting, d.ending, d.des_pressure, d.des_temp, d.opt_pressure, d.opt_temp, d.medium, d.check_conclusion, d.check_unit, d.safe_class, d.report_no, d.approve_time, d.change_time, d.plant_maint, d.engineer, d.weld_number, d.laying_method, d.adiabatic, d.anti_corrosion, d.adiabatic_thickness, d.is_danger, d.install_date, d.year_warn_date, d.year_next_warn_date, d.year_report_no, d.is_repeat, d.type, d.position, d.device_size, d.leakage_mode, d.archives ,s.dept_name from t_intact_pump d
+      left join sys_dept s on s.dept_id = d.dept_id
+    </sql>
+
+    <select id="selectTIntactPumpList" parameterType="TIntactPump" resultMap="TIntactPumpResult">
+        <include refid="selectTIntactPumpVo"/>
+        <where>  
+            <if test="plantCode != null  and plantCode != ''"> and plant_code = #{plantCode}</if>
+            <if test="unit != null  and unit != ''"> and unit = #{unit}</if>
+            <if test="devname != null  and devname != ''"> and devname like concat(concat('%', #{devname}), '%')</if>
+            <if test="devno != null  and devno != ''"> and devno = #{devno}</if>
+            <if test="submitdate != null "> and submitdate = #{submitdate}</if>
+            <if test="status != null "> and d.status = #{status}</if>
+            <if test="createrCode != null "> and creater_code = #{createrCode}</if>
+            <if test="createdate != null "> and createdate = #{createdate}</if>
+            <if test="updaterCode != null "> and updater_code = #{updaterCode}</if>
+            <if test="updatedate != null "> and updatedate = #{updatedate}</if>
+            <if test="deptId != null "> and dept_id = #{deptId}</if>
+            <if test="remarks != null  and remarks != ''"> and remarks = #{remarks}</if>
+            <if test="approveStatus != null "> and approve_status = #{approveStatus}</if>
+            <if test="regno != null  and regno != ''"> and regno = #{regno}</if>
+            <if test="useno != null  and useno != ''"> and useno = #{useno}</if>
+            <if test="warnDate != null "> and warn_date = #{warnDate}</if>
+            <if test="warnCycle != null "> and warn_cycle = #{warnCycle}</if>
+            <if test="nextWarnDate != null "> and next_warn_date = #{nextWarnDate}</if>
+            <if test="warnFlag != null "> and warn_flag = #{warnFlag}</if>
+            <if test="grade != null  and grade != ''"> and grade = #{grade}</if>
+            <if test="designer != null  and designer != ''"> and designer = #{designer}</if>
+            <if test="installer != null  and installer != ''"> and installer = #{installer}</if>
+            <if test="material != null  and material != ''"> and material = #{material}</if>
+            <if test="dia != null  and dia != ''"> and dia = #{dia}</if>
+            <if test="scheduleNo != null  and scheduleNo != ''"> and schedule_no = #{scheduleNo}</if>
+            <if test="length != null  and length != ''"> and length = #{length}</if>
+            <if test="starting != null  and starting != ''"> and starting = #{starting}</if>
+            <if test="ending != null  and ending != ''"> and ending = #{ending}</if>
+            <if test="desPressure != null  and desPressure != ''"> and des_pressure = #{desPressure}</if>
+            <if test="desTemp != null  and desTemp != ''"> and des_temp = #{desTemp}</if>
+            <if test="optPressure != null  and optPressure != ''"> and opt_pressure = #{optPressure}</if>
+            <if test="optTemp != null  and optTemp != ''"> and opt_temp = #{optTemp}</if>
+            <if test="medium != null  and medium != ''"> and medium = #{medium}</if>
+            <if test="checkConclusion != null  and checkConclusion != ''"> and check_conclusion = #{checkConclusion}</if>
+            <if test="checkUnit != null  and checkUnit != ''"> and check_unit = #{checkUnit}</if>
+            <if test="safeClass != null  and safeClass != ''"> and safe_class = #{safeClass}</if>
+            <if test="reportNo != null  and reportNo != ''"> and report_no = #{reportNo}</if>
+            <if test="approveTime != null "> and approve_time = #{approveTime}</if>
+            <if test="changeTime != null "> and change_time = #{changeTime}</if>
+            <if test="plantMaint != null  and plantMaint != ''"> and plant_maint = #{plantMaint}</if>
+            <if test="engineer != null  and engineer != ''"> and engineer = #{engineer}</if>
+            <if test="weldNumber != null  and weldNumber != ''"> and weld_number = #{weldNumber}</if>
+            <if test="layingMethod != null  and layingMethod != ''"> and laying_method = #{layingMethod}</if>
+            <if test="adiabatic != null  and adiabatic != ''"> and adiabatic = #{adiabatic}</if>
+            <if test="antiCorrosion != null  and antiCorrosion != ''"> and anti_corrosion = #{antiCorrosion}</if>
+            <if test="adiabaticThickness != null  and adiabaticThickness != ''"> and adiabatic_thickness = #{adiabaticThickness}</if>
+            <if test="isDanger != null  and isDanger != ''"> and is_danger = #{isDanger}</if>
+            <if test="installDate != null "> and install_date = #{installDate}</if>
+            <if test="yearWarnDate != null "> and year_warn_date = #{yearWarnDate}</if>
+            <if test="yearNextWarnDate != null "> and year_next_warn_date = #{yearNextWarnDate}</if>
+            <if test="yearReportNo != null  and yearReportNo != ''"> and year_report_no = #{yearReportNo}</if>
+            <if test="isRepeat != null "> and is_repeat = #{isRepeat}</if>
+            <if test="type != null "> and type = #{type}</if>
+            <if test="position != null  and position != ''"> and position = #{position}</if>
+            <if test="deviceSize != null "> and device_size = #{deviceSize}</if>
+            <if test="leakageMode != null  and leakageMode != ''"> and leakage_mode = #{leakageMode}</if>
+            <if test="archives != null  and archives != ''"> and archives = #{archives}</if>
+            and d.del_flag = 0
+        </where>
+        <!-- 数据范围过滤 -->
+        ${params.dataScope}
+    </select>
+    
+    <select id="selectTIntactPumpById" parameterType="Long" resultMap="TIntactPumpResult">
+        <include refid="selectTIntactPumpVo"/>
+        where id = #{id}
+    </select>
+        
+    <insert id="insertTIntactPump" parameterType="TIntactPump">
+        <selectKey keyProperty="id" resultType="long" order="BEFORE">
+            SELECT seq_t_intact_pump.NEXTVAL as id FROM DUAL
+        </selectKey>
+        insert into t_intact_pump
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="id != null">id,</if>
+            <if test="plantCode != null">plant_code,</if>
+            <if test="unit != null">unit,</if>
+            <if test="devname != null">devname,</if>
+            <if test="devno != null">devno,</if>
+            <if test="submitdate != null">submitdate,</if>
+            <if test="status != null">status,</if>
+            <if test="delFlag != null">del_flag,</if>
+            <if test="createrCode != null">creater_code,</if>
+            <if test="createdate != null">createdate,</if>
+            <if test="updaterCode != null">updater_code,</if>
+            <if test="updatedate != null">updatedate,</if>
+            <if test="deptId != null">dept_id,</if>
+            <if test="remarks != null">remarks,</if>
+            <if test="approveStatus != null">approve_status,</if>
+            <if test="regno != null">regno,</if>
+            <if test="useno != null">useno,</if>
+            <if test="warnDate != null">warn_date,</if>
+            <if test="warnCycle != null">warn_cycle,</if>
+            <if test="nextWarnDate != null">next_warn_date,</if>
+            <if test="warnFlag != null">warn_flag,</if>
+            <if test="grade != null">grade,</if>
+            <if test="designer != null">designer,</if>
+            <if test="installer != null">installer,</if>
+            <if test="material != null">material,</if>
+            <if test="dia != null">dia,</if>
+            <if test="scheduleNo != null">schedule_no,</if>
+            <if test="length != null">length,</if>
+            <if test="starting != null">starting,</if>
+            <if test="ending != null">ending,</if>
+            <if test="desPressure != null">des_pressure,</if>
+            <if test="desTemp != null">des_temp,</if>
+            <if test="optPressure != null">opt_pressure,</if>
+            <if test="optTemp != null">opt_temp,</if>
+            <if test="medium != null">medium,</if>
+            <if test="checkConclusion != null">check_conclusion,</if>
+            <if test="checkUnit != null">check_unit,</if>
+            <if test="safeClass != null">safe_class,</if>
+            <if test="reportNo != null">report_no,</if>
+            <if test="approveTime != null">approve_time,</if>
+            <if test="changeTime != null">change_time,</if>
+            <if test="plantMaint != null">plant_maint,</if>
+            <if test="engineer != null">engineer,</if>
+            <if test="weldNumber != null">weld_number,</if>
+            <if test="layingMethod != null">laying_method,</if>
+            <if test="adiabatic != null">adiabatic,</if>
+            <if test="antiCorrosion != null">anti_corrosion,</if>
+            <if test="adiabaticThickness != null">adiabatic_thickness,</if>
+            <if test="isDanger != null">is_danger,</if>
+            <if test="installDate != null">install_date,</if>
+            <if test="yearWarnDate != null">year_warn_date,</if>
+            <if test="yearNextWarnDate != null">year_next_warn_date,</if>
+            <if test="yearReportNo != null">year_report_no,</if>
+            <if test="isRepeat != null">is_repeat,</if>
+            <if test="type != null">type,</if>
+            <if test="position != null">position,</if>
+            <if test="deviceSize != null">device_size,</if>
+            <if test="leakageMode != null">leakage_mode,</if>
+            <if test="archives != null">archives,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="id != null">#{id},</if>
+            <if test="plantCode != null">#{plantCode},</if>
+            <if test="unit != null">#{unit},</if>
+            <if test="devname != null">#{devname},</if>
+            <if test="devno != null">#{devno},</if>
+            <if test="submitdate != null">#{submitdate},</if>
+            <if test="status != null">#{status},</if>
+            <if test="delFlag != null">#{delFlag},</if>
+            <if test="createrCode != null">#{createrCode},</if>
+            <if test="createdate != null">#{createdate},</if>
+            <if test="updaterCode != null">#{updaterCode},</if>
+            <if test="updatedate != null">#{updatedate},</if>
+            <if test="deptId != null">#{deptId},</if>
+            <if test="remarks != null">#{remarks},</if>
+            <if test="approveStatus != null">#{approveStatus},</if>
+            <if test="regno != null">#{regno},</if>
+            <if test="useno != null">#{useno},</if>
+            <if test="warnDate != null">#{warnDate},</if>
+            <if test="warnCycle != null">#{warnCycle},</if>
+            <if test="nextWarnDate != null">#{nextWarnDate},</if>
+            <if test="warnFlag != null">#{warnFlag},</if>
+            <if test="grade != null">#{grade},</if>
+            <if test="designer != null">#{designer},</if>
+            <if test="installer != null">#{installer},</if>
+            <if test="material != null">#{material},</if>
+            <if test="dia != null">#{dia},</if>
+            <if test="scheduleNo != null">#{scheduleNo},</if>
+            <if test="length != null">#{length},</if>
+            <if test="starting != null">#{starting},</if>
+            <if test="ending != null">#{ending},</if>
+            <if test="desPressure != null">#{desPressure},</if>
+            <if test="desTemp != null">#{desTemp},</if>
+            <if test="optPressure != null">#{optPressure},</if>
+            <if test="optTemp != null">#{optTemp},</if>
+            <if test="medium != null">#{medium},</if>
+            <if test="checkConclusion != null">#{checkConclusion},</if>
+            <if test="checkUnit != null">#{checkUnit},</if>
+            <if test="safeClass != null">#{safeClass},</if>
+            <if test="reportNo != null">#{reportNo},</if>
+            <if test="approveTime != null">#{approveTime},</if>
+            <if test="changeTime != null">#{changeTime},</if>
+            <if test="plantMaint != null">#{plantMaint},</if>
+            <if test="engineer != null">#{engineer},</if>
+            <if test="weldNumber != null">#{weldNumber},</if>
+            <if test="layingMethod != null">#{layingMethod},</if>
+            <if test="adiabatic != null">#{adiabatic},</if>
+            <if test="antiCorrosion != null">#{antiCorrosion},</if>
+            <if test="adiabaticThickness != null">#{adiabaticThickness},</if>
+            <if test="isDanger != null">#{isDanger},</if>
+            <if test="installDate != null">#{installDate},</if>
+            <if test="yearWarnDate != null">#{yearWarnDate},</if>
+            <if test="yearNextWarnDate != null">#{yearNextWarnDate},</if>
+            <if test="yearReportNo != null">#{yearReportNo},</if>
+            <if test="isRepeat != null">#{isRepeat},</if>
+            <if test="type != null">#{type},</if>
+            <if test="position != null">#{position},</if>
+            <if test="deviceSize != null">#{deviceSize},</if>
+            <if test="leakageMode != null">#{leakageMode},</if>
+            <if test="archives != null">#{archives},</if>
+         </trim>
+    </insert>
+
+    <update id="updateTIntactPump" parameterType="TIntactPump">
+        update t_intact_pump
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="plantCode != null">plant_code = #{plantCode},</if>
+            <if test="unit != null">unit = #{unit},</if>
+            <if test="devname != null">devname = #{devname},</if>
+            <if test="devno != null">devno = #{devno},</if>
+            <if test="submitdate != null">submitdate = #{submitdate},</if>
+            <if test="status != null">status = #{status},</if>
+            <if test="delFlag != null">del_flag = #{delFlag},</if>
+            <if test="createrCode != null">creater_code = #{createrCode},</if>
+            <if test="createdate != null">createdate = #{createdate},</if>
+            <if test="updaterCode != null">updater_code = #{updaterCode},</if>
+            <if test="updatedate != null">updatedate = #{updatedate},</if>
+            <if test="deptId != null">dept_id = #{deptId},</if>
+            <if test="remarks != null">remarks = #{remarks},</if>
+            <if test="approveStatus != null">approve_status = #{approveStatus},</if>
+            <if test="regno != null">regno = #{regno},</if>
+            <if test="useno != null">useno = #{useno},</if>
+            <if test="warnDate != null">warn_date = #{warnDate},</if>
+            <if test="warnCycle != null">warn_cycle = #{warnCycle},</if>
+            <if test="nextWarnDate != null">next_warn_date = #{nextWarnDate},</if>
+            <if test="warnFlag != null">warn_flag = #{warnFlag},</if>
+            <if test="grade != null">grade = #{grade},</if>
+            <if test="designer != null">designer = #{designer},</if>
+            <if test="installer != null">installer = #{installer},</if>
+            <if test="material != null">material = #{material},</if>
+            <if test="dia != null">dia = #{dia},</if>
+            <if test="scheduleNo != null">schedule_no = #{scheduleNo},</if>
+            <if test="length != null">length = #{length},</if>
+            <if test="starting != null">starting = #{starting},</if>
+            <if test="ending != null">ending = #{ending},</if>
+            <if test="desPressure != null">des_pressure = #{desPressure},</if>
+            <if test="desTemp != null">des_temp = #{desTemp},</if>
+            <if test="optPressure != null">opt_pressure = #{optPressure},</if>
+            <if test="optTemp != null">opt_temp = #{optTemp},</if>
+            <if test="medium != null">medium = #{medium},</if>
+            <if test="checkConclusion != null">check_conclusion = #{checkConclusion},</if>
+            <if test="checkUnit != null">check_unit = #{checkUnit},</if>
+            <if test="safeClass != null">safe_class = #{safeClass},</if>
+            <if test="reportNo != null">report_no = #{reportNo},</if>
+            <if test="approveTime != null">approve_time = #{approveTime},</if>
+            <if test="changeTime != null">change_time = #{changeTime},</if>
+            <if test="plantMaint != null">plant_maint = #{plantMaint},</if>
+            <if test="engineer != null">engineer = #{engineer},</if>
+            <if test="weldNumber != null">weld_number = #{weldNumber},</if>
+            <if test="layingMethod != null">laying_method = #{layingMethod},</if>
+            <if test="adiabatic != null">adiabatic = #{adiabatic},</if>
+            <if test="antiCorrosion != null">anti_corrosion = #{antiCorrosion},</if>
+            <if test="adiabaticThickness != null">adiabatic_thickness = #{adiabaticThickness},</if>
+            <if test="isDanger != null">is_danger = #{isDanger},</if>
+            <if test="installDate != null">install_date = #{installDate},</if>
+            <if test="yearWarnDate != null">year_warn_date = #{yearWarnDate},</if>
+            <if test="yearNextWarnDate != null">year_next_warn_date = #{yearNextWarnDate},</if>
+            <if test="yearReportNo != null">year_report_no = #{yearReportNo},</if>
+            <if test="isRepeat != null">is_repeat = #{isRepeat},</if>
+            <if test="type != null">type = #{type},</if>
+            <if test="position != null">position = #{position},</if>
+            <if test="deviceSize != null">device_size = #{deviceSize},</if>
+            <if test="leakageMode != null">leakage_mode = #{leakageMode},</if>
+            <if test="archives != null">archives = #{archives},</if>
+        </trim>
+        where id = #{id}
+    </update>
+
+    <update id="deleteTIntactPumpById" parameterType="Long">
+        update t_intact_pump set del_flag = 2 where id = #{id}
+    </update>
+
+    <update id="deleteTIntactPumpByIds" parameterType="String">
+        update t_intact_pump set del_flag = 2 where id in
+        <foreach item="id" collection="array" open="(" separator="," close=")">
+            #{id}
+        </foreach>
+    </update>
+    
+</mapper>

+ 53 - 0
ui/src/api/intact/gj.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询设备完整性管件台账列表
+export function listGj(query) {
+  return request({
+    url: '/intact/gj/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询设备完整性管件台账详细
+export function getGj(id) {
+  return request({
+    url: '/intact/gj/' + id,
+    method: 'get'
+  })
+}
+
+// 新增设备完整性管件台账
+export function addGj(data) {
+  return request({
+    url: '/intact/gj',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改设备完整性管件台账
+export function updateGj(data) {
+  return request({
+    url: '/intact/gj',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除设备完整性管件台账
+export function delGj(id) {
+  return request({
+    url: '/intact/gj/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出设备完整性管件台账
+export function exportGj(query) {
+  return request({
+    url: '/intact/gj/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
ui/src/api/intact/pump.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询设备完整性泵台账列表
+export function listPump(query) {
+  return request({
+    url: '/intact/pump/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询设备完整性泵台账详细
+export function getPump(id) {
+  return request({
+    url: '/intact/pump/' + id,
+    method: 'get'
+  })
+}
+
+// 新增设备完整性泵台账
+export function addPump(data) {
+  return request({
+    url: '/intact/pump',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改设备完整性泵台账
+export function updatePump(data) {
+  return request({
+    url: '/intact/pump',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除设备完整性泵台账
+export function delPump(id) {
+  return request({
+    url: '/intact/pump/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出设备完整性泵台账
+export function exportPump(query) {
+  return request({
+    url: '/intact/pump/export',
+    method: 'get',
+    params: query
+  })
+}

+ 1464 - 0
ui/src/views/intact/gj/index.vue

@@ -0,0 +1,1464 @@
+<template>
+  <div class="app-container">
+    <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
+      <el-form-item label="装置名称" prop="plantCode">
+        <el-input
+          v-model="queryParams.plantCode"
+          placeholder="请输入装置名称"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="单元" prop="unit">
+        <el-input
+          v-model="queryParams.unit"
+          placeholder="请输入单元"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="设备名称" prop="devname">
+        <el-input
+          v-model="queryParams.devname"
+          placeholder="请输入设备名称"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="设备位号" prop="devno">
+        <el-input
+          v-model="queryParams.devno"
+          placeholder="请输入设备位号"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="投用年月" prop="submitdate">
+        <el-date-picker clearable size="small" style="width: 200px"
+          v-model="queryParams.submitdate"
+          type="date"
+          value-format="yyyy-MM-dd"
+          placeholder="选择投用年月">
+        </el-date-picker>
+      </el-form-item>
+      <el-form-item label="状态" prop="status">
+        <el-select v-model="queryParams.status" placeholder="请选择状态" clearable size="small">
+          <el-option
+            v-for="dict in statusOptions"
+            :key="dict.dictValue"
+            :label="dict.dictLabel"
+            :value="dict.dictValue"
+          />
+        </el-select>
+      </el-form-item>
+      <el-form-item label="创建人" prop="createrCode">
+        <el-input
+          v-model="queryParams.createrCode"
+          placeholder="请输入创建人"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="创建时间" prop="createdate">
+        <el-date-picker clearable size="small" style="width: 200px"
+          v-model="queryParams.createdate"
+          type="date"
+          value-format="yyyy-MM-dd"
+          placeholder="选择创建时间">
+        </el-date-picker>
+      </el-form-item>
+      <el-form-item label="修改人" prop="updaterCode">
+        <el-input
+          v-model="queryParams.updaterCode"
+          placeholder="请输入修改人"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="修改时间" prop="updatedate">
+        <el-date-picker clearable size="small" style="width: 200px"
+          v-model="queryParams.updatedate"
+          type="date"
+          value-format="yyyy-MM-dd"
+          placeholder="选择修改时间">
+        </el-date-picker>
+      </el-form-item>
+      <el-form-item label="部门编号" prop="deptId">
+        <el-input
+          v-model="queryParams.deptId"
+          placeholder="请输入部门编号"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="备注" prop="remarks">
+        <el-input
+          v-model="queryParams.remarks"
+          placeholder="请输入备注"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="审核状态" prop="approveStatus">
+        <el-select v-model="queryParams.approveStatus" placeholder="请选择审核状态" clearable size="small">
+          <el-option
+            v-for="dict in approveStatusOptions"
+            :key="dict.dictValue"
+            :label="dict.dictLabel"
+            :value="dict.dictValue"
+          />
+        </el-select>
+      </el-form-item>
+      <el-form-item label="注册代码" prop="regno">
+        <el-input
+          v-model="queryParams.regno"
+          placeholder="请输入注册代码"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="使用证编号" prop="useno">
+        <el-input
+          v-model="queryParams.useno"
+          placeholder="请输入使用证编号"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="上次年检时间" prop="warnDate">
+        <el-date-picker clearable size="small" style="width: 200px"
+          v-model="queryParams.warnDate"
+          type="date"
+          value-format="yyyy-MM-dd"
+          placeholder="选择上次年检时间">
+        </el-date-picker>
+      </el-form-item>
+      <el-form-item label="检测周期" prop="warnCycle">
+        <el-input
+          v-model="queryParams.warnCycle"
+          placeholder="请输入检测周期"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="下次年检时间" prop="nextWarnDate">
+        <el-date-picker clearable size="small" style="width: 200px"
+          v-model="queryParams.nextWarnDate"
+          type="date"
+          value-format="yyyy-MM-dd"
+          placeholder="选择下次年检时间">
+        </el-date-picker>
+      </el-form-item>
+      <el-form-item label="预警标识" prop="warnFlag">
+        <el-select v-model="queryParams.warnFlag" placeholder="请选择预警标识" clearable size="small">
+          <el-option
+            v-for="dict in warnFlagOptions"
+            :key="dict.dictValue"
+            :label="dict.dictLabel"
+            :value="dict.dictValue"
+          />
+        </el-select>
+      </el-form-item>
+      <el-form-item label="管道级别" prop="grade">
+        <el-input
+          v-model="queryParams.grade"
+          placeholder="请输入管道级别"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="设计单位" prop="designer">
+        <el-input
+          v-model="queryParams.designer"
+          placeholder="请输入设计单位"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="安装单位" prop="installer">
+        <el-input
+          v-model="queryParams.installer"
+          placeholder="请输入安装单位"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="材质" prop="material">
+        <el-input
+          v-model="queryParams.material"
+          placeholder="请输入材质"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="直径" prop="dia">
+        <el-input
+          v-model="queryParams.dia"
+          placeholder="请输入直径"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="厚度等级" prop="scheduleNo">
+        <el-input
+          v-model="queryParams.scheduleNo"
+          placeholder="请输入厚度等级"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="长度" prop="length">
+        <el-input
+          v-model="queryParams.length"
+          placeholder="请输入长度"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="起点" prop="starting">
+        <el-input
+          v-model="queryParams.starting"
+          placeholder="请输入起点"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="终点" prop="ending">
+        <el-input
+          v-model="queryParams.ending"
+          placeholder="请输入终点"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="设计压力" prop="desPressure">
+        <el-input
+          v-model="queryParams.desPressure"
+          placeholder="请输入设计压力"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="设计温度" prop="desTemp">
+        <el-input
+          v-model="queryParams.desTemp"
+          placeholder="请输入设计温度"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="工作压力" prop="optPressure">
+        <el-input
+          v-model="queryParams.optPressure"
+          placeholder="请输入工作压力"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="工作温度" prop="optTemp">
+        <el-input
+          v-model="queryParams.optTemp"
+          placeholder="请输入工作温度"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="介质" prop="medium">
+        <el-input
+          v-model="queryParams.medium"
+          placeholder="请输入介质"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="年度检查结论" prop="checkConclusion">
+        <el-input
+          v-model="queryParams.checkConclusion"
+          placeholder="请输入年度检查结论"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="检验单位" prop="checkUnit">
+        <el-input
+          v-model="queryParams.checkUnit"
+          placeholder="请输入检验单位"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="安全状况等级" prop="safeClass">
+        <el-input
+          v-model="queryParams.safeClass"
+          placeholder="请输入安全状况等级"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="报告编号" prop="reportNo">
+        <el-input
+          v-model="queryParams.reportNo"
+          placeholder="请输入报告编号"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="最新申请时间" prop="approveTime">
+        <el-date-picker clearable size="small" style="width: 200px"
+          v-model="queryParams.approveTime"
+          type="date"
+          value-format="yyyy-MM-dd"
+          placeholder="选择最新申请时间">
+        </el-date-picker>
+      </el-form-item>
+      <el-form-item label="状态修改时间" prop="changeTime">
+        <el-date-picker clearable size="small" style="width: 200px"
+          v-model="queryParams.changeTime"
+          type="date"
+          value-format="yyyy-MM-dd"
+          placeholder="选择状态修改时间">
+        </el-date-picker>
+      </el-form-item>
+      <el-form-item label="PM维修组" prop="plantMaint">
+        <el-input
+          v-model="queryParams.plantMaint"
+          placeholder="请输入PM维修组"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="装置维修工程师" prop="engineer">
+        <el-input
+          v-model="queryParams.engineer"
+          placeholder="请输入装置维修工程师"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="焊口数量" prop="weldNumber">
+        <el-input
+          v-model="queryParams.weldNumber"
+          placeholder="请输入焊口数量"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="敷设方式" prop="layingMethod">
+        <el-input
+          v-model="queryParams.layingMethod"
+          placeholder="请输入敷设方式"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="绝热层代码" prop="adiabatic">
+        <el-input
+          v-model="queryParams.adiabatic"
+          placeholder="请输入绝热层代码"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="防腐层代码" prop="antiCorrosion">
+        <el-input
+          v-model="queryParams.antiCorrosion"
+          placeholder="请输入防腐层代码"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="绝热层厚度" prop="adiabaticThickness">
+        <el-input
+          v-model="queryParams.adiabaticThickness"
+          placeholder="请输入绝热层厚度"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="是否涉危化品" prop="isDanger">
+        <el-input
+          v-model="queryParams.isDanger"
+          placeholder="请输入是否涉危化品"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="安装日期" prop="installDate">
+        <el-date-picker clearable size="small" style="width: 200px"
+          v-model="queryParams.installDate"
+          type="date"
+          value-format="yyyy-MM-dd"
+          placeholder="选择安装日期">
+        </el-date-picker>
+      </el-form-item>
+      <el-form-item label="年度检查日期" prop="yearWarnDate">
+        <el-date-picker clearable size="small" style="width: 200px"
+          v-model="queryParams.yearWarnDate"
+          type="date"
+          value-format="yyyy-MM-dd"
+          placeholder="选择年度检查日期">
+        </el-date-picker>
+      </el-form-item>
+      <el-form-item label="年度检查日期" prop="yearNextWarnDate">
+        <el-date-picker clearable size="small" style="width: 200px"
+          v-model="queryParams.yearNextWarnDate"
+          type="date"
+          value-format="yyyy-MM-dd"
+          placeholder="选择年度检查日期">
+        </el-date-picker>
+      </el-form-item>
+      <el-form-item label="年度检查报告编号" prop="yearReportNo">
+        <el-input
+          v-model="queryParams.yearReportNo"
+          placeholder="请输入年度检查报告编号"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="管道编号是否变色" prop="isRepeat">
+        <el-select v-model="queryParams.isRepeat" placeholder="请选择管道编号是否变色" clearable size="small">
+          <el-option
+            v-for="dict in isRepeatOptions"
+            :key="dict.dictValue"
+            :label="dict.dictLabel"
+            :value="dict.dictValue"
+          />
+        </el-select>
+      </el-form-item>
+      <el-form-item label="种类" prop="type">
+        <el-select v-model="queryParams.type" placeholder="请选择种类" clearable size="small">
+          <el-option
+            v-for="dict in typeOptions"
+            :key="dict.dictValue"
+            :label="dict.dictLabel"
+            :value="dict.dictValue"
+          />
+        </el-select>
+      </el-form-item>
+      <el-form-item label="安装位置" prop="position">
+        <el-input
+          v-model="queryParams.position"
+          placeholder="请输入安装位置"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="尺寸" prop="deviceSize">
+        <el-input
+          v-model="queryParams.deviceSize"
+          placeholder="请输入尺寸"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="泄空方式" prop="leakageMode">
+        <el-input
+          v-model="queryParams.leakageMode"
+          placeholder="请输入泄空方式"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="档案" prop="archives">
+        <el-input
+          v-model="queryParams.archives"
+          placeholder="请输入档案"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item>
+        <el-button type="cyan" 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"
+          icon="el-icon-plus"
+          size="mini"
+          @click="handleAdd"
+          v-hasPermi="['intact:gj:add']"
+        >新增</el-button>
+      </el-col>
+      <el-col :span="1.5">
+        <el-button
+          type="success"
+          icon="el-icon-edit"
+          size="mini"
+          :disabled="single"
+          @click="handleUpdate"
+          v-hasPermi="['intact:gj:edit']"
+        >修改</el-button>
+      </el-col>
+      <el-col :span="1.5">
+        <el-button
+          type="danger"
+          icon="el-icon-delete"
+          size="mini"
+          :disabled="multiple"
+          @click="handleDelete"
+          v-hasPermi="['intact:gj:remove']"
+        >删除</el-button>
+      </el-col>
+        <el-col :span="1.5">
+            <el-button
+                    type="info"
+                    icon="el-icon-upload2"
+                    size="mini"
+                    @click="handleImport"
+                    v-hasPermi="['intact:gj:edit']"
+            >导入</el-button>
+        </el-col>
+      <el-col :span="1.5">
+        <el-button
+          type="warning"
+          icon="el-icon-download"
+          size="mini"
+          @click="handleExport"
+          v-hasPermi="['intact:gj:export']"
+        >导出</el-button>
+      </el-col>
+	  <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
+    </el-row>
+
+    <el-table v-loading="loading" :data="gjList" @selection-change="handleSelectionChange" :height="clientHeight" border>
+      <el-table-column type="selection" width="55" align="center" />
+      <el-table-column label="唯一标识ID" align="center" prop="id" :show-overflow-tooltip="true"/>
+      <el-table-column label="装置名称" align="center" prop="plantCode" :show-overflow-tooltip="true"/>
+      <el-table-column label="单元" align="center" prop="unit" :show-overflow-tooltip="true"/>
+      <el-table-column label="设备名称" align="center" prop="devname" :show-overflow-tooltip="true"/>
+      <el-table-column label="设备位号" align="center" prop="devno" :show-overflow-tooltip="true"/>
+          <el-table-column label="档案" align="center" prop="archives" :show-overflow-tooltip="true" >
+       <template slot-scope="scope">  
+      
+         <el-button icon="el-icon-folder" style="color:#6e96fa;"  @click="handleDoc(scope.row)"  ></el-button>
+       </template>
+      </el-table-column>
+      <el-table-column label="投用年月" align="center" prop="submitdate" width="100">
+        <template slot-scope="scope">
+          <span>{{ parseTime(scope.row.submitdate, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="状态" align="center" prop="status" :formatter="statusFormat" />
+      <el-table-column label="创建人" align="center" prop="createrCode" :show-overflow-tooltip="true"/>
+      <el-table-column label="创建时间" align="center" prop="createdate" width="100">
+        <template slot-scope="scope">
+          <span>{{ parseTime(scope.row.createdate, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="修改人" align="center" prop="updaterCode" :show-overflow-tooltip="true"/>
+      <el-table-column label="修改时间" align="center" prop="updatedate" width="100">
+        <template slot-scope="scope">
+          <span>{{ parseTime(scope.row.updatedate, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="部门编号" align="center" prop="deptId" :show-overflow-tooltip="true"/>
+      <el-table-column label="备注" align="center" prop="remarks" :show-overflow-tooltip="true"/>
+      <el-table-column label="审核状态" align="center" prop="approveStatus" :formatter="approveStatusFormat" />
+      <el-table-column label="注册代码" align="center" prop="regno" :show-overflow-tooltip="true"/>
+      <el-table-column label="使用证编号" align="center" prop="useno" :show-overflow-tooltip="true"/>
+      <el-table-column label="上次年检时间" align="center" prop="warnDate" width="100">
+        <template slot-scope="scope">
+          <span>{{ parseTime(scope.row.warnDate, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="检测周期" align="center" prop="warnCycle" :show-overflow-tooltip="true"/>
+      <el-table-column label="下次年检时间" align="center" prop="nextWarnDate" width="100">
+        <template slot-scope="scope">
+          <span>{{ parseTime(scope.row.nextWarnDate, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="预警标识" align="center" prop="warnFlag" :formatter="warnFlagFormat" />
+      <el-table-column label="管道级别" align="center" prop="grade" :show-overflow-tooltip="true"/>
+      <el-table-column label="设计单位" align="center" prop="designer" :show-overflow-tooltip="true"/>
+      <el-table-column label="安装单位" align="center" prop="installer" :show-overflow-tooltip="true"/>
+      <el-table-column label="材质" align="center" prop="material" :show-overflow-tooltip="true"/>
+      <el-table-column label="直径" align="center" prop="dia" :show-overflow-tooltip="true"/>
+      <el-table-column label="厚度等级" align="center" prop="scheduleNo" :show-overflow-tooltip="true"/>
+      <el-table-column label="长度" align="center" prop="length" :show-overflow-tooltip="true"/>
+      <el-table-column label="起点" align="center" prop="starting" :show-overflow-tooltip="true"/>
+      <el-table-column label="终点" align="center" prop="ending" :show-overflow-tooltip="true"/>
+      <el-table-column label="设计压力" align="center" prop="desPressure" :show-overflow-tooltip="true"/>
+      <el-table-column label="设计温度" align="center" prop="desTemp" :show-overflow-tooltip="true"/>
+      <el-table-column label="工作压力" align="center" prop="optPressure" :show-overflow-tooltip="true"/>
+      <el-table-column label="工作温度" align="center" prop="optTemp" :show-overflow-tooltip="true"/>
+      <el-table-column label="介质" align="center" prop="medium" :show-overflow-tooltip="true"/>
+      <el-table-column label="年度检查结论" align="center" prop="checkConclusion" :show-overflow-tooltip="true"/>
+      <el-table-column label="检验单位" align="center" prop="checkUnit" :show-overflow-tooltip="true"/>
+      <el-table-column label="安全状况等级" align="center" prop="safeClass" :show-overflow-tooltip="true"/>
+      <el-table-column label="报告编号" align="center" prop="reportNo" :show-overflow-tooltip="true"/>
+      <el-table-column label="最新申请时间" align="center" prop="approveTime" width="100">
+        <template slot-scope="scope">
+          <span>{{ parseTime(scope.row.approveTime, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="状态修改时间" align="center" prop="changeTime" width="100">
+        <template slot-scope="scope">
+          <span>{{ parseTime(scope.row.changeTime, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="PM维修组" align="center" prop="plantMaint" :show-overflow-tooltip="true"/>
+      <el-table-column label="装置维修工程师" align="center" prop="engineer" :show-overflow-tooltip="true"/>
+      <el-table-column label="焊口数量" align="center" prop="weldNumber" :show-overflow-tooltip="true"/>
+      <el-table-column label="敷设方式" align="center" prop="layingMethod" :show-overflow-tooltip="true"/>
+      <el-table-column label="绝热层代码" align="center" prop="adiabatic" :show-overflow-tooltip="true"/>
+      <el-table-column label="防腐层代码" align="center" prop="antiCorrosion" :show-overflow-tooltip="true"/>
+      <el-table-column label="绝热层厚度" align="center" prop="adiabaticThickness" :show-overflow-tooltip="true"/>
+      <el-table-column label="是否涉危化品" align="center" prop="isDanger" :show-overflow-tooltip="true"/>
+      <el-table-column label="安装日期" align="center" prop="installDate" width="100">
+        <template slot-scope="scope">
+          <span>{{ parseTime(scope.row.installDate, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="年度检查日期" align="center" prop="yearWarnDate" width="100">
+        <template slot-scope="scope">
+          <span>{{ parseTime(scope.row.yearWarnDate, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="年度检查日期" align="center" prop="yearNextWarnDate" width="100">
+        <template slot-scope="scope">
+          <span>{{ parseTime(scope.row.yearNextWarnDate, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="年度检查报告编号" align="center" prop="yearReportNo" :show-overflow-tooltip="true"/>
+      <el-table-column label="管道编号是否变色" align="center" prop="isRepeat" :formatter="isRepeatFormat" />
+      <el-table-column label="种类" align="center" prop="type" :formatter="typeFormat" />
+      <el-table-column label="安装位置" align="center" prop="position" :show-overflow-tooltip="true"/>
+      <el-table-column label="尺寸" align="center" prop="deviceSize" :show-overflow-tooltip="true"/>
+      <el-table-column label="泄空方式" align="center" prop="leakageMode" :show-overflow-tooltip="true"/>、
+      <el-table-column label="操作" align="center" fixed="right" width="120" 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="['intact:gj:edit']"
+          >修改</el-button>
+          <el-button
+            size="mini"
+            type="text"
+            icon="el-icon-delete"
+            @click="handleDelete(scope.row)"
+            v-hasPermi="['intact:gj: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="装置名称" prop="plantCode">
+          <el-input v-model="form.plantCode" placeholder="请输入装置名称" />
+        </el-form-item>
+        <el-form-item label="单元" prop="unit">
+          <el-input v-model="form.unit" placeholder="请输入单元" />
+        </el-form-item>
+        <el-form-item label="设备名称" prop="devname">
+          <el-input v-model="form.devname" placeholder="请输入设备名称" />
+        </el-form-item>
+        <el-form-item label="设备位号" prop="devno">
+          <el-input v-model="form.devno" placeholder="请输入设备位号" />
+        </el-form-item>
+        <el-form-item label="投用年月" prop="submitdate">
+          <el-date-picker clearable size="small" style="width: 200px"
+            v-model="form.submitdate"
+            type="date"
+            value-format="yyyy-MM-dd"
+            placeholder="选择投用年月">
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item label="状态" prop="status">
+          <el-select v-model="form.status" placeholder="请选择状态">
+            <el-option
+              v-for="dict in statusOptions"
+              :key="dict.dictValue"
+              :label="dict.dictLabel"
+              :value="parseInt(dict.dictValue)"
+            ></el-option>
+          </el-select>
+        </el-form-item>
+        <el-form-item label="状态 1 :正常 ;0:删除" prop="delFlag">
+          <el-input v-model="form.delFlag" placeholder="请输入状态 1 :正常 ;0:删除" />
+        </el-form-item>
+        <el-form-item label="创建人" prop="createrCode">
+          <el-input v-model="form.createrCode" placeholder="请输入创建人" />
+        </el-form-item>
+        <el-form-item label="创建时间" prop="createdate">
+          <el-date-picker clearable size="small" style="width: 200px"
+            v-model="form.createdate"
+            type="date"
+            value-format="yyyy-MM-dd"
+            placeholder="选择创建时间">
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item label="修改人" prop="updaterCode">
+          <el-input v-model="form.updaterCode" placeholder="请输入修改人" />
+        </el-form-item>
+        <el-form-item label="修改时间" prop="updatedate">
+          <el-date-picker clearable size="small" style="width: 200px"
+            v-model="form.updatedate"
+            type="date"
+            value-format="yyyy-MM-dd"
+            placeholder="选择修改时间">
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item label="部门编号" prop="deptId">
+          <el-input v-model="form.deptId" placeholder="请输入部门编号" />
+        </el-form-item>
+        <el-form-item label="备注" prop="remarks">
+          <el-input v-model="form.remarks" placeholder="请输入备注" />
+        </el-form-item>
+        <el-form-item label="审核状态" prop="approveStatus">
+          <el-select v-model="form.approveStatus" placeholder="请选择审核状态">
+            <el-option
+              v-for="dict in approveStatusOptions"
+              :key="dict.dictValue"
+              :label="dict.dictLabel"
+              :value="parseInt(dict.dictValue)"
+            ></el-option>
+          </el-select>
+        </el-form-item>
+        <el-form-item label="注册代码" prop="regno">
+          <el-input v-model="form.regno" placeholder="请输入注册代码" />
+        </el-form-item>
+        <el-form-item label="使用证编号" prop="useno">
+          <el-input v-model="form.useno" placeholder="请输入使用证编号" />
+        </el-form-item>
+        <el-form-item label="上次年检时间" prop="warnDate">
+          <el-date-picker clearable size="small" style="width: 200px"
+            v-model="form.warnDate"
+            type="date"
+            value-format="yyyy-MM-dd"
+            placeholder="选择上次年检时间">
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item label="检测周期" prop="warnCycle">
+          <el-input v-model="form.warnCycle" placeholder="请输入检测周期" />
+        </el-form-item>
+        <el-form-item label="下次年检时间" prop="nextWarnDate">
+          <el-date-picker clearable size="small" style="width: 200px"
+            v-model="form.nextWarnDate"
+            type="date"
+            value-format="yyyy-MM-dd"
+            placeholder="选择下次年检时间">
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item label="预警标识" prop="warnFlag">
+          <el-select v-model="form.warnFlag" placeholder="请选择预警标识">
+            <el-option
+              v-for="dict in warnFlagOptions"
+              :key="dict.dictValue"
+              :label="dict.dictLabel"
+              :value="parseInt(dict.dictValue)"
+            ></el-option>
+          </el-select>
+        </el-form-item>
+        <el-form-item label="管道级别" prop="grade">
+          <el-input v-model="form.grade" placeholder="请输入管道级别" />
+        </el-form-item>
+        <el-form-item label="设计单位" prop="designer">
+          <el-input v-model="form.designer" placeholder="请输入设计单位" />
+        </el-form-item>
+        <el-form-item label="安装单位" prop="installer">
+          <el-input v-model="form.installer" placeholder="请输入安装单位" />
+        </el-form-item>
+        <el-form-item label="材质" prop="material">
+          <el-input v-model="form.material" placeholder="请输入材质" />
+        </el-form-item>
+        <el-form-item label="直径" prop="dia">
+          <el-input v-model="form.dia" placeholder="请输入直径" />
+        </el-form-item>
+        <el-form-item label="厚度等级" prop="scheduleNo">
+          <el-input v-model="form.scheduleNo" placeholder="请输入厚度等级" />
+        </el-form-item>
+        <el-form-item label="长度" prop="length">
+          <el-input v-model="form.length" placeholder="请输入长度" />
+        </el-form-item>
+        <el-form-item label="起点" prop="starting">
+          <el-input v-model="form.starting" placeholder="请输入起点" />
+        </el-form-item>
+        <el-form-item label="终点" prop="ending">
+          <el-input v-model="form.ending" placeholder="请输入终点" />
+        </el-form-item>
+        <el-form-item label="设计压力" prop="desPressure">
+          <el-input v-model="form.desPressure" placeholder="请输入设计压力" />
+        </el-form-item>
+        <el-form-item label="设计温度" prop="desTemp">
+          <el-input v-model="form.desTemp" placeholder="请输入设计温度" />
+        </el-form-item>
+        <el-form-item label="工作压力" prop="optPressure">
+          <el-input v-model="form.optPressure" placeholder="请输入工作压力" />
+        </el-form-item>
+        <el-form-item label="工作温度" prop="optTemp">
+          <el-input v-model="form.optTemp" placeholder="请输入工作温度" />
+        </el-form-item>
+        <el-form-item label="介质" prop="medium">
+          <el-input v-model="form.medium" placeholder="请输入介质" />
+        </el-form-item>
+        <el-form-item label="年度检查结论" prop="checkConclusion">
+          <el-input v-model="form.checkConclusion" placeholder="请输入年度检查结论" />
+        </el-form-item>
+        <el-form-item label="检验单位" prop="checkUnit">
+          <el-input v-model="form.checkUnit" placeholder="请输入检验单位" />
+        </el-form-item>
+        <el-form-item label="安全状况等级" prop="safeClass">
+          <el-input v-model="form.safeClass" placeholder="请输入安全状况等级" />
+        </el-form-item>
+        <el-form-item label="报告编号" prop="reportNo">
+          <el-input v-model="form.reportNo" placeholder="请输入报告编号" />
+        </el-form-item>
+        <el-form-item label="最新申请时间" prop="approveTime">
+          <el-date-picker clearable size="small" style="width: 200px"
+            v-model="form.approveTime"
+            type="date"
+            value-format="yyyy-MM-dd"
+            placeholder="选择最新申请时间">
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item label="状态修改时间" prop="changeTime">
+          <el-date-picker clearable size="small" style="width: 200px"
+            v-model="form.changeTime"
+            type="date"
+            value-format="yyyy-MM-dd"
+            placeholder="选择状态修改时间">
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item label="PM维修组" prop="plantMaint">
+          <el-input v-model="form.plantMaint" placeholder="请输入PM维修组" />
+        </el-form-item>
+        <el-form-item label="装置维修工程师" prop="engineer">
+          <el-input v-model="form.engineer" placeholder="请输入装置维修工程师" />
+        </el-form-item>
+        <el-form-item label="焊口数量" prop="weldNumber">
+          <el-input v-model="form.weldNumber" placeholder="请输入焊口数量" />
+        </el-form-item>
+        <el-form-item label="敷设方式" prop="layingMethod">
+          <el-input v-model="form.layingMethod" placeholder="请输入敷设方式" />
+        </el-form-item>
+        <el-form-item label="绝热层代码" prop="adiabatic">
+          <el-input v-model="form.adiabatic" placeholder="请输入绝热层代码" />
+        </el-form-item>
+        <el-form-item label="防腐层代码" prop="antiCorrosion">
+          <el-input v-model="form.antiCorrosion" placeholder="请输入防腐层代码" />
+        </el-form-item>
+        <el-form-item label="绝热层厚度" prop="adiabaticThickness">
+          <el-input v-model="form.adiabaticThickness" placeholder="请输入绝热层厚度" />
+        </el-form-item>
+        <el-form-item label="是否涉危化品" prop="isDanger">
+          <el-input v-model="form.isDanger" placeholder="请输入是否涉危化品" />
+        </el-form-item>
+        <el-form-item label="安装日期" prop="installDate">
+          <el-date-picker clearable size="small" style="width: 200px"
+            v-model="form.installDate"
+            type="date"
+            value-format="yyyy-MM-dd"
+            placeholder="选择安装日期">
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item label="年度检查日期" prop="yearWarnDate">
+          <el-date-picker clearable size="small" style="width: 200px"
+            v-model="form.yearWarnDate"
+            type="date"
+            value-format="yyyy-MM-dd"
+            placeholder="选择年度检查日期">
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item label="年度检查日期" prop="yearNextWarnDate">
+          <el-date-picker clearable size="small" style="width: 200px"
+            v-model="form.yearNextWarnDate"
+            type="date"
+            value-format="yyyy-MM-dd"
+            placeholder="选择年度检查日期">
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item label="年度检查报告编号" prop="yearReportNo">
+          <el-input v-model="form.yearReportNo" placeholder="请输入年度检查报告编号" />
+        </el-form-item>
+        <el-form-item label="管道编号是否变色" prop="isRepeat">
+          <el-select v-model="form.isRepeat" placeholder="请选择管道编号是否变色">
+            <el-option
+              v-for="dict in isRepeatOptions"
+              :key="dict.dictValue"
+              :label="dict.dictLabel"
+              :value="parseInt(dict.dictValue)"
+            ></el-option>
+          </el-select>
+        </el-form-item>
+        <el-form-item label="种类" prop="type">
+          <el-select v-model="form.type" placeholder="请选择种类">
+            <el-option
+              v-for="dict in typeOptions"
+              :key="dict.dictValue"
+              :label="dict.dictLabel"
+              :value="parseInt(dict.dictValue)"
+            ></el-option>
+          </el-select>
+        </el-form-item>
+        <el-form-item label="安装位置" prop="position">
+          <el-input v-model="form.position" placeholder="请输入安装位置" />
+        </el-form-item>
+        <el-form-item label="尺寸" prop="deviceSize">
+          <el-input v-model="form.deviceSize" placeholder="请输入尺寸" />
+        </el-form-item>
+        <el-form-item label="泄空方式" prop="leakageMode">
+          <el-input v-model="form.leakageMode" placeholder="请输入泄空方式" />
+        </el-form-item>
+        <el-form-item label="档案" prop="archives">
+          <el-input v-model="form.archives" placeholder="请输入档案" />
+        </el-form-item>
+          <el-form-item label="归属部门" prop="deptId">
+              <treeselect v-model="form.deptId" :options="deptOptions" :show-count="true" 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>
+      <!-- 用户导入对话框 -->
+      <el-dialog :title="upload.title" :visible.sync="upload.open" width="400px" append-to-body>
+          <el-upload
+                  ref="upload"
+                  :limit="1"
+                  accept=".xlsx, .xls"
+                  :headers="upload.headers"
+                  :action="upload.url + '?updateSupport=' + upload.updateSupport"
+                  :disabled="upload.isUploading"
+                  :on-progress="handleFileUploadProgress"
+                  :on-success="handleFileSuccess"
+                  :auto-upload="false"
+                  drag
+          >
+              <i class="el-icon-upload"></i>
+              <div class="el-upload__text">
+                  将文件拖到此处,或
+                  <em>点击上传</em>
+              </div>
+              <div class="el-upload__tip" slot="tip">
+                  <el-checkbox v-model="upload.updateSupport" />是否更新已经存在的用户数据
+                  <el-link type="info" style="font-size:12px" @click="importTemplate">下载模板</el-link>
+              </div>
+              <div class="el-upload__tip" style="color:red" slot="tip">提示:仅允许导入“xls”或“xlsx”格式文件!</div>
+          </el-upload>
+          <div slot="footer" class="dialog-footer">
+              <el-button type="primary" @click="submitFileForm">确 定</el-button>
+              <el-button @click="upload.open = false">取 消</el-button>
+          </div>
+      </el-dialog>
+  </div>
+</template>
+
+<script>
+import { listGj, getGj, delGj, addGj, updateGj, exportGj, importTemplate} from "@/api/intact/gj";
+import { treeselect } from "@/api/system/dept";
+import { getToken } from "@/utils/auth";
+import Treeselect from "@riophae/vue-treeselect";
+import "@riophae/vue-treeselect/dist/vue-treeselect.css";
+
+export default {
+  name: "Gj",
+  components: { Treeselect },
+  data() {
+    return {
+      // 遮罩层
+      loading: true,
+      // 选中数组
+      ids: [],
+      // 非单个禁用
+      single: true,
+      // 非多个禁用
+      multiple: true,
+      // 显示搜索条件
+      showSearch: false,
+      // 总条数
+      total: 0,
+      // 设备完整性管件台账表格数据
+      gjList: [],
+      // 弹出层标题
+      title: "",
+      // 部门树选项
+      deptOptions: undefined,
+      clientHeight:300,
+      // 是否显示弹出层
+      open: false,
+      // 状态字典
+      statusOptions: [],
+      // 审核状态字典
+      approveStatusOptions: [],
+      // 预警标识字典
+      warnFlagOptions: [],
+      // 管道编号是否变色字典
+      isRepeatOptions: [],
+      // 种类字典
+      typeOptions: [],
+        // 用户导入参数
+        upload: {
+            // 是否显示弹出层(用户导入)
+            open: false,
+            // 弹出层标题(用户导入)
+            title: "",
+            // 是否禁用上传
+            isUploading: false,
+            // 是否更新已经存在的用户数据
+            updateSupport: 0,
+            // 设置上传的请求头部
+            headers: { Authorization: "Bearer " + getToken() },
+            // 上传的地址
+            url: process.env.VUE_APP_BASE_API + "/intact/gj/importData"
+        },
+           downloadExportAction: process.env.VUE_APP_BASE_API + "/intact/gj/importData",
+      doc: {
+        file: "123",
+        // 是否显示弹出层(报告附件)
+        open: false,
+        // 弹出层标题(报告附件)
+        title: "",
+        // 是否禁用上传
+        isUploading: false,
+        // 是否更新已经存在的用户数据
+        updateSupport: 0,
+        // 报告附件上传位置编号
+        ids: 0,
+        // 设置上传的请求头部
+        headers: { Authorization: "Bearer " + getToken() },
+        // 上传的地址
+        url: process.env.VUE_APP_BASE_API + "/common/commonfile/uploadFile",
+        commonfileList: null,
+        queryParams: {
+          pId: null,
+          pType: 'gj'
+        },
+        pType: 'gj',
+        pId: null
+      },
+      pdf : {
+        title: '',
+        pdfUrl: '',
+        numPages: null,
+        open: false,
+        pageNum: 1,
+        pageTotalNum: 1,
+        loadedRatio: 0,
+      },
+      // 查询参数
+      queryParams: {
+        pageNum: 1,
+        pageSize: 20,
+        plantCode: null,
+        unit: null,
+        devname: null,
+        devno: null,
+        submitdate: null,
+        status: 1,
+        createrCode: null,
+        createdate: null,
+        updaterCode: null,
+        updatedate: null,
+        deptId: null,
+        remarks: null,
+        approveStatus: null,
+        regno: null,
+        useno: null,
+        warnDate: null,
+        warnCycle: null,
+        nextWarnDate: null,
+        warnFlag: null,
+        grade: null,
+        designer: null,
+        installer: null,
+        material: null,
+        dia: null,
+        scheduleNo: null,
+        length: null,
+        starting: null,
+        ending: null,
+        desPressure: null,
+        desTemp: null,
+        optPressure: null,
+        optTemp: null,
+        medium: null,
+        checkConclusion: null,
+        checkUnit: null,
+        safeClass: null,
+        reportNo: null,
+        approveTime: null,
+        changeTime: null,
+        plantMaint: null,
+        engineer: null,
+        weldNumber: null,
+        layingMethod: null,
+        adiabatic: null,
+        antiCorrosion: null,
+        adiabaticThickness: null,
+        isDanger: null,
+        installDate: null,
+        yearWarnDate: null,
+        yearNextWarnDate: null,
+        yearReportNo: null,
+        isRepeat: null,
+        type: null,
+        position: null,
+        deviceSize: null,
+        leakageMode: null,
+        archives: null
+      },
+      // 表单参数
+      form: {},
+      // 表单校验
+      rules: {
+      }
+    };
+  },
+  watch: {
+        // 根据名称筛选部门树
+        deptName(val) {
+            this.$refs.tree.filter(val);
+        }
+   },
+  created() {
+      //设置表格高度对应屏幕高度
+      this.$nextTick(() => {
+          this.clientHeight = document.body.clientHeight -250
+      })
+    this.getList();
+    this.getTreeselect();
+    this.getDicts("INTACT_STATUS").then(response => {
+      this.statusOptions = response.data;
+    });
+    this.getDicts("spec_approve_status").then(response => {
+      this.approveStatusOptions = response.data;
+    });
+    this.getDicts("ALARM_LEVEL").then(response => {
+      this.warnFlagOptions = response.data;
+    });
+    this.getDicts("PIPE_LEVEL").then(response => {
+      this.isRepeatOptions = response.data;
+    });
+    this.getDicts("INTACT_GJ_TYPE").then(response => {
+      this.typeOptions = response.data;
+    });
+  },
+  methods: {
+    /** 查询设备完整性管件台账列表 */
+    getList() {
+      this.loading = true;
+      listGj(this.queryParams).then(response => {
+        this.gjList = response.rows;
+        this.total = response.total;
+        this.loading = false;
+      });
+    },
+     /** 查询部门下拉树结构 */
+     getTreeselect() {
+          treeselect().then(response => {
+              this.deptOptions = response.data;
+          });
+     },
+    // 状态字典翻译
+    statusFormat(row, column) {
+      return this.selectDictLabel(this.statusOptions, row.status);
+    },
+    // 审核状态字典翻译
+    approveStatusFormat(row, column) {
+      return this.selectDictLabel(this.approveStatusOptions, row.approveStatus);
+    },
+    // 预警标识字典翻译
+    warnFlagFormat(row, column) {
+      return this.selectDictLabel(this.warnFlagOptions, row.warnFlag);
+    },
+    // 管道编号是否变色字典翻译
+    isRepeatFormat(row, column) {
+      return this.selectDictLabel(this.isRepeatOptions, row.isRepeat);
+    },
+    // 种类字典翻译
+    typeFormat(row, column) {
+      return this.selectDictLabel(this.typeOptions, row.type);
+    },
+    // 取消按钮
+    cancel() {
+      this.open = false;
+      this.reset();
+    },
+    // 表单重置
+    reset() {
+      this.form = {
+        id: null,
+        plantCode: null,
+        unit: null,
+        devname: null,
+        devno: null,
+        submitdate: null,
+        status: null,
+        delFlag: null,
+        createrCode: null,
+        createdate: null,
+        updaterCode: null,
+        updatedate: null,
+        deptId: null,
+        remarks: null,
+        approveStatus: null,
+        regno: null,
+        useno: null,
+        warnDate: null,
+        warnCycle: null,
+        nextWarnDate: null,
+        warnFlag: null,
+        grade: null,
+        designer: null,
+        installer: null,
+        material: null,
+        dia: null,
+        scheduleNo: null,
+        length: null,
+        starting: null,
+        ending: null,
+        desPressure: null,
+        desTemp: null,
+        optPressure: null,
+        optTemp: null,
+        medium: null,
+        checkConclusion: null,
+        checkUnit: null,
+        safeClass: null,
+        reportNo: null,
+        approveTime: null,
+        changeTime: null,
+        plantMaint: null,
+        engineer: null,
+        weldNumber: null,
+        layingMethod: null,
+        adiabatic: null,
+        antiCorrosion: null,
+        adiabaticThickness: null,
+        isDanger: null,
+        installDate: null,
+        yearWarnDate: null,
+        yearNextWarnDate: null,
+        yearReportNo: null,
+        isRepeat: null,
+        type: null,
+        position: null,
+        deviceSize: null,
+        leakageMode: null,
+        archives: 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
+      getGj(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) {
+            updateGj(this.form).then(response => {
+              this.msgSuccess("修改成功");
+              this.open = false;
+              this.getList();
+            });
+          } else {
+            addGj(this.form).then(response => {
+              this.msgSuccess("新增成功");
+              this.open = false;
+              this.getList();
+            });
+          }
+        }
+      });
+    },
+    /** 删除按钮操作 */
+    handleDelete(row) {
+      const ids = row.id || this.ids;
+      this.$confirm('是否确认删除?', "警告", {
+          confirmButtonText: "确定",
+          cancelButtonText: "取消",
+          type: "warning"
+        }).then(function() {
+          return delGj(ids);
+        }).then(() => {
+          this.getList();
+          this.msgSuccess("删除成功");
+        })
+    },
+    /** 导出按钮操作 */
+    handleExport() {
+      const queryParams = this.queryParams;
+      this.$confirm('是否确认导出所有设备完整性管件台账数据项?', "警告", {
+          confirmButtonText: "确定",
+          cancelButtonText: "取消",
+          type: "warning"
+        }).then(function() {
+          return exportGj(queryParams);
+        }).then(response => {
+          this.download(response.msg);
+        })
+    },
+      /** 导入按钮操作 */
+      handleImport() {
+          this.upload.title = "用户导入";
+          this.upload.open = true;
+      },
+      /** 下载模板操作 */
+      importTemplate() {
+          importTemplate().then(response => {
+              this.download(response.msg);
+          });
+      },
+      // 文件上传中处理
+      handleFileUploadProgress(event, file, fileList) {
+          this.upload.isUploading = true;
+      },
+      // 文件上传成功处理
+      handleFileSuccess(response, file, fileList) {
+          this.upload.open = false;
+          this.upload.isUploading = false;
+          this.$refs.upload.clearFiles();
+          this.$alert(response.msg, "导入结果", { dangerouslyUseHTMLString: true });
+          this.getList();
+      },
+      // 提交上传文件
+      submitFileForm() {
+          this.$refs.upload.submit();
+      },
+        /** 报告附件按钮操作 */
+     handleDoc(row) {
+      this.doc.id = row.id;
+      this.doc.title = row.filename;
+      this.doc.open = true;
+      this.doc.queryParams.pId = row.id
+      this.doc.pId = row.id
+      this.getFileList()
+      this.$nextTick(() => {
+        this.$refs.doc.clearFiles()
+      })
+    },
+    getFileList (){
+      allFileList(this.doc.queryParams).then(response => {
+        this.doc.commonfileList = response;
+      });
+    },
+    //附件上传中处理
+    handleFileDocProgress(event, file, fileList) {
+      this.doc.file = file;
+      this.doc.isUploading = true;
+    },
+    //附件上传成功处理
+    handleFileDocSuccess(response, file, fileList) {
+      this.doc.isUploading = false;
+      this.$alert(response.msg, this.$t('导入结果'), { dangerouslyUseHTMLString: true });
+      this.getFileList()
+    },
+    /** 删除按钮操作 */
+    handleDeleteDoc(row) {
+      const ids = row.id || this.ids;
+      this.$confirm(this.$t('是否确认删除?'), this.$t('警告'), {
+        confirmButtonText: this.$t('确定'),
+        cancelButtonText: this.$t('取消'),
+        type: "warning"
+      }).then(function() {
+        return delCommonfile(ids);
+      }).then(() => {
+        this.getFileList()
+        this.msgSuccess(this.$t('删除成功'));
+      })
+    },
+    // 文件下载处理
+    handleDownload(row) {
+      var name = row.fileName;
+      var url = row.fileUrl;
+      var suffix = url.substring(url.lastIndexOf("."), url.length);
+      console.log(url)
+      const a = document.createElement('a')
+      a.setAttribute('download', name)
+      a.setAttribute('target', '_blank')
+      a.setAttribute('href', process.env.VUE_APP_BASE_API + url)
+      a.click()
+    },
+  }
+};
+</script>

+ 1587 - 0
ui/src/views/intact/pump/index.vue

@@ -0,0 +1,1587 @@
+<template>
+  <div class="app-container">
+    <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
+      <el-form-item label="装置名称" prop="plantCode">
+        <el-input
+          v-model="queryParams.plantCode"
+          placeholder="请输入装置名称"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="单元" prop="unit">
+        <el-input
+          v-model="queryParams.unit"
+          placeholder="请输入单元"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="设备名称" prop="devname">
+        <el-input
+          v-model="queryParams.devname"
+          placeholder="请输入设备名称"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="设备位号" prop="devno">
+        <el-input
+          v-model="queryParams.devno"
+          placeholder="请输入设备位号"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="投用年月" prop="submitdate">
+        <el-date-picker clearable size="small" style="width: 200px"
+          v-model="queryParams.submitdate"
+          type="date"
+          value-format="yyyy-MM-dd"
+          placeholder="选择投用年月">
+        </el-date-picker>
+      </el-form-item>
+      <el-form-item label="状态" prop="status">
+        <el-select v-model="queryParams.status" placeholder="请选择状态" clearable size="small">
+          <el-option
+            v-for="dict in statusOptions"
+            :key="dict.dictValue"
+            :label="dict.dictLabel"
+            :value="dict.dictValue"
+          />
+        </el-select>
+      </el-form-item>
+      <el-form-item label="创建人" prop="createrCode">
+        <el-input
+          v-model="queryParams.createrCode"
+          placeholder="请输入创建人"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="创建时间" prop="createdate">
+        <el-date-picker clearable size="small" style="width: 200px"
+          v-model="queryParams.createdate"
+          type="date"
+          value-format="yyyy-MM-dd"
+          placeholder="选择创建时间">
+        </el-date-picker>
+      </el-form-item>
+      <el-form-item label="修改人" prop="updaterCode">
+        <el-input
+          v-model="queryParams.updaterCode"
+          placeholder="请输入修改人"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="修改时间" prop="updatedate">
+        <el-date-picker clearable size="small" style="width: 200px"
+          v-model="queryParams.updatedate"
+          type="date"
+          value-format="yyyy-MM-dd"
+          placeholder="选择修改时间">
+        </el-date-picker>
+      </el-form-item>
+      <el-form-item label="部门编号" prop="deptId">
+        <el-input
+          v-model="queryParams.deptId"
+          placeholder="请输入部门编号"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="备注" prop="remarks">
+        <el-input
+          v-model="queryParams.remarks"
+          placeholder="请输入备注"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="审核状态" prop="approveStatus">
+        <el-select v-model="queryParams.approveStatus" placeholder="请选择审核状态" clearable size="small">
+          <el-option
+            v-for="dict in approveStatusOptions"
+            :key="dict.dictValue"
+            :label="dict.dictLabel"
+            :value="dict.dictValue"
+          />
+        </el-select>
+      </el-form-item>
+      <el-form-item label="注册代码" prop="regno">
+        <el-input
+          v-model="queryParams.regno"
+          placeholder="请输入注册代码"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="使用证编号" prop="useno">
+        <el-input
+          v-model="queryParams.useno"
+          placeholder="请输入使用证编号"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="上次年检时间" prop="warnDate">
+        <el-date-picker clearable size="small" style="width: 200px"
+          v-model="queryParams.warnDate"
+          type="date"
+          value-format="yyyy-MM-dd"
+          placeholder="选择上次年检时间">
+        </el-date-picker>
+      </el-form-item>
+      <el-form-item label="检测周期" prop="warnCycle">
+        <el-input
+          v-model="queryParams.warnCycle"
+          placeholder="请输入检测周期"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="下次年检时间" prop="nextWarnDate">
+        <el-date-picker clearable size="small" style="width: 200px"
+          v-model="queryParams.nextWarnDate"
+          type="date"
+          value-format="yyyy-MM-dd"
+          placeholder="选择下次年检时间">
+        </el-date-picker>
+      </el-form-item>
+      <el-form-item label="预警标识" prop="warnFlag">
+        <el-input
+          v-model="queryParams.warnFlag"
+          placeholder="请输入预警标识"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="管道级别" prop="grade">
+        <el-input
+          v-model="queryParams.grade"
+          placeholder="请输入管道级别"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="设计单位" prop="designer">
+        <el-input
+          v-model="queryParams.designer"
+          placeholder="请输入设计单位"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="安装单位" prop="installer">
+        <el-input
+          v-model="queryParams.installer"
+          placeholder="请输入安装单位"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="材质" prop="material">
+        <el-input
+          v-model="queryParams.material"
+          placeholder="请输入材质"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="直径" prop="dia">
+        <el-input
+          v-model="queryParams.dia"
+          placeholder="请输入直径"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="厚度等级" prop="scheduleNo">
+        <el-input
+          v-model="queryParams.scheduleNo"
+          placeholder="请输入厚度等级"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="长度" prop="length">
+        <el-input
+          v-model="queryParams.length"
+          placeholder="请输入长度"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="起点" prop="starting">
+        <el-input
+          v-model="queryParams.starting"
+          placeholder="请输入起点"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="终点" prop="ending">
+        <el-input
+          v-model="queryParams.ending"
+          placeholder="请输入终点"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="设计压力" prop="desPressure">
+        <el-input
+          v-model="queryParams.desPressure"
+          placeholder="请输入设计压力"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="设计温度" prop="desTemp">
+        <el-input
+          v-model="queryParams.desTemp"
+          placeholder="请输入设计温度"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="工作压力" prop="optPressure">
+        <el-input
+          v-model="queryParams.optPressure"
+          placeholder="请输入工作压力"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="工作温度" prop="optTemp">
+        <el-input
+          v-model="queryParams.optTemp"
+          placeholder="请输入工作温度"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="介质" prop="medium">
+        <el-input
+          v-model="queryParams.medium"
+          placeholder="请输入介质"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="年度检查结论" prop="checkConclusion">
+        <el-input
+          v-model="queryParams.checkConclusion"
+          placeholder="请输入年度检查结论"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="检验单位" prop="checkUnit">
+        <el-input
+          v-model="queryParams.checkUnit"
+          placeholder="请输入检验单位"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="安全状况等级" prop="safeClass">
+        <el-input
+          v-model="queryParams.safeClass"
+          placeholder="请输入安全状况等级"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="报告编号" prop="reportNo">
+        <el-input
+          v-model="queryParams.reportNo"
+          placeholder="请输入报告编号"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="最新申请时间" prop="approveTime">
+        <el-date-picker clearable size="small" style="width: 200px"
+          v-model="queryParams.approveTime"
+          type="date"
+          value-format="yyyy-MM-dd"
+          placeholder="选择最新申请时间">
+        </el-date-picker>
+      </el-form-item>
+      <el-form-item label="状态修改时间" prop="changeTime">
+        <el-date-picker clearable size="small" style="width: 200px"
+          v-model="queryParams.changeTime"
+          type="date"
+          value-format="yyyy-MM-dd"
+          placeholder="选择状态修改时间">
+        </el-date-picker>
+      </el-form-item>
+      <el-form-item label="PM维修组" prop="plantMaint">
+        <el-input
+          v-model="queryParams.plantMaint"
+          placeholder="请输入PM维修组"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="装置维修工程师" prop="engineer">
+        <el-input
+          v-model="queryParams.engineer"
+          placeholder="请输入装置维修工程师"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="焊口数量" prop="weldNumber">
+        <el-input
+          v-model="queryParams.weldNumber"
+          placeholder="请输入焊口数量"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="敷设方式" prop="layingMethod">
+        <el-input
+          v-model="queryParams.layingMethod"
+          placeholder="请输入敷设方式"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="绝热层代码" prop="adiabatic">
+        <el-input
+          v-model="queryParams.adiabatic"
+          placeholder="请输入绝热层代码"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="防腐层代码" prop="antiCorrosion">
+        <el-input
+          v-model="queryParams.antiCorrosion"
+          placeholder="请输入防腐层代码"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="绝热层厚度" prop="adiabaticThickness">
+        <el-input
+          v-model="queryParams.adiabaticThickness"
+          placeholder="请输入绝热层厚度"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="是否涉危化品" prop="isDanger">
+        <el-input
+          v-model="queryParams.isDanger"
+          placeholder="请输入是否涉危化品"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="安装日期" prop="installDate">
+        <el-date-picker clearable size="small" style="width: 200px"
+          v-model="queryParams.installDate"
+          type="date"
+          value-format="yyyy-MM-dd"
+          placeholder="选择安装日期">
+        </el-date-picker>
+      </el-form-item>
+      <el-form-item label="年度检查日期" prop="yearWarnDate">
+        <el-date-picker clearable size="small" style="width: 200px"
+          v-model="queryParams.yearWarnDate"
+          type="date"
+          value-format="yyyy-MM-dd"
+          placeholder="选择年度检查日期">
+        </el-date-picker>
+      </el-form-item>
+      <el-form-item label="年度检查日期" prop="yearNextWarnDate">
+        <el-date-picker clearable size="small" style="width: 200px"
+          v-model="queryParams.yearNextWarnDate"
+          type="date"
+          value-format="yyyy-MM-dd"
+          placeholder="选择年度检查日期">
+        </el-date-picker>
+      </el-form-item>
+      <el-form-item label="年度检查报告编号" prop="yearReportNo">
+        <el-input
+          v-model="queryParams.yearReportNo"
+          placeholder="请输入年度检查报告编号"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="管道编号是否变色" prop="isRepeat">
+        <el-select v-model="queryParams.isRepeat" placeholder="请选择管道编号是否变色" clearable size="small">
+          <el-option
+            v-for="dict in isRepeatOptions"
+            :key="dict.dictValue"
+            :label="dict.dictLabel"
+            :value="dict.dictValue"
+          />
+        </el-select>
+      </el-form-item>
+      <el-form-item label="种类" prop="type">
+        <el-select v-model="queryParams.type" placeholder="请选择种类" clearable size="small">
+          <el-option
+            v-for="dict in typeOptions"
+            :key="dict.dictValue"
+            :label="dict.dictLabel"
+            :value="dict.dictValue"
+          />
+        </el-select>
+      </el-form-item>
+      <el-form-item label="安装位置" prop="position">
+        <el-input
+          v-model="queryParams.position"
+          placeholder="请输入安装位置"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="尺寸" prop="deviceSize">
+        <el-input
+          v-model="queryParams.deviceSize"
+          placeholder="请输入尺寸"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="泄空方式" prop="leakageMode">
+        <el-input
+          v-model="queryParams.leakageMode"
+          placeholder="请输入泄空方式"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="档案" prop="archives">
+        <el-input
+          v-model="queryParams.archives"
+          placeholder="请输入档案"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item>
+        <el-button type="cyan" 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"
+          icon="el-icon-plus"
+          size="mini"
+          @click="handleAdd"
+          v-hasPermi="['intact:pump:add']"
+        >新增</el-button>
+      </el-col>
+      <el-col :span="1.5">
+        <el-button
+          type="success"
+          icon="el-icon-edit"
+          size="mini"
+          :disabled="single"
+          @click="handleUpdate"
+          v-hasPermi="['intact:pump:edit']"
+        >修改</el-button>
+      </el-col>
+      <el-col :span="1.5">
+        <el-button
+          type="danger"
+          icon="el-icon-delete"
+          size="mini"
+          :disabled="multiple"
+          @click="handleDelete"
+          v-hasPermi="['intact:pump:remove']"
+        >删除</el-button>
+      </el-col>
+        <el-col :span="1.5">
+            <el-button
+                    type="info"
+                    icon="el-icon-upload2"
+                    size="mini"
+                    @click="handleImport"
+                    v-hasPermi="['intact:pump:edit']"
+            >导入</el-button>
+        </el-col>
+      <el-col :span="1.5">
+        <el-button
+          type="warning"
+          icon="el-icon-download"
+          size="mini"
+          @click="handleExport"
+          v-hasPermi="['intact:pump:export']"
+        >导出</el-button>
+      </el-col>
+	  <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
+    </el-row>
+
+    <el-table v-loading="loading" :data="pumpList" @selection-change="handleSelectionChange" :height="clientHeight" border>
+      <el-table-column type="selection" width="55" align="center" />
+      <el-table-column label="装置名称" align="center" prop="plantCode" :show-overflow-tooltip="true"/>
+      <el-table-column label="单元" align="center" prop="unit" :show-overflow-tooltip="true"/>
+      <el-table-column label="设备名称" align="center" prop="devname" :show-overflow-tooltip="true"/>
+      <el-table-column label="设备位号" align="center" prop="devno" :show-overflow-tooltip="true"/>
+         <el-table-column label="档案" align="center" prop="archives" :show-overflow-tooltip="true" >
+       <template slot-scope="scope">  
+      
+         <el-button icon="el-icon-folder" style="color:#6e96fa;"  @click="handleDoc(scope.row)"  ></el-button>
+       </template>
+      </el-table-column>
+      <el-table-column label="投用年月" align="center" prop="submitdate" width="100">
+        <template slot-scope="scope">
+          <span>{{ parseTime(scope.row.submitdate, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="状态" align="center" prop="status" :formatter="statusFormat" />
+      <el-table-column label="创建人" align="center" prop="createrCode" :show-overflow-tooltip="true"/>
+      <el-table-column label="创建时间" align="center" prop="createdate" width="100">
+        <template slot-scope="scope">
+          <span>{{ parseTime(scope.row.createdate, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="修改人" align="center" prop="updaterCode" :show-overflow-tooltip="true"/>
+      <el-table-column label="修改时间" align="center" prop="updatedate" width="100">
+        <template slot-scope="scope">
+          <span>{{ parseTime(scope.row.updatedate, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="部门编号" align="center" prop="deptId" :show-overflow-tooltip="true"/>
+      <el-table-column label="备注" align="center" prop="remarks" :show-overflow-tooltip="true"/>
+      <el-table-column label="审核状态" align="center" prop="approveStatus" :formatter="approveStatusFormat" />
+      <el-table-column label="注册代码" align="center" prop="regno" :show-overflow-tooltip="true"/>
+      <el-table-column label="使用证编号" align="center" prop="useno" :show-overflow-tooltip="true"/>
+      <el-table-column label="上次年检时间" align="center" prop="warnDate" width="100">
+        <template slot-scope="scope">
+          <span>{{ parseTime(scope.row.warnDate, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="检测周期" align="center" prop="warnCycle" :show-overflow-tooltip="true"/>
+      <el-table-column label="下次年检时间" align="center" prop="nextWarnDate" width="100">
+        <template slot-scope="scope">
+          <span>{{ parseTime(scope.row.nextWarnDate, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="预警标识" align="center" prop="warnFlag" :formatter="warnFlagFormat" />
+      <el-table-column label="管道级别" align="center" prop="grade" :show-overflow-tooltip="true"/>
+      <el-table-column label="设计单位" align="center" prop="designer" :show-overflow-tooltip="true"/>
+      <el-table-column label="安装单位" align="center" prop="installer" :show-overflow-tooltip="true"/>
+      <el-table-column label="材质" align="center" prop="material" :show-overflow-tooltip="true"/>
+      <el-table-column label="直径" align="center" prop="dia" :show-overflow-tooltip="true"/>
+      <el-table-column label="厚度等级" align="center" prop="scheduleNo" :show-overflow-tooltip="true"/>
+      <el-table-column label="长度" align="center" prop="length" :show-overflow-tooltip="true"/>
+      <el-table-column label="起点" align="center" prop="starting" :show-overflow-tooltip="true"/>
+      <el-table-column label="终点" align="center" prop="ending" :show-overflow-tooltip="true"/>
+      <el-table-column label="设计压力" align="center" prop="desPressure" :show-overflow-tooltip="true"/>
+      <el-table-column label="设计温度" align="center" prop="desTemp" :show-overflow-tooltip="true"/>
+      <el-table-column label="工作压力" align="center" prop="optPressure" :show-overflow-tooltip="true"/>
+      <el-table-column label="工作温度" align="center" prop="optTemp" :show-overflow-tooltip="true"/>
+      <el-table-column label="介质" align="center" prop="medium" :show-overflow-tooltip="true"/>
+      <el-table-column label="年度检查结论" align="center" prop="checkConclusion" :show-overflow-tooltip="true"/>
+      <el-table-column label="检验单位" align="center" prop="checkUnit" :show-overflow-tooltip="true"/>
+      <el-table-column label="安全状况等级" align="center" prop="safeClass" :show-overflow-tooltip="true"/>
+      <el-table-column label="报告编号" align="center" prop="reportNo" :show-overflow-tooltip="true"/>
+      <el-table-column label="最新申请时间" align="center" prop="approveTime" width="100">
+        <template slot-scope="scope">
+          <span>{{ parseTime(scope.row.approveTime, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="状态修改时间" align="center" prop="changeTime" width="100">
+        <template slot-scope="scope">
+          <span>{{ parseTime(scope.row.changeTime, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="PM维修组" align="center" prop="plantMaint" :show-overflow-tooltip="true"/>
+      <el-table-column label="装置维修工程师" align="center" prop="engineer" :show-overflow-tooltip="true"/>
+      <el-table-column label="焊口数量" align="center" prop="weldNumber" :show-overflow-tooltip="true"/>
+      <el-table-column label="敷设方式" align="center" prop="layingMethod" :show-overflow-tooltip="true"/>
+      <el-table-column label="绝热层代码" align="center" prop="adiabatic" :show-overflow-tooltip="true"/>
+      <el-table-column label="防腐层代码" align="center" prop="antiCorrosion" :show-overflow-tooltip="true"/>
+      <el-table-column label="绝热层厚度" align="center" prop="adiabaticThickness" :show-overflow-tooltip="true"/>
+      <el-table-column label="是否涉危化品" align="center" prop="isDanger" :show-overflow-tooltip="true"/>
+      <el-table-column label="安装日期" align="center" prop="installDate" width="100">
+        <template slot-scope="scope">
+          <span>{{ parseTime(scope.row.installDate, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="年度检查日期" align="center" prop="yearWarnDate" width="100">
+        <template slot-scope="scope">
+          <span>{{ parseTime(scope.row.yearWarnDate, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="年度检查日期" align="center" prop="yearNextWarnDate" width="100">
+        <template slot-scope="scope">
+          <span>{{ parseTime(scope.row.yearNextWarnDate, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="年度检查报告编号" align="center" prop="yearReportNo" :show-overflow-tooltip="true"/>
+      <el-table-column label="管道编号是否变色" align="center" prop="isRepeat" :formatter="isRepeatFormat" />
+      <el-table-column label="种类" align="center" prop="type" :formatter="typeFormat" />
+      <el-table-column label="安装位置" align="center" prop="position" :show-overflow-tooltip="true"/>
+      <el-table-column label="尺寸" align="center" prop="deviceSize" :show-overflow-tooltip="true"/>
+      <el-table-column label="泄空方式" align="center" prop="leakageMode" :show-overflow-tooltip="true"/>
+   
+      <el-table-column :label="$t('操作')" align="center" fixed="right" width="140" class-name="small-padding fixed-width">
+        <template slot-scope="scope">
+          <el-button
+              type="text"
+              size="mini"
+              @click="addAprrove(scope.row,devType)"
+            >{{ $t('提交申请') }}</el-button>
+          <el-button
+            v-if="scope.row.approveTime != null"
+            type="text"
+            size="small"
+            @click="hisApprove(scope.row,devType)">
+            {{ $t('申请记录') }}</el-button>
+          <br>
+          <el-button
+            style="margin-left: 0px"
+            type="text"
+            size="mini"
+            @click="checkList(scope.row,devType)"
+          >{{ $t('检验和检查记录') }}</el-button>
+          <el-button
+            v-if="scope.row.hiFlag!= 0"
+            type="text"
+            size="mini"
+            @click="hisReform(scope.row)"
+          >{{ $t('改造记录') }}</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="装置名称" prop="plantCode">
+          <el-input v-model="form.plantCode" placeholder="请输入装置名称" />
+        </el-form-item>
+        <el-form-item label="单元" prop="unit">
+          <el-input v-model="form.unit" placeholder="请输入单元" />
+        </el-form-item>
+        <el-form-item label="设备名称" prop="devname">
+          <el-input v-model="form.devname" placeholder="请输入设备名称" />
+        </el-form-item>
+        <el-form-item label="设备位号" prop="devno">
+          <el-input v-model="form.devno" placeholder="请输入设备位号" />
+        </el-form-item>
+        <el-form-item label="投用年月" prop="submitdate">
+          <el-date-picker clearable size="small" style="width: 200px"
+            v-model="form.submitdate"
+            type="date"
+            value-format="yyyy-MM-dd"
+            placeholder="选择投用年月">
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item label="状态" prop="status">
+          <el-select v-model="form.status" placeholder="请选择状态">
+            <el-option
+              v-for="dict in statusOptions"
+              :key="dict.dictValue"
+              :label="dict.dictLabel"
+              :value="parseInt(dict.dictValue)"
+            ></el-option>
+          </el-select>
+        </el-form-item>
+        <el-form-item label="状态 1 :正常 ;0:删除" prop="delFlag">
+          <el-input v-model="form.delFlag" placeholder="请输入状态 1 :正常 ;0:删除" />
+        </el-form-item>
+        <el-form-item label="创建人" prop="createrCode">
+          <el-input v-model="form.createrCode" placeholder="请输入创建人" />
+        </el-form-item>
+        <el-form-item label="创建时间" prop="createdate">
+          <el-date-picker clearable size="small" style="width: 200px"
+            v-model="form.createdate"
+            type="date"
+            value-format="yyyy-MM-dd"
+            placeholder="选择创建时间">
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item label="修改人" prop="updaterCode">
+          <el-input v-model="form.updaterCode" placeholder="请输入修改人" />
+        </el-form-item>
+        <el-form-item label="修改时间" prop="updatedate">
+          <el-date-picker clearable size="small" style="width: 200px"
+            v-model="form.updatedate"
+            type="date"
+            value-format="yyyy-MM-dd"
+            placeholder="选择修改时间">
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item label="部门编号" prop="deptId">
+          <el-input v-model="form.deptId" placeholder="请输入部门编号" />
+        </el-form-item>
+        <el-form-item label="备注" prop="remarks">
+          <el-input v-model="form.remarks" placeholder="请输入备注" />
+        </el-form-item>
+        <el-form-item label="审核状态" prop="approveStatus">
+          <el-select v-model="form.approveStatus" placeholder="请选择审核状态">
+            <el-option
+              v-for="dict in approveStatusOptions"
+              :key="dict.dictValue"
+              :label="dict.dictLabel"
+              :value="parseInt(dict.dictValue)"
+            ></el-option>
+          </el-select>
+        </el-form-item>
+        <el-form-item label="注册代码" prop="regno">
+          <el-input v-model="form.regno" placeholder="请输入注册代码" />
+        </el-form-item>
+        <el-form-item label="使用证编号" prop="useno">
+          <el-input v-model="form.useno" placeholder="请输入使用证编号" />
+        </el-form-item>
+        <el-form-item label="上次年检时间" prop="warnDate">
+          <el-date-picker clearable size="small" style="width: 200px"
+            v-model="form.warnDate"
+            type="date"
+            value-format="yyyy-MM-dd"
+            placeholder="选择上次年检时间">
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item label="检测周期" prop="warnCycle">
+          <el-input v-model="form.warnCycle" placeholder="请输入检测周期" />
+        </el-form-item>
+        <el-form-item label="下次年检时间" prop="nextWarnDate">
+          <el-date-picker clearable size="small" style="width: 200px"
+            v-model="form.nextWarnDate"
+            type="date"
+            value-format="yyyy-MM-dd"
+            placeholder="选择下次年检时间">
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item label="预警标识" prop="warnFlag">
+          <el-input v-model="form.warnFlag" placeholder="请输入预警标识" />
+        </el-form-item>
+        <el-form-item label="管道级别" prop="grade">
+          <el-input v-model="form.grade" placeholder="请输入管道级别" />
+        </el-form-item>
+        <el-form-item label="设计单位" prop="designer">
+          <el-input v-model="form.designer" placeholder="请输入设计单位" />
+        </el-form-item>
+        <el-form-item label="安装单位" prop="installer">
+          <el-input v-model="form.installer" placeholder="请输入安装单位" />
+        </el-form-item>
+        <el-form-item label="材质" prop="material">
+          <el-input v-model="form.material" placeholder="请输入材质" />
+        </el-form-item>
+        <el-form-item label="直径" prop="dia">
+          <el-input v-model="form.dia" placeholder="请输入直径" />
+        </el-form-item>
+        <el-form-item label="厚度等级" prop="scheduleNo">
+          <el-input v-model="form.scheduleNo" placeholder="请输入厚度等级" />
+        </el-form-item>
+        <el-form-item label="长度" prop="length">
+          <el-input v-model="form.length" placeholder="请输入长度" />
+        </el-form-item>
+        <el-form-item label="起点" prop="starting">
+          <el-input v-model="form.starting" placeholder="请输入起点" />
+        </el-form-item>
+        <el-form-item label="终点" prop="ending">
+          <el-input v-model="form.ending" placeholder="请输入终点" />
+        </el-form-item>
+        <el-form-item label="设计压力" prop="desPressure">
+          <el-input v-model="form.desPressure" placeholder="请输入设计压力" />
+        </el-form-item>
+        <el-form-item label="设计温度" prop="desTemp">
+          <el-input v-model="form.desTemp" placeholder="请输入设计温度" />
+        </el-form-item>
+        <el-form-item label="工作压力" prop="optPressure">
+          <el-input v-model="form.optPressure" placeholder="请输入工作压力" />
+        </el-form-item>
+        <el-form-item label="工作温度" prop="optTemp">
+          <el-input v-model="form.optTemp" placeholder="请输入工作温度" />
+        </el-form-item>
+        <el-form-item label="介质" prop="medium">
+          <el-input v-model="form.medium" placeholder="请输入介质" />
+        </el-form-item>
+        <el-form-item label="年度检查结论" prop="checkConclusion">
+          <el-input v-model="form.checkConclusion" placeholder="请输入年度检查结论" />
+        </el-form-item>
+        <el-form-item label="检验单位" prop="checkUnit">
+          <el-input v-model="form.checkUnit" placeholder="请输入检验单位" />
+        </el-form-item>
+        <el-form-item label="安全状况等级" prop="safeClass">
+          <el-input v-model="form.safeClass" placeholder="请输入安全状况等级" />
+        </el-form-item>
+        <el-form-item label="报告编号" prop="reportNo">
+          <el-input v-model="form.reportNo" placeholder="请输入报告编号" />
+        </el-form-item>
+        <el-form-item label="最新申请时间" prop="approveTime">
+          <el-date-picker clearable size="small" style="width: 200px"
+            v-model="form.approveTime"
+            type="date"
+            value-format="yyyy-MM-dd"
+            placeholder="选择最新申请时间">
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item label="状态修改时间" prop="changeTime">
+          <el-date-picker clearable size="small" style="width: 200px"
+            v-model="form.changeTime"
+            type="date"
+            value-format="yyyy-MM-dd"
+            placeholder="选择状态修改时间">
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item label="PM维修组" prop="plantMaint">
+          <el-input v-model="form.plantMaint" placeholder="请输入PM维修组" />
+        </el-form-item>
+        <el-form-item label="装置维修工程师" prop="engineer">
+          <el-input v-model="form.engineer" placeholder="请输入装置维修工程师" />
+        </el-form-item>
+        <el-form-item label="焊口数量" prop="weldNumber">
+          <el-input v-model="form.weldNumber" placeholder="请输入焊口数量" />
+        </el-form-item>
+        <el-form-item label="敷设方式" prop="layingMethod">
+          <el-input v-model="form.layingMethod" placeholder="请输入敷设方式" />
+        </el-form-item>
+        <el-form-item label="绝热层代码" prop="adiabatic">
+          <el-input v-model="form.adiabatic" placeholder="请输入绝热层代码" />
+        </el-form-item>
+        <el-form-item label="防腐层代码" prop="antiCorrosion">
+          <el-input v-model="form.antiCorrosion" placeholder="请输入防腐层代码" />
+        </el-form-item>
+        <el-form-item label="绝热层厚度" prop="adiabaticThickness">
+          <el-input v-model="form.adiabaticThickness" placeholder="请输入绝热层厚度" />
+        </el-form-item>
+        <el-form-item label="是否涉危化品" prop="isDanger">
+          <el-input v-model="form.isDanger" placeholder="请输入是否涉危化品" />
+        </el-form-item>
+        <el-form-item label="安装日期" prop="installDate">
+          <el-date-picker clearable size="small" style="width: 200px"
+            v-model="form.installDate"
+            type="date"
+            value-format="yyyy-MM-dd"
+            placeholder="选择安装日期">
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item label="年度检查日期" prop="yearWarnDate">
+          <el-date-picker clearable size="small" style="width: 200px"
+            v-model="form.yearWarnDate"
+            type="date"
+            value-format="yyyy-MM-dd"
+            placeholder="选择年度检查日期">
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item label="年度检查日期" prop="yearNextWarnDate">
+          <el-date-picker clearable size="small" style="width: 200px"
+            v-model="form.yearNextWarnDate"
+            type="date"
+            value-format="yyyy-MM-dd"
+            placeholder="选择年度检查日期">
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item label="年度检查报告编号" prop="yearReportNo">
+          <el-input v-model="form.yearReportNo" placeholder="请输入年度检查报告编号" />
+        </el-form-item>
+        <el-form-item label="管道编号是否变色" prop="isRepeat">
+          <el-select v-model="form.isRepeat" placeholder="请选择管道编号是否变色">
+            <el-option
+              v-for="dict in isRepeatOptions"
+              :key="dict.dictValue"
+              :label="dict.dictLabel"
+              :value="parseInt(dict.dictValue)"
+            ></el-option>
+          </el-select>
+        </el-form-item>
+        <el-form-item label="种类" prop="type">
+          <el-select v-model="form.type" placeholder="请选择种类">
+            <el-option
+              v-for="dict in typeOptions"
+              :key="dict.dictValue"
+              :label="dict.dictLabel"
+              :value="parseInt(dict.dictValue)"
+            ></el-option>
+          </el-select>
+        </el-form-item>
+        <el-form-item label="安装位置" prop="position">
+          <el-input v-model="form.position" placeholder="请输入安装位置" />
+        </el-form-item>
+        <el-form-item label="尺寸" prop="deviceSize">
+          <el-input v-model="form.deviceSize" placeholder="请输入尺寸" />
+        </el-form-item>
+        <el-form-item label="泄空方式" prop="leakageMode">
+          <el-input v-model="form.leakageMode" placeholder="请输入泄空方式" />
+        </el-form-item>
+        <el-form-item label="档案" prop="archives">
+          <el-input v-model="form.archives" placeholder="请输入档案" />
+        </el-form-item>
+          <el-form-item label="归属部门" prop="deptId">
+              <treeselect v-model="form.deptId" :options="deptOptions" :show-count="true" 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>
+      <!-- 用户导入对话框 -->
+      <el-dialog :title="upload.title" :visible.sync="upload.open" width="400px" append-to-body>
+          <el-upload
+                  ref="upload"
+                  :limit="1"
+                  accept=".xlsx, .xls"
+                  :headers="upload.headers"
+                  :action="upload.url + '?updateSupport=' + upload.updateSupport"
+                  :disabled="upload.isUploading"
+                  :on-progress="handleFileUploadProgress"
+                  :on-success="handleFileSuccess"
+                  :auto-upload="false"
+                  drag
+          >
+              <i class="el-icon-upload"></i>
+              <div class="el-upload__text">
+                  将文件拖到此处,或
+                  <em>点击上传</em>
+              </div>
+              <div class="el-upload__tip" slot="tip">
+                  <el-checkbox v-model="upload.updateSupport" />是否更新已经存在的用户数据
+                  <el-link type="info" style="font-size:12px" @click="importTemplate">下载模板</el-link>
+              </div>
+              <div class="el-upload__tip" style="color:red" slot="tip">提示:仅允许导入“xls”或“xlsx”格式文件!</div>
+          </el-upload>
+          <div slot="footer" class="dialog-footer">
+              <el-button type="primary" @click="submitFileForm">确 定</el-button>
+              <el-button @click="upload.open = false">取 消</el-button>
+          </div>
+      </el-dialog>
+       <!-- 档案附件对话框 -->
+    <el-dialog v-dialogDrag :title="doc.title" :visible.sync="doc.open" width="700px" append-to-body>
+      <el-upload
+        ref="doc"
+        :limit="50"
+        :headers="doc.headers"
+        :action="doc.url + '?pType=' + doc.pType + '&pId=' + doc.pId"
+        :disabled="doc.isUploading"
+        :on-progress="handleFileDocProgress"
+        :on-success="handleFileDocSuccess"
+        :auto-upload="true"
+        drag
+      >
+        <i class="el-icon-upload"></i>
+        <div class="el-upload__text">
+          {{ $t('将文件拖到此处,或') }}
+          <em>{{ $t('点击上传') }}</em>
+        </div>
+      </el-upload>
+        <el-table :data="doc.commonfileList" border>
+          <el-table-column :label="$t('文件名')" align="center" prop="fileName" :show-overflow-tooltip="true">
+          <template slot-scope="scope">
+            <a  class="link-type"  @click="handleDownload(scope.row)">
+              <span>{{ scope.row.fileName }}</span>
+            </a>
+          </template>
+          </el-table-column>
+          <el-table-column :label="$t('大小(Kb)')" align="center" prop="fileSize" :show-overflow-tooltip="true" width="80" />
+          <el-table-column :label="$t('上传人')" align="center" prop="creator" :show-overflow-tooltip="true" width="120"/>
+          <el-table-column :label="$t('操作')" align="center" width="150" class-name="small-padding fixed-width">
+            <template slot-scope="scope">
+              <el-button
+                v-if="scope.row.fileName.endsWith('pdf')"
+                size="mini"
+                type="text"
+                icon="el-icon-view"
+                @click="handleSee(scope.row)"
+              >{{ $t('预览') }}</el-button>
+              <el-button
+                size="mini"
+                type="text"
+                icon="el-icon-download"
+                @click="handleDownload(scope.row)"
+              >{{ $t('下载') }}</el-button>
+              <el-button
+                size="mini"
+                type="text"
+                icon="el-icon-delete"
+                @click="handleDeleteDoc(scope.row)"
+              >{{ $t('删除') }}</el-button>
+            </template>
+          </el-table-column>
+        </el-table>
+      <div slot="footer" class="dialog-footer">
+<!--        <el-button type="primary" @click="submitFileForm">{{ $t('确 定') }}</el-button>-->
+        <el-button @click="doc.open = false">{{ $t('返 回') }}</el-button>
+      </div>
+    </el-dialog>
+    <el-dialog v-dialogDrag :title="pdf.title" :visible.sync="pdf.open" width="1300px" append-to-body>
+        <div style="margin-top: -60px;float: right;margin-right: 40px;">
+          <el-button size="mini" type="text" @click="openPdf">{{$t('新页面打开PDF')}}</el-button></div>
+      <div style="margin-top: -30px">
+        <iframe :src="pdf.pdfUrl" frameborder="0" width="100%" height="700px"></iframe>
+      </div>
+    </el-dialog>
+
+      <add-approve v-if="addAprroveVisible" ref="addApprove" @refreshDataList="getList"></add-approve>
+    <his-approve v-if="hisAprroveVisible" ref="hisApprove" @refreshDataList="getList"></his-approve>
+    <his-check v-if="hisCheckVisible" ref="hisCheck" @refreshDataList="getList"></his-check>
+    <HisReform v-if="hisReformVisible" ref="hisReformList" ></HisReform>
+  </div>
+</template>
+
+<script>
+import { listPump, getPump, delPump, addPump, updatePump, exportPump, importTemplate} from "@/api/intact/pump";
+import {allFileList, delCommonfile} from "@/api/common/commonfile";
+import { treeselect } from "@/api/system/dept";
+import { getToken } from "@/utils/auth";
+import Treeselect from "@riophae/vue-treeselect";
+import "@riophae/vue-treeselect/dist/vue-treeselect.css";
+import AddApprove from "../approve/tapprove-add"
+import HisApprove from "../approve/tapprove-his"
+import {mylistPlant} from "@/api/system/plant";
+import HisCheck from "../check/check"
+import {addModify} from "@/api/sems/his/modify";
+import HisReform from "./specGl-hisReform";
+
+export default {
+  name: "Pump",
+  components: { Treeselect ,AddApprove,HisApprove,HisCheck,HisReform},
+  data() {
+    return {
+      // 遮罩层
+      loading: true,
+       addAprroveVisible: false,
+      hisAprroveVisible: false,
+      hisCheckVisible: false,
+      // 选中数组
+      ids: [],
+      dataListSelections: [],
+      // 非单个禁用
+      single: true,
+      // 非多个禁用
+      multiple: true,
+      // 显示搜索条件
+      showSearch: false,
+      // 总条数
+      total: 0,
+      // 设备完整性泵台账表格数据
+      pumpList: [],
+      // 弹出层标题
+      title: "",
+      // 部门树选项
+      deptOptions: undefined,
+      clientHeight:300,
+      // 是否显示弹出层
+      open: false,
+      // 状态字典
+      statusOptions: [],
+      // 审核状态字典
+      approveStatusOptions: [],
+      // 预警标识字典
+      warnFlagOptions: [],
+      // 管道编号是否变色字典
+      isRepeatOptions: [],
+      // 种类字典
+      typeOptions: [],
+        // 用户导入参数
+        upload: {
+            // 是否显示弹出层(用户导入)
+            open: false,
+            // 弹出层标题(用户导入)
+            title: "",
+            // 是否禁用上传
+            isUploading: false,
+            // 是否更新已经存在的用户数据
+            updateSupport: 0,
+            // 设置上传的请求头部
+            headers: { Authorization: "Bearer " + getToken() },
+            // 上传的地址
+            url: process.env.VUE_APP_BASE_API + "/intact/pump/importData"
+        },
+          downloadExportAction: process.env.VUE_APP_BASE_API + "/intact/pump/importData",
+        // 报告附件参数
+      doc: {
+        file: "123",
+        // 是否显示弹出层(报告附件)
+        open: false,
+        // 弹出层标题(报告附件)
+        title: "",
+        // 是否禁用上传
+        isUploading: false,
+        // 是否更新已经存在的用户数据
+        updateSupport: 0,
+        // 报告附件上传位置编号
+        ids: 0,
+        // 设置上传的请求头部
+        headers: { Authorization: "Bearer " + getToken() },
+        // 上传的地址
+        url: process.env.VUE_APP_BASE_API + "/common/commonfile/uploadFile",
+        commonfileList: null,
+        queryParams: {
+          pId: null,
+          pType: 'pump'
+        },
+        pType: 'pump',
+        pId: null
+      },
+      pdf : {
+        title: '',
+        pdfUrl: '',
+        numPages: null,
+        open: false,
+        pageNum: 1,
+        pageTotalNum: 1,
+        loadedRatio: 0,
+      },
+      // 查询参数
+      queryParams: {
+        pageNum: 1,
+        pageSize: 20,
+        plantCode: null,
+        unit: null,
+        devname: null,
+        devno: null,
+        submitdate: null,
+        status: null,
+        createrCode: null,
+        createdate: null,
+        updaterCode: null,
+        updatedate: null,
+        deptId: null,
+        remarks: null,
+        approveStatus: null,
+        regno: null,
+        useno: null,
+        warnDate: null,
+        warnCycle: null,
+        nextWarnDate: null,
+        warnFlag: null,
+        grade: null,
+        designer: null,
+        installer: null,
+        material: null,
+        dia: null,
+        scheduleNo: null,
+        length: null,
+        starting: null,
+        ending: null,
+        desPressure: null,
+        desTemp: null,
+        optPressure: null,
+        optTemp: null,
+        medium: null,
+        checkConclusion: null,
+        checkUnit: null,
+        safeClass: null,
+        reportNo: null,
+        approveTime: null,
+        changeTime: null,
+        plantMaint: null,
+        engineer: null,
+        weldNumber: null,
+        layingMethod: null,
+        adiabatic: null,
+        antiCorrosion: null,
+        adiabaticThickness: null,
+        isDanger: null,
+        installDate: null,
+        yearWarnDate: null,
+        yearNextWarnDate: null,
+        yearReportNo: null,
+        isRepeat: null,
+        type: null,
+        position: null,
+        deviceSize: null,
+        leakageMode: null,
+        archives: null
+      },
+      // 表单参数
+      form: {},
+      // 表单校验
+      rules: {
+      }
+    };
+  },
+  watch: {
+        // 根据名称筛选部门树
+        deptName(val) {
+            this.$refs.tree.filter(val);
+        }
+   },
+  created() {
+      //设置表格高度对应屏幕高度
+      this.$nextTick(() => {
+          this.clientHeight = document.body.clientHeight -250
+      })
+    this.getList();
+    this.getTreeselect();
+    this.getDicts("INTACT_STATUS").then(response => {
+      this.statusOptions = response.data;
+    });
+    this.getDicts("spec_approve_status").then(response => {
+      this.approveStatusOptions = response.data;
+    });
+    this.getDicts("ALARM_LEVEL").then(response => {
+      this.warnFlagOptions = response.data;
+    });
+    this.getDicts("PIPE_LEVEL").then(response => {
+      this.isRepeatOptions = response.data;
+    });
+    this.getDicts("INTACT_PUMP_TYPE").then(response => {
+      this.typeOptions = response.data;
+    });
+  },
+  methods: {
+    /** 查询设备完整性泵台账列表 */
+    getList() {
+      this.loading = true;
+      listPump(this.queryParams).then(response => {
+        this.pumpList = response.rows;
+        this.total = response.total;
+        this.loading = false;
+      });
+    },
+     /** 查询部门下拉树结构 */
+     getTreeselect() {
+          treeselect().then(response => {
+              this.deptOptions = response.data;
+          });
+     },
+    // 状态字典翻译
+    statusFormat(row, column) {
+      return this.selectDictLabel(this.statusOptions, row.status);
+    },
+    // 审核状态字典翻译
+    approveStatusFormat(row, column) {
+      return this.selectDictLabel(this.approveStatusOptions, row.approveStatus);
+    },
+    // 预警标识字典翻译
+    warnFlagFormat(row, column) {
+      return this.selectDictLabel(this.warnFlagOptions, row.warnFlag);
+    },
+    // 管道编号是否变色字典翻译
+    isRepeatFormat(row, column) {
+      return this.selectDictLabel(this.isRepeatOptions, row.isRepeat);
+    },
+    // 种类字典翻译
+    typeFormat(row, column) {
+      return this.selectDictLabel(this.typeOptions, row.type);
+    },
+    // 取消按钮
+    cancel() {
+      this.open = false;
+      this.reset();
+    },
+    // 表单重置
+    reset() {
+      this.form = {
+        id: null,
+        plantCode: null,
+        unit: null,
+        devname: null,
+        devno: null,
+        submitdate: null,
+        status: null,
+        delFlag: null,
+        createrCode: null,
+        createdate: null,
+        updaterCode: null,
+        updatedate: null,
+        deptId: null,
+        remarks: null,
+        approveStatus: null,
+        regno: null,
+        useno: null,
+        warnDate: null,
+        warnCycle: null,
+        nextWarnDate: null,
+        warnFlag: null,
+        grade: null,
+        designer: null,
+        installer: null,
+        material: null,
+        dia: null,
+        scheduleNo: null,
+        length: null,
+        starting: null,
+        ending: null,
+        desPressure: null,
+        desTemp: null,
+        optPressure: null,
+        optTemp: null,
+        medium: null,
+        checkConclusion: null,
+        checkUnit: null,
+        safeClass: null,
+        reportNo: null,
+        approveTime: null,
+        changeTime: null,
+        plantMaint: null,
+        engineer: null,
+        weldNumber: null,
+        layingMethod: null,
+        adiabatic: null,
+        antiCorrosion: null,
+        adiabaticThickness: null,
+        isDanger: null,
+        installDate: null,
+        yearWarnDate: null,
+        yearNextWarnDate: null,
+        yearReportNo: null,
+        isRepeat: null,
+        type: null,
+        position: null,
+        deviceSize: null,
+        leakageMode: null,
+        archives: 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
+      getPump(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) {
+            updatePump(this.form).then(response => {
+              this.msgSuccess("修改成功");
+              this.open = false;
+              this.getList();
+            });
+          } else {
+            addPump(this.form).then(response => {
+              this.msgSuccess("新增成功");
+              this.open = false;
+              this.getList();
+            });
+          }
+        }
+      });
+    },
+    /** 删除按钮操作 */
+    handleDelete(row) {
+      const ids = row.id || this.ids;
+      this.$confirm('是否确认删除?', "警告", {
+          confirmButtonText: "确定",
+          cancelButtonText: "取消",
+          type: "warning"
+        }).then(function() {
+          return delPump(ids);
+        }).then(() => {
+          this.getList();
+          this.msgSuccess("删除成功");
+        })
+    },
+    /** 导出按钮操作 */
+    handleExport() {
+      const queryParams = this.queryParams;
+      this.$confirm('是否确认导出所有设备完整性泵台账数据项?', "警告", {
+          confirmButtonText: "确定",
+          cancelButtonText: "取消",
+          type: "warning"
+        }).then(function() {
+          return exportPump(queryParams);
+        }).then(response => {
+          this.download(response.msg);
+        })
+    },
+      /** 导入按钮操作 */
+      handleImport() {
+          this.upload.title = "用户导入";
+          this.upload.open = true;
+      },
+      /** 下载模板操作 */
+      importTemplate() {
+          importTemplate().then(response => {
+              this.download(response.msg);
+          });
+      },
+      // 文件上传中处理
+      handleFileUploadProgress(event, file, fileList) {
+          this.upload.isUploading = true;
+      },
+      // 文件上传成功处理
+      handleFileSuccess(response, file, fileList) {
+          this.upload.open = false;
+          this.upload.isUploading = false;
+          this.$refs.upload.clearFiles();
+          this.$alert(response.msg, "导入结果", { dangerouslyUseHTMLString: true });
+          this.getList();
+      },
+      // 提交上传文件
+      submitFileForm() {
+          this.$refs.upload.submit();
+      },
+       /** 报告附件按钮操作 */
+     handleDoc(row) {
+      this.doc.id = row.id;
+      this.doc.title = row.filename;
+      this.doc.open = true;
+      this.doc.queryParams.pId = row.id
+      this.doc.pId = row.id
+      this.getFileList()
+      this.$nextTick(() => {
+        this.$refs.doc.clearFiles()
+      })
+    },
+    getFileList (){
+      allFileList(this.doc.queryParams).then(response => {
+        this.doc.commonfileList = response;
+      });
+    },
+    //附件上传中处理
+    handleFileDocProgress(event, file, fileList) {
+      this.doc.file = file;
+      this.doc.isUploading = true;
+    },
+    //附件上传成功处理
+    handleFileDocSuccess(response, file, fileList) {
+      this.doc.isUploading = false;
+      this.$alert(response.msg, this.$t('导入结果'), { dangerouslyUseHTMLString: true });
+      this.getFileList()
+    },
+    /** 删除按钮操作 */
+    handleDeleteDoc(row) {
+      const ids = row.id || this.ids;
+      this.$confirm(this.$t('是否确认删除?'), this.$t('警告'), {
+        confirmButtonText: this.$t('确定'),
+        cancelButtonText: this.$t('取消'),
+        type: "warning"
+      }).then(function() {
+        return delCommonfile(ids);
+      }).then(() => {
+        this.getFileList()
+        this.msgSuccess(this.$t('删除成功'));
+      })
+    },
+    // 文件下载处理
+    handleDownload(row) {
+      var name = row.fileName;
+      var url = row.fileUrl;
+      var suffix = url.substring(url.lastIndexOf("."), url.length);
+      console.log(url)
+      const a = document.createElement('a')
+      a.setAttribute('download', name)
+      a.setAttribute('target', '_blank')
+      a.setAttribute('href', process.env.VUE_APP_BASE_API + url)
+      a.click()
+    },
+
+ //提交申请方法
+     addAprrove (row, type) {
+      var rows = row ? [row] : this.dataListSelections.map(item => {
+        return item
+      })
+      for (let i = 0; i <rows.length ; i++) {
+        if (rows[i].approveStatus != 0) {
+          this.$alert(this.$t('当前设备正在申请中,无法重复申请'), this.$t('提示'), {
+            type: 'warning'
+          })
+          return
+        }
+      }
+      this.addAprroveVisible = true
+      console.log(rows)
+      console.log(type)
+      this.$nextTick(() => {
+        this.$refs.addApprove.init(rows, type)
+      })
+    },
+    hisApprove (row, type) {
+      this.hisAprroveVisible = true
+      this.$nextTick(() => {
+        this.$refs.hisApprove.init(row, type)
+      })
+    },
+    checkList (row, type) {
+      this.hisCheckVisible = true
+      this.$nextTick(() => {
+        this.$refs.hisCheck.init(row, type)
+      })
+    },
+    hisReform (row) {
+      this.hisReformVisible = true
+      this.$nextTick(() => {
+        this.$refs.hisReformList.init(row)
+      })
+    },
+  }
+};
+</script>