Explorar o código

cpms优化
sis清单

jiangbiao hai 1 ano
pai
achega
be24431950

+ 173 - 0
cpms-admin/src/main/java/com/cpms/project/process/controller/TSifOverviewController.java

@@ -0,0 +1,173 @@
+package com.cpms.project.process.controller;
+
+import java.io.IOException;
+import java.util.List;
+import java.util.ArrayList;
+import com.alibaba.fastjson2.JSON;
+import com.cpms.common.utils.file.ExcelUtils;
+import javax.servlet.http.HttpServletResponse;
+import org.apache.poi.ss.usermodel.Cell;
+import org.apache.poi.ss.usermodel.Row;
+import org.apache.poi.ss.usermodel.Sheet;
+import org.apache.poi.ss.usermodel.Workbook;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.multipart.MultipartFile;
+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.cpms.common.annotation.Log;
+import com.cpms.common.core.controller.BaseController;
+import com.cpms.common.core.domain.AjaxResult;
+import com.cpms.common.enums.BusinessType;
+import com.cpms.project.process.domain.TSifOverview;
+import com.cpms.project.process.service.ITSifOverviewService;
+import com.cpms.common.utils.poi.ExcelUtil;
+import com.cpms.common.core.page.TableDataInfo;
+
+/**
+ * SIF Overview ListController
+ * 
+ * @author admin
+ * @date 2024-04-12
+ */
+@RestController
+@RequestMapping("/process/overview")
+public class TSifOverviewController extends BaseController
+{
+    @Autowired
+    private ITSifOverviewService tSifOverviewService;
+
+    /**
+     * 查询SIF Overview List列表
+     */
+    @PreAuthorize("@ss.hasPermi('process:overview:list')")
+    @GetMapping("/list")
+    public TableDataInfo list(TSifOverview tSifOverview)
+    {
+        startPage();
+        List<TSifOverview> list = tSifOverviewService.selectTSifOverviewList(tSifOverview);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出SIF Overview List列表
+     */
+    @PreAuthorize("@ss.hasPermi('process:overview:export')")
+    @Log(title = "SIF Overview List", businessType = BusinessType.EXPORT)
+    @PostMapping("/export")
+    public void export(HttpServletResponse response, TSifOverview tSifOverview)
+    {
+        List<TSifOverview> list = tSifOverviewService.selectTSifOverviewList(tSifOverview);
+        ExcelUtil<TSifOverview> util = new ExcelUtil<TSifOverview>(TSifOverview.class);
+        util.exportExcel(response, list, "SIF Overview List数据");
+    }
+
+    /**
+     * 获取SIF Overview List详细信息
+     */
+    @PreAuthorize("@ss.hasPermi('process:overview:query')")
+    @GetMapping(value = "/{id}")
+    public AjaxResult getInfo(@PathVariable("id") Long id)
+    {
+        return success(tSifOverviewService.selectTSifOverviewById(id));
+    }
+
+    /**
+     * 新增SIF Overview List
+     */
+    @PreAuthorize("@ss.hasPermi('process:overview:add')")
+    @Log(title = "SIF Overview List", businessType = BusinessType.INSERT)
+    @PostMapping
+    public AjaxResult add(@RequestBody TSifOverview tSifOverview)
+    {
+        return toAjax(tSifOverviewService.insertTSifOverview(tSifOverview));
+    }
+
+    /**
+     * 修改SIF Overview List
+     */
+    @PreAuthorize("@ss.hasPermi('process:overview:edit')")
+    @Log(title = "SIF Overview List", businessType = BusinessType.UPDATE)
+    @PutMapping
+    public AjaxResult edit(@RequestBody TSifOverview tSifOverview)
+    {
+        return toAjax(tSifOverviewService.updateTSifOverview(tSifOverview));
+    }
+
+    /**
+     * 删除SIF Overview List
+     */
+    @PreAuthorize("@ss.hasPermi('process:overview:remove')")
+    @Log(title = "SIF Overview List", businessType = BusinessType.DELETE)
+	@DeleteMapping("/{ids}")
+    public AjaxResult remove(@PathVariable Long[] ids)
+    {
+        return toAjax(tSifOverviewService.deleteTSifOverviewByIds(ids));
+    }
+
+
+    @Log(title = "SIF Overview List批量导入", businessType = BusinessType.INSERT)
+    @PostMapping("/importData")
+    public AjaxResult importData(@RequestParam("file") MultipartFile file) throws IOException {
+        //获取操作人员ID
+        Long userId = getUserId();
+        //报错行数统计
+        List<Integer> failRow = new ArrayList<>();
+        Workbook workbook = ExcelUtils.getWorkBook(file);
+        Sheet sheet = workbook.getSheetAt(0);
+        List<TSifOverview> list = new ArrayList<>();
+        int rowNum = sheet.getPhysicalNumberOfRows();
+        int failNumber = 0;
+        for (int i = 2; i < rowNum; i++) {
+            try {
+                logger.info("读取行数:" + i);
+                Row row = sheet.getRow(i);
+                int cellNum = row.getLastCellNum();
+                TSifOverview entity = new TSifOverview();
+                for (int j = 0; j < cellNum; j++) {
+                    Cell cell = row.getCell(j);
+                    if (cell == null) {
+                        continue;
+                    }
+                    String cellValue = ExcelUtils.getCellValue(cell);
+                    logger.info("cellValue:" + cellValue);
+                    // TODO 添加属性值
+                }
+                entity.setCreaterCode(String.valueOf(userId));
+                logger.info("entity:" + entity);
+                list.add(entity);
+            } catch (Exception e) {
+                failNumber++;
+                logger.info("e:" + JSON.toJSONString(e));
+                failRow.add(i + 1);
+            }
+        }
+        int successNumber = 0;
+        int failNum = 0;
+        for (TSifOverview t : list
+        ) {
+            failNum++;
+            try {
+                //根据使用证、注册编号、位号,进行数据更新
+                add(t);
+                successNumber++;
+            } catch (Exception e) {
+                failNumber++;
+                logger.info("e:" + e);
+                failRow.add(failNum + 1);
+            }
+        }
+        logger.info("list:" + JSON.toJSONString(list));
+        logger.info("successNumber:" + successNumber);
+        logger.info("failNumber:" + failNumber);
+        logger.info("failRow:" + failRow);
+        return AjaxResult.success(String.valueOf(successNumber), failRow);
+    }
+}

+ 325 - 0
cpms-admin/src/main/java/com/cpms/project/process/domain/TSifOverview.java

@@ -0,0 +1,325 @@
+package com.cpms.project.process.domain;
+
+import com.cpms.common.annotation.Excel;
+import com.cpms.common.core.domain.BaseEntity;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+
+import java.util.Date;
+
+/**
+ * SIF Overview List对象 t_sif_overview
+ *
+ * @author admin
+ * @date 2024-04-12
+ */
+public class TSifOverview extends BaseEntity {
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * id
+     */
+    private Long id;
+
+    /**
+     * SIF NO.
+     */
+    @Excel(name = "SIF NO.")
+    private String sifNo;
+
+    /**
+     * DEVIATION
+     */
+    @Excel(name = "DEVIATION")
+    private String deviation;
+
+    /**
+     * SHE / HAZOP ENTRY
+     */
+    @Excel(name = "SHE / HAZOP ENTRY")
+    private String sheNo;
+
+    /**
+     * CAUSE and CONSEQUENCE
+     */
+    @Excel(name = "CAUSE and CONSEQUENCE")
+    private String cac;
+
+    /**
+     * Requried SIL
+     */
+    @Excel(name = "Requried SIL")
+    private String requriedSil;
+
+    /**
+     * Sensors
+     */
+    @Excel(name = "Sensors")
+    private String sensors;
+
+    /**
+     * voting
+     */
+    @Excel(name = "voting")
+    private String sVoting;
+
+    /**
+     * Final elements
+     */
+    @Excel(name = "Final elements")
+    private String finalElements;
+
+    /**
+     * voting
+     */
+    @Excel(name = "voting")
+    private String fVoting;
+
+    /**
+     * Action
+     */
+    @Excel(name = "Action")
+    private String action;
+
+    /**
+     * Achieved SIL
+     */
+    @Excel(name = "Achieved SIL")
+    private String achievedSil;
+
+    /**
+     * PFD Calculation Required?
+     */
+    @Excel(name = "PFD Calculation Required?")
+    private String pfdCr;
+
+    /**
+     * 备注
+     */
+    @Excel(name = "备注")
+    private String remarks;
+
+    /**
+     * 删除标识
+     */
+    private Integer delFlag;
+
+    /**
+     * 创建人
+     */
+    @Excel(name = "创建人")
+    private String createrCode;
+
+    /**
+     * 创建日期
+     */
+    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
+    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date createdate;
+
+    /**
+     * 更新人
+     */
+    @Excel(name = "更新人")
+    private String 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;
+
+    public void setId(Long id) {
+        this.id = id;
+    }
+
+    public Long getId() {
+        return id;
+    }
+
+    public void setSifNo(String sifNo) {
+        this.sifNo = sifNo;
+    }
+
+    public String getSifNo() {
+        return sifNo;
+    }
+
+    public void setDeviation(String deviation) {
+        this.deviation = deviation;
+    }
+
+    public String getDeviation() {
+        return deviation;
+    }
+
+    public void setSheNo(String sheNo) {
+        this.sheNo = sheNo;
+    }
+
+    public String getSheNo() {
+        return sheNo;
+    }
+
+    public void setCac(String cac) {
+        this.cac = cac;
+    }
+
+    public String getCac() {
+        return cac;
+    }
+
+    public void setRequriedSil(String requriedSil) {
+        this.requriedSil = requriedSil;
+    }
+
+    public String getRequriedSil() {
+        return requriedSil;
+    }
+
+    public void setSensors(String sensors) {
+        this.sensors = sensors;
+    }
+
+    public String getSensors() {
+        return sensors;
+    }
+
+    public void setsVoting(String sVoting) {
+        this.sVoting = sVoting;
+    }
+
+    public String getsVoting() {
+        return sVoting;
+    }
+
+    public void setFinalElements(String finalElements) {
+        this.finalElements = finalElements;
+    }
+
+    public String getFinalElements() {
+        return finalElements;
+    }
+
+    public void setfVoting(String fVoting) {
+        this.fVoting = fVoting;
+    }
+
+    public String getfVoting() {
+        return fVoting;
+    }
+
+    public void setAction(String action) {
+        this.action = action;
+    }
+
+    public String getAction() {
+        return action;
+    }
+
+    public void setAchievedSil(String achievedSil) {
+        this.achievedSil = achievedSil;
+    }
+
+    public String getAchievedSil() {
+        return achievedSil;
+    }
+
+    public void setPfdCr(String pfdCr) {
+        this.pfdCr = pfdCr;
+    }
+
+    public String getPfdCr() {
+        return pfdCr;
+    }
+
+    public void setRemarks(String remarks) {
+        this.remarks = remarks;
+    }
+
+    public String getRemarks() {
+        return remarks;
+    }
+
+    public void setDelFlag(Integer delFlag) {
+        this.delFlag = delFlag;
+    }
+
+    public Integer getDelFlag() {
+        return delFlag;
+    }
+
+    public void setCreaterCode(String createrCode) {
+        this.createrCode = createrCode;
+    }
+
+    public String getCreaterCode() {
+        return createrCode;
+    }
+
+    public void setCreatedate(Date createdate) {
+        this.createdate = createdate;
+    }
+
+    public Date getCreatedate() {
+        return createdate;
+    }
+
+    public void setUpdaterCode(String updaterCode) {
+        this.updaterCode = updaterCode;
+    }
+
+    public String 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;
+    }
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
+                .append("id", getId())
+                .append("sifNo", getSifNo())
+                .append("deviation", getDeviation())
+                .append("sheNo", getSheNo())
+                .append("cac", getCac())
+                .append("requriedSil", getRequriedSil())
+                .append("sensors", getSensors())
+                .append("sVoting", getsVoting())
+                .append("finalElements", getFinalElements())
+                .append("fVoting", getfVoting())
+                .append("action", getAction())
+                .append("achievedSil", getAchievedSil())
+                .append("pfdCr", getPfdCr())
+                .append("remarks", getRemarks())
+                .append("delFlag", getDelFlag())
+                .append("createrCode", getCreaterCode())
+                .append("createdate", getCreatedate())
+                .append("updaterCode", getUpdaterCode())
+                .append("updatedate", getUpdatedate())
+                .append("deptId", getDeptId())
+                .toString();
+    }
+}

+ 61 - 0
cpms-admin/src/main/java/com/cpms/project/process/mapper/TSifOverviewMapper.java

@@ -0,0 +1,61 @@
+package com.cpms.project.process.mapper;
+
+import java.util.List;
+import com.cpms.project.process.domain.TSifOverview;
+
+/**
+ * SIF Overview ListMapper接口
+ * 
+ * @author admin
+ * @date 2024-04-12
+ */
+public interface TSifOverviewMapper 
+{
+    /**
+     * 查询SIF Overview List
+     * 
+     * @param id SIF Overview List主键
+     * @return SIF Overview List
+     */
+    public TSifOverview selectTSifOverviewById(Long id);
+
+    /**
+     * 查询SIF Overview List列表
+     * 
+     * @param tSifOverview SIF Overview List
+     * @return SIF Overview List集合
+     */
+    public List<TSifOverview> selectTSifOverviewList(TSifOverview tSifOverview);
+
+    /**
+     * 新增SIF Overview List
+     * 
+     * @param tSifOverview SIF Overview List
+     * @return 结果
+     */
+    public int insertTSifOverview(TSifOverview tSifOverview);
+
+    /**
+     * 修改SIF Overview List
+     * 
+     * @param tSifOverview SIF Overview List
+     * @return 结果
+     */
+    public int updateTSifOverview(TSifOverview tSifOverview);
+
+    /**
+     * 删除SIF Overview List
+     * 
+     * @param id SIF Overview List主键
+     * @return 结果
+     */
+    public int deleteTSifOverviewById(Long id);
+
+    /**
+     * 批量删除SIF Overview List
+     * 
+     * @param ids 需要删除的数据主键集合
+     * @return 结果
+     */
+    public int deleteTSifOverviewByIds(Long[] ids);
+}

+ 61 - 0
cpms-admin/src/main/java/com/cpms/project/process/service/ITSifOverviewService.java

@@ -0,0 +1,61 @@
+package com.cpms.project.process.service;
+
+import java.util.List;
+import com.cpms.project.process.domain.TSifOverview;
+
+/**
+ * SIF Overview ListService接口
+ * 
+ * @author admin
+ * @date 2024-04-12
+ */
+public interface ITSifOverviewService 
+{
+    /**
+     * 查询SIF Overview List
+     * 
+     * @param id SIF Overview List主键
+     * @return SIF Overview List
+     */
+    public TSifOverview selectTSifOverviewById(Long id);
+
+    /**
+     * 查询SIF Overview List列表
+     * 
+     * @param tSifOverview SIF Overview List
+     * @return SIF Overview List集合
+     */
+    public List<TSifOverview> selectTSifOverviewList(TSifOverview tSifOverview);
+
+    /**
+     * 新增SIF Overview List
+     * 
+     * @param tSifOverview SIF Overview List
+     * @return 结果
+     */
+    public int insertTSifOverview(TSifOverview tSifOverview);
+
+    /**
+     * 修改SIF Overview List
+     * 
+     * @param tSifOverview SIF Overview List
+     * @return 结果
+     */
+    public int updateTSifOverview(TSifOverview tSifOverview);
+
+    /**
+     * 批量删除SIF Overview List
+     * 
+     * @param ids 需要删除的SIF Overview List主键集合
+     * @return 结果
+     */
+    public int deleteTSifOverviewByIds(Long[] ids);
+
+    /**
+     * 删除SIF Overview List信息
+     * 
+     * @param id SIF Overview List主键
+     * @return 结果
+     */
+    public int deleteTSifOverviewById(Long id);
+}

+ 93 - 0
cpms-admin/src/main/java/com/cpms/project/process/service/impl/TSifOverviewServiceImpl.java

@@ -0,0 +1,93 @@
+package com.cpms.project.process.service.impl;
+
+import java.util.List;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.cpms.project.process.mapper.TSifOverviewMapper;
+import com.cpms.project.process.domain.TSifOverview;
+import com.cpms.project.process.service.ITSifOverviewService;
+
+/**
+ * SIF Overview ListService业务层处理
+ * 
+ * @author admin
+ * @date 2024-04-12
+ */
+@Service
+public class TSifOverviewServiceImpl implements ITSifOverviewService 
+{
+    @Autowired
+    private TSifOverviewMapper tSifOverviewMapper;
+
+    /**
+     * 查询SIF Overview List
+     * 
+     * @param id SIF Overview List主键
+     * @return SIF Overview List
+     */
+    @Override
+    public TSifOverview selectTSifOverviewById(Long id)
+    {
+        return tSifOverviewMapper.selectTSifOverviewById(id);
+    }
+
+    /**
+     * 查询SIF Overview List列表
+     * 
+     * @param tSifOverview SIF Overview List
+     * @return SIF Overview List
+     */
+    @Override
+    public List<TSifOverview> selectTSifOverviewList(TSifOverview tSifOverview)
+    {
+        return tSifOverviewMapper.selectTSifOverviewList(tSifOverview);
+    }
+
+    /**
+     * 新增SIF Overview List
+     * 
+     * @param tSifOverview SIF Overview List
+     * @return 结果
+     */
+    @Override
+    public int insertTSifOverview(TSifOverview tSifOverview)
+    {
+        return tSifOverviewMapper.insertTSifOverview(tSifOverview);
+    }
+
+    /**
+     * 修改SIF Overview List
+     * 
+     * @param tSifOverview SIF Overview List
+     * @return 结果
+     */
+    @Override
+    public int updateTSifOverview(TSifOverview tSifOverview)
+    {
+        return tSifOverviewMapper.updateTSifOverview(tSifOverview);
+    }
+
+    /**
+     * 批量删除SIF Overview List
+     * 
+     * @param ids 需要删除的SIF Overview List主键
+     * @return 结果
+     */
+    @Override
+    public int deleteTSifOverviewByIds(Long[] ids)
+    {
+        return tSifOverviewMapper.deleteTSifOverviewByIds(ids);
+    }
+
+    /**
+     * 删除SIF Overview List信息
+     * 
+     * @param id SIF Overview List主键
+     * @return 结果
+     */
+    @Override
+    public int deleteTSifOverviewById(Long id)
+    {
+        return tSifOverviewMapper.deleteTSifOverviewById(id);
+    }
+}

+ 147 - 0
cpms-admin/src/main/resources/mapper/process/TSifOverviewMapper.xml

@@ -0,0 +1,147 @@
+<?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.cpms.project.process.mapper.TSifOverviewMapper">
+    
+    <resultMap type="TSifOverview" id="TSifOverviewResult">
+        <result property="id"    column="id"    />
+        <result property="sifNo"    column="sif_no"    />
+        <result property="deviation"    column="deviation"    />
+        <result property="sheNo"    column="she_no"    />
+        <result property="cac"    column="cac"    />
+        <result property="requriedSil"    column="requried_sil"    />
+        <result property="sensors"    column="sensors"    />
+        <result property="sVoting"    column="s_voting"    />
+        <result property="finalElements"    column="final_elements"    />
+        <result property="fVoting"    column="f_voting"    />
+        <result property="action"    column="action"    />
+        <result property="achievedSil"    column="achieved_sil"    />
+        <result property="pfdCr"    column="pfd_cr"    />
+        <result property="remarks"    column="remarks"    />
+        <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"    />
+    </resultMap>
+
+    <sql id="selectTSifOverviewVo">
+        select id, sif_no, deviation, she_no, cac, requried_sil, sensors, s_voting, final_elements, f_voting, action, achieved_sil, pfd_cr, remarks, del_flag, creater_code, createdate, updater_code, updatedate, dept_id from t_sif_overview
+    </sql>
+
+    <select id="selectTSifOverviewList" parameterType="TSifOverview" resultMap="TSifOverviewResult">
+        <include refid="selectTSifOverviewVo"/>
+        <where>  
+            <if test="sifNo != null  and sifNo != ''"> and sif_no = #{sifNo}</if>
+            <if test="deviation != null  and deviation != ''"> and deviation = #{deviation}</if>
+            <if test="sheNo != null  and sheNo != ''"> and she_no = #{sheNo}</if>
+            <if test="cac != null  and cac != ''"> and cac = #{cac}</if>
+            <if test="requriedSil != null  and requriedSil != ''"> and requried_sil = #{requriedSil}</if>
+            <if test="sensors != null  and sensors != ''"> and sensors = #{sensors}</if>
+            <if test="sVoting != null  and sVoting != ''"> and s_voting = #{sVoting}</if>
+            <if test="finalElements != null  and finalElements != ''"> and final_elements = #{finalElements}</if>
+            <if test="fVoting != null  and fVoting != ''"> and f_voting = #{fVoting}</if>
+            <if test="action != null  and action != ''"> and action = #{action}</if>
+            <if test="achievedSil != null  and achievedSil != ''"> and achieved_sil = #{achievedSil}</if>
+            <if test="pfdCr != null  and pfdCr != ''"> and pfd_cr = #{pfdCr}</if>
+            <if test="remarks != null  and remarks != ''"> and remarks = #{remarks}</if>
+            <if test="createrCode != null  and createrCode != ''"> and creater_code = #{createrCode}</if>
+            <if test="createdate != null "> and createdate = #{createdate}</if>
+            <if test="updaterCode != null  and updaterCode != ''"> and updater_code = #{updaterCode}</if>
+            <if test="updatedate != null "> and updatedate = #{updatedate}</if>
+            <if test="deptId != null "> and dept_id = #{deptId}</if>
+        </where>
+    </select>
+    
+    <select id="selectTSifOverviewById" parameterType="Long" resultMap="TSifOverviewResult">
+        <include refid="selectTSifOverviewVo"/>
+        where id = #{id}
+    </select>
+        
+    <insert id="insertTSifOverview" parameterType="TSifOverview">
+        insert into t_sif_overview
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="id != null">id,</if>
+            <if test="sifNo != null">sif_no,</if>
+            <if test="deviation != null">deviation,</if>
+            <if test="sheNo != null">she_no,</if>
+            <if test="cac != null">cac,</if>
+            <if test="requriedSil != null">requried_sil,</if>
+            <if test="sensors != null">sensors,</if>
+            <if test="sVoting != null">s_voting,</if>
+            <if test="finalElements != null">final_elements,</if>
+            <if test="fVoting != null">f_voting,</if>
+            <if test="action != null">action,</if>
+            <if test="achievedSil != null">achieved_sil,</if>
+            <if test="pfdCr != null">pfd_cr,</if>
+            <if test="remarks != null">remarks,</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>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="id != null">#{id},</if>
+            <if test="sifNo != null">#{sifNo},</if>
+            <if test="deviation != null">#{deviation},</if>
+            <if test="sheNo != null">#{sheNo},</if>
+            <if test="cac != null">#{cac},</if>
+            <if test="requriedSil != null">#{requriedSil},</if>
+            <if test="sensors != null">#{sensors},</if>
+            <if test="sVoting != null">#{sVoting},</if>
+            <if test="finalElements != null">#{finalElements},</if>
+            <if test="fVoting != null">#{fVoting},</if>
+            <if test="action != null">#{action},</if>
+            <if test="achievedSil != null">#{achievedSil},</if>
+            <if test="pfdCr != null">#{pfdCr},</if>
+            <if test="remarks != null">#{remarks},</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>
+         </trim>
+    </insert>
+
+    <update id="updateTSifOverview" parameterType="TSifOverview">
+        update t_sif_overview
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="sifNo != null">sif_no = #{sifNo},</if>
+            <if test="deviation != null">deviation = #{deviation},</if>
+            <if test="sheNo != null">she_no = #{sheNo},</if>
+            <if test="cac != null">cac = #{cac},</if>
+            <if test="requriedSil != null">requried_sil = #{requriedSil},</if>
+            <if test="sensors != null">sensors = #{sensors},</if>
+            <if test="sVoting != null">s_voting = #{sVoting},</if>
+            <if test="finalElements != null">final_elements = #{finalElements},</if>
+            <if test="fVoting != null">f_voting = #{fVoting},</if>
+            <if test="action != null">action = #{action},</if>
+            <if test="achievedSil != null">achieved_sil = #{achievedSil},</if>
+            <if test="pfdCr != null">pfd_cr = #{pfdCr},</if>
+            <if test="remarks != null">remarks = #{remarks},</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>
+        </trim>
+        where id = #{id}
+    </update>
+
+    <delete id="deleteTSifOverviewById" parameterType="Long">
+        delete from t_sif_overview where id = #{id}
+    </delete>
+
+    <delete id="deleteTSifOverviewByIds" parameterType="String">
+        delete from t_sif_overview where id in 
+        <foreach item="id" collection="array" open="(" separator="," close=")">
+            #{id}
+        </foreach>
+    </delete>
+</mapper>

