Commit 274fd254 authored by 耿迪迪's avatar 耿迪迪

管道字段添加 gengdidi

parent b09841f4
package com.zehong.system.domain; package com.zehong.system.domain;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle; import org.apache.commons.lang3.builder.ToStringStyle;
import com.zehong.common.annotation.Excel; import com.zehong.common.annotation.Excel;
...@@ -12,7 +10,7 @@ import com.zehong.common.core.domain.BaseEntity; ...@@ -12,7 +10,7 @@ import com.zehong.common.core.domain.BaseEntity;
* 管道信息对象 t_pipe_info * 管道信息对象 t_pipe_info
* *
* @author zehong * @author zehong
* @date 2022-01-26 * @date 2022-02-09
*/ */
public class TPipeInfo extends BaseEntity public class TPipeInfo extends BaseEntity
{ {
...@@ -37,6 +35,10 @@ public class TPipeInfo extends BaseEntity ...@@ -37,6 +35,10 @@ public class TPipeInfo extends BaseEntity
@Excel(name = "材质") @Excel(name = "材质")
private String pipeMaterial; private String pipeMaterial;
/** 管道地址 */
@Excel(name = "管道地址")
private String pipeAddr;
/** 埋深 */ /** 埋深 */
@Excel(name = "埋深") @Excel(name = "埋深")
private BigDecimal buriedDepth; private BigDecimal buriedDepth;
...@@ -45,14 +47,9 @@ public class TPipeInfo extends BaseEntity ...@@ -45,14 +47,9 @@ public class TPipeInfo extends BaseEntity
@Excel(name = "走向") @Excel(name = "走向")
private String pipeTrend; private String pipeTrend;
/** 人员类型:1.运行维护人员 2.抢修人员 */
@Excel(name = "人员类型")
private String peopleOccupation;
/** 建设年代 */ /** 建设年代 */
@JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = "建设年代")
@Excel(name = "建设年代", width = 30, dateFormat = "yyyy-MM-dd") private String buildDate;
private Date buildDate;
/** 建设单位 */ /** 建设单位 */
@Excel(name = "建设单位") @Excel(name = "建设单位")
...@@ -71,6 +68,7 @@ public class TPipeInfo extends BaseEntity ...@@ -71,6 +68,7 @@ public class TPipeInfo extends BaseEntity
private String coordinates; private String coordinates;
/** 是否删除(0正常,1删除) */ /** 是否删除(0正常,1删除) */
@Excel(name = "是否删除(0正常,1删除)")
private String isDel; private String isDel;
/** 备注 */ /** 备注 */
...@@ -122,6 +120,15 @@ public class TPipeInfo extends BaseEntity ...@@ -122,6 +120,15 @@ public class TPipeInfo extends BaseEntity
{ {
return pipeMaterial; return pipeMaterial;
} }
public void setPipeAddr(String pipeAddr)
{
this.pipeAddr = pipeAddr;
}
public String getPipeAddr()
{
return pipeAddr;
}
public void setBuriedDepth(BigDecimal buriedDepth) public void setBuriedDepth(BigDecimal buriedDepth)
{ {
this.buriedDepth = buriedDepth; this.buriedDepth = buriedDepth;
...@@ -140,21 +147,12 @@ public class TPipeInfo extends BaseEntity ...@@ -140,21 +147,12 @@ public class TPipeInfo extends BaseEntity
{ {
return pipeTrend; return pipeTrend;
} }
public void setPeopleOccupation(String peopleOccupation) public void setBuildDate(String buildDate)
{
this.peopleOccupation = peopleOccupation;
}
public String getPeopleOccupation()
{
return peopleOccupation;
}
public void setBuildDate(Date buildDate)
{ {
this.buildDate = buildDate; this.buildDate = buildDate;
} }
public Date getBuildDate() public String getBuildDate()
{ {
return buildDate; return buildDate;
} }
...@@ -221,9 +219,9 @@ public class TPipeInfo extends BaseEntity ...@@ -221,9 +219,9 @@ public class TPipeInfo extends BaseEntity
.append("pipeDiameter", getPipeDiameter()) .append("pipeDiameter", getPipeDiameter())
.append("pipePressure", getPipePressure()) .append("pipePressure", getPipePressure())
.append("pipeMaterial", getPipeMaterial()) .append("pipeMaterial", getPipeMaterial())
.append("pipeAddr", getPipeAddr())
.append("buriedDepth", getBuriedDepth()) .append("buriedDepth", getBuriedDepth())
.append("pipeTrend", getPipeTrend()) .append("pipeTrend", getPipeTrend())
.append("peopleOccupation", getPeopleOccupation())
.append("buildDate", getBuildDate()) .append("buildDate", getBuildDate())
.append("buildUnit", getBuildUnit()) .append("buildUnit", getBuildUnit())
.append("beyondEnterpriseId", getBeyondEnterpriseId()) .append("beyondEnterpriseId", getBeyondEnterpriseId())
......
...@@ -10,9 +10,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -10,9 +10,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="pipeDiameter" column="pipe_diameter" /> <result property="pipeDiameter" column="pipe_diameter" />
<result property="pipePressure" column="pipe_pressure" /> <result property="pipePressure" column="pipe_pressure" />
<result property="pipeMaterial" column="pipe_material" /> <result property="pipeMaterial" column="pipe_material" />
<result property="pipeAddr" column="pipe_addr" />
<result property="buriedDepth" column="buried_depth" /> <result property="buriedDepth" column="buried_depth" />
<result property="pipeTrend" column="pipe_trend" /> <result property="pipeTrend" column="pipe_trend" />
<result property="peopleOccupation" column="people_occupation" />
<result property="buildDate" column="build_date" /> <result property="buildDate" column="build_date" />
<result property="buildUnit" column="build_unit" /> <result property="buildUnit" column="build_unit" />
<result property="beyondEnterpriseId" column="beyond_enterprise_id" /> <result property="beyondEnterpriseId" column="beyond_enterprise_id" />
...@@ -27,21 +27,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -27,21 +27,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap> </resultMap>
<sql id="selectTPipeInfoVo"> <sql id="selectTPipeInfoVo">
select pipe_id, pipe_length, pipe_diameter, pipe_pressure, pipe_material, buried_depth, pipe_trend, (CASE people_occupation WHEN '1' THEN '运行维护人员' WHEN '2' THEN '抢修人员'end ) as people_occupation, build_date, build_unit, beyond_enterprise_id, beyond_enterprise_name, coordinates, create_by, create_time, update_by, update_time, is_del, remarks from t_pipe_info select pipe_id, pipe_length, pipe_diameter, pipe_pressure, pipe_material, pipe_addr, buried_depth, pipe_trend, build_date, build_unit, beyond_enterprise_id, beyond_enterprise_name, coordinates, create_by, create_time, update_by, update_time, is_del, remarks from t_pipe_info
</sql> </sql>
<select id="selectTPipeInfoList" parameterType="TPipeInfo" resultMap="TPipeInfoResult"> <select id="selectTPipeInfoList" parameterType="TPipeInfo" resultMap="TPipeInfoResult">
<include refid="selectTPipeInfoVo"/> <include refid="selectTPipeInfoVo"/>
<where> <where>
is_del='0'
<if test="pipeLength != null "> and pipe_length = #{pipeLength}</if> <if test="pipeLength != null "> and pipe_length = #{pipeLength}</if>
<if test="pipeDiameter != null "> and pipe_diameter = #{pipeDiameter}</if> <if test="pipeDiameter != null "> and pipe_diameter = #{pipeDiameter}</if>
<if test="pipePressure != null "> and pipe_pressure = #{pipePressure}</if> <if test="pipePressure != null "> and pipe_pressure = #{pipePressure}</if>
<if test="pipeMaterial != null and pipeMaterial != ''"> and pipe_material = #{pipeMaterial}</if> <if test="pipeMaterial != null and pipeMaterial != ''"> and pipe_material = #{pipeMaterial}</if>
<if test="pipeAddr != null and pipeAddr != ''"> and pipe_addr = #{pipeAddr}</if>
<if test="buriedDepth != null "> and buried_depth = #{buriedDepth}</if> <if test="buriedDepth != null "> and buried_depth = #{buriedDepth}</if>
<if test="pipeTrend != null and pipeTrend != ''"> and pipe_trend = #{pipeTrend}</if> <if test="pipeTrend != null and pipeTrend != ''"> and pipe_trend = #{pipeTrend}</if>
<if test="peopleOccupation != null and peopleOccupation != ''"> and people_occupation = #{peopleOccupation}</if> <if test="buildDate != null and buildDate != ''"> and build_date = #{buildDate}</if>
<if test="buildDate != null "> and build_date = #{buildDate}</if>
<if test="buildUnit != null and buildUnit != ''"> and build_unit = #{buildUnit}</if> <if test="buildUnit != null and buildUnit != ''"> and build_unit = #{buildUnit}</if>
<if test="beyondEnterpriseId != null "> and beyond_enterprise_id = #{beyondEnterpriseId}</if> <if test="beyondEnterpriseId != null "> and beyond_enterprise_id = #{beyondEnterpriseId}</if>
<if test="beyondEnterpriseName != null and beyondEnterpriseName != ''"> and beyond_enterprise_name like concat('%', #{beyondEnterpriseName}, '%')</if> <if test="beyondEnterpriseName != null and beyondEnterpriseName != ''"> and beyond_enterprise_name like concat('%', #{beyondEnterpriseName}, '%')</if>
...@@ -52,8 +51,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -52,8 +51,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select> </select>
<select id="selectTPipeInfoById" parameterType="Long" resultMap="TPipeInfoResult"> <select id="selectTPipeInfoById" parameterType="Long" resultMap="TPipeInfoResult">
select pipe_id, pipe_length, pipe_diameter, pipe_pressure, pipe_material, buried_depth, pipe_trend,people_occupation, build_date, build_unit, beyond_enterprise_id, beyond_enterprise_name, coordinates, create_by, create_time, update_by, update_time, is_del, remarks from t_pipe_info <include refid="selectTPipeInfoVo"/>
where pipe_id = #{pipeId} and is_del='0' where pipe_id = #{pipeId}
</select> </select>
<insert id="insertTPipeInfo" parameterType="TPipeInfo" useGeneratedKeys="true" keyProperty="pipeId"> <insert id="insertTPipeInfo" parameterType="TPipeInfo" useGeneratedKeys="true" keyProperty="pipeId">
...@@ -63,9 +62,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -63,9 +62,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="pipeDiameter != null">pipe_diameter,</if> <if test="pipeDiameter != null">pipe_diameter,</if>
<if test="pipePressure != null">pipe_pressure,</if> <if test="pipePressure != null">pipe_pressure,</if>
<if test="pipeMaterial != null">pipe_material,</if> <if test="pipeMaterial != null">pipe_material,</if>
<if test="pipeAddr != null">pipe_addr,</if>
<if test="buriedDepth != null">buried_depth,</if> <if test="buriedDepth != null">buried_depth,</if>
<if test="pipeTrend != null">pipe_trend,</if> <if test="pipeTrend != null">pipe_trend,</if>
<if test="peopleOccupation != null">people_occupation,</if>
<if test="buildDate != null">build_date,</if> <if test="buildDate != null">build_date,</if>
<if test="buildUnit != null">build_unit,</if> <if test="buildUnit != null">build_unit,</if>
<if test="beyondEnterpriseId != null">beyond_enterprise_id,</if> <if test="beyondEnterpriseId != null">beyond_enterprise_id,</if>
...@@ -83,9 +82,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -83,9 +82,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="pipeDiameter != null">#{pipeDiameter},</if> <if test="pipeDiameter != null">#{pipeDiameter},</if>
<if test="pipePressure != null">#{pipePressure},</if> <if test="pipePressure != null">#{pipePressure},</if>
<if test="pipeMaterial != null">#{pipeMaterial},</if> <if test="pipeMaterial != null">#{pipeMaterial},</if>
<if test="pipeAddr != null">#{pipeAddr},</if>
<if test="buriedDepth != null">#{buriedDepth},</if> <if test="buriedDepth != null">#{buriedDepth},</if>
<if test="pipeTrend != null">#{pipeTrend},</if> <if test="pipeTrend != null">#{pipeTrend},</if>
<if test="peopleOccupation != null">#{peopleOccupation},</if>
<if test="buildDate != null">#{buildDate},</if> <if test="buildDate != null">#{buildDate},</if>
<if test="buildUnit != null">#{buildUnit},</if> <if test="buildUnit != null">#{buildUnit},</if>
<if test="beyondEnterpriseId != null">#{beyondEnterpriseId},</if> <if test="beyondEnterpriseId != null">#{beyondEnterpriseId},</if>
...@@ -107,9 +106,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -107,9 +106,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="pipeDiameter != null">pipe_diameter = #{pipeDiameter},</if> <if test="pipeDiameter != null">pipe_diameter = #{pipeDiameter},</if>
<if test="pipePressure != null">pipe_pressure = #{pipePressure},</if> <if test="pipePressure != null">pipe_pressure = #{pipePressure},</if>
<if test="pipeMaterial != null">pipe_material = #{pipeMaterial},</if> <if test="pipeMaterial != null">pipe_material = #{pipeMaterial},</if>
<if test="pipeAddr != null">pipe_addr = #{pipeAddr},</if>
<if test="buriedDepth != null">buried_depth = #{buriedDepth},</if> <if test="buriedDepth != null">buried_depth = #{buriedDepth},</if>
<if test="pipeTrend != null">pipe_trend = #{pipeTrend},</if> <if test="pipeTrend != null">pipe_trend = #{pipeTrend},</if>
<if test="peopleOccupation != null">people_occupation = #{peopleOccupation},</if>
<if test="buildDate != null">build_date = #{buildDate},</if> <if test="buildDate != null">build_date = #{buildDate},</if>
<if test="buildUnit != null">build_unit = #{buildUnit},</if> <if test="buildUnit != null">build_unit = #{buildUnit},</if>
<if test="beyondEnterpriseId != null">beyond_enterprise_id = #{beyondEnterpriseId},</if> <if test="beyondEnterpriseId != null">beyond_enterprise_id = #{beyondEnterpriseId},</if>
...@@ -125,14 +124,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -125,14 +124,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where pipe_id = #{pipeId} where pipe_id = #{pipeId}
</update> </update>
<update id="deleteTPipeInfoById" parameterType="Long"> <delete id="deleteTPipeInfoById" parameterType="Long">
update t_pipe_info set is_del='1' where pipe_id = #{pipeId} delete from t_pipe_info where pipe_id = #{pipeId}
</update> </delete>
<update id="deleteTPipeInfoByIds" parameterType="String"> <delete id="deleteTPipeInfoByIds" parameterType="String">
update t_pipe_info set is_del='1' where pipe_id in delete from t_pipe_info where pipe_id in
<foreach item="pipeId" collection="array" open="(" separator="," close=")"> <foreach item="pipeId" collection="array" open="(" separator="," close=")">
#{pipeId} #{pipeId}
</foreach> </foreach>
</update> </delete>
</mapper> </mapper>
\ No newline at end of file
<template> <template>
<div class="app-container"> <div class="app-container">
<el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px"> <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
<el-form-item label="管道长度" prop="pipeLength">
<el-input
v-model="queryParams.pipeLength"
placeholder="请输入管道长度"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
</el-form-item> </el-form-item>
<el-form-item label="管径" prop="pipeDiameter"> <el-form-item label="建设单位" prop="buildUnit">
<el-input <el-input
v-model="queryParams.pipeDiameter" v-model="queryParams.buildUnit"
placeholder="请输入管径" placeholder="请输入建设单位"
clearable clearable
size="small" size="small"
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
</el-form-item> </el-form-item>
<el-form-item label="压力" prop="pipePressure"> <el-form-item label="权属单位名称" prop="beyondEnterpriseName">
<el-input <el-input
v-model="queryParams.pipePressure" v-model="queryParams.beyondEnterpriseName"
placeholder="请输入压力" placeholder="请输入权属单位名称"
clearable clearable
size="small" size="small"
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
...@@ -43,7 +35,7 @@ ...@@ -43,7 +35,7 @@
icon="el-icon-plus" icon="el-icon-plus"
size="mini" size="mini"
@click="handleAdd" @click="handleAdd"
v-hasPermi="['supervise:pipe:add']" v-hasPermi="['system:info:add']"
>新增</el-button> >新增</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
...@@ -54,7 +46,7 @@ ...@@ -54,7 +46,7 @@
size="mini" size="mini"
:disabled="single" :disabled="single"
@click="handleUpdate" @click="handleUpdate"
v-hasPermi="['supervise:pipe:edit']" v-hasPermi="['system:info:edit']"
>修改</el-button> >修改</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
...@@ -65,7 +57,7 @@ ...@@ -65,7 +57,7 @@
size="mini" size="mini"
:disabled="multiple" :disabled="multiple"
@click="handleDelete" @click="handleDelete"
v-hasPermi="['supervise:pipe:remove']" v-hasPermi="['system:info:remove']"
>删除</el-button> >删除</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
...@@ -76,22 +68,24 @@ ...@@ -76,22 +68,24 @@
size="mini" size="mini"
:loading="exportLoading" :loading="exportLoading"
@click="handleExport" @click="handleExport"
v-hasPermi="['supervise:pipe:export']" v-hasPermi="['system:info:export']"
>导出</el-button> >导出</el-button>
</el-col> </el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row> </el-row>
<el-table v-loading="loading" :data="pipeList" @selection-change="handleSelectionChange"> <el-table v-loading="loading" :data="infoList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<el-table-column label="管道长度" align="center" prop="pipeLength" /> <el-table-column label="管道长度" align="center" prop="pipeLength" />
<el-table-column label="管径" align="center" prop="pipeDiameter" />
<el-table-column label="压力" align="center" prop="pipePressure" />
<el-table-column label="材质" align="center" prop="pipeMaterial" />
<el-table-column label="管道地址" align="center" prop="pipeAddr" />
<el-table-column label="埋深" align="center" prop="buriedDepth" />
<el-table-column label="走向" align="center" prop="pipeTrend" /> <el-table-column label="走向" align="center" prop="pipeTrend" />
<el-table-column label="人员类型" align="center" prop="peopleOccupation" />
<el-table-column label="建设年代" align="center" prop="buildDate" /> <el-table-column label="建设年代" align="center" prop="buildDate" />
<el-table-column label="建设单位" align="center" prop="buildUnit" /> <el-table-column label="建设单位" align="center" prop="buildUnit" />
<el-table-column label="权属单位" align="center" prop="beyondEnterpriseId" /> <el-table-column label="权属单位名称" align="center" prop="beyondEnterpriseName" />
<el-table-column label="坐标" align="center" prop="coordinates" />
<el-table-column label="备注" align="center" prop="remarks" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
...@@ -99,14 +93,14 @@ ...@@ -99,14 +93,14 @@
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
@click="handleUpdate(scope.row)" @click="handleUpdate(scope.row)"
v-hasPermi="['supervise:pipe:edit']" v-hasPermi="['system:info:edit']"
>修改</el-button> >修改</el-button>
<el-button <el-button
size="mini" size="mini"
type="text" type="text"
icon="el-icon-delete" icon="el-icon-delete"
@click="handleDelete(scope.row)" @click="handleDelete(scope.row)"
v-hasPermi="['supervise:pipe:remove']" v-hasPermi="['system:info:remove']"
>删除</el-button> >删除</el-button>
</template> </template>
</el-table-column> </el-table-column>
...@@ -135,19 +129,15 @@ ...@@ -135,19 +129,15 @@
<el-form-item label="材质" prop="pipeMaterial"> <el-form-item label="材质" prop="pipeMaterial">
<el-input v-model="form.pipeMaterial" placeholder="请输入材质" /> <el-input v-model="form.pipeMaterial" placeholder="请输入材质" />
</el-form-item> </el-form-item>
<el-form-item label="管道地址" prop="pipeAddr">
<el-input v-model="form.pipeAddr" placeholder="请输入管道地址" />
</el-form-item>
<el-form-item label="埋深" prop="buriedDepth"> <el-form-item label="埋深" prop="buriedDepth">
<el-input v-model="form.buriedDepth" placeholder="请输入埋深" /> <el-input v-model="form.buriedDepth" placeholder="请输入埋深" />
</el-form-item> </el-form-item>
<el-form-item label="走向" prop="pipeTrend"> <el-form-item label="走向" prop="pipeTrend">
<el-input v-model="form.pipeTrend" placeholder="请输入走向" /> <el-input v-model="form.pipeTrend" placeholder="请输入走向" />
</el-form-item> </el-form-item>
<el-form-item label="人员类型" prop="peopleOccupation">
<el-select v-model="form.peopleOccupation" placeholder="请选择人员类型">
<el-option label="运行维护人员" value="1" />
<el-option label="抢修人员" value="2" />
</el-select>
</el-form-item>
<el-form-item label="建设年代" prop="buildDate"> <el-form-item label="建设年代" prop="buildDate">
<el-date-picker <el-date-picker
v-model="form.buildDate" v-model="form.buildDate"
...@@ -166,12 +156,6 @@ ...@@ -166,12 +156,6 @@
<el-form-item label="权属单位名称" prop="beyondEnterpriseName"> <el-form-item label="权属单位名称" prop="beyondEnterpriseName">
<el-input v-model="form.beyondEnterpriseName" placeholder="请输入权属单位名称" /> <el-input v-model="form.beyondEnterpriseName" placeholder="请输入权属单位名称" />
</el-form-item> </el-form-item>
<el-form-item label="坐标" prop="coordinates">
<el-input v-model="form.coordinates" type="textarea" placeholder="请输入内容" />
</el-form-item>
<el-form-item label="备注" prop="remarks">
<el-input v-model="form.remarks" placeholder="请输入备注" />
</el-form-item>
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm">确 定</el-button> <el-button type="primary" @click="submitForm">确 定</el-button>
...@@ -185,7 +169,7 @@ ...@@ -185,7 +169,7 @@
import { listPipe, getPipe, delPipe, addPipe, updatePipe, exportPipe } from "@/api/regulation/pipe"; import { listPipe, getPipe, delPipe, addPipe, updatePipe, exportPipe } from "@/api/regulation/pipe";
export default { export default {
name: "Pipe", name: "Info",
components: { components: {
}, },
data() { data() {
...@@ -205,7 +189,7 @@ export default { ...@@ -205,7 +189,7 @@ export default {
// 总条数 // 总条数
total: 0, total: 0,
// 管道信息表格数据 // 管道信息表格数据
pipeList: [], infoList: [],
// 弹出层标题 // 弹出层标题
title: "", title: "",
// 是否显示弹出层 // 是否显示弹出层
...@@ -218,9 +202,9 @@ export default { ...@@ -218,9 +202,9 @@ export default {
pipeDiameter: null, pipeDiameter: null,
pipePressure: null, pipePressure: null,
pipeMaterial: null, pipeMaterial: null,
pipeAddr: null,
buriedDepth: null, buriedDepth: null,
pipeTrend: null, pipeTrend: null,
peopleOccupation: null,
buildDate: null, buildDate: null,
buildUnit: null, buildUnit: null,
beyondEnterpriseId: null, beyondEnterpriseId: null,
...@@ -244,7 +228,7 @@ export default { ...@@ -244,7 +228,7 @@ export default {
getList() { getList() {
this.loading = true; this.loading = true;
listPipe(this.queryParams).then(response => { listPipe(this.queryParams).then(response => {
this.pipeList = response.rows; this.infoList = response.rows;
this.total = response.total; this.total = response.total;
this.loading = false; this.loading = false;
}); });
...@@ -262,9 +246,9 @@ export default { ...@@ -262,9 +246,9 @@ export default {
pipeDiameter: null, pipeDiameter: null,
pipePressure: null, pipePressure: null,
pipeMaterial: null, pipeMaterial: null,
pipeAddr: null,
buriedDepth: null, buriedDepth: null,
pipeTrend: null, pipeTrend: null,
peopleOccupation: null,
buildDate: null, buildDate: null,
buildUnit: null, buildUnit: null,
beyondEnterpriseId: null, beyondEnterpriseId: null,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment