Browse Source

Merge branch 'master' of http://47.114.101.16:7070/ssy/newcpms

dengliying 11 months ago
parent
commit
c6b60bbfd3

+ 114 - 0
master/src/main/java/com/ruoyi/project/monitor/controller/TPfdController.java

@@ -0,0 +1,114 @@
+package com.ruoyi.project.monitor.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.monitor.domain.TPfd;
+import com.ruoyi.project.monitor.service.ITPfdService;
+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;
+
+/**
+ * PFD管理Controller
+ *
+ * @author ssy
+ * @date 2024-06-24
+ */
+@RestController
+@RequestMapping("/monitor/pfdmgr")
+public class TPfdController extends BaseController
+{
+    @Autowired
+    private ITPfdService tPfdService;
+
+    /**
+     * 查询PFD管理列表
+     */
+    @PreAuthorize("@ss.hasPermi('monitor:pfdmgr:list')")
+    @GetMapping("/list")
+    public TableDataInfo list(TPfd tPfd)
+    {
+        startPage();
+        List<TPfd> list = tPfdService.selectTPfdList(tPfd);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出PFD管理列表
+     */
+    @PreAuthorize("@ss.hasPermi('monitor:pfdmgr:export')")
+    @Log(title = "PFD管理", businessType = BusinessType.EXPORT)
+    @GetMapping("/export")
+    public AjaxResult export(TPfd tPfd)
+    {
+        List<TPfd> list = tPfdService.selectTPfdList(tPfd);
+        ExcelUtil<TPfd> util = new ExcelUtil<TPfd>(TPfd.class);
+        return util.exportExcel(list, "pfdmgr");
+    }
+
+    /**
+     * 获取PFD管理详细信息
+     */
+    @PreAuthorize("@ss.hasPermi('monitor:pfdmgr:query')")
+    @GetMapping(value = "/getInfoByCode/{code}")
+    public AjaxResult getInfoByCode(@PathVariable("code") String code)
+    {
+        return AjaxResult.success(tPfdService.selectTPfdByCode(code));
+    }
+
+
+    /**
+     * 获取PFD管理详细信息
+     */
+    @PreAuthorize("@ss.hasPermi('monitor:pfdmgr:query')")
+    @GetMapping(value = "/{id}")
+    public AjaxResult getInfo(@PathVariable("id") Long id)
+    {
+        return AjaxResult.success(tPfdService.selectTPfdById(id));
+    }
+
+    /**
+     * 新增PFD管理
+     */
+    @PreAuthorize("@ss.hasPermi('monitor:pfdmgr:add')")
+    @Log(title = "PFD管理", businessType = BusinessType.INSERT)
+    @PostMapping
+    public AjaxResult add(@RequestBody TPfd tPfd)
+    {
+        return toAjax(tPfdService.insertTPfd(tPfd));
+    }
+
+    /**
+     * 修改PFD管理
+     */
+    @PreAuthorize("@ss.hasPermi('monitor:pfdmgr:edit')")
+    @Log(title = "PFD管理", businessType = BusinessType.UPDATE)
+    @PutMapping
+    public AjaxResult edit(@RequestBody TPfd tPfd)
+    {
+        return toAjax(tPfdService.updateTPfd(tPfd));
+    }
+
+    /**
+     * 删除PFD管理
+     */
+    @PreAuthorize("@ss.hasPermi('monitor:pfdmgr:remove')")
+    @Log(title = "PFD管理", businessType = BusinessType.DELETE)
+	@DeleteMapping("/{ids}")
+    public AjaxResult remove(@PathVariable Long[] ids)
+    {
+        return toAjax(tPfdService.deleteTPfdByIds(ids));
+    }
+}

+ 1032 - 0
master/src/main/java/com/ruoyi/project/monitor/domain/TPfd.java

@@ -0,0 +1,1032 @@
+package com.ruoyi.project.monitor.domain;
+
+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;
+
+/**
+ * PFD管理对象 t_pfd
+ *
+ * @author ssy
+ * @date 2024-06-24
+ */
+public class TPfd extends BaseEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 主键 */
+    private Long id;
+
+    /** 物料编号 */
+    @Excel(name = "物料编号")
+    private String code;
+
+    /** 描述" */
+    @Excel(name = "描述")
+    private String description;
+
+    /** H2O */
+    @Excel(name = "H2O")
+    private String h2o;
+
+    /** HYDROGEN */
+    @Excel(name = "HYDROGEN")
+    private String hydrogen;
+
+    /** CO */
+    @Excel(name = "CO")
+    private String co;
+
+    /** METHANE */
+    @Excel(name = "METHANE")
+    private String methane;
+
+    /** ACETYLN */
+    @Excel(name = "ACETYLN")
+    private String acetyln;
+
+    /** ETHYLENE */
+    @Excel(name = "ETHYLENE")
+    private String ethylene;
+
+    /** ETHANE */
+    @Excel(name = "ETHANE")
+    private String ethane;
+
+    /** MACETYLN */
+    @Excel(name = "MACETYLN")
+    private String macetyln;
+
+    /** PROPDIEN */
+    @Excel(name = "PROPDIEN")
+    private String propdien;
+
+    /** PROPYLEN */
+    @Excel(name = "PROPYLEN")
+    private String propylen;
+
+    /** PROPANE */
+    @Excel(name = "PROPANE")
+    private String propane;
+
+    /** 13BUTD */
+    @Excel(name = "13BUTD")
+    private String butd13;
+
+    /** 1BUTENE */
+    @Excel(name = "1BUTENE")
+    private String butene1;
+
+    /** IBTE */
+    @Excel(name = "IBTE")
+    private String ibte;
+
+    /** C2BUTENE */
+    @Excel(name = "C2BUTENE")
+    private String c2butene;
+
+    /** T2BUTENE */
+    @Excel(name = "T2BUTENE")
+    private String t2butene;
+
+    /** IBUTANE */
+    @Excel(name = "IBUTANE")
+    private String ibutane;
+
+    /** BUTANE */
+    @Excel(name = "BUTANE")
+    private String butane;
+
+    /** 13CPD */
+    @Excel(name = "13CPD")
+    private String cpd13;
+
+    /** ISOPRENE */
+    @Excel(name = "ISOPRENE")
+    private String isoprene;
+
+    /** C13PND */
+    @Excel(name = "C13PND")
+    private String c13pnd;
+
+    /** 1PENTENE */
+    @Excel(name = "1PENTENE")
+    private String pentene1;
+
+    /** IPENTANE */
+    @Excel(name = "IPENTANE")
+    private String ipentane;
+
+    /** PENTANE */
+    @Excel(name = "PENTANE")
+    private String pentane;
+
+    /** 1HEXENE */
+    @Excel(name = "1HEXENE")
+    private String hexene1;
+
+    /** BENZENE */
+    @Excel(name = "BENZENE")
+    private String benzene;
+
+    /** TOLUENE */
+    @Excel(name = "TOLUENE")
+    private String toluene;
+
+    /** OXYLENE */
+    @Excel(name = "OXYLENE")
+    private String oxylene;
+
+    /** C9-200C */
+    @Excel(name = "C9-200C")
+    private String c9200c;
+
+    /** FUEL OIL */
+    @Excel(name = "FUEL OIL")
+    private String fuelOil;
+
+    /** CO2 */
+    @Excel(name = "CO2")
+    private String co2;
+
+    /** H2S */
+    @Excel(name = "H2S")
+    private String h2s;
+
+    /** NBP 25 */
+    @Excel(name = "NBP 25")
+    private String nbp25;
+
+    /** NBP 58 */
+    @Excel(name = "NBP 58")
+    private String nbp58;
+
+    /** NBP 72 */
+    @Excel(name = "NBP 72")
+    private String nbp72;
+
+    /** NBP 86 */
+    @Excel(name = "NBP 86")
+    private String nbp86;
+
+    /** NBP 100 */
+    @Excel(name = "NBP 100")
+    private String nbp100;
+
+    /** NBP 114 */
+    @Excel(name = "NBP 114")
+    private String nbp114;
+
+    /** NBP 128 */
+    @Excel(name = "NBP 128")
+    private String nbp128;
+
+    /** NBP 141 */
+    @Excel(name = "NBP 141")
+    private String nbp141;
+
+    /** NBP 155 */
+    @Excel(name = "NBP 155")
+    private String nbp155;
+
+    /** NBP 169 */
+    @Excel(name = "NBP 169")
+    private String nbp169;
+
+    /** NBP 183 */
+    @Excel(name = "NBP 183")
+    private String nbp183;
+
+    /** NBP 199 */
+    @Excel(name = "NBP 199")
+    private String nbp199;
+
+    /** NBP 207 */
+    @Excel(name = "NBP 207")
+    private String nbp207;
+
+    /** NBP 222 */
+    @Excel(name = "NBP 222")
+    private String nbp222;
+
+    /** NBP 236 */
+    @Excel(name = "NBP 236")
+    private String nbp236;
+
+    /** NBP 249 */
+    @Excel(name = "NBP 249")
+    private String nbp249;
+
+    /** Total Molar Flowrate */
+    @Excel(name = "Total Molar Flowrate")
+    private String totalMolarFlowrate;
+
+    /** Total Mass Flowrate */
+    @Excel(name = "Total Mass Flowrate")
+    private String totalMassFlowrate;
+
+    /** Total Molecular Weight */
+    @Excel(name = "Total Molecular Weight")
+    private String totalMolecularWeight;
+
+    /** Temperature */
+    @Excel(name = "Temperature")
+    private String temperature;
+
+    /** Pressure */
+    @Excel(name = "Pressure")
+    private String pressure;
+
+    /** Vapor Mass Flowrate */
+    @Excel(name = "Vapor Mass Flowrate")
+    private String vaporMassFlowrate;
+
+    /** Vapor Molecular Weight */
+    @Excel(name = "Vapor Molecular Weight")
+    private String vaporMolecularWeight;
+
+    /** Vapor Density, Act */
+    @Excel(name = "Vapor Density, Act")
+    private String vaporDensityAct;
+
+    /** Vapor Z */
+    @Excel(name = "Vapor Z")
+    private String vaporZ;
+
+    /** Vapor Act Vol Flow */
+    @Excel(name = "Vapor Act Vol Flow")
+    private String vaporActVolFlow;
+
+    /** Vapor Ht Capacity */
+    @Excel(name = "Vapor Ht Capacity")
+    private String vaporHtCapacity;
+
+    /** Vapor Viscosity */
+    @Excel(name = "Vapor Viscosity")
+    private String vaporViscosity;
+
+    /** Liquid Mass Flowrate */
+    @Excel(name = "Liquid Mass Flowrate")
+    private String liquidMassFlowrate;
+
+    /** Liquid Molecular Weight */
+    @Excel(name = "Liquid Molecular Weight")
+    private String liquidMolecularWeight;
+
+    /** Liquid Density, Act */
+    @Excel(name = "Liquid Density, Act")
+    private String liquidDensityAct;
+
+    /** Liquid Act Vol Flow */
+    @Excel(name = "Liquid Act Vol Flow")
+    private String liquidActVolFlow;
+
+    /** Liquid Ht Capacity */
+    @Excel(name = "Liquid Ht Capacity")
+    private String liquidHtCapacity;
+
+    /** Liquid Viscosity */
+    @Excel(name = "Liquid Viscosity")
+    private String liquidViscosity;
+
+    /** Liquid Surf Tension */
+    @Excel(name = "Liquid Surf Tension")
+    private String liquidSurfTension;
+
+    /** 删除状态 */
+    private String delFlag;
+
+    /** 部门编号 */
+    @Excel(name = "部门编号")
+    private Long deptId;
+
+    public String getDescription() {
+        return description;
+    }
+
+    public void setDescription(String description) {
+        this.description = description;
+    }
+
+    public void setId(Long id)
+    {
+        this.id = id;
+    }
+
+    public Long getId()
+    {
+        return id;
+    }
+    public void setCode(String code)
+    {
+        this.code = code;
+    }
+
+    public String getCode()
+    {
+        return code;
+    }
+    public void setH2o(String h2o)
+    {
+        this.h2o = h2o;
+    }
+
+    public String getH2o()
+    {
+        return h2o;
+    }
+    public void setHydrogen(String hydrogen)
+    {
+        this.hydrogen = hydrogen;
+    }
+
+    public String getHydrogen()
+    {
+        return hydrogen;
+    }
+    public void setCo(String co)
+    {
+        this.co = co;
+    }
+
+    public String getCo()
+    {
+        return co;
+    }
+    public void setMethane(String methane)
+    {
+        this.methane = methane;
+    }
+
+    public String getMethane()
+    {
+        return methane;
+    }
+    public void setAcetyln(String acetyln)
+    {
+        this.acetyln = acetyln;
+    }
+
+    public String getAcetyln()
+    {
+        return acetyln;
+    }
+    public void setEthylene(String ethylene)
+    {
+        this.ethylene = ethylene;
+    }
+
+    public String getEthylene()
+    {
+        return ethylene;
+    }
+    public void setEthane(String ethane)
+    {
+        this.ethane = ethane;
+    }
+
+    public String getEthane()
+    {
+        return ethane;
+    }
+    public void setMacetyln(String macetyln)
+    {
+        this.macetyln = macetyln;
+    }
+
+    public String getMacetyln()
+    {
+        return macetyln;
+    }
+    public void setPropdien(String propdien)
+    {
+        this.propdien = propdien;
+    }
+
+    public String getPropdien()
+    {
+        return propdien;
+    }
+    public void setPropylen(String propylen)
+    {
+        this.propylen = propylen;
+    }
+
+    public String getPropylen()
+    {
+        return propylen;
+    }
+    public void setPropane(String propane)
+    {
+        this.propane = propane;
+    }
+
+    public String getPropane()
+    {
+        return propane;
+    }
+    public void setButd13(String butd13)
+    {
+        this.butd13 = butd13;
+    }
+
+    public String getButd13()
+    {
+        return butd13;
+    }
+    public void setButene1(String butene1)
+    {
+        this.butene1 = butene1;
+    }
+
+    public String getButene1()
+    {
+        return butene1;
+    }
+    public void setIbte(String ibte)
+    {
+        this.ibte = ibte;
+    }
+
+    public String getIbte()
+    {
+        return ibte;
+    }
+    public void setC2butene(String c2butene)
+    {
+        this.c2butene = c2butene;
+    }
+
+    public String getC2butene()
+    {
+        return c2butene;
+    }
+    public void setT2butene(String t2butene)
+    {
+        this.t2butene = t2butene;
+    }
+
+    public String getT2butene()
+    {
+        return t2butene;
+    }
+    public void setIbutane(String ibutane)
+    {
+        this.ibutane = ibutane;
+    }
+
+    public String getIbutane()
+    {
+        return ibutane;
+    }
+    public void setButane(String butane)
+    {
+        this.butane = butane;
+    }
+
+    public String getButane()
+    {
+        return butane;
+    }
+    public void setCpd13(String cpd13)
+    {
+        this.cpd13 = cpd13;
+    }
+
+    public String getCpd13()
+    {
+        return cpd13;
+    }
+    public void setIsoprene(String isoprene)
+    {
+        this.isoprene = isoprene;
+    }
+
+    public String getIsoprene()
+    {
+        return isoprene;
+    }
+    public void setC13pnd(String c13pnd)
+    {
+        this.c13pnd = c13pnd;
+    }
+
+    public String getC13pnd()
+    {
+        return c13pnd;
+    }
+    public void setPentene1(String pentene1)
+    {
+        this.pentene1 = pentene1;
+    }
+
+    public String getPentene1()
+    {
+        return pentene1;
+    }
+    public void setIpentane(String ipentane)
+    {
+        this.ipentane = ipentane;
+    }
+
+    public String getIpentane()
+    {
+        return ipentane;
+    }
+    public void setPentane(String pentane)
+    {
+        this.pentane = pentane;
+    }
+
+    public String getPentane()
+    {
+        return pentane;
+    }
+    public void setHexene1(String hexene1)
+    {
+        this.hexene1 = hexene1;
+    }
+
+    public String getHexene1()
+    {
+        return hexene1;
+    }
+    public void setBenzene(String benzene)
+    {
+        this.benzene = benzene;
+    }
+
+    public String getBenzene()
+    {
+        return benzene;
+    }
+    public void setToluene(String toluene)
+    {
+        this.toluene = toluene;
+    }
+
+    public String getToluene()
+    {
+        return toluene;
+    }
+    public void setOxylene(String oxylene)
+    {
+        this.oxylene = oxylene;
+    }
+
+    public String getOxylene()
+    {
+        return oxylene;
+    }
+    public void setC9200c(String c9200c)
+    {
+        this.c9200c = c9200c;
+    }
+
+    public String getC9200c()
+    {
+        return c9200c;
+    }
+    public void setFuelOil(String fuelOil)
+    {
+        this.fuelOil = fuelOil;
+    }
+
+    public String getFuelOil()
+    {
+        return fuelOil;
+    }
+    public void setCo2(String co2)
+    {
+        this.co2 = co2;
+    }
+
+    public String getCo2()
+    {
+        return co2;
+    }
+    public void setH2s(String h2s)
+    {
+        this.h2s = h2s;
+    }
+
+    public String getH2s()
+    {
+        return h2s;
+    }
+    public void setNbp25(String nbp25)
+    {
+        this.nbp25 = nbp25;
+    }
+
+    public String getNbp25()
+    {
+        return nbp25;
+    }
+    public void setNbp58(String nbp58)
+    {
+        this.nbp58 = nbp58;
+    }
+
+    public String getNbp58()
+    {
+        return nbp58;
+    }
+    public void setNbp72(String nbp72)
+    {
+        this.nbp72 = nbp72;
+    }
+
+    public String getNbp72()
+    {
+        return nbp72;
+    }
+    public void setNbp86(String nbp86)
+    {
+        this.nbp86 = nbp86;
+    }
+
+    public String getNbp86()
+    {
+        return nbp86;
+    }
+    public void setNbp100(String nbp100)
+    {
+        this.nbp100 = nbp100;
+    }
+
+    public String getNbp100()
+    {
+        return nbp100;
+    }
+    public void setNbp114(String nbp114)
+    {
+        this.nbp114 = nbp114;
+    }
+
+    public String getNbp114()
+    {
+        return nbp114;
+    }
+    public void setNbp128(String nbp128)
+    {
+        this.nbp128 = nbp128;
+    }
+
+    public String getNbp128()
+    {
+        return nbp128;
+    }
+    public void setNbp141(String nbp141)
+    {
+        this.nbp141 = nbp141;
+    }
+
+    public String getNbp141()
+    {
+        return nbp141;
+    }
+    public void setNbp155(String nbp155)
+    {
+        this.nbp155 = nbp155;
+    }
+
+    public String getNbp155()
+    {
+        return nbp155;
+    }
+    public void setNbp169(String nbp169)
+    {
+        this.nbp169 = nbp169;
+    }
+
+    public String getNbp169()
+    {
+        return nbp169;
+    }
+    public void setNbp183(String nbp183)
+    {
+        this.nbp183 = nbp183;
+    }
+
+    public String getNbp183()
+    {
+        return nbp183;
+    }
+    public void setNbp199(String nbp199)
+    {
+        this.nbp199 = nbp199;
+    }
+
+    public String getNbp199()
+    {
+        return nbp199;
+    }
+    public void setNbp207(String nbp207)
+    {
+        this.nbp207 = nbp207;
+    }
+
+    public String getNbp207()
+    {
+        return nbp207;
+    }
+    public void setNbp222(String nbp222)
+    {
+        this.nbp222 = nbp222;
+    }
+
+    public String getNbp222()
+    {
+        return nbp222;
+    }
+    public void setNbp236(String nbp236)
+    {
+        this.nbp236 = nbp236;
+    }
+
+    public String getNbp236()
+    {
+        return nbp236;
+    }
+    public void setNbp249(String nbp249)
+    {
+        this.nbp249 = nbp249;
+    }
+
+    public String getNbp249()
+    {
+        return nbp249;
+    }
+    public void setTotalMolarFlowrate(String totalMolarFlowrate)
+    {
+        this.totalMolarFlowrate = totalMolarFlowrate;
+    }
+
+    public String getTotalMolarFlowrate()
+    {
+        return totalMolarFlowrate;
+    }
+    public void setTotalMassFlowrate(String totalMassFlowrate)
+    {
+        this.totalMassFlowrate = totalMassFlowrate;
+    }
+
+    public String getTotalMassFlowrate()
+    {
+        return totalMassFlowrate;
+    }
+    public void setTotalMolecularWeight(String totalMolecularWeight)
+    {
+        this.totalMolecularWeight = totalMolecularWeight;
+    }
+
+    public String getTotalMolecularWeight()
+    {
+        return totalMolecularWeight;
+    }
+    public void setTemperature(String temperature)
+    {
+        this.temperature = temperature;
+    }
+
+    public String getTemperature()
+    {
+        return temperature;
+    }
+    public void setPressure(String pressure)
+    {
+        this.pressure = pressure;
+    }
+
+    public String getPressure()
+    {
+        return pressure;
+    }
+    public void setVaporMassFlowrate(String vaporMassFlowrate)
+    {
+        this.vaporMassFlowrate = vaporMassFlowrate;
+    }
+
+    public String getVaporMassFlowrate()
+    {
+        return vaporMassFlowrate;
+    }
+    public void setVaporMolecularWeight(String vaporMolecularWeight)
+    {
+        this.vaporMolecularWeight = vaporMolecularWeight;
+    }
+
+    public String getVaporMolecularWeight()
+    {
+        return vaporMolecularWeight;
+    }
+    public void setVaporDensityAct(String vaporDensityAct)
+    {
+        this.vaporDensityAct = vaporDensityAct;
+    }
+
+    public String getVaporDensityAct()
+    {
+        return vaporDensityAct;
+    }
+    public void setVaporZ(String vaporZ)
+    {
+        this.vaporZ = vaporZ;
+    }
+
+    public String getVaporZ()
+    {
+        return vaporZ;
+    }
+    public void setVaporActVolFlow(String vaporActVolFlow)
+    {
+        this.vaporActVolFlow = vaporActVolFlow;
+    }
+
+    public String getVaporActVolFlow()
+    {
+        return vaporActVolFlow;
+    }
+    public void setVaporHtCapacity(String vaporHtCapacity)
+    {
+        this.vaporHtCapacity = vaporHtCapacity;
+    }
+
+    public String getVaporHtCapacity()
+    {
+        return vaporHtCapacity;
+    }
+    public void setVaporViscosity(String vaporViscosity)
+    {
+        this.vaporViscosity = vaporViscosity;
+    }
+
+    public String getVaporViscosity()
+    {
+        return vaporViscosity;
+    }
+    public void setLiquidMassFlowrate(String liquidMassFlowrate)
+    {
+        this.liquidMassFlowrate = liquidMassFlowrate;
+    }
+
+    public String getLiquidMassFlowrate()
+    {
+        return liquidMassFlowrate;
+    }
+    public void setLiquidMolecularWeight(String liquidMolecularWeight)
+    {
+        this.liquidMolecularWeight = liquidMolecularWeight;
+    }
+
+    public String getLiquidMolecularWeight()
+    {
+        return liquidMolecularWeight;
+    }
+    public void setLiquidDensityAct(String liquidDensityAct)
+    {
+        this.liquidDensityAct = liquidDensityAct;
+    }
+
+    public String getLiquidDensityAct()
+    {
+        return liquidDensityAct;
+    }
+    public void setLiquidActVolFlow(String liquidActVolFlow)
+    {
+        this.liquidActVolFlow = liquidActVolFlow;
+    }
+
+    public String getLiquidActVolFlow()
+    {
+        return liquidActVolFlow;
+    }
+    public void setLiquidHtCapacity(String liquidHtCapacity)
+    {
+        this.liquidHtCapacity = liquidHtCapacity;
+    }
+
+    public String getLiquidHtCapacity()
+    {
+        return liquidHtCapacity;
+    }
+    public void setLiquidViscosity(String liquidViscosity)
+    {
+        this.liquidViscosity = liquidViscosity;
+    }
+
+    public String getLiquidViscosity()
+    {
+        return liquidViscosity;
+    }
+    public void setLiquidSurfTension(String liquidSurfTension)
+    {
+        this.liquidSurfTension = liquidSurfTension;
+    }
+
+    public String getLiquidSurfTension()
+    {
+        return liquidSurfTension;
+    }
+    public void setDelFlag(String delFlag)
+    {
+        this.delFlag = delFlag;
+    }
+
+    public String getDelFlag()
+    {
+        return delFlag;
+    }
+    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("code", getCode())
+            .append("h2o", getH2o())
+            .append("hydrogen", getHydrogen())
+            .append("co", getCo())
+            .append("methane", getMethane())
+            .append("acetyln", getAcetyln())
+            .append("ethylene", getEthylene())
+            .append("ethane", getEthane())
+            .append("macetyln", getMacetyln())
+            .append("propdien", getPropdien())
+            .append("propylen", getPropylen())
+            .append("propane", getPropane())
+            .append("butd13", getButd13())
+            .append("butene1", getButene1())
+            .append("ibte", getIbte())
+            .append("c2butene", getC2butene())
+            .append("t2butene", getT2butene())
+            .append("ibutane", getIbutane())
+            .append("butane", getButane())
+            .append("cpd13", getCpd13())
+            .append("isoprene", getIsoprene())
+            .append("c13pnd", getC13pnd())
+            .append("pentene1", getPentene1())
+            .append("ipentane", getIpentane())
+            .append("pentane", getPentane())
+            .append("hexene1", getHexene1())
+            .append("benzene", getBenzene())
+            .append("toluene", getToluene())
+            .append("oxylene", getOxylene())
+            .append("c9200c", getC9200c())
+            .append("fuelOil", getFuelOil())
+            .append("co2", getCo2())
+            .append("h2s", getH2s())
+            .append("nbp25", getNbp25())
+            .append("nbp58", getNbp58())
+            .append("nbp72", getNbp72())
+            .append("nbp86", getNbp86())
+            .append("nbp100", getNbp100())
+            .append("nbp114", getNbp114())
+            .append("nbp128", getNbp128())
+            .append("nbp141", getNbp141())
+            .append("nbp155", getNbp155())
+            .append("nbp169", getNbp169())
+            .append("nbp183", getNbp183())
+            .append("nbp199", getNbp199())
+            .append("nbp207", getNbp207())
+            .append("nbp222", getNbp222())
+            .append("nbp236", getNbp236())
+            .append("nbp249", getNbp249())
+            .append("totalMolarFlowrate", getTotalMolarFlowrate())
+            .append("totalMassFlowrate", getTotalMassFlowrate())
+            .append("totalMolecularWeight", getTotalMolecularWeight())
+            .append("temperature", getTemperature())
+            .append("pressure", getPressure())
+            .append("vaporMassFlowrate", getVaporMassFlowrate())
+            .append("vaporMolecularWeight", getVaporMolecularWeight())
+            .append("vaporDensityAct", getVaporDensityAct())
+            .append("vaporZ", getVaporZ())
+            .append("vaporActVolFlow", getVaporActVolFlow())
+            .append("vaporHtCapacity", getVaporHtCapacity())
+            .append("vaporViscosity", getVaporViscosity())
+            .append("liquidMassFlowrate", getLiquidMassFlowrate())
+            .append("liquidMolecularWeight", getLiquidMolecularWeight())
+            .append("liquidDensityAct", getLiquidDensityAct())
+            .append("liquidActVolFlow", getLiquidActVolFlow())
+            .append("liquidHtCapacity", getLiquidHtCapacity())
+            .append("liquidViscosity", getLiquidViscosity())
+            .append("liquidSurfTension", getLiquidSurfTension())
+            .append("delFlag", getDelFlag())
+            .append("createBy", getCreateBy())
+            .append("createTime", getCreateTime())
+            .append("updateBy", getUpdateBy())
+            .append("updateTime", getUpdateTime())
+            .append("deptId", getDeptId())
+            .toString();
+    }
+}