+ 3 - 3
cpms-generator/src/main/resources/vm/vue/index.vue.vm

@@ -125,7 +125,7 @@
     </el-row>
 
     <el-table v-loading="loading" :data="${businessName}List" @selection-change="handleSelectionChange" :height="clientHeight" border>
-      <el-table-column type="selection" width="55" align="center" />
+      <el-table-column type="selection" width="55" align="center"  fixed="left"/>
 #foreach($column in $columns)
 #set($javaField=$column.javaField)
 #set($parentheseIndex=$column.columnComment.indexOf("("))
@@ -191,8 +191,8 @@
     />
 
     <!-- 添加或修改${functionName}对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body :close-on-click-modal="false">
-      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
+    <el-dialog :title="title" :visible.sync="open" width="700px" append-to-body :close-on-click-modal="false">
+      <el-form ref="form" :model="form" :rules="rules" label-width="130px">
 #foreach($column in $columns)
 #set($field=$column.javaField)
 #if($column.insert && !$column.pk)

+ 1 - 1
cpms-generator/src/main/resources/vm/vue/v3/index.vue.vm

@@ -109,7 +109,7 @@
     </el-row>
 
     <el-table v-loading="loading" :data="${businessName}List" @selection-change="handleSelectionChange">
-      <el-table-column type="selection" width="55" align="center" />
+      <el-table-column type="selection" width="55" align="center"  fixed="left"/>
 #foreach($column in $columns)
 #set($javaField=$column.javaField)
 #set($parentheseIndex=$column.columnComment.indexOf("("))

+ 44 - 0
cpms-ui/src/api/process/overview.js

@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询SIF Overview List列表
+export function listOverview(query) {
+  return request({
+    url: '/process/overview/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询SIF Overview List详细
+export function getOverview(id) {
+  return request({
+    url: '/process/overview/' + id,
+    method: 'get'
+  })
+}
+
+// 新增SIF Overview List
+export function addOverview(data) {
+  return request({
+    url: '/process/overview',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改SIF Overview List
+export function updateOverview(data) {
+  return request({
+    url: '/process/overview',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除SIF Overview List
+export function delOverview(id) {
+  return request({
+    url: '/process/overview/' + id,
+    method: 'delete'
+  })
+}

+ 1 - 1
cpms-ui/src/views/file/file/index.vue

@@ -94,7 +94,7 @@
     </el-row>
 
     <el-table v-loading="loading" :data="fileList" @selection-change="handleSelectionChange" :height="clientHeight" border>
-      <el-table-column type="selection" width="55" align="center" />
+      <el-table-column type="selection" width="55" align="center"  fixed="left"/>
       <el-table-column label="附件地址" align="center" prop="fileUrl">
       </el-table-column>
       <el-table-column label="附件名称" align="center" prop="fileName">

+ 1 - 1
cpms-ui/src/views/monitor/job/index.vue

@@ -92,7 +92,7 @@
     </el-row>
 
     <el-table v-loading="loading" :data="jobList" @selection-change="handleSelectionChange">
-      <el-table-column type="selection" width="55" align="center" />
+      <el-table-column type="selection" width="55" align="center"  fixed="left"/>
       <el-table-column label="任务编号" width="100" align="center" prop="jobId" />
       <el-table-column label="任务名称" align="center" prop="jobName" :show-overflow-tooltip="true" />
       <el-table-column label="任务组名" align="center" prop="jobGroup">

+ 1 - 1
cpms-ui/src/views/monitor/job/log.vue

@@ -102,7 +102,7 @@
     </el-row>
 
     <el-table v-loading="loading" :data="jobLogList" @selection-change="handleSelectionChange">
-      <el-table-column type="selection" width="55" align="center" />
+      <el-table-column type="selection" width="55" align="center"  fixed="left"/>
       <el-table-column label="日志编号" width="80" align="center" prop="jobLogId" />
       <el-table-column label="任务名称" align="center" prop="jobName" :show-overflow-tooltip="true" />
       <el-table-column label="任务组名" align="center" prop="jobGroup" :show-overflow-tooltip="true">

+ 1 - 1
cpms-ui/src/views/monitor/logininfor/index.vue

@@ -99,7 +99,7 @@
     </el-row>
 
     <el-table ref="tables" v-loading="loading" :data="list" @selection-change="handleSelectionChange" :default-sort="defaultSort" @sort-change="handleSortChange">
-      <el-table-column type="selection" width="55" align="center" />
+      <el-table-column type="selection" width="55" align="center"  fixed="left"/>
       <el-table-column label="访问编号" align="center" prop="infoId" />
       <el-table-column label="用户名称" align="center" prop="userName" :show-overflow-tooltip="true" sortable="custom" :sort-orders="['descending', 'ascending']" />
       <el-table-column label="登录地址" align="center" prop="ipaddr" width="130" :show-overflow-tooltip="true" />

+ 1 - 1
cpms-ui/src/views/process/nonc/index.vue

@@ -113,7 +113,7 @@
     </el-row>
 
     <el-table v-loading="loading" :data="noncList" @selection-change="handleSelectionChange" :height="clientHeight" border>
-      <el-table-column type="selection" width="55" align="center" />
+      <el-table-column type="selection" width="55" align="center"  fixed="left"/>
       <el-table-column label="阀门标签号" align="center" prop="vtNo" />
       <el-table-column label="图纸管线号" align="center" prop="pidNo" />
       <el-table-column label="位置" align="center" prop="locationAt" />

+ 438 - 0
cpms-ui/src/views/process/overview/index.vue

@@ -0,0 +1,438 @@
+<template>
+  <div class="app-container">
+    <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
+      <el-form-item label="SIF NO." prop="sifNo">
+        <el-input
+          v-model="queryParams.sifNo"
+          placeholder="请输入SIF NO."
+          clearable
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item>
+        <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
+        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
+      </el-form-item>
+    </el-form>
+
+    <el-row :gutter="10" class="mb8">
+      <el-col :span="1.5">
+        <el-button
+          type="primary"
+          plain
+          icon="el-icon-plus"
+          size="mini"
+          @click="handleAdd"
+          v-hasPermi="['process:overview:add']"
+        >新增</el-button>
+      </el-col>
+      <el-col :span="1.5">
+        <el-button
+          type="success"
+          plain
+          icon="el-icon-edit"
+          size="mini"
+          :disabled="single"
+          @click="handleUpdate"
+          v-hasPermi="['process:overview:edit']"
+        >修改</el-button>
+      </el-col>
+      <el-col :span="1.5">
+        <el-button
+          type="danger"
+          plain
+          icon="el-icon-delete"
+          size="mini"
+          :disabled="multiple"
+          @click="handleDelete"
+          v-hasPermi="['process:overview:remove']"
+        >删除</el-button>
+      </el-col>
+      <el-col :span="1.5">
+        <el-button
+            type="warning"
+            plain
+            icon="el-icon-upload2"
+            size="mini"
+            @click="handleImport"
+            v-hasPermi="['process:overview:add']"
+        >导入
+        </el-button>
+      </el-col>
+      <el-col :span="1.5">
+        <el-button
+          type="warning"
+          plain
+          icon="el-icon-download"
+          size="mini"
+          @click="handleExport"
+          v-hasPermi="['process:overview:export']"
+        >导出</el-button>
+      </el-col>
+      <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
+    </el-row>
+
+    <el-table v-loading="loading" :data="overviewList" @selection-change="handleSelectionChange" :height="clientHeight" border>
+      <el-table-column type="selection" width="55" align="center"  fixed="left"/>
+      <el-table-column label="SIF NO." align="center" prop="sifNo" width="180"/>
+      <el-table-column label="DEVIATION" align="center" prop="deviation" width="180"/>
+      <el-table-column label="SHE / HAZOP ENTRY" align="center" prop="sheNo" width="180"/>
+      <el-table-column label="CAUSE and CONSEQUENCE" align="center" prop="cac" width="210"/>
+      <el-table-column label="Requried SIL" align="center" prop="requriedSil" width="180"/>
+      <el-table-column label="Sensors" align="center" prop="sensors" width="180"/>
+      <el-table-column label="voting" align="center" prop="sVoting" width="180"/>
+      <el-table-column label="Final elements" align="center" prop="finalElements" width="180"/>
+      <el-table-column label="voting" align="center" prop="fVoting" width="180"/>
+      <el-table-column label="Action" align="center" prop="action" width="180"/>
+      <el-table-column label="Remark" align="center" prop="remarks" width="250"/>
+      <el-table-column label="Achieved SIL" align="center" prop="achievedSil" width="180"/>
+      <el-table-column label="PFD Calculation Required?" align="center" prop="pfdCr" width="210"/>
+      <el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right" width="180">
+        <template slot-scope="scope">
+          <el-button
+            size="mini"
+            type="text"
+            icon="el-icon-edit"
+            @click="handleUpdate(scope.row)"
+            v-hasPermi="['process:overview:edit']"
+          >修改</el-button>
+          <el-button
+            size="mini"
+            type="text"
+            icon="el-icon-delete"
+            @click="handleDelete(scope.row)"
+            v-hasPermi="['process:overview: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"
+    />
+
+    <!-- 添加或修改SIF Overview List对话框 -->
+    <el-dialog :title="title" :visible.sync="open" width="800px" append-to-body :close-on-click-modal="false">
+      <el-form ref="form" :model="form" :rules="rules" label-width="210px">
+        <el-form-item label="SIF NO." prop="sifNo">
+          <el-input v-model="form.sifNo" placeholder="请输入SIF NO." />
+        </el-form-item>
+        <el-form-item label="DEVIATION" prop="deviation">
+          <el-input v-model="form.deviation" placeholder="请输入DEVIATION" />
+        </el-form-item>
+        <el-form-item label="SHE / HAZOP ENTRY" prop="sheNo">
+          <el-input v-model="form.sheNo" placeholder="请输入SHE / HAZOP ENTRY" />
+        </el-form-item>
+        <el-form-item label="CAUSE and CONSEQUENCE" prop="cac">
+          <el-input v-model="form.cac" placeholder="请输入CAUSE and CONSEQUENCE" />
+        </el-form-item>
+        <el-form-item label="Requried SIL" prop="requriedSil">
+          <el-input v-model="form.requriedSil" placeholder="请输入Requried SIL" />
+        </el-form-item>
+        <el-form-item label="Sensors" prop="sensors">
+          <el-input v-model="form.sensors" placeholder="请输入Sensors" />
+        </el-form-item>
+        <el-form-item label="voting" prop="sVoting">
+          <el-input v-model="form.sVoting" placeholder="请输入voting" />
+        </el-form-item>
+        <el-form-item label="Final elements" prop="finalElements">
+          <el-input v-model="form.finalElements" placeholder="请输入Final elements" />
+        </el-form-item>
+        <el-form-item label="voting" prop="fVoting">
+          <el-input v-model="form.fVoting" placeholder="请输入voting" />
+        </el-form-item>
+        <el-form-item label="Action" prop="action">
+          <el-input v-model="form.action" placeholder="请输入Action" />
+        </el-form-item>
+        <el-form-item label="Remark" prop="remarks">
+          <el-input v-model="form.remarks" placeholder="请输入Remark" />
+        </el-form-item>
+        <el-form-item label="Achieved SIL" prop="achievedSil">
+          <el-input v-model="form.achievedSil" placeholder="请输入Achieved SIL" />
+        </el-form-item>
+        <el-form-item label="PFD Calculation Required?" prop="pfdCr">
+          <el-input v-model="form.pfdCr" placeholder="请输入PFD Calculation Required?" />
+        </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 :close-on-click-modal="false" :title="upload.title" :visible.sync="upload.open" append-to-body
+               width="400px">
+      <el-upload
+          ref="upload"
+          :action="upload.url + '?updateSupport=' + upload.updateSupport"
+          :auto-upload="false"
+          :disabled="upload.isUploading"
+          :headers="upload.headers"
+          :limit="1"
+          :on-progress="handleFileUploadProgress"
+          :on-success="handleFileSuccess"
+          accept=".xlsx, .xls"
+          drag
+      >
+        <i class="el-icon-upload"></i>
+        <div class="el-upload__text">
+          将文件拖到此处,或
+          <em>点击上传</em>
+        </div>
+        <div slot="tip" class="el-upload__tip">
+          <!--          <el-checkbox v-model="upload.updateSupport"/>-->
+          <!--          是否更新已经存在的用户数据-->
+          <el-link style="font-size:12px" type="info" @click="importTemplate">下载模板</el-link>
+        </div>
+        <div slot="tip" class="el-upload__tip" style="color:red">提示:仅允许导入“xls”或“xlsx”格式文件!</div>
+      </el-upload>
+      <div slot="footer" class="dialog-footer">
+        <el-button v-loading.fullscreen.lock="fullscreenLoading" type="primary" @click="submitFileForm">确 定
+        </el-button>
+        <el-button @click="upload.open = false">取 消</el-button>
+      </div>
+    </el-dialog>
+    <form ref="downloadFileForm" :action="upload.downloadAction" target="FORMSUBMIT">
+      <input :value="upload.type" hidden name="type"/>
+    </form>
+  </div>
+</template>
+
+<script>
+import { listOverview, getOverview, delOverview, addOverview, updateOverview } from "@/api/process/overview";
+import {getToken} from "@/utils/auth";
+
+export default {
+  name: "Overview",
+  data() {
+    return {
+      // 批量导入全屏遮罩
+      fullscreenLoading: false,
+      // 用户导入参数
+      upload: {
+        downloadAction: process.env.VUE_APP_BASE_API + '/common/template',
+        type: "processoverview",
+        // 是否显示弹出层(用户导入)
+        open: false,
+        // 弹出层标题(用户导入)
+        title: "",
+        // 是否禁用上传
+        isUploading: false,
+        // 是否更新已经存在的用户数据
+        updateSupport: 0,
+        // 设置上传的请求头部
+        headers: {Authorization: "Bearer " + getToken()},
+        // 上传的地址
+        url: process.env.VUE_APP_BASE_API + "/process/overview/importData"
+      },
+      // 页面高度
+      clientHeight: 300,
+      // 遮罩层
+      loading: true,
+      // 选中数组
+      ids: [],
+      // 非单个禁用
+      single: true,
+      // 非多个禁用
+      multiple: true,
+      // 显示搜索条件
+      showSearch: false,
+      // 总条数
+      total: 0,
+      // SIF Overview List表格数据
+      overviewList: [],
+      // 弹出层标题
+      title: "",
+      // 是否显示弹出层
+      open: false,
+      // 查询参数
+      queryParams: {
+        pageNum: 1,
+        pageSize: 20,
+        sifNo: null,
+        deviation: null,
+        sheNo: null,
+        cac: null,
+        requriedSil: null,
+        sensors: null,
+        sVoting: null,
+        finalElements: null,
+        fVoting: null,
+        action: null,
+        achievedSil: null,
+        pfdCr: null,
+        remarks: null,
+        createrCode: null,
+        createdate: null,
+        updaterCode: null,
+        updatedate: null,
+        deptId: null
+      },
+      // 表单参数
+      form: {},
+      // 表单校验
+      rules: {
+      }
+    };
+  },
+  created() {
+    this.getList();
+    //设置表格高度对应屏幕高度
+    this.$nextTick(() => {
+      this.clientHeight = (document.body.clientHeight - 80) * 0.8
+    });
+  },
+  methods: {
+    /** 查询SIF Overview List列表 */
+    getList() {
+      this.loading = true;
+      listOverview(this.queryParams).then(response => {
+        this.overviewList = response.rows;
+        this.total = response.total;
+        this.loading = false;
+      });
+    },
+    // 取消按钮
+    cancel() {
+      this.open = false;
+      this.reset();
+    },
+    // 表单重置
+    reset() {
+      this.form = {
+        id: null,
+        sifNo: null,
+        deviation: null,
+        sheNo: null,
+        cac: null,
+        requriedSil: null,
+        sensors: null,
+        sVoting: null,
+        finalElements: null,
+        fVoting: null,
+        action: null,
+        achievedSil: null,
+        pfdCr: null,
+        remarks: null,
+        delFlag: null,
+        createrCode: null,
+        createdate: null,
+        updaterCode: null,
+        updatedate: null,
+        deptId: 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 = "添加SIF Overview List";
+    },
+    /** 修改按钮操作 */
+    handleUpdate(row) {
+      this.reset();
+      const id = row.id || this.ids
+      getOverview(id).then(response => {
+        this.form = response.data;
+        this.open = true;
+        this.title = "修改SIF Overview List";
+      });
+    },
+    /** 提交按钮 */
+    submitForm() {
+      this.$refs["form"].validate(valid => {
+        if (valid) {
+          if (this.form.id != null) {
+            updateOverview(this.form).then(response => {
+              this.$modal.msgSuccess("修改成功");
+              this.open = false;
+              this.getList();
+            });
+          } else {
+            addOverview(this.form).then(response => {
+              this.$modal.msgSuccess("新增成功");
+              this.open = false;
+              this.getList();
+            });
+          }
+        }
+      });
+    },
+    /** 删除按钮操作 */
+    handleDelete(row) {
+      const ids = row.id || this.ids;
+      this.$modal.confirm('是否确认删除SIF Overview List编号为"' + ids + '"的数据项?').then(function() {
+        return delOverview(ids);
+      }).then(() => {
+        this.getList();
+        this.$modal.msgSuccess("删除成功");
+      }).catch(() => {});
+    },
+    /** 导出按钮操作 */
+    handleExport() {
+      this.download('process/overview/export', {
+        ...this.queryParams
+      }, `overview_${new Date().getTime()}.xlsx`)
+    },
+    /** 导入按钮操作 */
+    handleImport() {
+      this.upload.title = "用户导入";
+      this.upload.open = true;
+    },
+    // 提交上传文件
+    submitFileForm() {
+      this.$refs.upload.submit();
+      this.fullscreenLoading = true;
+    },
+    // 文件上传中处理
+    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.fullscreenLoading = false;
+      if (response.data.length > 0) {
+        let failrow = ''
+        for (let i = 0; i < response.data.length; i++) {
+          failrow += response.data[i] + ','
+        }
+        this.$alert('导入成功条数:' + response.msg + '<br>' + '失败行数:' + failrow, '导入结果', {dangerouslyUseHTMLString: true});
+      } else {
+        this.$alert('导入成功条数:' + response.msg, '导入结果', {dangerouslyUseHTMLString: true});
+      }
+      this.getList();
+    },
+    /** 下载模板操作 */
+    importTemplate() {
+      this.$refs['downloadFileForm'].submit()
+    }
+  }
+};
+</script>

+ 1 - 1
cpms-ui/src/views/system/config/index.vue

@@ -103,7 +103,7 @@
     </el-row>
 
     <el-table v-loading="loading" :data="configList" @selection-change="handleSelectionChange">
-      <el-table-column type="selection" width="55" align="center" />
+      <el-table-column type="selection" width="55" align="center"  fixed="left"/>
       <el-table-column label="参数主键" align="center" prop="configId" />
       <el-table-column label="参数名称" align="center" prop="configName" :show-overflow-tooltip="true" />
       <el-table-column label="参数键名" align="center" prop="configKey" :show-overflow-tooltip="true" />

+ 1 - 1
cpms-ui/src/views/system/dict/data.vue

@@ -91,7 +91,7 @@
     </el-row>
 
     <el-table v-loading="loading" :data="dataList" @selection-change="handleSelectionChange">
-      <el-table-column type="selection" width="55" align="center" />
+      <el-table-column type="selection" width="55" align="center"  fixed="left"/>
       <el-table-column label="字典编码" align="center" prop="dictCode" />
       <el-table-column label="字典标签" align="center" prop="dictLabel">
         <template slot-scope="scope">

+ 1 - 1
cpms-ui/src/views/system/dict/index.vue

@@ -108,7 +108,7 @@
     </el-row>
 
     <el-table v-loading="loading" :data="typeList" @selection-change="handleSelectionChange">
-      <el-table-column type="selection" width="55" align="center" />
+      <el-table-column type="selection" width="55" align="center"  fixed="left"/>
       <el-table-column label="字典编号" align="center" prop="dictId" />
       <el-table-column label="字典名称" align="center" prop="dictName" :show-overflow-tooltip="true" />
       <el-table-column label="字典类型" align="center" :show-overflow-tooltip="true">

+ 1 - 1
cpms-ui/src/views/system/notice/index.vue

@@ -70,7 +70,7 @@
     </el-row>
 
     <el-table v-loading="loading" :data="noticeList" @selection-change="handleSelectionChange">
-      <el-table-column type="selection" width="55" align="center" />
+      <el-table-column type="selection" width="55" align="center"  fixed="left"/>
       <el-table-column label="序号" align="center" prop="noticeId" width="100" />
       <el-table-column
         label="公告标题"

+ 1 - 1
cpms-ui/src/views/system/post/index.vue

@@ -80,7 +80,7 @@
     </el-row>
 
     <el-table v-loading="loading" :data="postList" @selection-change="handleSelectionChange">
-      <el-table-column type="selection" width="55" align="center" />
+      <el-table-column type="selection" width="55" align="center"  fixed="left"/>
       <el-table-column label="岗位编号" align="center" prop="postId" />
       <el-table-column label="岗位编码" align="center" prop="postCode" />
       <el-table-column label="岗位名称" align="center" prop="postName" />

+ 1 - 1
cpms-ui/src/views/system/role/authUser.vue

@@ -60,7 +60,7 @@
     </el-row>
 
     <el-table v-loading="loading" :data="userList" @selection-change="handleSelectionChange">
-      <el-table-column type="selection" width="55" align="center" />
+      <el-table-column type="selection" width="55" align="center"  fixed="left"/>
       <el-table-column label="用户名称" prop="userName" :show-overflow-tooltip="true" />
       <el-table-column label="用户昵称" prop="nickName" :show-overflow-tooltip="true" />
       <el-table-column label="邮箱" prop="email" :show-overflow-tooltip="true" />

+ 1 - 1
cpms-ui/src/views/system/role/index.vue

@@ -98,7 +98,7 @@
     </el-row>
 
     <el-table v-loading="loading" :data="roleList" @selection-change="handleSelectionChange">
-      <el-table-column type="selection" width="55" align="center" />
+      <el-table-column type="selection" width="55" align="center"  fixed="left"/>
       <el-table-column label="角色编号" prop="roleId" width="120" />
       <el-table-column label="角色名称" prop="roleName" :show-overflow-tooltip="true" width="150" />
       <el-table-column label="权限字符" prop="roleKey" :show-overflow-tooltip="true" width="150" />