+ 72 - 0
master/src/main/java/com/ruoyi/project/monitor/mapper/TPfdMapper.java

@@ -0,0 +1,72 @@
+package com.ruoyi.project.monitor.mapper;
+
+import java.util.List;
+import com.ruoyi.framework.aspectj.lang.annotation.DataScope;
+import com.ruoyi.project.monitor.domain.TPfd;
+import org.apache.ibatis.annotations.Param;
+
+/**
+ * PFD管理Mapper接口
+ * 
+ * @author ssy
+ * @date 2024-06-24
+ */
+public interface TPfdMapper 
+{
+    /**
+     * 查询PFD管理
+     * 
+     * @param id PFD管理ID
+     * @return PFD管理
+     */
+    public TPfd selectTPfdById(Long id);
+
+    /**
+     * 查询PFD管理
+     *
+     * @param code PFD管理编号
+     * @return PFD管理
+     */
+    public TPfd selectTPfdByCode(String code);
+
+    /**
+     * 查询PFD管理列表
+     * 
+     * @param tPfd PFD管理
+     * @return PFD管理集合
+     */
+    @DataScope(deptAlias = "d")
+    public List<TPfd> selectTPfdList(TPfd tPfd);
+
+    /**
+     * 新增PFD管理
+     * 
+     * @param tPfd PFD管理
+     * @return 结果
+     */
+    public int insertTPfd(TPfd tPfd);
+
+    /**
+     * 修改PFD管理
+     * 
+     * @param tPfd PFD管理
+     * @return 结果
+     */
+    public int updateTPfd(TPfd tPfd);
+
+    /**
+     * 删除PFD管理
+     * 
+     * @param id PFD管理ID
+     * @return 结果
+     */
+    public int deleteTPfdById(Long id);
+
+    /**
+     * 批量删除PFD管理
+     * 
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    public int deleteTPfdByIds(Long[] ids);
+}

+ 69 - 0
master/src/main/java/com/ruoyi/project/monitor/service/ITPfdService.java

@@ -0,0 +1,69 @@
+package com.ruoyi.project.monitor.service;
+
+import java.util.List;
+import com.ruoyi.project.monitor.domain.TPfd;
+
+/**
+ * PFD管理Service接口
+ * 
+ * @author ssy
+ * @date 2024-06-24
+ */
+public interface ITPfdService 
+{
+    /**
+     * 查询PFD管理
+     * 
+     * @param id PFD管理ID
+     * @return PFD管理
+     */
+    public TPfd selectTPfdById(Long id);
+
+    /**
+     * 查询PFD管理
+     *
+     * @param code PFD管理编号
+     * @return PFD管理
+     */
+    public TPfd selectTPfdByCode(String code);
+
+    /**
+     * 查询PFD管理列表
+     * 
+     * @param tPfd PFD管理
+     * @return PFD管理集合
+     */
+    public List<TPfd> selectTPfdList(TPfd tPfd);
+
+    /**
+     * 新增PFD管理
+     * 
+     * @param tPfd PFD管理
+     * @return 结果
+     */
+    public int insertTPfd(TPfd tPfd);
+
+    /**
+     * 修改PFD管理
+     * 
+     * @param tPfd PFD管理
+     * @return 结果
+     */
+    public int updateTPfd(TPfd tPfd);
+
+    /**
+     * 批量删除PFD管理
+     * 
+     * @param ids 需要删除的PFD管理ID
+     * @return 结果
+     */
+    public int deleteTPfdByIds(Long[] ids);
+
+    /**
+     * 删除PFD管理信息
+     * 
+     * @param id PFD管理ID
+     * @return 结果
+     */
+    public int deleteTPfdById(Long id);
+}

+ 106 - 0
master/src/main/java/com/ruoyi/project/monitor/service/impl/TPfdServiceImpl.java

@@ -0,0 +1,106 @@
+package com.ruoyi.project.monitor.service.impl;
+
+import java.util.List;
+import com.ruoyi.common.utils.DateUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ruoyi.project.monitor.mapper.TPfdMapper;
+import com.ruoyi.project.monitor.domain.TPfd;
+import com.ruoyi.project.monitor.service.ITPfdService;
+
+/**
+ * PFD管理Service业务层处理
+ *
+ * @author ssy
+ * @date 2024-06-24
+ */
+@Service
+public class TPfdServiceImpl implements ITPfdService
+{
+    @Autowired
+    private TPfdMapper tPfdMapper;
+
+    /**
+     * 查询PFD管理
+     *
+     * @param id PFD管理ID
+     * @return PFD管理
+     */
+    @Override
+    public TPfd selectTPfdById(Long id)
+    {
+        return tPfdMapper.selectTPfdById(id);
+    }
+
+    /**
+     * 查询PFD管理
+     *
+     * @param code PFD管理编号
+     * @return PFD管理
+     */
+    public TPfd selectTPfdByCode(String code) {
+        return tPfdMapper.selectTPfdByCode(code);
+    }
+
+    /**
+     * 查询PFD管理列表
+     *
+     * @param tPfd PFD管理
+     * @return PFD管理
+     */
+    @Override
+    public List<TPfd> selectTPfdList(TPfd tPfd)
+    {
+        return tPfdMapper.selectTPfdList(tPfd);
+    }
+
+    /**
+     * 新增PFD管理
+     *
+     * @param tPfd PFD管理
+     * @return 结果
+     */
+    @Override
+    public int insertTPfd(TPfd tPfd)
+    {
+        tPfd.setCreateTime(DateUtils.getNowDate());
+        return tPfdMapper.insertTPfd(tPfd);
+    }
+
+    /**
+     * 修改PFD管理
+     *
+     * @param tPfd PFD管理
+     * @return 结果
+     */
+    @Override
+    public int updateTPfd(TPfd tPfd)
+    {
+        tPfd.setUpdateTime(DateUtils.getNowDate());
+        return tPfdMapper.updateTPfd(tPfd);
+    }
+
+    /**
+     * 批量删除PFD管理
+     *
+     * @param ids 需要删除的PFD管理ID
+     * @return 结果
+     */
+    @Override
+    public int deleteTPfdByIds(Long[] ids)
+    {
+        return tPfdMapper.deleteTPfdByIds(ids);
+    }
+
+    /**
+     * 删除PFD管理信息
+     *
+     * @param id PFD管理ID
+     * @return 结果
+     */
+    @Override
+    public int deleteTPfdById(Long id)
+    {
+        return tPfdMapper.deleteTPfdById(id);
+    }
+}

+ 436 - 0
master/src/main/resources/mybatis/monitor/TPfdMapper.xml

@@ -0,0 +1,436 @@
+<?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.monitor.mapper.TPfdMapper">
+    
+    <resultMap type="TPfd" id="TPfdResult">
+        <result property="id"    column="id"    />
+        <result property="code"    column="code"    />
+        <result property="h2o"    column="h2o"    />
+        <result property="hydrogen"    column="hydrogen"    />
+        <result property="co"    column="co"    />
+        <result property="methane"    column="methane"    />
+        <result property="acetyln"    column="acetyln"    />
+        <result property="ethylene"    column="ethylene"    />
+        <result property="ethane"    column="ethane"    />
+        <result property="macetyln"    column="macetyln"    />
+        <result property="propdien"    column="propdien"    />
+        <result property="propylen"    column="propylen"    />
+        <result property="propane"    column="propane"    />
+        <result property="butd13"    column="butd13"    />
+        <result property="butene1"    column="butene1"    />
+        <result property="ibte"    column="ibte"    />
+        <result property="c2butene"    column="c2butene"    />
+        <result property="t2butene"    column="t2butene"    />
+        <result property="ibutane"    column="ibutane"    />
+        <result property="butane"    column="butane"    />
+        <result property="cpd13"    column="cpd13"    />
+        <result property="isoprene"    column="isoprene"    />
+        <result property="c13pnd"    column="c13pnd"    />
+        <result property="pentene1"    column="pentene1"    />
+        <result property="ipentane"    column="ipentane"    />
+        <result property="pentane"    column="pentane"    />
+        <result property="hexene1"    column="hexene1"    />
+        <result property="benzene"    column="benzene"    />
+        <result property="toluene"    column="toluene"    />
+        <result property="oxylene"    column="oxylene"    />
+        <result property="c9200c"    column="c9_200c"    />
+        <result property="fuelOil"    column="fuel_oil"    />
+        <result property="co2"    column="co2"    />
+        <result property="h2s"    column="h2s"    />
+        <result property="nbp25"    column="nbp25"    />
+        <result property="nbp58"    column="nbp58"    />
+        <result property="nbp72"    column="nbp72"    />
+        <result property="nbp86"    column="nbp86"    />
+        <result property="nbp100"    column="nbp100"    />
+        <result property="nbp114"    column="nbp114"    />
+        <result property="nbp128"    column="nbp128"    />
+        <result property="nbp141"    column="nbp141"    />
+        <result property="nbp155"    column="nbp155"    />
+        <result property="nbp169"    column="nbp169"    />
+        <result property="nbp183"    column="nbp183"    />
+        <result property="nbp199"    column="nbp199"    />
+        <result property="nbp207"    column="nbp207"    />
+        <result property="nbp222"    column="nbp222"    />
+        <result property="nbp236"    column="nbp236"    />
+        <result property="nbp249"    column="nbp249"    />
+        <result property="totalMolarFlowrate"    column="total_molar_flowrate"    />
+        <result property="totalMassFlowrate"    column="total_mass_flowrate"    />
+        <result property="totalMolecularWeight"    column="total_molecular_weight"    />
+        <result property="temperature"    column="temperature"    />
+        <result property="pressure"    column="pressure"    />
+        <result property="vaporMassFlowrate"    column="vapor_mass_flowrate"    />
+        <result property="vaporMolecularWeight"    column="vapor_molecular_weight"    />
+        <result property="vaporDensityAct"    column="vapor_density_act"    />
+        <result property="vaporZ"    column="vapor_z"    />
+        <result property="vaporActVolFlow"    column="vapor_act_vol_flow"    />
+        <result property="vaporHtCapacity"    column="vapor_ht_capacity"    />
+        <result property="vaporViscosity"    column="vapor_viscosity"    />
+        <result property="liquidMassFlowrate"    column="liquid_mass_flowrate"    />
+        <result property="liquidMolecularWeight"    column="liquid_molecular_weight"    />
+        <result property="liquidDensityAct"    column="liquid_density_act"    />
+        <result property="liquidActVolFlow"    column="liquid_act_vol_flow"    />
+        <result property="liquidHtCapacity"    column="liquid_ht_capacity"    />
+        <result property="liquidViscosity"    column="liquid_viscosity"    />
+        <result property="liquidSurfTension"    column="liquid_surf_tension"    />
+        <result property="delFlag"    column="del_flag"    />
+        <result property="createBy"    column="create_by"    />
+        <result property="createTime"    column="create_time"    />
+        <result property="updateBy"    column="update_by"    />
+        <result property="updateTime"    column="update_time"    />
+        <result property="deptId"    column="dept_id"    />
+        <result property="deptName" column="dept_name" />
+        <result property="description" column="description" />
+    </resultMap>
+
+    <sql id="selectTPfdVo">
+        select d.id, d.description, d.code, d.h2o, d.hydrogen, d.co, d.methane, d.acetyln, d.ethylene, d.ethane, d.macetyln, d.propdien, d.propylen, d.propane, d.butd13, d.butene1, d.ibte, d.c2butene, d.t2butene, d.ibutane, d.butane, d.cpd13, d.isoprene, d.c13pnd, d.pentene1, d.ipentane, d.pentane, d.hexene1, d.benzene, d.toluene, d.oxylene, d.c9_200c, d.fuel_oil, d.co2, d.h2s, d.nbp25, d.nbp58, d.nbp72, d.nbp86, d.nbp100, d.nbp114, d.nbp128, d.nbp141, d.nbp155, d.nbp169, d.nbp183, d.nbp199, d.nbp207, d.nbp222, d.nbp236, d.nbp249, d.total_molar_flowrate, d.total_mass_flowrate, d.total_molecular_weight, d.temperature, d.pressure, d.vapor_mass_flowrate, d.vapor_molecular_weight, d.vapor_density_act, d.vapor_z, d.vapor_act_vol_flow, d.vapor_ht_capacity, d.vapor_viscosity, d.liquid_mass_flowrate, d.liquid_molecular_weight, d.liquid_density_act, d.liquid_act_vol_flow, d.liquid_ht_capacity, d.liquid_viscosity, d.liquid_surf_tension, d.del_flag, d.create_by, d.create_time, d.update_by, d.update_time, d.dept_id from t_pfd d
+      left join sys_dept s on s.dept_id = d.dept_id
+    </sql>
+
+    <select id="selectTPfdList" parameterType="TPfd" resultMap="TPfdResult">
+        <include refid="selectTPfdVo"/>
+        <where>  
+            <if test="code != null  and code != ''"> and code = #{code}</if>
+            <if test="h2o != null  and h2o != ''"> and h2o = #{h2o}</if>
+            <if test="hydrogen != null  and hydrogen != ''"> and hydrogen = #{hydrogen}</if>
+            <if test="co != null  and co != ''"> and co = #{co}</if>
+            <if test="methane != null  and methane != ''"> and methane = #{methane}</if>
+            <if test="acetyln != null  and acetyln != ''"> and acetyln = #{acetyln}</if>
+            <if test="ethylene != null  and ethylene != ''"> and ethylene = #{ethylene}</if>
+            <if test="ethane != null  and ethane != ''"> and ethane = #{ethane}</if>
+            <if test="macetyln != null  and macetyln != ''"> and macetyln = #{macetyln}</if>
+            <if test="propdien != null  and propdien != ''"> and propdien = #{propdien}</if>
+            <if test="propylen != null  and propylen != ''"> and propylen = #{propylen}</if>
+            <if test="propane != null  and propane != ''"> and propane = #{propane}</if>
+            <if test="butd13 != null  and butd13 != ''"> and butd13 = #{butd13}</if>
+            <if test="butene1 != null  and butene1 != ''"> and butene1 = #{butene1}</if>
+            <if test="ibte != null  and ibte != ''"> and ibte = #{ibte}</if>
+            <if test="c2butene != null  and c2butene != ''"> and c2butene = #{c2butene}</if>
+            <if test="t2butene != null  and t2butene != ''"> and t2butene = #{t2butene}</if>
+            <if test="ibutane != null  and ibutane != ''"> and ibutane = #{ibutane}</if>
+            <if test="butane != null  and butane != ''"> and butane = #{butane}</if>
+            <if test="cpd13 != null  and cpd13 != ''"> and cpd13 = #{cpd13}</if>
+            <if test="isoprene != null  and isoprene != ''"> and isoprene = #{isoprene}</if>
+            <if test="c13pnd != null  and c13pnd != ''"> and c13pnd = #{c13pnd}</if>
+            <if test="pentene1 != null  and pentene1 != ''"> and pentene1 = #{pentene1}</if>
+            <if test="ipentane != null  and ipentane != ''"> and ipentane = #{ipentane}</if>
+            <if test="pentane != null  and pentane != ''"> and pentane = #{pentane}</if>
+            <if test="hexene1 != null  and hexene1 != ''"> and hexene1 = #{hexene1}</if>
+            <if test="benzene != null  and benzene != ''"> and benzene = #{benzene}</if>
+            <if test="toluene != null  and toluene != ''"> and toluene = #{toluene}</if>
+            <if test="oxylene != null  and oxylene != ''"> and oxylene = #{oxylene}</if>
+            <if test="c9200c != null  and c9200c != ''"> and c9_200c = #{c9200c}</if>
+            <if test="fuelOil != null  and fuelOil != ''"> and fuel_oil = #{fuelOil}</if>
+            <if test="co2 != null  and co2 != ''"> and co2 = #{co2}</if>
+            <if test="h2s != null  and h2s != ''"> and h2s = #{h2s}</if>
+            <if test="nbp25 != null  and nbp25 != ''"> and nbp25 = #{nbp25}</if>
+            <if test="nbp58 != null  and nbp58 != ''"> and nbp58 = #{nbp58}</if>
+            <if test="nbp72 != null  and nbp72 != ''"> and nbp72 = #{nbp72}</if>
+            <if test="nbp86 != null  and nbp86 != ''"> and nbp86 = #{nbp86}</if>
+            <if test="nbp100 != null  and nbp100 != ''"> and nbp100 = #{nbp100}</if>
+            <if test="nbp114 != null  and nbp114 != ''"> and nbp114 = #{nbp114}</if>
+            <if test="nbp128 != null  and nbp128 != ''"> and nbp128 = #{nbp128}</if>
+            <if test="nbp141 != null  and nbp141 != ''"> and nbp141 = #{nbp141}</if>
+            <if test="nbp155 != null  and nbp155 != ''"> and nbp155 = #{nbp155}</if>
+            <if test="nbp169 != null  and nbp169 != ''"> and nbp169 = #{nbp169}</if>
+            <if test="nbp183 != null  and nbp183 != ''"> and nbp183 = #{nbp183}</if>
+            <if test="nbp199 != null  and nbp199 != ''"> and nbp199 = #{nbp199}</if>
+            <if test="nbp207 != null  and nbp207 != ''"> and nbp207 = #{nbp207}</if>
+            <if test="nbp222 != null  and nbp222 != ''"> and nbp222 = #{nbp222}</if>
+            <if test="nbp236 != null  and nbp236 != ''"> and nbp236 = #{nbp236}</if>
+            <if test="nbp249 != null  and nbp249 != ''"> and nbp249 = #{nbp249}</if>
+            <if test="totalMolarFlowrate != null  and totalMolarFlowrate != ''"> and total_molar_flowrate = #{totalMolarFlowrate}</if>
+            <if test="totalMassFlowrate != null  and totalMassFlowrate != ''"> and total_mass_flowrate = #{totalMassFlowrate}</if>
+            <if test="totalMolecularWeight != null  and totalMolecularWeight != ''"> and total_molecular_weight = #{totalMolecularWeight}</if>
+            <if test="temperature != null  and temperature != ''"> and temperature = #{temperature}</if>
+            <if test="pressure != null  and pressure != ''"> and pressure = #{pressure}</if>
+            <if test="vaporMassFlowrate != null  and vaporMassFlowrate != ''"> and vapor_mass_flowrate = #{vaporMassFlowrate}</if>
+            <if test="vaporMolecularWeight != null  and vaporMolecularWeight != ''"> and vapor_molecular_weight = #{vaporMolecularWeight}</if>
+            <if test="vaporDensityAct != null  and vaporDensityAct != ''"> and vapor_density_act = #{vaporDensityAct}</if>
+            <if test="vaporZ != null  and vaporZ != ''"> and vapor_z = #{vaporZ}</if>
+            <if test="vaporActVolFlow != null  and vaporActVolFlow != ''"> and vapor_act_vol_flow = #{vaporActVolFlow}</if>
+            <if test="vaporHtCapacity != null  and vaporHtCapacity != ''"> and vapor_ht_capacity = #{vaporHtCapacity}</if>
+            <if test="vaporViscosity != null  and vaporViscosity != ''"> and vapor_viscosity = #{vaporViscosity}</if>
+            <if test="liquidMassFlowrate != null  and liquidMassFlowrate != ''"> and liquid_mass_flowrate = #{liquidMassFlowrate}</if>
+            <if test="liquidMolecularWeight != null  and liquidMolecularWeight != ''"> and liquid_molecular_weight = #{liquidMolecularWeight}</if>
+            <if test="liquidDensityAct != null  and liquidDensityAct != ''"> and liquid_density_act = #{liquidDensityAct}</if>
+            <if test="liquidActVolFlow != null  and liquidActVolFlow != ''"> and liquid_act_vol_flow = #{liquidActVolFlow}</if>
+            <if test="liquidHtCapacity != null  and liquidHtCapacity != ''"> and liquid_ht_capacity = #{liquidHtCapacity}</if>
+            <if test="liquidViscosity != null  and liquidViscosity != ''"> and liquid_viscosity = #{liquidViscosity}</if>
+            <if test="liquidSurfTension != null  and liquidSurfTension != ''"> and liquid_surf_tension = #{liquidSurfTension}</if>
+            <if test="deptId != null "> and dept_id = #{deptId}</if>
+            and d.del_flag = 0
+        </where>
+        <!-- 数据范围过滤 -->
+        ${params.dataScope}
+    </select>
+
+    <select id="selectTPfdByCode" parameterType="String" resultMap="TPfdResult">
+        <include refid="selectTPfdVo"/>
+        where d.code = #{code} and d.del_flag = 0
+    </select>
+
+    <select id="selectTPfdById" parameterType="Long" resultMap="TPfdResult">
+        <include refid="selectTPfdVo"/>
+        where id = #{id}
+    </select>
+        
+    <insert id="insertTPfd" parameterType="TPfd">
+        <selectKey keyProperty="id" resultType="long" order="BEFORE">
+            SELECT seq_t_pfd.NEXTVAL as id FROM DUAL
+        </selectKey>
+        insert into t_pfd
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="id != null">id,</if>
+            <if test="code != null">code,</if>
+            <if test="h2o != null">h2o,</if>
+            <if test="hydrogen != null">hydrogen,</if>
+            <if test="co != null">co,</if>
+            <if test="methane != null">methane,</if>
+            <if test="acetyln != null">acetyln,</if>
+            <if test="ethylene != null">ethylene,</if>
+            <if test="ethane != null">ethane,</if>
+            <if test="macetyln != null">macetyln,</if>
+            <if test="propdien != null">propdien,</if>
+            <if test="propylen != null">propylen,</if>
+            <if test="propane != null">propane,</if>
+            <if test="butd13 != null">butd13,</if>
+            <if test="butene1 != null">butene1,</if>
+            <if test="ibte != null">ibte,</if>
+            <if test="c2butene != null">c2butene,</if>
+            <if test="t2butene != null">t2butene,</if>
+            <if test="ibutane != null">ibutane,</if>
+            <if test="butane != null">butane,</if>
+            <if test="cpd13 != null">cpd13,</if>
+            <if test="isoprene != null">isoprene,</if>
+            <if test="c13pnd != null">c13pnd,</if>
+            <if test="pentene1 != null">pentene1,</if>
+            <if test="ipentane != null">ipentane,</if>
+            <if test="pentane != null">pentane,</if>
+            <if test="hexene1 != null">hexene1,</if>
+            <if test="benzene != null">benzene,</if>
+            <if test="toluene != null">toluene,</if>
+            <if test="oxylene != null">oxylene,</if>
+            <if test="c9200c != null">c9_200c,</if>
+            <if test="fuelOil != null">fuel_oil,</if>
+            <if test="co2 != null">co2,</if>
+            <if test="h2s != null">h2s,</if>
+            <if test="nbp25 != null">nbp25,</if>
+            <if test="nbp58 != null">nbp58,</if>
+            <if test="nbp72 != null">nbp72,</if>
+            <if test="nbp86 != null">nbp86,</if>
+            <if test="nbp100 != null">nbp100,</if>
+            <if test="nbp114 != null">nbp114,</if>
+            <if test="nbp128 != null">nbp128,</if>
+            <if test="nbp141 != null">nbp141,</if>
+            <if test="nbp155 != null">nbp155,</if>
+            <if test="nbp169 != null">nbp169,</if>
+            <if test="nbp183 != null">nbp183,</if>
+            <if test="nbp199 != null">nbp199,</if>
+            <if test="nbp207 != null">nbp207,</if>
+            <if test="nbp222 != null">nbp222,</if>
+            <if test="nbp236 != null">nbp236,</if>
+            <if test="nbp249 != null">nbp249,</if>
+            <if test="totalMolarFlowrate != null">total_molar_flowrate,</if>
+            <if test="totalMassFlowrate != null">total_mass_flowrate,</if>
+            <if test="totalMolecularWeight != null">total_molecular_weight,</if>
+            <if test="temperature != null">temperature,</if>
+            <if test="pressure != null">pressure,</if>
+            <if test="vaporMassFlowrate != null">vapor_mass_flowrate,</if>
+            <if test="vaporMolecularWeight != null">vapor_molecular_weight,</if>
+            <if test="vaporDensityAct != null">vapor_density_act,</if>
+            <if test="vaporZ != null">vapor_z,</if>
+            <if test="vaporActVolFlow != null">vapor_act_vol_flow,</if>
+            <if test="vaporHtCapacity != null">vapor_ht_capacity,</if>
+            <if test="vaporViscosity != null">vapor_viscosity,</if>
+            <if test="liquidMassFlowrate != null">liquid_mass_flowrate,</if>
+            <if test="liquidMolecularWeight != null">liquid_molecular_weight,</if>
+            <if test="liquidDensityAct != null">liquid_density_act,</if>
+            <if test="liquidActVolFlow != null">liquid_act_vol_flow,</if>
+            <if test="liquidHtCapacity != null">liquid_ht_capacity,</if>
+            <if test="liquidViscosity != null">liquid_viscosity,</if>
+            <if test="liquidSurfTension != null">liquid_surf_tension,</if>
+            <if test="delFlag != null">del_flag,</if>
+            <if test="createBy != null">create_by,</if>
+            <if test="createTime != null">create_time,</if>
+            <if test="updateBy != null">update_by,</if>
+            <if test="updateTime != null">update_time,</if>
+            <if test="deptId != null">dept_id,</if>
+            <if test="description != null">description,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="id != null">#{id},</if>
+            <if test="code != null">#{code},</if>
+            <if test="h2o != null">#{h2o},</if>
+            <if test="hydrogen != null">#{hydrogen},</if>
+            <if test="co != null">#{co},</if>
+            <if test="methane != null">#{methane},</if>
+            <if test="acetyln != null">#{acetyln},</if>
+            <if test="ethylene != null">#{ethylene},</if>
+            <if test="ethane != null">#{ethane},</if>
+            <if test="macetyln != null">#{macetyln},</if>
+            <if test="propdien != null">#{propdien},</if>
+            <if test="propylen != null">#{propylen},</if>
+            <if test="propane != null">#{propane},</if>
+            <if test="butd13 != null">#{butd13},</if>
+            <if test="butene1 != null">#{butene1},</if>
+            <if test="ibte != null">#{ibte},</if>
+            <if test="c2butene != null">#{c2butene},</if>
+            <if test="t2butene != null">#{t2butene},</if>
+            <if test="ibutane != null">#{ibutane},</if>
+            <if test="butane != null">#{butane},</if>
+            <if test="cpd13 != null">#{cpd13},</if>
+            <if test="isoprene != null">#{isoprene},</if>
+            <if test="c13pnd != null">#{c13pnd},</if>
+            <if test="pentene1 != null">#{pentene1},</if>
+            <if test="ipentane != null">#{ipentane},</if>
+            <if test="pentane != null">#{pentane},</if>
+            <if test="hexene1 != null">#{hexene1},</if>
+            <if test="benzene != null">#{benzene},</if>
+            <if test="toluene != null">#{toluene},</if>
+            <if test="oxylene != null">#{oxylene},</if>
+            <if test="c9200c != null">#{c9200c},</if>
+            <if test="fuelOil != null">#{fuelOil},</if>
+            <if test="co2 != null">#{co2},</if>
+            <if test="h2s != null">#{h2s},</if>
+            <if test="nbp25 != null">#{nbp25},</if>
+            <if test="nbp58 != null">#{nbp58},</if>
+            <if test="nbp72 != null">#{nbp72},</if>
+            <if test="nbp86 != null">#{nbp86},</if>
+            <if test="nbp100 != null">#{nbp100},</if>
+            <if test="nbp114 != null">#{nbp114},</if>
+            <if test="nbp128 != null">#{nbp128},</if>
+            <if test="nbp141 != null">#{nbp141},</if>
+            <if test="nbp155 != null">#{nbp155},</if>
+            <if test="nbp169 != null">#{nbp169},</if>
+            <if test="nbp183 != null">#{nbp183},</if>
+            <if test="nbp199 != null">#{nbp199},</if>
+            <if test="nbp207 != null">#{nbp207},</if>
+            <if test="nbp222 != null">#{nbp222},</if>
+            <if test="nbp236 != null">#{nbp236},</if>
+            <if test="nbp249 != null">#{nbp249},</if>
+            <if test="totalMolarFlowrate != null">#{totalMolarFlowrate},</if>
+            <if test="totalMassFlowrate != null">#{totalMassFlowrate},</if>
+            <if test="totalMolecularWeight != null">#{totalMolecularWeight},</if>
+            <if test="temperature != null">#{temperature},</if>
+            <if test="pressure != null">#{pressure},</if>
+            <if test="vaporMassFlowrate != null">#{vaporMassFlowrate},</if>
+            <if test="vaporMolecularWeight != null">#{vaporMolecularWeight},</if>
+            <if test="vaporDensityAct != null">#{vaporDensityAct},</if>
+            <if test="vaporZ != null">#{vaporZ},</if>
+            <if test="vaporActVolFlow != null">#{vaporActVolFlow},</if>
+            <if test="vaporHtCapacity != null">#{vaporHtCapacity},</if>
+            <if test="vaporViscosity != null">#{vaporViscosity},</if>
+            <if test="liquidMassFlowrate != null">#{liquidMassFlowrate},</if>
+            <if test="liquidMolecularWeight != null">#{liquidMolecularWeight},</if>
+            <if test="liquidDensityAct != null">#{liquidDensityAct},</if>
+            <if test="liquidActVolFlow != null">#{liquidActVolFlow},</if>
+            <if test="liquidHtCapacity != null">#{liquidHtCapacity},</if>
+            <if test="liquidViscosity != null">#{liquidViscosity},</if>
+            <if test="liquidSurfTension != null">#{liquidSurfTension},</if>
+            <if test="delFlag != null">#{delFlag},</if>
+            <if test="createBy != null">#{createBy},</if>
+            <if test="createTime != null">#{createTime},</if>
+            <if test="updateBy != null">#{updateBy},</if>
+            <if test="updateTime != null">#{updateTime},</if>
+            <if test="deptId != null">#{deptId},</if>
+            <if test="description != null">#{description},</if>
+         </trim>
+    </insert>
+
+    <update id="updateTPfd" parameterType="TPfd">
+        update t_pfd
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="code != null">code = #{code},</if>
+            <if test="h2o != null">h2o = #{h2o},</if>
+            <if test="hydrogen != null">hydrogen = #{hydrogen},</if>
+            <if test="co != null">co = #{co},</if>
+            <if test="methane != null">methane = #{methane},</if>
+            <if test="acetyln != null">acetyln = #{acetyln},</if>
+            <if test="ethylene != null">ethylene = #{ethylene},</if>
+            <if test="ethane != null">ethane = #{ethane},</if>
+            <if test="macetyln != null">macetyln = #{macetyln},</if>
+            <if test="propdien != null">propdien = #{propdien},</if>
+            <if test="propylen != null">propylen = #{propylen},</if>
+            <if test="propane != null">propane = #{propane},</if>
+            <if test="butd13 != null">butd13 = #{butd13},</if>
+            <if test="butene1 != null">butene1 = #{butene1},</if>
+            <if test="ibte != null">ibte = #{ibte},</if>
+            <if test="c2butene != null">c2butene = #{c2butene},</if>
+            <if test="t2butene != null">t2butene = #{t2butene},</if>
+            <if test="ibutane != null">ibutane = #{ibutane},</if>
+            <if test="butane != null">butane = #{butane},</if>
+            <if test="cpd13 != null">cpd13 = #{cpd13},</if>
+            <if test="isoprene != null">isoprene = #{isoprene},</if>
+            <if test="c13pnd != null">c13pnd = #{c13pnd},</if>
+            <if test="pentene1 != null">pentene1 = #{pentene1},</if>
+            <if test="ipentane != null">ipentane = #{ipentane},</if>
+            <if test="pentane != null">pentane = #{pentane},</if>
+            <if test="hexene1 != null">hexene1 = #{hexene1},</if>
+            <if test="benzene != null">benzene = #{benzene},</if>
+            <if test="toluene != null">toluene = #{toluene},</if>
+            <if test="oxylene != null">oxylene = #{oxylene},</if>
+            <if test="c9200c != null">c9_200c = #{c9200c},</if>
+            <if test="fuelOil != null">fuel_oil = #{fuelOil},</if>
+            <if test="co2 != null">co2 = #{co2},</if>
+            <if test="h2s != null">h2s = #{h2s},</if>
+            <if test="nbp25 != null">nbp25 = #{nbp25},</if>
+            <if test="nbp58 != null">nbp58 = #{nbp58},</if>
+            <if test="nbp72 != null">nbp72 = #{nbp72},</if>
+            <if test="nbp86 != null">nbp86 = #{nbp86},</if>
+            <if test="nbp100 != null">nbp100 = #{nbp100},</if>
+            <if test="nbp114 != null">nbp114 = #{nbp114},</if>
+            <if test="nbp128 != null">nbp128 = #{nbp128},</if>
+            <if test="nbp141 != null">nbp141 = #{nbp141},</if>
+            <if test="nbp155 != null">nbp155 = #{nbp155},</if>
+            <if test="nbp169 != null">nbp169 = #{nbp169},</if>
+            <if test="nbp183 != null">nbp183 = #{nbp183},</if>
+            <if test="nbp199 != null">nbp199 = #{nbp199},</if>
+            <if test="nbp207 != null">nbp207 = #{nbp207},</if>
+            <if test="nbp222 != null">nbp222 = #{nbp222},</if>
+            <if test="nbp236 != null">nbp236 = #{nbp236},</if>
+            <if test="nbp249 != null">nbp249 = #{nbp249},</if>
+            <if test="totalMolarFlowrate != null">total_molar_flowrate = #{totalMolarFlowrate},</if>
+            <if test="totalMassFlowrate != null">total_mass_flowrate = #{totalMassFlowrate},</if>
+            <if test="totalMolecularWeight != null">total_molecular_weight = #{totalMolecularWeight},</if>
+            <if test="temperature != null">temperature = #{temperature},</if>
+            <if test="pressure != null">pressure = #{pressure},</if>
+            <if test="vaporMassFlowrate != null">vapor_mass_flowrate = #{vaporMassFlowrate},</if>
+            <if test="vaporMolecularWeight != null">vapor_molecular_weight = #{vaporMolecularWeight},</if>
+            <if test="vaporDensityAct != null">vapor_density_act = #{vaporDensityAct},</if>
+            <if test="vaporZ != null">vapor_z = #{vaporZ},</if>
+            <if test="vaporActVolFlow != null">vapor_act_vol_flow = #{vaporActVolFlow},</if>
+            <if test="vaporHtCapacity != null">vapor_ht_capacity = #{vaporHtCapacity},</if>
+            <if test="vaporViscosity != null">vapor_viscosity = #{vaporViscosity},</if>
+            <if test="liquidMassFlowrate != null">liquid_mass_flowrate = #{liquidMassFlowrate},</if>
+            <if test="liquidMolecularWeight != null">liquid_molecular_weight = #{liquidMolecularWeight},</if>
+            <if test="liquidDensityAct != null">liquid_density_act = #{liquidDensityAct},</if>
+            <if test="liquidActVolFlow != null">liquid_act_vol_flow = #{liquidActVolFlow},</if>
+            <if test="liquidHtCapacity != null">liquid_ht_capacity = #{liquidHtCapacity},</if>
+            <if test="liquidViscosity != null">liquid_viscosity = #{liquidViscosity},</if>
+            <if test="liquidSurfTension != null">liquid_surf_tension = #{liquidSurfTension},</if>
+            <if test="delFlag != null">del_flag = #{delFlag},</if>
+            <if test="createBy != null">create_by = #{createBy},</if>
+            <if test="createTime != null">create_time = #{createTime},</if>
+            <if test="updateBy != null">update_by = #{updateBy},</if>
+            <if test="updateTime != null">update_time = #{updateTime},</if>
+            <if test="deptId != null">dept_id = #{deptId},</if>
+            <if test="description != null">description = #{description},</if>
+        </trim>
+        where id = #{id}
+    </update>
+
+    <update id="deleteTPfdById" parameterType="Long">
+        update t_pfd set del_flag = 2 where id = #{id}
+    </update>
+
+    <update id="deleteTPfdByIds" parameterType="String">
+        update t_pfd set del_flag = 2 where id in
+        <foreach item="id" collection="array" open="(" separator="," close=")">
+            #{id}
+        </foreach>
+    </update>
+    
+</mapper>

+ 61 - 0
ui/src/api/monitor/pfdmgr.js

@@ -0,0 +1,61 @@
+import request from '@/utils/request'
+
+// 查询PFD管理详细
+export function getPfdmgrByCode(code) {
+  return request({
+    url: '/monitor/pfdmgr/getInfoByCode/' + code,
+    method: 'get'
+  })
+}
+
+// 查询PFD管理列表
+export function listPfdmgr(query) {
+  return request({
+    url: '/monitor/pfdmgr/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询PFD管理详细
+export function getPfdmgr(id) {
+  return request({
+    url: '/monitor/pfdmgr/' + id,
+    method: 'get'
+  })
+}
+
+// 新增PFD管理
+export function addPfdmgr(data) {
+  return request({
+    url: '/monitor/pfdmgr',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改PFD管理
+export function updatePfdmgr(data) {
+  return request({
+    url: '/monitor/pfdmgr',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除PFD管理
+export function delPfdmgr(id) {
+  return request({
+    url: '/monitor/pfdmgr/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出PFD管理
+export function exportPfdmgr(query) {
+  return request({
+    url: '/monitor/pfdmgr/export',
+    method: 'get',
+    params: query
+  })
+}

+ 288 - 3
ui/src/views/monitor/pfd/index.vue

@@ -204,11 +204,17 @@
     </div>
 
     <el-dialog
-      title="提示"
+      :title="dialogTitle"
       :visible.sync="dialogVisible"
-      width="30%"
+      width="40%"
       :before-close="handleClose">
-      <span>{{ rhombusData }}</span>
+      <!--<span>{{ rhombusData }}</span>-->
+      <div style="margin-bottom: 20px;"><i><u>Description:</u></i> {{ description }}</div>
+      <el-table :data="tableData" style="width: 100%">
+        <el-table-column prop="mole" label="Composition, %mole"></el-table-column>
+        <el-table-column prop="mw" label="Comp. MW"></el-table-column>
+        <el-table-column prop="value" label=""></el-table-column>
+      </el-table>
       <span slot="footer" class="dialog-footer">
         <el-button @click="dialogVisible = false">取 消</el-button>
         <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
@@ -222,10 +228,16 @@
 // 拖拽是否开启
 let dragging = false;
 import throttle from "@/utils/throttle";
+import { getPfdmgrByCode } from "@/api/monitor/pfdmgr";
+
 export default {
     data() {
         return {
+            description: null,
+            tableData: [],
+
             dialogVisible: false,
+            dialogTitle:"",
             // 缩放比例
             scaleNum: 200,
             // 底图初始化宽度
@@ -565,6 +577,279 @@ export default {
         // 防止拖拽时触发点击事件
         if(dragging === true){
           this.rhombusData = num;
+          this.dialogTitle = num;
+          getPfdmgrByCode(num).then(response => {
+            let data = response.data;
+            this.description = data.description;
+            let h2o = data.h2o;
+            if (h2o != "" && h2o != null) {
+              this.tableData.push({ mole: "H2O", mw: "18.01" , value: h2o });
+            }
+            let hydrogen = data.hydrogen;
+            if (hydrogen != "" && hydrogen != null) {
+              this.tableData.push({ mole: "HYDROGEN", mw: "2.02" , value: hydrogen });
+            }
+            let co = data.co;
+            if (co != "" && co != null) {
+              this.tableData.push({ mole: "CO", mw: "28.01" , value: co });
+            }
+            let methane = data.methane;
+            if (methane != "" && methane != null) {
+              this.tableData.push({ mole: "METHANE", mw: "16.04" , value: methane });
+            }
+            let acetyln = data.acetyln;
+            if (acetyln != "" && acetyln != null) {
+              this.tableData.push({ mole: "ACETYLN", mw: "26.04" , value: acetyln });
+            }
+            let ethylene = data.ethylene;
+            if (ethylene != "" && ethylene != null) {
+              this.tableData.push({ mole: "ETHYLENE", mw: "28.05" , value: ethylene });
+            }
+            let ethane = data.ethane;
+            if (ethane != "" && ethane != null) {
+              this.tableData.push({ mole: "ETHANE", mw: "30.07" , value: ethane });
+            }
+            let macetyln = data.macetyln;
+            if (macetyln != "" && macetyln != null) {
+              this.tableData.push({ mole: "MACETYLN", mw: "40.06" , value: macetyln });
+            }
+            let propdien = data.propdien;
+            if (propdien != "" && propdien != null) {
+              this.tableData.push({ mole: "PROPDIEN", mw: "40.06" , value: propdien });
+            }
+            let propylen = data.propylen;
+            if (propylen != "" && propylen != null) {
+              this.tableData.push({ mole: "PROPYLEN", mw: "42.08" , value: propylen });
+            }
+            let propane = data.propane;
+            if (propane != "" && propane != null) {
+              this.tableData.push({ mole: "PROPANE", mw: "44.10" , value: propane });
+            }
+            let butd13 = data.butd13;
+            if (butd13 != "" && butd13 != null) {
+              this.tableData.push({ mole: "13BUTD", mw: "54.09" , value: butd13 });
+            }
+            let butene1 = data.butene1;
+            if (butene1 != "" && butene1 != null) {
+              this.tableData.push({ mole: "1BUTENE", mw: "56.11" , value: butene1 });
+            }
+            let ibte = data.ibte;
+            if (ibte != "" && ibte != null) {
+              this.tableData.push({ mole: "IBTE", mw: "56.11" , value: ibte });
+            }
+            let c2butene = data.c2butene;
+            if (c2butene != "" && c2butene != null) {
+              this.tableData.push({ mole: "C2BUTENE", mw: "56.11" , value: c2butene });
+            }
+            let t2butene = data.t2butene;
+            if (t2butene != "" && t2butene != null) {
+              this.tableData.push({ mole: "T2BUTENE", mw: "56.11" , value: t2butene });
+            }
+            let ibutane = data.ibutane;
+            if (ibutane != "" && ibutane != null) {
+              this.tableData.push({ mole: "IBUTANE", mw: "58.12" , value: ibutane });
+            }
+            let butane = data.butane;
+            if (butane != "" && butane != null) {
+              this.tableData.push({ mole: "BUTANE", mw: "56.11" , value: butane });
+            }
+            let cpd13 = data.cpd13;
+            if (cpd13 != "" && cpd13 != null) {
+              this.tableData.push({ mole: "13CPD", mw: "66.10" , value: cpd13 });
+            }
+            let isoprene = data.isoprene;
+            if (isoprene != "" && isoprene != null) {
+              this.tableData.push({ mole: "ISOPRENE", mw: "68.12" , value: isoprene });
+            }
+            let c13pnd = data.c13pnd;
+            if (c13pnd != "" && c13pnd != null) {
+              this.tableData.push({ mole: "C13PND", mw: "68.12" , value: c13pnd });
+            }
+            let pentene1 = data.pentene1;
+            if (pentene1 != "" && pentene1 != null) {
+              this.tableData.push({ mole: "1PENTENE", mw: "70.14" , value: pentene1 });
+            }
+            let ipentane = data.ipentane;
+            if (ipentane != "" && ipentane != null) {
+              this.tableData.push({ mole: "IPENTANE", mw: "72.15" , value: ipentane });
+            }
+            let pentane = data.pentane;
+            if (pentane != "" && pentane != null) {
+              this.tableData.push({ mole: "PENTANE", mw: "72.15" , value: pentane });
+            }
+            let hexene1 = data.hexene1;
+            if (hexene1 != "" && hexene1 != null) {
+              this.tableData.push({ mole: "1HEXENE", mw: "84.16" , value: hexene1 });
+            }
+            let benzene = data.benzene;
+            if (benzene != "" && benzene != null) {
+              this.tableData.push({ mole: "BENZENE", mw: "78.11" , value: benzene });
+            }
+            let toluene = data.toluene;
+            if (toluene != "" && toluene != null) {
+              this.tableData.push({ mole: "TOLUENE", mw: "92.14" , value: toluene });
+            }
+            let oxylene = data.oxylene;
+            if (oxylene != "" && oxylene != null) {
+              this.tableData.push({ mole: "OXYLENE", mw: "106.17" , value: oxylene });
+            }
+            let c9200c = data.c9200c;
+            if (c9200c != "" && c9200c != null) {
+              this.tableData.push({ mole: "C9-200C", mw: "121.00" , value: c9200c });
+            }
+            let fuelOil = data.fuelOil;
+            if (fuelOil != "" && fuelOil != null) {
+              this.tableData.push({ mole: "FUEL OIL", mw: "167.00" , value: fuelOil });
+            }
+            let co2 = data.co2;
+            if (co2 != "" && co2 != null) {
+              this.tableData.push({ mole: "CO2", mw: "44.01" , value: co2 });
+            }
+            let h2s = data.h2s;
+            if (h2s != "" && h2s != null) {
+              this.tableData.push({ mole: "H2S", mw: "34.08" , value: h2s });
+            }
+            let nbp25 = data.nbp25;
+            if (nbp25 != "" && nbp25 != null) {
+              this.tableData.push({ mole: "NBP 25", mw: "67.45" , value: nbp25 });
+            }
+            let nbp58 = data.nbp58;
+            if (nbp58 != "" && nbp58 != null) {
+              this.tableData.push({ mole: "NBP 58", mw: "81.66" , value: nbp58 });
+            }
+            let nbp72 = data.nbp72;
+            if (nbp72 != "" && nbp72 != null) {
+              this.tableData.push({ mole: "NBP 72", mw: "88.02" , value: nbp72 });
+            }
+            let nbp86 = data.nbp86;
+            if (nbp86 != "" && nbp86 != null) {
+              this.tableData.push({ mole: "NBP 86", mw: "94.56" , value: nbp86 });
+            }
+            let nbp100 = data.nbp100;
+            if (nbp100 != "" && nbp100 != null) {
+              this.tableData.push({ mole: "NBP 100", mw: "101.65" , value: nbp100 });
+            }
+            let nbp114 = data.nbp114;
+            if (nbp114 != "" && nbp114 != null) {
+              this.tableData.push({ mole: "NBP 114", mw: "109.11" , value: nbp114 });
+            }
+            let nbp128 = data.nbp128;
+            if (nbp128 != "" && nbp128 != null) {
+              this.tableData.push({ mole: "NBP 128", mw: "116.95" , value: nbp128 });
+            }
+            let nbp141 = data.nbp141;
+            if (nbp141 != "" && nbp141 != null) {
+              this.tableData.push({ mole: "NBP 141", mw: "125.27" , value: nbp141 });
+            }
+            let nbp155 = data.nbp155;
+            if (nbp155 != "" && nbp155 != null) {
+              this.tableData.push({ mole: "NBP 155", mw: "134.11" , value: nbp155 });
+            }
+            let nbp169 = data.nbp169;
+            if (nbp169 != "" && nbp169 != null) {
+              this.tableData.push({ mole: "NBP 169", mw: "143.60" , value: nbp169 });
+            }
+            let nbp183 = data.nbp183;
+            if (nbp183 != "" && nbp183 != null) {
+              this.tableData.push({ mole: "NBP 183", mw: "153.71" , value: nbp183 });
+            }
+            let nbp199 = data.nbp199;
+            if (nbp199 != "" && nbp199 != null) {
+              this.tableData.push({ mole: "NBP 199", mw: "165.45" , value: nbp199 });
+            }
+            let nbp207 = data.nbp207;
+            if (nbp207 != "" && nbp207 != null) {
+              this.tableData.push({ mole: "NBP 207", mw: "172.35" , value: nbp207 });
+            }
+            let nbp222 = data.nbp222;
+            if (nbp222 != "" && nbp222 != null) {
+              this.tableData.push({ mole: "NBP 222", mw: "184.49" , value: nbp222 });
+            }
+            let nbp236 = data.nbp236;
+            if (nbp236 != "" && nbp236 != null) {
+              this.tableData.push({ mole: "NBP 236", mw: "197.12" , value: nbp236 });
+            }
+            let nbp249 = data.nbp249;
+            if (nbp249 != "" && nbp249 != null) {
+              this.tableData.push({ mole: "NBP 249", mw: "209.30" , value: nbp249 });
+            }
+            let totalMolarFlowrate = data.totalMolarFlowrate;
+            if (totalMolarFlowrate != "" && totalMolarFlowrate != null) {
+              this.tableData.push({ mole: "Total Molar Flowrate", mw: "kgmol/hr" , value: totalMolarFlowrate });
+            }
+            let totalMassFlowrate = data.totalMassFlowrate;
+            if (totalMassFlowrate != "" && totalMassFlowrate != null) {
+              this.tableData.push({ mole: "Total Mass Flowrate", mw: "kg/hr" , value: totalMassFlowrate });
+            }
+            let totalMolecularWeight = data.totalMolecularWeight;
+            if (totalMolecularWeight != "" && totalMolecularWeight != null) {
+              this.tableData.push({ mole: "Total Molecular Weight", mw: "" , value: totalMolecularWeight });
+            }
+            let temperature = data.temperature;
+            if (temperature != "" && temperature != null) {
+              this.tableData.push({ mole: "Temperature", mw: "ºC" , value: temperature });
+            }
+            let pressure = data.pressure;
+            if (pressure != "" && pressure != null) {
+              this.tableData.push({ mole: "Pressure", mw: "kg/cm2 (a)" , value: pressure });
+            }
+            let vaporMassFlowrate = data.vaporMassFlowrate;
+            if (vaporMassFlowrate != "" && vaporMassFlowrate != null) {
+              this.tableData.push({ mole: "Vapor Mass Flowrate", mw: "kg/hr" , value: vaporMassFlowrate });
+            }
+            let vaporMolecularWeight = data.vaporMolecularWeight;
+            if (vaporMolecularWeight != "" && vaporMolecularWeight != null) {
+              this.tableData.push({ mole: "Vapor Molecular Weight", mw: "" , value: vaporMolecularWeight });
+            }
+            let vaporDensityAct = data.vaporDensityAct;
+            if (vaporDensityAct != "" && vaporDensityAct != null) {
+              this.tableData.push({ mole: "Vapor Density, Act", mw: "kg/m³" , value: vaporDensityAct });
+            }
+            let vaporZ = data.vaporZ;
+            if (vaporZ != "" && vaporZ != null) {
+              this.tableData.push({ mole: "Vapor Z", mw: "" , value: vaporZ });
+            }
+            let vaporActVolFlow = data.vaporActVolFlow;
+            if (vaporActVolFlow != "" && vaporActVolFlow != null) {
+              this.tableData.push({ mole: "Vapor Act Vol Flow", mw: "m³/hr" , value: vaporActVolFlow });
+            }
+            let vaporHtCapacity = data.vaporHtCapacity;
+            if (vaporHtCapacity != "" && vaporHtCapacity != null) {
+              this.tableData.push({ mole: "Vapor Ht Capacity", mw: "kcal/kg-ºC" , value: vaporHtCapacity });
+            }
+            let vaporViscosity = data.vaporViscosity;
+            if (vaporViscosity != "" && vaporViscosity != null) {
+              this.tableData.push({ mole: "Vapor Viscosity", mw: "Cp" , value: vaporViscosity });
+            }
+            let liquidMassFlowrate = data.liquidMassFlowrate;
+            if (liquidMassFlowrate != "" && liquidMassFlowrate != null) {
+              this.tableData.push({ mole: "Liquid Mass Flowrate", mw: "kg/hr" , value: liquidMassFlowrate });
+            }
+            let liquidMolecularWeight = data.liquidMolecularWeight;
+            if (liquidMolecularWeight != "" && liquidMolecularWeight != null) {
+              this.tableData.push({ mole: "Liquid Molecular Weight", mw: "" , value: liquidMolecularWeight });
+            }
+            let liquidDensityAct = data.liquidDensityAct;
+            if (liquidDensityAct != "" && liquidDensityAct != null) {
+              this.tableData.push({ mole: "Liquid Density, Act", mw: "kg/m³" , value: liquidDensityAct });
+            }
+            let liquidActVolFlow = data.liquidActVolFlow;
+            if (liquidActVolFlow != "" && liquidActVolFlow != null) {
+              this.tableData.push({ mole: "Liquid Act Vol Flow", mw: "m³/hr" , value: liquidActVolFlow });
+            }
+            let liquidHtCapacity = data.liquidHtCapacity;
+            if (liquidHtCapacity != "" && liquidHtCapacity != null) {
+              this.tableData.push({ mole: "Liquid Ht Capacity", mw: "kcal/kg-ºC" , value: liquidHtCapacity });
+            }
+            let liquidViscosity = data.liquidViscosity;
+            if (liquidViscosity != "" && liquidViscosity != null) {
+              this.tableData.push({ mole: "Liquid Viscosity", mw: "Cp" , value: liquidViscosity });
+            }
+            let liquidSurfTension = data.liquidSurfTension;
+            if (liquidSurfTension != "" && liquidSurfTension != null) {
+              this.tableData.push({ mole: "Liquid Surf Tension", mw: "dyne/cm" , value: liquidSurfTension });
+            }
+          });
           this.dialogVisible = true;
         }else{
           this.dialogVisible = false;

+ 756 - 0
ui/src/views/monitor/pfdmgr/index.vue

@@ -0,0 +1,756 @@
+<template>
+  <div class="app-container">
+    <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
+      <el-form-item label="编号" prop="code">
+        <el-input
+          v-model="queryParams.code"
+          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="['monitor:pfdmgr: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="['monitor:pfdmgr: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="['monitor:pfdmgr:remove']"
+        >删除</el-button>
+      </el-col>
+	  <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
+    </el-row>
+
+    <el-table v-loading="loading" :data="pfdmgrList" @selection-change="handleSelectionChange" :height="clientHeight" border>
+      <el-table-column type="selection" width="55" align="center" />
+      <el-table-column label="编号" align="center" prop="code" :show-overflow-tooltip="true"/>
+      <el-table-column label="Description" align="center" prop="description" :show-overflow-tooltip="true" width="200"/>
+      <el-table-column label="H2O" align="center" prop="h2o" :show-overflow-tooltip="true"/>
+      <el-table-column label="HYDROGEN" align="center" prop="hydrogen" :show-overflow-tooltip="true"/>
+      <el-table-column label="CO" align="center" prop="co" :show-overflow-tooltip="true"/>
+      <el-table-column label="METHANE" align="center" prop="methane" :show-overflow-tooltip="true"/>
+      <el-table-column label="ACETYLN" align="center" prop="acetyln" :show-overflow-tooltip="true"/>
+      <el-table-column label="ETHYLENE" align="center" prop="ethylene" :show-overflow-tooltip="true"/>
+      <el-table-column label="ETHANE" align="center" prop="ethane" :show-overflow-tooltip="true"/>
+      <el-table-column label="MACETYLN" align="center" prop="macetyln" :show-overflow-tooltip="true"/>
+      <el-table-column label="PROPDIEN" align="center" prop="propdien" :show-overflow-tooltip="true"/>
+      <el-table-column label="PROPYLEN" align="center" prop="propylen" :show-overflow-tooltip="true"/>
+      <el-table-column label="PROPANE" align="center" prop="propane" :show-overflow-tooltip="true"/>
+      <el-table-column label="13BUTD" align="center" prop="butd13" :show-overflow-tooltip="true"/>
+      <el-table-column label="1BUTENE" align="center" prop="butene1" :show-overflow-tooltip="true"/>
+      <el-table-column label="IBTE" align="center" prop="ibte" :show-overflow-tooltip="true"/>
+      <el-table-column label="C2BUTENE" align="center" prop="c2butene" :show-overflow-tooltip="true"/>
+      <el-table-column label="T2BUTENE" align="center" prop="t2butene" :show-overflow-tooltip="true"/>
+      <el-table-column label="IBUTANE" align="center" prop="ibutane" :show-overflow-tooltip="true"/>
+      <el-table-column label="BUTANE" align="center" prop="butane" :show-overflow-tooltip="true"/>
+      <el-table-column label="13CPD" align="center" prop="cpd13" :show-overflow-tooltip="true"/>
+      <el-table-column label="ISOPRENE" align="center" prop="isoprene" :show-overflow-tooltip="true"/>
+      <el-table-column label="C13PND" align="center" prop="c13pnd" :show-overflow-tooltip="true"/>
+      <el-table-column label="1PENTENE" align="center" prop="pentene1" :show-overflow-tooltip="true"/>
+      <el-table-column label="IPENTANE" align="center" prop="ipentane" :show-overflow-tooltip="true"/>
+      <el-table-column label="PENTANE" align="center" prop="pentane" :show-overflow-tooltip="true"/>
+      <el-table-column label="1HEXENE" align="center" prop="hexene1" :show-overflow-tooltip="true"/>
+      <el-table-column label="BENZENE" align="center" prop="benzene" :show-overflow-tooltip="true"/>
+      <el-table-column label="TOLUENE" align="center" prop="toluene" :show-overflow-tooltip="true"/>
+      <el-table-column label="OXYLENE" align="center" prop="oxylene" :show-overflow-tooltip="true"/>
+      <el-table-column label="C9-200C" align="center" prop="c9200c" :show-overflow-tooltip="true"/>
+      <el-table-column label="FUEL OIL" align="center" prop="fuelOil" :show-overflow-tooltip="true"/>
+      <el-table-column label="CO2" align="center" prop="co2" :show-overflow-tooltip="true"/>
+      <el-table-column label="H2S" align="center" prop="h2s" :show-overflow-tooltip="true"/>
+      <el-table-column label="NBP 25" align="center" prop="nbp25" :show-overflow-tooltip="true"/>
+      <el-table-column label="NBP 58" align="center" prop="nbp58" :show-overflow-tooltip="true"/>
+      <el-table-column label="NBP 72" align="center" prop="nbp72" :show-overflow-tooltip="true"/>
+      <el-table-column label="NBP 86" align="center" prop="nbp86" :show-overflow-tooltip="true"/>
+      <el-table-column label="NBP 100" align="center" prop="nbp100" :show-overflow-tooltip="true"/>
+      <el-table-column label="NBP 114" align="center" prop="nbp114" :show-overflow-tooltip="true"/>
+      <el-table-column label="NBP 128" align="center" prop="nbp128" :show-overflow-tooltip="true"/>
+      <el-table-column label="NBP 141" align="center" prop="nbp141" :show-overflow-tooltip="true"/>
+      <el-table-column label="NBP 155" align="center" prop="nbp155" :show-overflow-tooltip="true"/>
+      <el-table-column label="NBP 169" align="center" prop="nbp169" :show-overflow-tooltip="true"/>
+      <el-table-column label="NBP 183" align="center" prop="nbp183" :show-overflow-tooltip="true"/>
+      <el-table-column label="NBP 199" align="center" prop="nbp199" :show-overflow-tooltip="true"/>
+      <el-table-column label="NBP 207" align="center" prop="nbp207" :show-overflow-tooltip="true"/>
+      <el-table-column label="NBP 222" align="center" prop="nbp222" :show-overflow-tooltip="true"/>
+      <el-table-column label="NBP 236" align="center" prop="nbp236" :show-overflow-tooltip="true"/>
+      <el-table-column label="NBP 249" align="center" prop="nbp249" :show-overflow-tooltip="true"/>
+      <el-table-column label="Total Molar Flowrate" align="center" prop="totalMolarFlowrate" :show-overflow-tooltip="true"/>
+      <el-table-column label="Total Mass Flowrate" align="center" prop="totalMassFlowrate" :show-overflow-tooltip="true"/>
+      <el-table-column label="Total Molecular Weight" align="center" prop="totalMolecularWeight" :show-overflow-tooltip="true"/>
+      <el-table-column label="Temperature" align="center" prop="temperature" :show-overflow-tooltip="true"/>
+      <el-table-column label="Pressure" align="center" prop="pressure" :show-overflow-tooltip="true"/>
+      <el-table-column label="Vapor Mass Flowrate" align="center" prop="vaporMassFlowrate" :show-overflow-tooltip="true"/>
+      <el-table-column label="Vapor Molecular Weight" align="center" prop="vaporMolecularWeight" :show-overflow-tooltip="true"/>
+      <el-table-column label="Vapor Density, Act" align="center" prop="vaporDensityAct" :show-overflow-tooltip="true"/>
+      <el-table-column label="Vapor Z" align="center" prop="vaporZ" :show-overflow-tooltip="true"/>
+      <el-table-column label="Vapor Act Vol Flow" align="center" prop="vaporActVolFlow" :show-overflow-tooltip="true"/>
+      <el-table-column label="Vapor Ht Capacity" align="center" prop="vaporHtCapacity" :show-overflow-tooltip="true"/>
+      <el-table-column label="Vapor Viscosity" align="center" prop="vaporViscosity" :show-overflow-tooltip="true"/>
+      <el-table-column label="Liquid Mass Flowrate" align="center" prop="liquidMassFlowrate" :show-overflow-tooltip="true"/>
+      <el-table-column label="Liquid Molecular Weight" align="center" prop="liquidMolecularWeight" :show-overflow-tooltip="true"/>
+      <el-table-column label="Liquid Density, Act" align="center" prop="liquidDensityAct" :show-overflow-tooltip="true"/>
+      <el-table-column label="Liquid Act Vol Flow" align="center" prop="liquidActVolFlow" :show-overflow-tooltip="true"/>
+      <el-table-column label="Liquid Ht Capacity" align="center" prop="liquidHtCapacity" :show-overflow-tooltip="true"/>
+      <el-table-column label="Liquid Viscosity" align="center" prop="liquidViscosity" :show-overflow-tooltip="true"/>
+      <el-table-column label="Liquid Surf Tension" align="center" prop="liquidSurfTension" :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="['monitor:pfdmgr:edit']"
+          >修改</el-button>
+          <el-button
+            size="mini"
+            type="text"
+            icon="el-icon-delete"
+            @click="handleDelete(scope.row)"
+            v-hasPermi="['monitor:pfdmgr: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"
+    />
+
+    <!-- 添加或修改PFD管理对话框 -->
+    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
+      <el-form ref="form" :model="form" :rules="rules" label-width="100px">
+        <el-form-item label="编号" prop="code">
+          <el-input v-model="form.code" placeholder="请输入编号" />
+        </el-form-item>
+        <el-form-item label="Description" prop="description">
+          <el-input v-model="form.description" placeholder="请输入Description" />
+        </el-form-item>
+        <el-form-item label="H2O" prop="h2o">
+          <el-input v-model="form.h2o" placeholder="请输入H2O" />
+        </el-form-item>
+        <el-form-item label="HYDROGEN" prop="hydrogen">
+          <el-input v-model="form.hydrogen" placeholder="请输入HYDROGEN" />
+        </el-form-item>
+        <el-form-item label="CO" prop="co">
+          <el-input v-model="form.co" placeholder="请输入CO" />
+        </el-form-item>
+        <el-form-item label="METHANE" prop="methane">
+          <el-input v-model="form.methane" placeholder="请输入METHANE" />
+        </el-form-item>
+        <el-form-item label="ACETYLN" prop="acetyln">
+          <el-input v-model="form.acetyln" placeholder="请输入ACETYLN" />
+        </el-form-item>
+        <el-form-item label="ETHYLENE" prop="ethylene">
+          <el-input v-model="form.ethylene" placeholder="请输入ETHYLENE" />
+        </el-form-item>
+        <el-form-item label="ETHANE" prop="ethane">
+          <el-input v-model="form.ethane" placeholder="请输入ETHANE" />
+        </el-form-item>
+        <el-form-item label="MACETYLN" prop="macetyln">
+          <el-input v-model="form.macetyln" placeholder="请输入MACETYLN" />
+        </el-form-item>
+        <el-form-item label="PROPDIEN" prop="propdien">
+          <el-input v-model="form.propdien" placeholder="请输入PROPDIEN" />
+        </el-form-item>
+        <el-form-item label="PROPYLEN" prop="propylen">
+          <el-input v-model="form.propylen" placeholder="请输入PROPYLEN" />
+        </el-form-item>
+        <el-form-item label="PROPANE" prop="propane">
+          <el-input v-model="form.propane" placeholder="请输入PROPANE" />
+        </el-form-item>
+        <el-form-item label="13BUTD" prop="butd13">
+          <el-input v-model="form.butd13" placeholder="请输入13BUTD" />
+        </el-form-item>
+        <el-form-item label="1BUTENE" prop="butene1">
+          <el-input v-model="form.butene1" placeholder="请输入1BUTENE" />
+        </el-form-item>
+        <el-form-item label="IBTE" prop="ibte">
+          <el-input v-model="form.ibte" placeholder="请输入IBTE" />
+        </el-form-item>
+        <el-form-item label="C2BUTENE" prop="c2butene">
+          <el-input v-model="form.c2butene" placeholder="请输入C2BUTENE" />
+        </el-form-item>
+        <el-form-item label="T2BUTENE" prop="t2butene">
+          <el-input v-model="form.t2butene" placeholder="请输入T2BUTENE" />
+        </el-form-item>
+        <el-form-item label="IBUTANE" prop="ibutane">
+          <el-input v-model="form.ibutane" placeholder="请输入IBUTANE" />
+        </el-form-item>
+        <el-form-item label="BUTANE" prop="butane">
+          <el-input v-model="form.butane" placeholder="请输入BUTANE" />
+        </el-form-item>
+        <el-form-item label="13CPD" prop="cpd13">
+          <el-input v-model="form.cpd13" placeholder="请输入13CPD" />
+        </el-form-item>
+        <el-form-item label="ISOPRENE" prop="isoprene">
+          <el-input v-model="form.isoprene" placeholder="请输入ISOPRENE" />
+        </el-form-item>
+        <el-form-item label="C13PND" prop="c13pnd">
+          <el-input v-model="form.c13pnd" placeholder="请输入C13PND" />
+        </el-form-item>
+        <el-form-item label="1PENTENE" prop="pentene1">
+          <el-input v-model="form.pentene1" placeholder="请输入1PENTENE" />
+        </el-form-item>
+        <el-form-item label="IPENTANE" prop="ipentane">
+          <el-input v-model="form.ipentane" placeholder="请输入IPENTANE" />
+        </el-form-item>
+        <el-form-item label="PENTANE" prop="pentane">
+          <el-input v-model="form.pentane" placeholder="请输入PENTANE" />
+        </el-form-item>
+        <el-form-item label="1HEXENE" prop="hexene1">
+          <el-input v-model="form.hexene1" placeholder="请输入1HEXENE" />
+        </el-form-item>
+        <el-form-item label="BENZENE" prop="benzene">
+          <el-input v-model="form.benzene" placeholder="请输入BENZENE" />
+        </el-form-item>
+        <el-form-item label="TOLUENE" prop="toluene">
+          <el-input v-model="form.toluene" placeholder="请输入TOLUENE" />
+        </el-form-item>
+        <el-form-item label="OXYLENE" prop="oxylene">
+          <el-input v-model="form.oxylene" placeholder="请输入OXYLENE" />
+        </el-form-item>
+        <el-form-item label="C9-200C" prop="c9200c">
+          <el-input v-model="form.c9200c" placeholder="请输入C9-200C" />
+        </el-form-item>
+        <el-form-item label="FUEL OIL" prop="fuelOil">
+          <el-input v-model="form.fuelOil" placeholder="请输入FUEL OIL" />
+        </el-form-item>
+        <el-form-item label="CO2" prop="co2">
+          <el-input v-model="form.co2" placeholder="请输入CO2" />
+        </el-form-item>
+        <el-form-item label="H2S" prop="h2s">
+          <el-input v-model="form.h2s" placeholder="请输入H2S" />
+        </el-form-item>
+        <el-form-item label="NBP 25" prop="nbp25">
+          <el-input v-model="form.nbp25" placeholder="请输入NBP 25" />
+        </el-form-item>
+        <el-form-item label="NBP 58" prop="nbp58">
+          <el-input v-model="form.nbp58" placeholder="请输入NBP 58" />
+        </el-form-item>
+        <el-form-item label="NBP 72" prop="nbp72">
+          <el-input v-model="form.nbp72" placeholder="请输入NBP 72" />
+        </el-form-item>
+        <el-form-item label="NBP 86" prop="nbp86">
+          <el-input v-model="form.nbp86" placeholder="请输入NBP 86" />
+        </el-form-item>
+        <el-form-item label="NBP 100" prop="nbp100">
+          <el-input v-model="form.nbp100" placeholder="请输入NBP 100" />
+        </el-form-item>
+        <el-form-item label="NBP 114" prop="nbp114">
+          <el-input v-model="form.nbp114" placeholder="请输入NBP 114" />
+        </el-form-item>
+        <el-form-item label="NBP 128" prop="nbp128">
+          <el-input v-model="form.nbp128" placeholder="请输入NBP 128" />
+        </el-form-item>
+        <el-form-item label="NBP 141" prop="nbp141">
+          <el-input v-model="form.nbp141" placeholder="请输入NBP 141" />
+        </el-form-item>
+        <el-form-item label="NBP 155" prop="nbp155">
+          <el-input v-model="form.nbp155" placeholder="请输入NBP 155" />
+        </el-form-item>
+        <el-form-item label="NBP 169" prop="nbp169">
+          <el-input v-model="form.nbp169" placeholder="请输入NBP 169" />
+        </el-form-item>
+        <el-form-item label="NBP 183" prop="nbp183">
+          <el-input v-model="form.nbp183" placeholder="请输入NBP 183" />
+        </el-form-item>
+        <el-form-item label="NBP 199" prop="nbp199">
+          <el-input v-model="form.nbp199" placeholder="请输入NBP 199" />
+        </el-form-item>
+        <el-form-item label="NBP 207" prop="nbp207">
+          <el-input v-model="form.nbp207" placeholder="请输入NBP 207" />
+        </el-form-item>
+        <el-form-item label="NBP 222" prop="nbp222">
+          <el-input v-model="form.nbp222" placeholder="请输入NBP 222" />
+        </el-form-item>
+        <el-form-item label="NBP 236" prop="nbp236">
+          <el-input v-model="form.nbp236" placeholder="请输入NBP 236" />
+        </el-form-item>
+        <el-form-item label="NBP 249" prop="nbp249">
+          <el-input v-model="form.nbp249" placeholder="请输入NBP 249" />
+        </el-form-item>
+        <el-form-item label="Total Molar Flowrate" prop="totalMolarFlowrate">
+          <el-input v-model="form.totalMolarFlowrate" placeholder="请输入Total Molar Flowrate" />
+        </el-form-item>
+        <el-form-item label="Total Mass Flowrate" prop="totalMassFlowrate">
+          <el-input v-model="form.totalMassFlowrate" placeholder="请输入Total Mass Flowrate" />
+        </el-form-item>
+        <el-form-item label="Total Molecular Weight" prop="totalMolecularWeight">
+          <el-input v-model="form.totalMolecularWeight" placeholder="请输入Total Molecular Weight" />
+        </el-form-item>
+        <el-form-item label="Temperature" prop="temperature">
+          <el-input v-model="form.temperature" placeholder="请输入Temperature" />
+        </el-form-item>
+        <el-form-item label="Pressure" prop="pressure">
+          <el-input v-model="form.pressure" placeholder="请输入Pressure" />
+        </el-form-item>
+        <el-form-item label="Vapor Mass Flowrate" prop="vaporMassFlowrate">
+          <el-input v-model="form.vaporMassFlowrate" placeholder="请输入Vapor Mass Flowrate" />
+        </el-form-item>
+        <el-form-item label="Vapor Molecular Weight" prop="vaporMolecularWeight">
+          <el-input v-model="form.vaporMolecularWeight" placeholder="请输入Vapor Molecular Weight" />
+        </el-form-item>
+        <el-form-item label="Vapor Density, Act" prop="vaporDensityAct">
+          <el-input v-model="form.vaporDensityAct" placeholder="请输入Vapor Density, Act" />
+        </el-form-item>
+        <el-form-item label="Vapor Z" prop="vaporZ">
+          <el-input v-model="form.vaporZ" placeholder="请输入Vapor Z" />
+        </el-form-item>
+        <el-form-item label="Vapor Act Vol Flow" prop="vaporActVolFlow">
+          <el-input v-model="form.vaporActVolFlow" placeholder="请输入Vapor Act Vol Flow" />
+        </el-form-item>
+        <el-form-item label="Vapor Ht Capacity" prop="vaporHtCapacity">
+          <el-input v-model="form.vaporHtCapacity" placeholder="请输入Vapor Ht Capacity" />
+        </el-form-item>
+        <el-form-item label="Vapor Viscosity" prop="vaporViscosity">
+          <el-input v-model="form.vaporViscosity" placeholder="请输入Vapor Viscosity" />
+        </el-form-item>
+        <el-form-item label="Liquid Mass Flowrate" prop="liquidMassFlowrate">
+          <el-input v-model="form.liquidMassFlowrate" placeholder="请输入Liquid Mass Flowrate" />
+        </el-form-item>
+        <el-form-item label="Liquid Molecular Weight" prop="liquidMolecularWeight">
+          <el-input v-model="form.liquidMolecularWeight" placeholder="请输入Liquid Molecular Weight" />
+        </el-form-item>
+        <el-form-item label="Liquid Density, Act" prop="liquidDensityAct">
+          <el-input v-model="form.liquidDensityAct" placeholder="请输入Liquid Density, Act" />
+        </el-form-item>
+        <el-form-item label="Liquid Act Vol Flow" prop="liquidActVolFlow">
+          <el-input v-model="form.liquidActVolFlow" placeholder="请输入Liquid Act Vol Flow" />
+        </el-form-item>
+        <el-form-item label="Liquid Ht Capacity" prop="liquidHtCapacity">
+          <el-input v-model="form.liquidHtCapacity" placeholder="请输入Liquid Ht Capacity" />
+        </el-form-item>
+        <el-form-item label="Liquid Viscosity" prop="liquidViscosity">
+          <el-input v-model="form.liquidViscosity" placeholder="请输入Liquid Viscosity" />
+        </el-form-item>
+        <el-form-item label="Liquid Surf Tension" prop="liquidSurfTension">
+          <el-input v-model="form.liquidSurfTension" placeholder="请输入Liquid Surf Tension" />
+        </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 { listPfdmgr, getPfdmgr, delPfdmgr, addPfdmgr, updatePfdmgr, exportPfdmgr, importTemplate} from "@/api/monitor/pfdmgr";
+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: "Pfdmgr",
+  components: { Treeselect },
+  data() {
+    return {
+      // 遮罩层
+      loading: true,
+      // 选中数组
+      ids: [],
+      // 非单个禁用
+      single: true,
+      // 非多个禁用
+      multiple: true,
+      // 显示搜索条件
+      showSearch: false,
+      // 总条数
+      total: 0,
+      // PFD管理表格数据
+      pfdmgrList: [],
+      // 弹出层标题
+      title: "",
+      // 部门树选项
+      deptOptions: undefined,
+      clientHeight:300,
+      // 是否显示弹出层
+      open: false,
+        // 用户导入参数
+        upload: {
+            // 是否显示弹出层(用户导入)
+            open: false,
+            // 弹出层标题(用户导入)
+            title: "",
+            // 是否禁用上传
+            isUploading: false,
+            // 是否更新已经存在的用户数据
+            updateSupport: 0,
+            // 设置上传的请求头部
+            headers: { Authorization: "Bearer " + getToken() },
+            // 上传的地址
+            url: process.env.VUE_APP_BASE_API + "/monitor/pfdmgr/importData"
+        },
+      // 查询参数
+      queryParams: {
+        pageNum: 1,
+        pageSize: 20,
+        code: null,
+        h2o: null,
+        hydrogen: null,
+        co: null,
+        methane: null,
+        acetyln: null,
+        ethylene: null,
+        ethane: null,
+        macetyln: null,
+        propdien: null,
+        propylen: null,
+        propane: null,
+        butd13: null,
+        butene1: null,
+        ibte: null,
+        c2butene: null,
+        t2butene: null,
+        ibutane: null,
+        butane: null,
+        cpd13: null,
+        isoprene: null,
+        c13pnd: null,
+        pentene1: null,
+        ipentane: null,
+        pentane: null,
+        hexene1: null,
+        benzene: null,
+        toluene: null,
+        oxylene: null,
+        c9200c: null,
+        fuelOil: null,
+        co2: null,
+        h2s: null,
+        nbp25: null,
+        nbp58: null,
+        nbp72: null,
+        nbp86: null,
+        nbp100: null,
+        nbp114: null,
+        nbp128: null,
+        nbp141: null,
+        nbp155: null,
+        nbp169: null,
+        nbp183: null,
+        nbp199: null,
+        nbp207: null,
+        nbp222: null,
+        nbp236: null,
+        nbp249: null,
+        totalMolarFlowrate: null,
+        totalMassFlowrate: null,
+        totalMolecularWeight: null,
+        temperature: null,
+        pressure: null,
+        vaporMassFlowrate: null,
+        vaporMolecularWeight: null,
+        vaporDensityAct: null,
+        vaporZ: null,
+        vaporActVolFlow: null,
+        vaporHtCapacity: null,
+        vaporViscosity: null,
+        liquidMassFlowrate: null,
+        liquidMolecularWeight: null,
+        liquidDensityAct: null,
+        liquidActVolFlow: null,
+        liquidHtCapacity: null,
+        liquidViscosity: null,
+        liquidSurfTension: null,
+        deptId: null
+      },
+      // 表单参数
+      form: {},
+      // 表单校验
+      rules: {
+      }
+    };
+  },
+  watch: {
+        // 根据名称筛选部门树
+        deptName(val) {
+            this.$refs.tree.filter(val);
+        }
+   },
+  created() {
+      //设置表格高度对应屏幕高度
+      this.$nextTick(() => {
+          this.clientHeight = document.body.clientHeight -250
+      })
+    this.getList();
+    this.getTreeselect();
+  },
+  methods: {
+    /** 查询PFD管理列表 */
+    getList() {
+      this.loading = true;
+      listPfdmgr(this.queryParams).then(response => {
+        this.pfdmgrList = response.rows;
+        this.total = response.total;
+        this.loading = false;
+      });
+    },
+     /** 查询部门下拉树结构 */
+     getTreeselect() {
+          treeselect().then(response => {
+              this.deptOptions = response.data;
+          });
+     },
+    // 取消按钮
+    cancel() {
+      this.open = false;
+      this.reset();
+    },
+    // 表单重置
+    reset() {
+      this.form = {
+        id: null,
+        code: null,
+        h2o: null,
+        hydrogen: null,
+        co: null,
+        methane: null,
+        acetyln: null,
+        ethylene: null,
+        ethane: null,
+        macetyln: null,
+        propdien: null,
+        propylen: null,
+        propane: null,
+        butd13: null,
+        butene1: null,
+        ibte: null,
+        c2butene: null,
+        t2butene: null,
+        ibutane: null,
+        butane: null,
+        cpd13: null,
+        isoprene: null,
+        c13pnd: null,
+        pentene1: null,
+        ipentane: null,
+        pentane: null,
+        hexene1: null,
+        benzene: null,
+        toluene: null,
+        oxylene: null,
+        c9200c: null,
+        fuelOil: null,
+        co2: null,
+        h2s: null,
+        nbp25: null,
+        nbp58: null,
+        nbp72: null,
+        nbp86: null,
+        nbp100: null,
+        nbp114: null,
+        nbp128: null,
+        nbp141: null,
+        nbp155: null,
+        nbp169: null,
+        nbp183: null,
+        nbp199: null,
+        nbp207: null,
+        nbp222: null,
+        nbp236: null,
+        nbp249: null,
+        totalMolarFlowrate: null,
+        totalMassFlowrate: null,
+        totalMolecularWeight: null,
+        temperature: null,
+        pressure: null,
+        vaporMassFlowrate: null,
+        vaporMolecularWeight: null,
+        vaporDensityAct: null,
+        vaporZ: null,
+        vaporActVolFlow: null,
+        vaporHtCapacity: null,
+        vaporViscosity: null,
+        liquidMassFlowrate: null,
+        liquidMolecularWeight: null,
+        liquidDensityAct: null,
+        liquidActVolFlow: null,
+        liquidHtCapacity: null,
+        liquidViscosity: null,
+        liquidSurfTension: null,
+        delFlag: null,
+        createBy: null,
+        createTime: null,
+        updateBy: null,
+        updateTime: 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 = "添加PFD管理";
+    },
+    /** 修改按钮操作 */
+    handleUpdate(row) {
+      this.reset();
+      const id = row.id || this.ids
+      getPfdmgr(id).then(response => {
+        this.form = response.data;
+        this.open = true;
+        this.title = "修改PFD管理";
+      });
+    },
+    /** 提交按钮 */
+    submitForm() {
+      this.$refs["form"].validate(valid => {
+        if (valid) {
+          if (this.form.id != null) {
+            updatePfdmgr(this.form).then(response => {
+              this.msgSuccess("修改成功");
+              this.open = false;
+              this.getList();
+            });
+          } else {
+            addPfdmgr(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 delPfdmgr(ids);
+        }).then(() => {
+          this.getList();
+          this.msgSuccess("删除成功");
+        })
+    },
+    /** 导出按钮操作 */
+    handleExport() {
+      const queryParams = this.queryParams;
+      this.$confirm('是否确认导出所有PFD管理数据项?', "警告", {
+          confirmButtonText: "确定",
+          cancelButtonText: "取消",
+          type: "warning"
+        }).then(function() {
+          return exportPfdmgr(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();
+      }
+  }
+};
+</script>