Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zh-baseversion-project
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王浩
zh-baseversion-project
Commits
fc620f45
Commit
fc620f45
authored
Jun 27, 2024
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
第三方施工项目档案
parent
95f052e1
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
2723 additions
and
0 deletions
+2723
-0
TConGasProInforController.java
.../web/controller/thirdbuild/TConGasProInforController.java
+112
-0
TConGasProInfor.java
...c/main/java/com/zehong/system/domain/TConGasProInfor.java
+592
-0
TConGasProInforVo.java
...n/java/com/zehong/system/domain/vo/TConGasProInforVo.java
+433
-0
TConGasProInforMapper.java
.../java/com/zehong/system/mapper/TConGasProInforMapper.java
+61
-0
ITConGasProInforService.java
...va/com/zehong/system/service/ITConGasProInforService.java
+68
-0
TConGasProInforServiceImpl.java
...ehong/system/service/impl/TConGasProInforServiceImpl.java
+144
-0
TConGasProInforMapper.xml
...rc/main/resources/mapper/system/TConGasProInforMapper.xml
+211
-0
project.js
zh-baseversion-web/src/api/thirdbuild/project.js
+61
-0
DetailInfo.vue
...eb/src/views/thirdbuild/project/components/DetailInfo.vue
+292
-0
index.vue
zh-baseversion-web/src/views/thirdbuild/project/index.vue
+749
-0
No files found.
zh-baseversion-admin/src/main/java/com/zehong/web/controller/thirdbuild/TConGasProInforController.java
0 → 100644
View file @
fc620f45
package
com
.
zehong
.
web
.
controller
.
thirdbuild
;
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.zehong.common.annotation.Log
;
import
com.zehong.common.core.controller.BaseController
;
import
com.zehong.common.core.domain.AjaxResult
;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.system.domain.TConGasProInfor
;
import
com.zehong.system.service.ITConGasProInforService
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.common.core.page.TableDataInfo
;
/**
* 第三方施工-涉气第三方施工项目档案Controller
*
* @author zehong
* @date 2024-06-26
*/
@RestController
@RequestMapping
(
"/third/project"
)
public
class
TConGasProInforController
extends
BaseController
{
@Autowired
private
ITConGasProInforService
tConGasProInforService
;
/**
* 查询第三方施工-涉气第三方施工项目档案列表
*/
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
TConGasProInfor
tConGasProInfor
)
{
startPage
();
List
<
TConGasProInfor
>
list
=
tConGasProInforService
.
selectTConGasProInforList
(
tConGasProInfor
);
return
getDataTable
(
list
);
}
/**
* 导出第三方施工-涉气第三方施工项目档案列表
*/
@Log
(
title
=
"第三方施工-涉气第三方施工项目档案"
,
businessType
=
BusinessType
.
EXPORT
)
@GetMapping
(
"/export"
)
public
AjaxResult
export
(
TConGasProInfor
tConGasProInfor
)
{
List
<
TConGasProInfor
>
list
=
tConGasProInforService
.
selectTConGasProInforList
(
tConGasProInfor
);
ExcelUtil
<
TConGasProInfor
>
util
=
new
ExcelUtil
<
TConGasProInfor
>(
TConGasProInfor
.
class
);
return
util
.
exportExcel
(
list
,
"第三方施工-涉气第三方施工项目档案数据"
);
}
/**
* 获取第三方施工-涉气第三方施工项目档案详细信息
*/
@GetMapping
(
value
=
"/{fConGasProInforId}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"fConGasProInforId"
)
Long
fConGasProInforId
)
{
return
AjaxResult
.
success
(
tConGasProInforService
.
selectTConGasProInforById
(
fConGasProInforId
));
}
/**
* 新增第三方施工-涉气第三方施工项目档案
*/
@Log
(
title
=
"第三方施工-涉气第三方施工项目档案"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
TConGasProInfor
tConGasProInfor
)
{
return
toAjax
(
tConGasProInforService
.
insertTConGasProInfor
(
tConGasProInfor
));
}
/**
* 修改第三方施工-涉气第三方施工项目档案
*/
@Log
(
title
=
"第三方施工-涉气第三方施工项目档案"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
public
AjaxResult
edit
(
@RequestBody
TConGasProInfor
tConGasProInfor
)
{
return
toAjax
(
tConGasProInforService
.
updateTConGasProInfor
(
tConGasProInfor
));
}
/**
* 删除第三方施工-涉气第三方施工项目档案
*/
@Log
(
title
=
"第三方施工-涉气第三方施工项目档案"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{fConGasProInforIds}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
fConGasProInforIds
)
{
return
toAjax
(
tConGasProInforService
.
deleteTConGasProInforByIds
(
fConGasProInforIds
));
}
/**
* 上传第三方施工
* @param fConGasProInforId 第三方施工id
* @return
*/
@GetMapping
(
"/reportConGasProInfo"
)
public
AjaxResult
reportConGasProInfo
(
Long
fConGasProInforId
){
try
{
return
toAjax
(
tConGasProInforService
.
reportConGasProInfo
(
fConGasProInforId
));
}
catch
(
Exception
e
){
logger
.
error
(
"上传第三方施工接口异常====="
,
e
);
return
AjaxResult
.
error
(
"上传第三方施工接口异常"
);
}
}
}
zh-baseversion-system/src/main/java/com/zehong/system/domain/TConGasProInfor.java
0 → 100644
View file @
fc620f45
package
com
.
zehong
.
system
.
domain
;
import
org.apache.commons.lang3.builder.ToStringBuilder
;
import
org.apache.commons.lang3.builder.ToStringStyle
;
import
com.zehong.common.annotation.Excel
;
import
com.zehong.common.core.domain.BaseEntity
;
/**
* 第三方施工-涉气第三方施工项目档案对象 t_con_gas_pro_infor
*
* @author zehong
* @date 2024-06-26
*/
public
class
TConGasProInfor
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/** id */
private
Long
fConGasProInforId
;
/** 项目编码,6位县级行政区划编码+4位年+4位顺序码 */
@Excel
(
name
=
"项目编码"
)
private
String
fProjectCode
;
/** 外部工程编码,工程项目在市级平台或燃气企业系统中的自有编号 */
@Excel
(
name
=
"外部工程编码"
)
private
Long
fProjectNo
;
/** 施工工程项目名称 */
@Excel
(
name
=
"施工工程项目名称"
)
private
String
fProjectName
;
/** 开工时间 yyyy-MM-dd */
@Excel
(
name
=
"开工时间"
)
private
String
fConstructionStart
;
/** 计划竣工时间 yyyy-MM-dd */
@Excel
(
name
=
"计划竣工时间"
)
private
String
fConstructionEnd
;
/** 项目位置描述 */
@Excel
(
name
=
"项目位置描述"
)
private
String
fAddress
;
/** 所属县级行政区ID */
@Excel
(
name
=
"所属县级行政区ID"
)
private
Long
fDistrictId
;
/** 经度 */
@Excel
(
name
=
"经度"
)
private
String
fConstructionLongitude
;
/** 纬度 */
@Excel
(
name
=
"纬度"
)
private
String
fConstructionLatitude
;
/** 涉气施工点位位置属性 1城镇,2 农村 */
@Excel
(
name
=
"涉气施工点位位置属性"
,
readConverterExp
=
"1=城镇,2=农村"
)
private
Long
fConstructionPointType
;
/** 涉及村,村级行政区ID */
@Excel
(
name
=
"涉及村,村级行政区ID"
)
private
Long
fVillageId
;
/** 管道压力等级分类,按分类代码表14分类填写
140100:超高压 4.0 < p
140200:高压 1.6< p <= 4.0
140300:次高压 0.4<p<1.6
140400:中压 0.01<p<=0.4
140500:低压 p < 0.01 */
@Excel
(
name
=
"管道压力等级分类"
,
dictType
=
"t_pipe_press"
)
private
String
fPipePress
;
/** 施工是否主动报备 1 是 0 否 */
@Excel
(
name
=
"施工是否主动报备"
,
readConverterExp
=
"1=是,0=否"
)
private
Long
fReportFlag
;
/** 施工状态,1 未开工,2 正在施工,3 已完工 */
@Excel
(
name
=
"施工状态"
,
readConverterExp
=
"1=未开工,2=正在施工,3=已完工"
)
private
Long
fConstructionStatus
;
/** 建设单位名称 */
@Excel
(
name
=
"建设单位名称"
)
private
String
fBuildDepartment
;
/** 建设单位项目负责人姓名 */
@Excel
(
name
=
"建设单位项目负责人姓名"
)
private
String
fProjectLeader
;
/** 建设单位项目负责人电话 */
@Excel
(
name
=
"建设单位项目负责人电话"
)
private
String
fProjectLeaderPhone
;
/** 所属行业,发展改革/水利/农业农村/交通/通信/住建(城管) */
@Excel
(
name
=
"所属行业"
)
private
String
fIndustry
;
/** 行业安全监管部门名称 */
@Excel
(
name
=
"行业安全监管部门名称"
)
private
String
fDepartmentName
;
/** 施工单位名称 */
@Excel
(
name
=
"施工单位名称"
)
private
String
fConstructDepartment
;
/** 施工单位项目负责人姓名 */
@Excel
(
name
=
"施工单位项目负责人姓名"
)
private
String
fBuildProjectLeaderName
;
/** 施工单位项目负责人电话 */
@Excel
(
name
=
"施工单位项目负责人电话"
)
private
String
fBuildProjectLeaderPhone
;
/** 施工单位技术负责人姓名 */
@Excel
(
name
=
"施工单位技术负责人姓名"
)
private
String
fTechnicalLeaderName
;
/** 施工单位技术负责人电话 */
@Excel
(
name
=
"施工单位技术负责人电话"
)
private
String
fTechnicalLeaderPhone
;
/** 监理单位名称 */
@Excel
(
name
=
"监理单位名称"
)
private
String
fSupervisionUnitName
;
/** 监理单位总监理工程师姓名 */
@Excel
(
name
=
"监理单位总监理工程师姓名"
)
private
String
fChiefEngineerName
;
/** 监理单位总监理工程师电话 */
@Excel
(
name
=
"监理单位总监理工程师电话"
)
private
String
fChiefEngineerPhone
;
/** 燃气企业编码 */
@Excel
(
name
=
"燃气企业编码"
)
private
String
fCompanyInfoId
;
/** 施工点位巡线员编码 */
@Excel
(
name
=
"施工点位巡线员编码"
)
private
String
fPatrolSafetyOfficerNo
;
/** 施工点位巡线员姓名 */
@Excel
(
name
=
"施工点位巡线员姓名"
)
private
String
fPartrolSafetyOfficerName
;
/** 施工点位巡线员电话 */
@Excel
(
name
=
"施工点位巡线员电话"
)
private
String
fPatrolSafetyOfficerPhone
;
/** 驻村安全员编码 */
@Excel
(
name
=
"驻村安全员编码"
)
private
String
fResidentSafetyOfficerNo
;
/** 驻村安全员姓名 */
@Excel
(
name
=
"驻村安全员姓名"
)
private
String
fResidentSafetyOfficerName
;
/** 驻村安全员电话 */
@Excel
(
name
=
"驻村安全员电话"
)
private
String
fResidentSafetyOfficerPhone
;
/** 燃气企业旁站人员编码 */
@Excel
(
name
=
"燃气企业旁站人员编码"
)
private
String
fGasCompanyStationNo
;
/** 燃气企业旁站人员姓名 */
@Excel
(
name
=
"燃气企业旁站人员姓名"
)
private
String
fGasCompanyStationName
;
/** 燃气企业旁站人员电话 */
@Excel
(
name
=
"燃气企业旁站人员电话"
)
private
String
fGasCompanyStationPhone
;
/** 备注 */
private
String
fRemark
;
/** 最后修改时间 yyyy-MM-dd hh:mm:ss */
@Excel
(
name
=
"最后修改时间"
)
private
String
fUpdateTime
;
public
void
setfConGasProInforId
(
Long
fConGasProInforId
)
{
this
.
fConGasProInforId
=
fConGasProInforId
;
}
public
Long
getfConGasProInforId
()
{
return
fConGasProInforId
;
}
public
void
setfProjectCode
(
String
fProjectCode
)
{
this
.
fProjectCode
=
fProjectCode
;
}
public
String
getfProjectCode
()
{
return
fProjectCode
;
}
public
void
setfProjectNo
(
Long
fProjectNo
)
{
this
.
fProjectNo
=
fProjectNo
;
}
public
Long
getfProjectNo
()
{
return
fProjectNo
;
}
public
void
setfProjectName
(
String
fProjectName
)
{
this
.
fProjectName
=
fProjectName
;
}
public
String
getfProjectName
()
{
return
fProjectName
;
}
public
void
setfConstructionStart
(
String
fConstructionStart
)
{
this
.
fConstructionStart
=
fConstructionStart
;
}
public
String
getfConstructionStart
()
{
return
fConstructionStart
;
}
public
void
setfConstructionEnd
(
String
fConstructionEnd
)
{
this
.
fConstructionEnd
=
fConstructionEnd
;
}
public
String
getfConstructionEnd
()
{
return
fConstructionEnd
;
}
public
void
setfAddress
(
String
fAddress
)
{
this
.
fAddress
=
fAddress
;
}
public
String
getfAddress
()
{
return
fAddress
;
}
public
void
setfDistrictId
(
Long
fDistrictId
)
{
this
.
fDistrictId
=
fDistrictId
;
}
public
Long
getfDistrictId
()
{
return
fDistrictId
;
}
public
void
setfConstructionLongitude
(
String
fConstructionLongitude
)
{
this
.
fConstructionLongitude
=
fConstructionLongitude
;
}
public
String
getfConstructionLongitude
()
{
return
fConstructionLongitude
;
}
public
void
setfConstructionLatitude
(
String
fConstructionLatitude
)
{
this
.
fConstructionLatitude
=
fConstructionLatitude
;
}
public
String
getfConstructionLatitude
()
{
return
fConstructionLatitude
;
}
public
void
setfConstructionPointType
(
Long
fConstructionPointType
)
{
this
.
fConstructionPointType
=
fConstructionPointType
;
}
public
Long
getfConstructionPointType
()
{
return
fConstructionPointType
;
}
public
void
setfVillageId
(
Long
fVillageId
)
{
this
.
fVillageId
=
fVillageId
;
}
public
Long
getfVillageId
()
{
return
fVillageId
;
}
public
void
setfPipePress
(
String
fPipePress
)
{
this
.
fPipePress
=
fPipePress
;
}
public
String
getfPipePress
()
{
return
fPipePress
;
}
public
void
setfReportFlag
(
Long
fReportFlag
)
{
this
.
fReportFlag
=
fReportFlag
;
}
public
Long
getfReportFlag
()
{
return
fReportFlag
;
}
public
void
setfConstructionStatus
(
Long
fConstructionStatus
)
{
this
.
fConstructionStatus
=
fConstructionStatus
;
}
public
Long
getfConstructionStatus
()
{
return
fConstructionStatus
;
}
public
void
setfBuildDepartment
(
String
fBuildDepartment
)
{
this
.
fBuildDepartment
=
fBuildDepartment
;
}
public
String
getfBuildDepartment
()
{
return
fBuildDepartment
;
}
public
void
setfProjectLeader
(
String
fProjectLeader
)
{
this
.
fProjectLeader
=
fProjectLeader
;
}
public
String
getfProjectLeader
()
{
return
fProjectLeader
;
}
public
void
setfProjectLeaderPhone
(
String
fProjectLeaderPhone
)
{
this
.
fProjectLeaderPhone
=
fProjectLeaderPhone
;
}
public
String
getfProjectLeaderPhone
()
{
return
fProjectLeaderPhone
;
}
public
void
setfIndustry
(
String
fIndustry
)
{
this
.
fIndustry
=
fIndustry
;
}
public
String
getfIndustry
()
{
return
fIndustry
;
}
public
void
setfDepartmentName
(
String
fDepartmentName
)
{
this
.
fDepartmentName
=
fDepartmentName
;
}
public
String
getfDepartmentName
()
{
return
fDepartmentName
;
}
public
void
setfConstructDepartment
(
String
fConstructDepartment
)
{
this
.
fConstructDepartment
=
fConstructDepartment
;
}
public
String
getfConstructDepartment
()
{
return
fConstructDepartment
;
}
public
void
setfBuildProjectLeaderName
(
String
fBuildProjectLeaderName
)
{
this
.
fBuildProjectLeaderName
=
fBuildProjectLeaderName
;
}
public
String
getfBuildProjectLeaderName
()
{
return
fBuildProjectLeaderName
;
}
public
void
setfBuildProjectLeaderPhone
(
String
fBuildProjectLeaderPhone
)
{
this
.
fBuildProjectLeaderPhone
=
fBuildProjectLeaderPhone
;
}
public
String
getfBuildProjectLeaderPhone
()
{
return
fBuildProjectLeaderPhone
;
}
public
void
setfTechnicalLeaderName
(
String
fTechnicalLeaderName
)
{
this
.
fTechnicalLeaderName
=
fTechnicalLeaderName
;
}
public
String
getfTechnicalLeaderName
()
{
return
fTechnicalLeaderName
;
}
public
void
setfTechnicalLeaderPhone
(
String
fTechnicalLeaderPhone
)
{
this
.
fTechnicalLeaderPhone
=
fTechnicalLeaderPhone
;
}
public
String
getfTechnicalLeaderPhone
()
{
return
fTechnicalLeaderPhone
;
}
public
void
setfSupervisionUnitName
(
String
fSupervisionUnitName
)
{
this
.
fSupervisionUnitName
=
fSupervisionUnitName
;
}
public
String
getfSupervisionUnitName
()
{
return
fSupervisionUnitName
;
}
public
void
setfChiefEngineerName
(
String
fChiefEngineerName
)
{
this
.
fChiefEngineerName
=
fChiefEngineerName
;
}
public
String
getfChiefEngineerName
()
{
return
fChiefEngineerName
;
}
public
void
setfChiefEngineerPhone
(
String
fChiefEngineerPhone
)
{
this
.
fChiefEngineerPhone
=
fChiefEngineerPhone
;
}
public
String
getfChiefEngineerPhone
()
{
return
fChiefEngineerPhone
;
}
public
void
setfCompanyInfoId
(
String
fCompanyInfoId
)
{
this
.
fCompanyInfoId
=
fCompanyInfoId
;
}
public
String
getfCompanyInfoId
()
{
return
fCompanyInfoId
;
}
public
void
setfPatrolSafetyOfficerNo
(
String
fPatrolSafetyOfficerNo
)
{
this
.
fPatrolSafetyOfficerNo
=
fPatrolSafetyOfficerNo
;
}
public
String
getfPatrolSafetyOfficerNo
()
{
return
fPatrolSafetyOfficerNo
;
}
public
void
setfPartrolSafetyOfficerName
(
String
fPartrolSafetyOfficerName
)
{
this
.
fPartrolSafetyOfficerName
=
fPartrolSafetyOfficerName
;
}
public
String
getfPartrolSafetyOfficerName
()
{
return
fPartrolSafetyOfficerName
;
}
public
void
setfPatrolSafetyOfficerPhone
(
String
fPatrolSafetyOfficerPhone
)
{
this
.
fPatrolSafetyOfficerPhone
=
fPatrolSafetyOfficerPhone
;
}
public
String
getfPatrolSafetyOfficerPhone
()
{
return
fPatrolSafetyOfficerPhone
;
}
public
void
setfResidentSafetyOfficerNo
(
String
fResidentSafetyOfficerNo
)
{
this
.
fResidentSafetyOfficerNo
=
fResidentSafetyOfficerNo
;
}
public
String
getfResidentSafetyOfficerNo
()
{
return
fResidentSafetyOfficerNo
;
}
public
void
setfResidentSafetyOfficerName
(
String
fResidentSafetyOfficerName
)
{
this
.
fResidentSafetyOfficerName
=
fResidentSafetyOfficerName
;
}
public
String
getfResidentSafetyOfficerName
()
{
return
fResidentSafetyOfficerName
;
}
public
void
setfResidentSafetyOfficerPhone
(
String
fResidentSafetyOfficerPhone
)
{
this
.
fResidentSafetyOfficerPhone
=
fResidentSafetyOfficerPhone
;
}
public
String
getfResidentSafetyOfficerPhone
()
{
return
fResidentSafetyOfficerPhone
;
}
public
void
setfGasCompanyStationNo
(
String
fGasCompanyStationNo
)
{
this
.
fGasCompanyStationNo
=
fGasCompanyStationNo
;
}
public
String
getfGasCompanyStationNo
()
{
return
fGasCompanyStationNo
;
}
public
void
setfGasCompanyStationName
(
String
fGasCompanyStationName
)
{
this
.
fGasCompanyStationName
=
fGasCompanyStationName
;
}
public
String
getfGasCompanyStationName
()
{
return
fGasCompanyStationName
;
}
public
void
setfGasCompanyStationPhone
(
String
fGasCompanyStationPhone
)
{
this
.
fGasCompanyStationPhone
=
fGasCompanyStationPhone
;
}
public
String
getfGasCompanyStationPhone
()
{
return
fGasCompanyStationPhone
;
}
public
void
setfRemark
(
String
fRemark
)
{
this
.
fRemark
=
fRemark
;
}
public
String
getfRemark
()
{
return
fRemark
;
}
public
void
setfUpdateTime
(
String
fUpdateTime
)
{
this
.
fUpdateTime
=
fUpdateTime
;
}
public
String
getfUpdateTime
()
{
return
fUpdateTime
;
}
@Override
public
String
toString
()
{
return
new
ToStringBuilder
(
this
,
ToStringStyle
.
MULTI_LINE_STYLE
)
.
append
(
"fConGasProInforId"
,
getfConGasProInforId
())
.
append
(
"fProjectCode"
,
getfProjectCode
())
.
append
(
"fProjectNo"
,
getfProjectNo
())
.
append
(
"fProjectName"
,
getfProjectName
())
.
append
(
"fConstructionStart"
,
getfConstructionStart
())
.
append
(
"fConstructionEnd"
,
getfConstructionEnd
())
.
append
(
"fAddress"
,
getfAddress
())
.
append
(
"fDistrictId"
,
getfDistrictId
())
.
append
(
"fConstructionLongitude"
,
getfConstructionLongitude
())
.
append
(
"fConstructionLatitude"
,
getfConstructionLatitude
())
.
append
(
"fConstructionPointType"
,
getfConstructionPointType
())
.
append
(
"fVillageId"
,
getfVillageId
())
.
append
(
"fPipePress"
,
getfPipePress
())
.
append
(
"fReportFlag"
,
getfReportFlag
())
.
append
(
"fConstructionStatus"
,
getfConstructionStatus
())
.
append
(
"fBuildDepartment"
,
getfBuildDepartment
())
.
append
(
"fProjectLeader"
,
getfProjectLeader
())
.
append
(
"fProjectLeaderPhone"
,
getfProjectLeaderPhone
())
.
append
(
"fIndustry"
,
getfIndustry
())
.
append
(
"fDepartmentName"
,
getfDepartmentName
())
.
append
(
"fConstructDepartment"
,
getfConstructDepartment
())
.
append
(
"fBuildProjectLeaderName"
,
getfBuildProjectLeaderName
())
.
append
(
"fBuildProjectLeaderPhone"
,
getfBuildProjectLeaderPhone
())
.
append
(
"fTechnicalLeaderName"
,
getfTechnicalLeaderName
())
.
append
(
"fTechnicalLeaderPhone"
,
getfTechnicalLeaderPhone
())
.
append
(
"fSupervisionUnitName"
,
getfSupervisionUnitName
())
.
append
(
"fChiefEngineerName"
,
getfChiefEngineerName
())
.
append
(
"fChiefEngineerPhone"
,
getfChiefEngineerPhone
())
.
append
(
"fCompanyInfoId"
,
getfCompanyInfoId
())
.
append
(
"fPatrolSafetyOfficerNo"
,
getfPatrolSafetyOfficerNo
())
.
append
(
"fPartrolSafetyOfficerName"
,
getfPartrolSafetyOfficerName
())
.
append
(
"fPatrolSafetyOfficerPhone"
,
getfPatrolSafetyOfficerPhone
())
.
append
(
"fResidentSafetyOfficerNo"
,
getfResidentSafetyOfficerNo
())
.
append
(
"fResidentSafetyOfficerName"
,
getfResidentSafetyOfficerName
())
.
append
(
"fResidentSafetyOfficerPhone"
,
getfResidentSafetyOfficerPhone
())
.
append
(
"fGasCompanyStationNo"
,
getfGasCompanyStationNo
())
.
append
(
"fGasCompanyStationName"
,
getfGasCompanyStationName
())
.
append
(
"fGasCompanyStationPhone"
,
getfGasCompanyStationPhone
())
.
append
(
"fRemark"
,
getfRemark
())
.
append
(
"fUpdateTime"
,
getfUpdateTime
())
.
toString
();
}
}
zh-baseversion-system/src/main/java/com/zehong/system/domain/vo/TConGasProInforVo.java
0 → 100644
View file @
fc620f45
package
com
.
zehong
.
system
.
domain
.
vo
;
public
class
TConGasProInforVo
{
/**项目编码*/
private
String
projectCode
;
/**外部工程编码*/
private
Long
projectNo
;
/**施工工程项目名称*/
private
String
projectName
;
/**开工时间*/
private
String
constructionStart
;
/**计划竣工时间*/
private
String
constructionEnd
;
/**项目位置描述*/
private
String
address
;
/**所属县级行政区*/
private
Long
districtId
;
/**施工点*/
private
String
constructionPoint
;
/**涉气施工点位位置属性*/
private
Long
constructionPointType
;
/**村级行政区*/
private
Long
villageId
;
/**管道压力等级分类*/
private
String
pipePress
;
/**施工是否主动报备*/
private
Long
reportFlag
;
/**施工状态*/
private
Long
constructionStatus
;
/**建设单位名称*/
private
String
buildDepartment
;
/**建设单位项目负责人姓名*/
private
String
projectLeader
;
/**建设单位项目负责人电话*/
private
String
projectLeaderPhone
;
/**所属行业*/
private
String
industry
;
/**行业安全监管部门名称*/
private
String
departmentName
;
/**施工单位名称*/
private
String
constructDepartment
;
/**施工单位项目负责人姓名*/
private
String
buildProjectLeaderName
;
/**施工单位项目负责人电话*/
private
String
buildProjectLeaderPhone
;
/**施工单位技术负责人姓名*/
private
String
technicalLeaderName
;
/**施工单位技术负责人电话*/
private
String
technicalLeaderPhone
;
/**监理单位名称*/
private
String
supervisionUnitName
;
/**监理单位总监理工程师姓名*/
private
String
chiefEngineerName
;
/**监理单位总监理工程师电话*/
private
String
chiefEngineerPhone
;
/**fd*/
private
String
companyInfoId
;
/**燃气企业编码*/
private
String
aa
;
/**施工点位巡线员编码*/
private
String
patrolSafetyOfficerNo
;
/**施工点位巡线员姓名*/
private
String
patrolSafetyOfficerName
;
/**施工点位巡线员电话*/
private
String
patrolSafetyOfficerPhone
;
/**驻村安全员编码*/
private
String
residentSafetyOfficerNo
;
/**驻村安全员姓名*/
private
String
residentSafetyOfficerName
;
/**驻村安全员电话*/
private
String
residentSafetyOfficerPhone
;
/**燃气企业旁站人员编码*/
private
String
gasCompanyStationNo
;
/**燃气企业旁站人员姓名*/
private
String
gasCompanyStationName
;
/**燃气企业旁站人员电话*/
private
String
gasCompanyStationPhone
;
/**备注*/
private
String
remark
;
/**最后修改时间*/
private
String
updateTime
;
public
String
getProjectCode
()
{
return
projectCode
;
}
public
void
setProjectCode
(
String
projectCode
)
{
this
.
projectCode
=
projectCode
;
}
public
Long
getProjectNo
()
{
return
projectNo
;
}
public
void
setProjectNo
(
Long
projectNo
)
{
this
.
projectNo
=
projectNo
;
}
public
String
getProjectName
()
{
return
projectName
;
}
public
void
setProjectName
(
String
projectName
)
{
this
.
projectName
=
projectName
;
}
public
String
getConstructionStart
()
{
return
constructionStart
;
}
public
void
setConstructionStart
(
String
constructionStart
)
{
this
.
constructionStart
=
constructionStart
;
}
public
String
getConstructionEnd
()
{
return
constructionEnd
;
}
public
void
setConstructionEnd
(
String
constructionEnd
)
{
this
.
constructionEnd
=
constructionEnd
;
}
public
String
getAddress
()
{
return
address
;
}
public
void
setAddress
(
String
address
)
{
this
.
address
=
address
;
}
public
Long
getDistrictId
()
{
return
districtId
;
}
public
void
setDistrictId
(
Long
districtId
)
{
this
.
districtId
=
districtId
;
}
public
String
getConstructionPoint
()
{
return
constructionPoint
;
}
public
void
setConstructionPoint
(
String
constructionPoint
)
{
this
.
constructionPoint
=
constructionPoint
;
}
public
Long
getConstructionPointType
()
{
return
constructionPointType
;
}
public
void
setConstructionPointType
(
Long
constructionPointType
)
{
this
.
constructionPointType
=
constructionPointType
;
}
public
Long
getVillageId
()
{
return
villageId
;
}
public
void
setVillageId
(
Long
villageId
)
{
this
.
villageId
=
villageId
;
}
public
String
getPipePress
()
{
return
pipePress
;
}
public
void
setPipePress
(
String
pipePress
)
{
this
.
pipePress
=
pipePress
;
}
public
Long
getReportFlag
()
{
return
reportFlag
;
}
public
void
setReportFlag
(
Long
reportFlag
)
{
this
.
reportFlag
=
reportFlag
;
}
public
Long
getConstructionStatus
()
{
return
constructionStatus
;
}
public
void
setConstructionStatus
(
Long
constructionStatus
)
{
this
.
constructionStatus
=
constructionStatus
;
}
public
String
getBuildDepartment
()
{
return
buildDepartment
;
}
public
void
setBuildDepartment
(
String
buildDepartment
)
{
this
.
buildDepartment
=
buildDepartment
;
}
public
String
getProjectLeader
()
{
return
projectLeader
;
}
public
void
setProjectLeader
(
String
projectLeader
)
{
this
.
projectLeader
=
projectLeader
;
}
public
String
getProjectLeaderPhone
()
{
return
projectLeaderPhone
;
}
public
void
setProjectLeaderPhone
(
String
projectLeaderPhone
)
{
this
.
projectLeaderPhone
=
projectLeaderPhone
;
}
public
String
getIndustry
()
{
return
industry
;
}
public
void
setIndustry
(
String
industry
)
{
this
.
industry
=
industry
;
}
public
String
getDepartmentName
()
{
return
departmentName
;
}
public
void
setDepartmentName
(
String
departmentName
)
{
this
.
departmentName
=
departmentName
;
}
public
String
getConstructDepartment
()
{
return
constructDepartment
;
}
public
void
setConstructDepartment
(
String
constructDepartment
)
{
this
.
constructDepartment
=
constructDepartment
;
}
public
String
getBuildProjectLeaderName
()
{
return
buildProjectLeaderName
;
}
public
void
setBuildProjectLeaderName
(
String
buildProjectLeaderName
)
{
this
.
buildProjectLeaderName
=
buildProjectLeaderName
;
}
public
String
getBuildProjectLeaderPhone
()
{
return
buildProjectLeaderPhone
;
}
public
void
setBuildProjectLeaderPhone
(
String
buildProjectLeaderPhone
)
{
this
.
buildProjectLeaderPhone
=
buildProjectLeaderPhone
;
}
public
String
getTechnicalLeaderName
()
{
return
technicalLeaderName
;
}
public
void
setTechnicalLeaderName
(
String
technicalLeaderName
)
{
this
.
technicalLeaderName
=
technicalLeaderName
;
}
public
String
getTechnicalLeaderPhone
()
{
return
technicalLeaderPhone
;
}
public
void
setTechnicalLeaderPhone
(
String
technicalLeaderPhone
)
{
this
.
technicalLeaderPhone
=
technicalLeaderPhone
;
}
public
String
getSupervisionUnitName
()
{
return
supervisionUnitName
;
}
public
void
setSupervisionUnitName
(
String
supervisionUnitName
)
{
this
.
supervisionUnitName
=
supervisionUnitName
;
}
public
String
getChiefEngineerName
()
{
return
chiefEngineerName
;
}
public
void
setChiefEngineerName
(
String
chiefEngineerName
)
{
this
.
chiefEngineerName
=
chiefEngineerName
;
}
public
String
getChiefEngineerPhone
()
{
return
chiefEngineerPhone
;
}
public
void
setChiefEngineerPhone
(
String
chiefEngineerPhone
)
{
this
.
chiefEngineerPhone
=
chiefEngineerPhone
;
}
public
String
getCompanyInfoId
()
{
return
companyInfoId
;
}
public
void
setCompanyInfoId
(
String
companyInfoId
)
{
this
.
companyInfoId
=
companyInfoId
;
}
public
String
getAa
()
{
return
aa
;
}
public
void
setAa
(
String
aa
)
{
this
.
aa
=
aa
;
}
public
String
getPatrolSafetyOfficerNo
()
{
return
patrolSafetyOfficerNo
;
}
public
void
setPatrolSafetyOfficerNo
(
String
patrolSafetyOfficerNo
)
{
this
.
patrolSafetyOfficerNo
=
patrolSafetyOfficerNo
;
}
public
String
getPatrolSafetyOfficerName
()
{
return
patrolSafetyOfficerName
;
}
public
void
setPatrolSafetyOfficerName
(
String
patrolSafetyOfficerName
)
{
this
.
patrolSafetyOfficerName
=
patrolSafetyOfficerName
;
}
public
String
getPatrolSafetyOfficerPhone
()
{
return
patrolSafetyOfficerPhone
;
}
public
void
setPatrolSafetyOfficerPhone
(
String
patrolSafetyOfficerPhone
)
{
this
.
patrolSafetyOfficerPhone
=
patrolSafetyOfficerPhone
;
}
public
String
getResidentSafetyOfficerNo
()
{
return
residentSafetyOfficerNo
;
}
public
void
setResidentSafetyOfficerNo
(
String
residentSafetyOfficerNo
)
{
this
.
residentSafetyOfficerNo
=
residentSafetyOfficerNo
;
}
public
String
getResidentSafetyOfficerName
()
{
return
residentSafetyOfficerName
;
}
public
void
setResidentSafetyOfficerName
(
String
residentSafetyOfficerName
)
{
this
.
residentSafetyOfficerName
=
residentSafetyOfficerName
;
}
public
String
getResidentSafetyOfficerPhone
()
{
return
residentSafetyOfficerPhone
;
}
public
void
setResidentSafetyOfficerPhone
(
String
residentSafetyOfficerPhone
)
{
this
.
residentSafetyOfficerPhone
=
residentSafetyOfficerPhone
;
}
public
String
getGasCompanyStationNo
()
{
return
gasCompanyStationNo
;
}
public
void
setGasCompanyStationNo
(
String
gasCompanyStationNo
)
{
this
.
gasCompanyStationNo
=
gasCompanyStationNo
;
}
public
String
getGasCompanyStationName
()
{
return
gasCompanyStationName
;
}
public
void
setGasCompanyStationName
(
String
gasCompanyStationName
)
{
this
.
gasCompanyStationName
=
gasCompanyStationName
;
}
public
String
getGasCompanyStationPhone
()
{
return
gasCompanyStationPhone
;
}
public
void
setGasCompanyStationPhone
(
String
gasCompanyStationPhone
)
{
this
.
gasCompanyStationPhone
=
gasCompanyStationPhone
;
}
public
String
getRemark
()
{
return
remark
;
}
public
void
setRemark
(
String
remark
)
{
this
.
remark
=
remark
;
}
public
String
getUpdateTime
()
{
return
updateTime
;
}
public
void
setUpdateTime
(
String
updateTime
)
{
this
.
updateTime
=
updateTime
;
}
}
zh-baseversion-system/src/main/java/com/zehong/system/mapper/TConGasProInforMapper.java
0 → 100644
View file @
fc620f45
package
com
.
zehong
.
system
.
mapper
;
import
java.util.List
;
import
com.zehong.system.domain.TConGasProInfor
;
/**
* 第三方施工-涉气第三方施工项目档案Mapper接口
*
* @author zehong
* @date 2024-06-26
*/
public
interface
TConGasProInforMapper
{
/**
* 查询第三方施工-涉气第三方施工项目档案
*
* @param fConGasProInforId 第三方施工-涉气第三方施工项目档案ID
* @return 第三方施工-涉气第三方施工项目档案
*/
public
TConGasProInfor
selectTConGasProInforById
(
Long
fConGasProInforId
);
/**
* 查询第三方施工-涉气第三方施工项目档案列表
*
* @param tConGasProInfor 第三方施工-涉气第三方施工项目档案
* @return 第三方施工-涉气第三方施工项目档案集合
*/
public
List
<
TConGasProInfor
>
selectTConGasProInforList
(
TConGasProInfor
tConGasProInfor
);
/**
* 新增第三方施工-涉气第三方施工项目档案
*
* @param tConGasProInfor 第三方施工-涉气第三方施工项目档案
* @return 结果
*/
public
int
insertTConGasProInfor
(
TConGasProInfor
tConGasProInfor
);
/**
* 修改第三方施工-涉气第三方施工项目档案
*
* @param tConGasProInfor 第三方施工-涉气第三方施工项目档案
* @return 结果
*/
public
int
updateTConGasProInfor
(
TConGasProInfor
tConGasProInfor
);
/**
* 删除第三方施工-涉气第三方施工项目档案
*
* @param fConGasProInforId 第三方施工-涉气第三方施工项目档案ID
* @return 结果
*/
public
int
deleteTConGasProInforById
(
Long
fConGasProInforId
);
/**
* 批量删除第三方施工-涉气第三方施工项目档案
*
* @param fConGasProInforIds 需要删除的数据ID
* @return 结果
*/
public
int
deleteTConGasProInforByIds
(
Long
[]
fConGasProInforIds
);
}
zh-baseversion-system/src/main/java/com/zehong/system/service/ITConGasProInforService.java
0 → 100644
View file @
fc620f45
package
com
.
zehong
.
system
.
service
;
import
java.util.List
;
import
com.zehong.system.domain.TConGasProInfor
;
/**
* 第三方施工-涉气第三方施工项目档案Service接口
*
* @author zehong
* @date 2024-06-26
*/
public
interface
ITConGasProInforService
{
/**
* 查询第三方施工-涉气第三方施工项目档案
*
* @param fConGasProInforId 第三方施工-涉气第三方施工项目档案ID
* @return 第三方施工-涉气第三方施工项目档案
*/
public
TConGasProInfor
selectTConGasProInforById
(
Long
fConGasProInforId
);
/**
* 查询第三方施工-涉气第三方施工项目档案列表
*
* @param tConGasProInfor 第三方施工-涉气第三方施工项目档案
* @return 第三方施工-涉气第三方施工项目档案集合
*/
public
List
<
TConGasProInfor
>
selectTConGasProInforList
(
TConGasProInfor
tConGasProInfor
);
/**
* 新增第三方施工-涉气第三方施工项目档案
*
* @param tConGasProInfor 第三方施工-涉气第三方施工项目档案
* @return 结果
*/
public
int
insertTConGasProInfor
(
TConGasProInfor
tConGasProInfor
);
/**
* 修改第三方施工-涉气第三方施工项目档案
*
* @param tConGasProInfor 第三方施工-涉气第三方施工项目档案
* @return 结果
*/
public
int
updateTConGasProInfor
(
TConGasProInfor
tConGasProInfor
);
/**
* 批量删除第三方施工-涉气第三方施工项目档案
*
* @param fConGasProInforIds 需要删除的第三方施工-涉气第三方施工项目档案ID
* @return 结果
*/
public
int
deleteTConGasProInforByIds
(
Long
[]
fConGasProInforIds
);
/**
* 删除第三方施工-涉气第三方施工项目档案信息
*
* @param fConGasProInforId 第三方施工-涉气第三方施工项目档案ID
* @return 结果
*/
public
int
deleteTConGasProInforById
(
Long
fConGasProInforId
);
/**
* 上传第三方施工
* @param fConGasProInforId 第三方施工id
* @return
*/
int
reportConGasProInfo
(
Long
fConGasProInforId
)
throws
Exception
;
}
zh-baseversion-system/src/main/java/com/zehong/system/service/impl/TConGasProInforServiceImpl.java
0 → 100644
View file @
fc620f45
package
com
.
zehong
.
system
.
service
.
impl
;
import
com.alibaba.fastjson.JSONObject
;
import
com.zehong.common.exception.CustomException
;
import
com.zehong.common.utils.GovernmentDataCopyUtil
;
import
com.zehong.common.utils.GovernmentDataUtil
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.system.domain.SysSetting
;
import
com.zehong.system.domain.TConGasProInfor
;
import
com.zehong.system.domain.vo.TConGasProInforVo
;
import
com.zehong.system.mapper.TConGasProInforMapper
;
import
com.zehong.system.service.ISysSettingService
;
import
com.zehong.system.service.ITConGasProInforService
;
import
com.zehong.system.service.ITSerialNumberInfoService
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
javax.annotation.Resource
;
import
java.time.Year
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.Map
;
/**
* 第三方施工-涉气第三方施工项目档案Service业务层处理
*
* @author zehong
* @date 2024-06-26
*/
@Service
public
class
TConGasProInforServiceImpl
implements
ITConGasProInforService
{
private
static
final
Logger
log
=
LoggerFactory
.
getLogger
(
TConGasProInforServiceImpl
.
class
);
@Autowired
private
TConGasProInforMapper
tConGasProInforMapper
;
@Resource
private
ISysSettingService
sysSettingService
;
@Resource
private
ITSerialNumberInfoService
itSerialNumberInfoService
;
@Resource
private
GovernmentDataUtil
governmentDataUtil
;
/**
* 查询第三方施工-涉气第三方施工项目档案
*
* @param fConGasProInforId 第三方施工-涉气第三方施工项目档案ID
* @return 第三方施工-涉气第三方施工项目档案
*/
@Override
public
TConGasProInfor
selectTConGasProInforById
(
Long
fConGasProInforId
)
{
return
tConGasProInforMapper
.
selectTConGasProInforById
(
fConGasProInforId
);
}
/**
* 查询第三方施工-涉气第三方施工项目档案列表
*
* @param tConGasProInfor 第三方施工-涉气第三方施工项目档案
* @return 第三方施工-涉气第三方施工项目档案
*/
@Override
public
List
<
TConGasProInfor
>
selectTConGasProInforList
(
TConGasProInfor
tConGasProInfor
)
{
return
tConGasProInforMapper
.
selectTConGasProInforList
(
tConGasProInfor
);
}
/**
* 新增第三方施工-涉气第三方施工项目档案
*
* @param tConGasProInfor 第三方施工-涉气第三方施工项目档案
* @return 结果
*/
@Override
public
int
insertTConGasProInfor
(
TConGasProInfor
tConGasProInfor
)
{
SysSetting
code
=
sysSettingService
.
getSystemValueByKey
(
"city_id"
);
if
(
null
==
code
||
StringUtils
.
isEmpty
(
code
.
getSystemValue
()))
throw
new
CustomException
(
"行政编码未配置!"
);
Map
<
String
,
String
>
num
=
itSerialNumberInfoService
.
getSerialNumberByTableType
(
"t_con_gas_pro_infor"
);
if
(
null
==
num
||
StringUtils
.
isEmpty
(
num
.
get
(
"f_project_code"
)))
throw
new
CustomException
(
"项目档案项目编码未配置!"
);
tConGasProInfor
.
setfProjectCode
(
code
.
getSystemValue
()+
Year
.
now
().
getValue
()
+
num
.
get
(
"f_project_code"
));
return
tConGasProInforMapper
.
insertTConGasProInfor
(
tConGasProInfor
);
}
/**
* 修改第三方施工-涉气第三方施工项目档案
*
* @param tConGasProInfor 第三方施工-涉气第三方施工项目档案
* @return 结果
*/
@Override
public
int
updateTConGasProInfor
(
TConGasProInfor
tConGasProInfor
)
{
return
tConGasProInforMapper
.
updateTConGasProInfor
(
tConGasProInfor
);
}
/**
* 批量删除第三方施工-涉气第三方施工项目档案
*
* @param fConGasProInforIds 需要删除的第三方施工-涉气第三方施工项目档案ID
* @return 结果
*/
@Override
public
int
deleteTConGasProInforByIds
(
Long
[]
fConGasProInforIds
)
{
return
tConGasProInforMapper
.
deleteTConGasProInforByIds
(
fConGasProInforIds
);
}
/**
* 删除第三方施工-涉气第三方施工项目档案信息
*
* @param fConGasProInforId 第三方施工-涉气第三方施工项目档案ID
* @return 结果
*/
@Override
public
int
deleteTConGasProInforById
(
Long
fConGasProInforId
)
{
return
tConGasProInforMapper
.
deleteTConGasProInforById
(
fConGasProInforId
);
}
/**
* 上传第三方施工
* @param fConGasProInforId 第三方施工id
* @return
*/
@Override
public
int
reportConGasProInfo
(
Long
fConGasProInforId
)
throws
Exception
{
TConGasProInfor
conGasProInfor
=
tConGasProInforMapper
.
selectTConGasProInforById
(
fConGasProInforId
);
TConGasProInforVo
conGasProInforVo
=
new
TConGasProInforVo
();
GovernmentDataCopyUtil
.
copyToGovernData
(
conGasProInfor
,
conGasProInforVo
);
conGasProInforVo
.
setConstructionPoint
(
conGasProInfor
.
getfConstructionLatitude
()
+
"、"
+
conGasProInfor
.
getfConstructionLongitude
());
List
<
TConGasProInforVo
>
data
=
new
ArrayList
<>();
data
.
add
(
conGasProInforVo
);
JSONObject
reportResult
=
governmentDataUtil
.
setInfo
(
"construction/gas/project/information"
,
"WRITE"
,
data
);
log
.
info
(
"上传第三方施工结果==================="
+
reportResult
.
toJSONString
());
if
(!
"0"
.
equals
(
reportResult
.
getString
(
"resultCode"
)))
throw
new
CustomException
(
"上传第三方施工接口失败"
);
return
1
;
}
}
zh-baseversion-system/src/main/resources/mapper/system/TConGasProInforMapper.xml
0 → 100644
View file @
fc620f45
<?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.zehong.system.mapper.TConGasProInforMapper"
>
<resultMap
type=
"TConGasProInfor"
id=
"TConGasProInforResult"
>
<result
property=
"fConGasProInforId"
column=
"f_con_gas_pro_infor_id"
/>
<result
property=
"fProjectCode"
column=
"f_project_code"
/>
<result
property=
"fProjectNo"
column=
"f_project_no"
/>
<result
property=
"fProjectName"
column=
"f_project_name"
/>
<result
property=
"fConstructionStart"
column=
"f_construction_start"
/>
<result
property=
"fConstructionEnd"
column=
"f_construction_end"
/>
<result
property=
"fAddress"
column=
"f_address"
/>
<result
property=
"fDistrictId"
column=
"f_district_id"
/>
<result
property=
"fConstructionLongitude"
column=
"f_construction_longitude"
/>
<result
property=
"fConstructionLatitude"
column=
"f_construction_latitude"
/>
<result
property=
"fConstructionPointType"
column=
"f_construction_point_type"
/>
<result
property=
"fVillageId"
column=
"f_village_id"
/>
<result
property=
"fPipePress"
column=
"f_pipe_press"
/>
<result
property=
"fReportFlag"
column=
"f_report_flag"
/>
<result
property=
"fConstructionStatus"
column=
"f_construction_status"
/>
<result
property=
"fBuildDepartment"
column=
"f_build_department"
/>
<result
property=
"fProjectLeader"
column=
"f_project_leader"
/>
<result
property=
"fProjectLeaderPhone"
column=
"f_project_leader_phone"
/>
<result
property=
"fIndustry"
column=
"f_industry"
/>
<result
property=
"fDepartmentName"
column=
"f_department_name"
/>
<result
property=
"fConstructDepartment"
column=
"f_construct_department"
/>
<result
property=
"fBuildProjectLeaderName"
column=
"f_build_project_leader_name"
/>
<result
property=
"fBuildProjectLeaderPhone"
column=
"f_build_project_leader_phone"
/>
<result
property=
"fTechnicalLeaderName"
column=
"f_technical_leader_name"
/>
<result
property=
"fTechnicalLeaderPhone"
column=
"f_technical_leader_phone"
/>
<result
property=
"fSupervisionUnitName"
column=
"f_supervision_unit_name"
/>
<result
property=
"fChiefEngineerName"
column=
"f_chief_engineer_name"
/>
<result
property=
"fChiefEngineerPhone"
column=
"f_chief_engineer_phone"
/>
<result
property=
"fCompanyInfoId"
column=
"f_company_info_id"
/>
<result
property=
"fPatrolSafetyOfficerNo"
column=
"f_patrol_safety_officer_no"
/>
<result
property=
"fPartrolSafetyOfficerName"
column=
"f_partrol_safety_officer_name"
/>
<result
property=
"fPatrolSafetyOfficerPhone"
column=
"f_patrol_safety_officer_phone"
/>
<result
property=
"fResidentSafetyOfficerNo"
column=
"f_resident_safety_officer_no"
/>
<result
property=
"fResidentSafetyOfficerName"
column=
"f_resident_safety_officer_name"
/>
<result
property=
"fResidentSafetyOfficerPhone"
column=
"f_resident_safety_officer_phone"
/>
<result
property=
"fGasCompanyStationNo"
column=
"f_gas_company_station_no"
/>
<result
property=
"fGasCompanyStationName"
column=
"f_gas_company_station_name"
/>
<result
property=
"fGasCompanyStationPhone"
column=
"f_gas_company_station_phone"
/>
<result
property=
"fRemark"
column=
"f_remark"
/>
<result
property=
"fUpdateTime"
column=
"f_update_time"
/>
</resultMap>
<sql
id=
"selectTConGasProInforVo"
>
select f_con_gas_pro_infor_id, f_project_code, f_project_no, f_project_name, f_construction_start, f_construction_end, f_address, f_district_id, f_construction_longitude, f_construction_latitude, f_construction_point_type, f_village_id, f_pipe_press, f_report_flag, f_construction_status, f_build_department, f_project_leader, f_project_leader_phone, f_industry, f_department_name, f_construct_department, f_build_project_leader_name, f_build_project_leader_phone, f_technical_leader_name, f_technical_leader_phone, f_supervision_unit_name, f_chief_engineer_name, f_chief_engineer_phone, f_company_info_id, f_patrol_safety_officer_no, f_partrol_safety_officer_name, f_patrol_safety_officer_phone, f_resident_safety_officer_no, f_resident_safety_officer_name, f_resident_safety_officer_phone, f_gas_company_station_no, f_gas_company_station_name, f_gas_company_station_phone, f_remark, f_update_time from t_con_gas_pro_infor
</sql>
<select
id=
"selectTConGasProInforList"
parameterType=
"TConGasProInfor"
resultMap=
"TConGasProInforResult"
>
<include
refid=
"selectTConGasProInforVo"
/>
<where>
<if
test=
"fProjectCode != null and fProjectCode != ''"
>
and f_project_code like concat('%', #{fProjectCode}, '%')
</if>
<if
test=
"fProjectNo != null "
>
and f_project_no = #{fProjectNo}
</if>
<if
test=
"fProjectName != null and fProjectName != ''"
>
and f_project_name like concat('%', #{fProjectName}, '%')
</if>
<if
test=
"fPipePress != null and fPipePress != ''"
>
and f_pipe_press = #{fPipePress}
</if>
</where>
</select>
<select
id=
"selectTConGasProInforById"
parameterType=
"Long"
resultMap=
"TConGasProInforResult"
>
<include
refid=
"selectTConGasProInforVo"
/>
where f_con_gas_pro_infor_id = #{fConGasProInforId}
</select>
<insert
id=
"insertTConGasProInfor"
parameterType=
"TConGasProInfor"
useGeneratedKeys=
"true"
keyProperty=
"fConGasProInforId"
>
insert into t_con_gas_pro_infor
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"fProjectCode != null and fProjectCode != ''"
>
f_project_code,
</if>
<if
test=
"fProjectNo != null"
>
f_project_no,
</if>
<if
test=
"fProjectName != null and fProjectName != ''"
>
f_project_name,
</if>
<if
test=
"fConstructionStart != null and fConstructionStart != ''"
>
f_construction_start,
</if>
<if
test=
"fConstructionEnd != null and fConstructionEnd != ''"
>
f_construction_end,
</if>
<if
test=
"fAddress != null and fAddress != ''"
>
f_address,
</if>
<if
test=
"fDistrictId != null"
>
f_district_id,
</if>
<if
test=
"fConstructionLongitude != null"
>
f_construction_longitude,
</if>
<if
test=
"fConstructionLatitude != null"
>
f_construction_latitude,
</if>
<if
test=
"fConstructionPointType != null"
>
f_construction_point_type,
</if>
<if
test=
"fVillageId != null"
>
f_village_id,
</if>
<if
test=
"fPipePress != null and fPipePress != ''"
>
f_pipe_press,
</if>
<if
test=
"fReportFlag != null"
>
f_report_flag,
</if>
<if
test=
"fConstructionStatus != null"
>
f_construction_status,
</if>
<if
test=
"fBuildDepartment != null and fBuildDepartment != ''"
>
f_build_department,
</if>
<if
test=
"fProjectLeader != null"
>
f_project_leader,
</if>
<if
test=
"fProjectLeaderPhone != null"
>
f_project_leader_phone,
</if>
<if
test=
"fIndustry != null and fIndustry != ''"
>
f_industry,
</if>
<if
test=
"fDepartmentName != null"
>
f_department_name,
</if>
<if
test=
"fConstructDepartment != null and fConstructDepartment != ''"
>
f_construct_department,
</if>
<if
test=
"fBuildProjectLeaderName != null"
>
f_build_project_leader_name,
</if>
<if
test=
"fBuildProjectLeaderPhone != null"
>
f_build_project_leader_phone,
</if>
<if
test=
"fTechnicalLeaderName != null"
>
f_technical_leader_name,
</if>
<if
test=
"fTechnicalLeaderPhone != null"
>
f_technical_leader_phone,
</if>
<if
test=
"fSupervisionUnitName != null"
>
f_supervision_unit_name,
</if>
<if
test=
"fChiefEngineerName != null"
>
f_chief_engineer_name,
</if>
<if
test=
"fChiefEngineerPhone != null"
>
f_chief_engineer_phone,
</if>
<if
test=
"fCompanyInfoId != null and fCompanyInfoId != ''"
>
f_company_info_id,
</if>
<if
test=
"fPatrolSafetyOfficerNo != null"
>
f_patrol_safety_officer_no,
</if>
<if
test=
"fPartrolSafetyOfficerName != null"
>
f_partrol_safety_officer_name,
</if>
<if
test=
"fPatrolSafetyOfficerPhone != null"
>
f_patrol_safety_officer_phone,
</if>
<if
test=
"fResidentSafetyOfficerNo != null"
>
f_resident_safety_officer_no,
</if>
<if
test=
"fResidentSafetyOfficerName != null"
>
f_resident_safety_officer_name,
</if>
<if
test=
"fResidentSafetyOfficerPhone != null"
>
f_resident_safety_officer_phone,
</if>
<if
test=
"fGasCompanyStationNo != null"
>
f_gas_company_station_no,
</if>
<if
test=
"fGasCompanyStationName != null"
>
f_gas_company_station_name,
</if>
<if
test=
"fGasCompanyStationPhone != null"
>
f_gas_company_station_phone,
</if>
<if
test=
"fRemark != null"
>
f_remark,
</if>
<if
test=
"fUpdateTime != null and fUpdateTime != ''"
>
f_update_time,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"fProjectCode != null and fProjectCode != ''"
>
#{fProjectCode},
</if>
<if
test=
"fProjectNo != null"
>
#{fProjectNo},
</if>
<if
test=
"fProjectName != null and fProjectName != ''"
>
#{fProjectName},
</if>
<if
test=
"fConstructionStart != null and fConstructionStart != ''"
>
#{fConstructionStart},
</if>
<if
test=
"fConstructionEnd != null and fConstructionEnd != ''"
>
#{fConstructionEnd},
</if>
<if
test=
"fAddress != null and fAddress != ''"
>
#{fAddress},
</if>
<if
test=
"fDistrictId != null"
>
#{fDistrictId},
</if>
<if
test=
"fConstructionLongitude != null"
>
#{fConstructionLongitude},
</if>
<if
test=
"fConstructionLatitude != null"
>
#{fConstructionLatitude},
</if>
<if
test=
"fConstructionPointType != null"
>
#{fConstructionPointType},
</if>
<if
test=
"fVillageId != null"
>
#{fVillageId},
</if>
<if
test=
"fPipePress != null and fPipePress != ''"
>
#{fPipePress},
</if>
<if
test=
"fReportFlag != null"
>
#{fReportFlag},
</if>
<if
test=
"fConstructionStatus != null"
>
#{fConstructionStatus},
</if>
<if
test=
"fBuildDepartment != null and fBuildDepartment != ''"
>
#{fBuildDepartment},
</if>
<if
test=
"fProjectLeader != null"
>
#{fProjectLeader},
</if>
<if
test=
"fProjectLeaderPhone != null"
>
#{fProjectLeaderPhone},
</if>
<if
test=
"fIndustry != null and fIndustry != ''"
>
#{fIndustry},
</if>
<if
test=
"fDepartmentName != null"
>
#{fDepartmentName},
</if>
<if
test=
"fConstructDepartment != null and fConstructDepartment != ''"
>
#{fConstructDepartment},
</if>
<if
test=
"fBuildProjectLeaderName != null"
>
#{fBuildProjectLeaderName},
</if>
<if
test=
"fBuildProjectLeaderPhone != null"
>
#{fBuildProjectLeaderPhone},
</if>
<if
test=
"fTechnicalLeaderName != null"
>
#{fTechnicalLeaderName},
</if>
<if
test=
"fTechnicalLeaderPhone != null"
>
#{fTechnicalLeaderPhone},
</if>
<if
test=
"fSupervisionUnitName != null"
>
#{fSupervisionUnitName},
</if>
<if
test=
"fChiefEngineerName != null"
>
#{fChiefEngineerName},
</if>
<if
test=
"fChiefEngineerPhone != null"
>
#{fChiefEngineerPhone},
</if>
<if
test=
"fCompanyInfoId != null and fCompanyInfoId != ''"
>
#{fCompanyInfoId},
</if>
<if
test=
"fPatrolSafetyOfficerNo != null"
>
#{fPatrolSafetyOfficerNo},
</if>
<if
test=
"fPartrolSafetyOfficerName != null"
>
#{fPartrolSafetyOfficerName},
</if>
<if
test=
"fPatrolSafetyOfficerPhone != null"
>
#{fPatrolSafetyOfficerPhone},
</if>
<if
test=
"fResidentSafetyOfficerNo != null"
>
#{fResidentSafetyOfficerNo},
</if>
<if
test=
"fResidentSafetyOfficerName != null"
>
#{fResidentSafetyOfficerName},
</if>
<if
test=
"fResidentSafetyOfficerPhone != null"
>
#{fResidentSafetyOfficerPhone},
</if>
<if
test=
"fGasCompanyStationNo != null"
>
#{fGasCompanyStationNo},
</if>
<if
test=
"fGasCompanyStationName != null"
>
#{fGasCompanyStationName},
</if>
<if
test=
"fGasCompanyStationPhone != null"
>
#{fGasCompanyStationPhone},
</if>
<if
test=
"fRemark != null"
>
#{fRemark},
</if>
<if
test=
"fUpdateTime != null and fUpdateTime != ''"
>
#{fUpdateTime},
</if>
</trim>
</insert>
<update
id=
"updateTConGasProInfor"
parameterType=
"TConGasProInfor"
>
update t_con_gas_pro_infor
<trim
prefix=
"SET"
suffixOverrides=
","
>
<if
test=
"fProjectCode != null and fProjectCode != ''"
>
f_project_code = #{fProjectCode},
</if>
<if
test=
"fProjectNo != null"
>
f_project_no = #{fProjectNo},
</if>
<if
test=
"fProjectName != null and fProjectName != ''"
>
f_project_name = #{fProjectName},
</if>
<if
test=
"fConstructionStart != null and fConstructionStart != ''"
>
f_construction_start = #{fConstructionStart},
</if>
<if
test=
"fConstructionEnd != null and fConstructionEnd != ''"
>
f_construction_end = #{fConstructionEnd},
</if>
<if
test=
"fAddress != null and fAddress != ''"
>
f_address = #{fAddress},
</if>
<if
test=
"fDistrictId != null"
>
f_district_id = #{fDistrictId},
</if>
<if
test=
"fConstructionLongitude != null"
>
f_construction_longitude = #{fConstructionLongitude},
</if>
<if
test=
"fConstructionLatitude != null"
>
f_construction_latitude = #{fConstructionLatitude},
</if>
<if
test=
"fConstructionPointType != null"
>
f_construction_point_type = #{fConstructionPointType},
</if>
<if
test=
"fVillageId != null"
>
f_village_id = #{fVillageId},
</if>
<if
test=
"fPipePress != null and fPipePress != ''"
>
f_pipe_press = #{fPipePress},
</if>
<if
test=
"fReportFlag != null"
>
f_report_flag = #{fReportFlag},
</if>
<if
test=
"fConstructionStatus != null"
>
f_construction_status = #{fConstructionStatus},
</if>
<if
test=
"fBuildDepartment != null and fBuildDepartment != ''"
>
f_build_department = #{fBuildDepartment},
</if>
<if
test=
"fProjectLeader != null"
>
f_project_leader = #{fProjectLeader},
</if>
<if
test=
"fProjectLeaderPhone != null"
>
f_project_leader_phone = #{fProjectLeaderPhone},
</if>
<if
test=
"fIndustry != null and fIndustry != ''"
>
f_industry = #{fIndustry},
</if>
<if
test=
"fDepartmentName != null"
>
f_department_name = #{fDepartmentName},
</if>
<if
test=
"fConstructDepartment != null and fConstructDepartment != ''"
>
f_construct_department = #{fConstructDepartment},
</if>
<if
test=
"fBuildProjectLeaderName != null"
>
f_build_project_leader_name = #{fBuildProjectLeaderName},
</if>
<if
test=
"fBuildProjectLeaderPhone != null"
>
f_build_project_leader_phone = #{fBuildProjectLeaderPhone},
</if>
<if
test=
"fTechnicalLeaderName != null"
>
f_technical_leader_name = #{fTechnicalLeaderName},
</if>
<if
test=
"fTechnicalLeaderPhone != null"
>
f_technical_leader_phone = #{fTechnicalLeaderPhone},
</if>
<if
test=
"fSupervisionUnitName != null"
>
f_supervision_unit_name = #{fSupervisionUnitName},
</if>
<if
test=
"fChiefEngineerName != null"
>
f_chief_engineer_name = #{fChiefEngineerName},
</if>
<if
test=
"fChiefEngineerPhone != null"
>
f_chief_engineer_phone = #{fChiefEngineerPhone},
</if>
<if
test=
"fCompanyInfoId != null and fCompanyInfoId != ''"
>
f_company_info_id = #{fCompanyInfoId},
</if>
<if
test=
"fPatrolSafetyOfficerNo != null"
>
f_patrol_safety_officer_no = #{fPatrolSafetyOfficerNo},
</if>
<if
test=
"fPartrolSafetyOfficerName != null"
>
f_partrol_safety_officer_name = #{fPartrolSafetyOfficerName},
</if>
<if
test=
"fPatrolSafetyOfficerPhone != null"
>
f_patrol_safety_officer_phone = #{fPatrolSafetyOfficerPhone},
</if>
<if
test=
"fResidentSafetyOfficerNo != null"
>
f_resident_safety_officer_no = #{fResidentSafetyOfficerNo},
</if>
<if
test=
"fResidentSafetyOfficerName != null"
>
f_resident_safety_officer_name = #{fResidentSafetyOfficerName},
</if>
<if
test=
"fResidentSafetyOfficerPhone != null"
>
f_resident_safety_officer_phone = #{fResidentSafetyOfficerPhone},
</if>
<if
test=
"fGasCompanyStationNo != null"
>
f_gas_company_station_no = #{fGasCompanyStationNo},
</if>
<if
test=
"fGasCompanyStationName != null"
>
f_gas_company_station_name = #{fGasCompanyStationName},
</if>
<if
test=
"fGasCompanyStationPhone != null"
>
f_gas_company_station_phone = #{fGasCompanyStationPhone},
</if>
<if
test=
"fRemark != null"
>
f_remark = #{fRemark},
</if>
<if
test=
"fUpdateTime != null and fUpdateTime != ''"
>
f_update_time = #{fUpdateTime},
</if>
</trim>
where f_con_gas_pro_infor_id = #{fConGasProInforId}
</update>
<delete
id=
"deleteTConGasProInforById"
parameterType=
"Long"
>
delete from t_con_gas_pro_infor where f_con_gas_pro_infor_id = #{fConGasProInforId}
</delete>
<delete
id=
"deleteTConGasProInforByIds"
parameterType=
"String"
>
delete from t_con_gas_pro_infor where f_con_gas_pro_infor_id in
<foreach
item=
"fConGasProInforId"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
#{fConGasProInforId}
</foreach>
</delete>
</mapper>
\ No newline at end of file
zh-baseversion-web/src/api/thirdbuild/project.js
0 → 100644
View file @
fc620f45
import
request
from
'@/utils/request'
// 查询第三方施工-涉气第三方施工项目档案列表
export
function
listInfor
(
query
)
{
return
request
({
url
:
'/third/project/list'
,
method
:
'get'
,
params
:
query
})
}
// 查询第三方施工-涉气第三方施工项目档案详细
export
function
getInfor
(
fConGasProInforId
)
{
return
request
({
url
:
'/third/project/'
+
fConGasProInforId
,
method
:
'get'
})
}
// 新增第三方施工-涉气第三方施工项目档案
export
function
addInfor
(
data
)
{
return
request
({
url
:
'/third/project'
,
method
:
'post'
,
data
:
data
})
}
// 修改第三方施工-涉气第三方施工项目档案
export
function
updateInfor
(
data
)
{
return
request
({
url
:
'/third/project'
,
method
:
'put'
,
data
:
data
})
}
// 删除第三方施工-涉气第三方施工项目档案
export
function
delInfor
(
fConGasProInforId
)
{
return
request
({
url
:
'/third/project/'
+
fConGasProInforId
,
method
:
'delete'
})
}
// 导出第三方施工-涉气第三方施工项目档案
export
function
exportInfor
(
query
)
{
return
request
({
url
:
'/third/project/export'
,
method
:
'get'
,
params
:
query
})
}
export
function
reportConGasProInfo
(
query
)
{
return
request
({
url
:
'/third/project/reportConGasProInfo'
,
method
:
'get'
,
params
:
query
})
}
zh-baseversion-web/src/views/thirdbuild/project/components/DetailInfo.vue
0 → 100644
View file @
fc620f45
<
template
>
<el-dialog
title=
"详情"
:visible
.
sync=
"detailOpen"
width=
"1000px"
append-to-body
destroy-on-close
:close-on-click-modal=
"false"
>
<el-form
label-width=
"180px"
>
<el-row
class=
"el-row-table"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"项目编码"
>
<span
v-if=
"detailInfo.fProjectCode"
>
{{
detailInfo
.
fProjectCode
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"外部工程编码"
>
<span
v-if=
"detailInfo.fProjectNo"
>
{{
detailInfo
.
fProjectNo
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"施工工程项目名称"
>
<span
v-if=
"detailInfo.fProjectName"
>
{{
detailInfo
.
fProjectName
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"开工时间"
>
<span
v-if=
"detailInfo.fConstructionStart"
>
{{
detailInfo
.
fConstructionStart
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"计划竣工时间"
>
<span
v-if=
"detailInfo.fConstructionEnd"
>
{{
detailInfo
.
fConstructionEnd
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"项目位置描述"
>
<span
v-if=
"detailInfo.fAddress"
>
{{
detailInfo
.
fAddress
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"所属县级行政区ID"
>
<span
v-if=
"detailInfo.fDistrictId"
>
{{
detailInfo
.
fDistrictId
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"涉气施工点位位置属性"
>
<span
v-if=
"detailInfo.fConstructionPointType"
>
{{
detailInfo
.
fConstructionPointType
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"村级行政区"
>
<span
v-if=
"detailInfo.fVillageId"
>
{{
detailInfo
.
fVillageId
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"管道压力等级分类"
>
<span
v-if=
"detailInfo.fPipePress"
>
{{
$parent
.
fPipePressFormat
(
detailInfo
)
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"施工是否主动报备"
>
<span
v-if=
"detailInfo.fReportFlag == 1"
>
是
</span>
<span
v-else-if=
"detailInfo.fReportFlag == 0"
>
否
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"施工状态"
>
<span
v-if=
"detailInfo.fConstructionStatus == 1"
>
未开工
</span>
<span
v-else-if=
"detailInfo.fConstructionStatus == 2"
>
正在施工
</span>
<span
v-else-if=
"detailInfo.fConstructionStatus == 3"
>
已完工
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"建设单位名称"
>
<span
v-if=
"detailInfo.fBuildDepartment"
>
{{
detailInfo
.
fBuildDepartment
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"建设单位项目负责人姓名"
>
<span
v-if=
"detailInfo.fProjectLeader"
>
{{
detailInfo
.
fProjectLeader
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"建设单位项目负责人电话"
>
<span
v-if=
"detailInfo.fProjectLeaderPhone"
>
{{
detailInfo
.
fProjectLeaderPhone
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"所属行业"
>
<span
v-if=
"detailInfo.fIndustry"
>
{{
detailInfo
.
fIndustry
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"行业安全监管部门名称"
>
<span
v-if=
"detailInfo.fDepartmentName"
>
{{
detailInfo
.
fDepartmentName
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"施工单位名称"
>
<span
v-if=
"detailInfo.fConstructDepartment"
>
{{
detailInfo
.
fConstructDepartment
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"施工单位项目负责人姓名"
>
<span
v-if=
"detailInfo.fBuildProjectLeaderName"
>
{{
detailInfo
.
fBuildProjectLeaderName
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"施工单位项目负责人电话"
>
<span
v-if=
"detailInfo.fBuildProjectLeaderPhone"
>
{{
detailInfo
.
fBuildProjectLeaderPhone
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"施工单位技术负责人姓名"
>
<span
v-if=
"detailInfo.fTechnicalLeaderName"
>
{{
detailInfo
.
fTechnicalLeaderName
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"施工单位技术负责人电话"
>
<span
v-if=
"detailInfo.fTechnicalLeaderPhone"
>
{{
detailInfo
.
fTechnicalLeaderPhone
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"监理单位名称"
>
<span
v-if=
"detailInfo.fSupervisionUnitName"
>
{{
detailInfo
.
fSupervisionUnitName
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"监理单位总监理工程师姓名"
>
<span
v-if=
"detailInfo.fChiefEngineerName"
>
{{
detailInfo
.
fChiefEngineerName
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"监理单位总监理工程师电话"
>
<span
v-if=
"detailInfo.fChiefEngineerPhone"
>
{{
detailInfo
.
fChiefEngineerPhone
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"燃气企业编码"
>
<span
v-if=
"detailInfo.fCompanyInfoId"
>
{{
detailInfo
.
fCompanyInfoId
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"施工点位巡线员编码"
>
<span
v-if=
"detailInfo.fPatrolSafetyOfficerNo"
>
{{
detailInfo
.
fPatrolSafetyOfficerNo
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"施工点位巡线员姓名"
>
<span
v-if=
"detailInfo.fPartrolSafetyOfficerName"
>
{{
detailInfo
.
fPartrolSafetyOfficerName
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"施工点位巡线员电话"
>
<span
v-if=
"detailInfo.fPatrolSafetyOfficerPhone"
>
{{
detailInfo
.
fPatrolSafetyOfficerPhone
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"驻村安全员编码"
>
<span
v-if=
"detailInfo.fResidentSafetyOfficerNo"
>
{{
detailInfo
.
fResidentSafetyOfficerNo
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"驻村安全员姓名"
>
<span
v-if=
"detailInfo.fResidentSafetyOfficerName"
>
{{
detailInfo
.
fResidentSafetyOfficerName
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"驻村安全员电话"
>
<span
v-if=
"detailInfo.fResidentSafetyOfficerPhone"
>
{{
detailInfo
.
fResidentSafetyOfficerPhone
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"燃气企业旁站人员编码"
>
<span
v-if=
"detailInfo.fGasCompanyStationNo"
>
{{
detailInfo
.
fGasCompanyStationNo
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"燃气企业旁站人员姓名"
>
<span
v-if=
"detailInfo.fGasCompanyStationName"
>
{{
detailInfo
.
fGasCompanyStationName
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"燃气企业旁站人员电话"
>
<span
v-if=
"detailInfo.fGasCompanyStationPhone"
>
{{
detailInfo
.
fGasCompanyStationPhone
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"更新时间"
>
<span
v-if=
"detailInfo.fUpdateTime"
>
{{
detailInfo
.
fUpdateTime
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
</el-row>
</el-form>
</el-dialog>
</
template
>
<
script
>
import
{
getInfor
}
from
"@/api/thirdbuild/project"
;
export
default
{
name
:
"detail-info"
,
data
(){
return
{
detailInfo
:
{},
detailOpen
:
false
}
},
methods
:{
getDetailInfo
(
id
){
getInfor
(
id
).
then
(
res
=>
{
if
(
res
.
code
==
200
&&
res
.
data
){
this
.
detailInfo
=
res
.
data
;
this
.
detailOpen
=
true
;
}
})
}
}
}
</
script
>
<
style
scoped
>
</
style
>
zh-baseversion-web/src/views/thirdbuild/project/index.vue
0 → 100644
View file @
fc620f45
<
template
>
<div
class=
"app-container"
>
<el-form
:model=
"queryParams"
ref=
"queryForm"
:inline=
"true"
v-show=
"showSearch"
label-width=
"130px"
>
<el-form-item
label=
"项目编码"
prop=
"fProjectCode"
>
<el-input
v-model=
"queryParams.fProjectCode"
placeholder=
"请输入项目编码"
clearable
size=
"small"
@
keyup
.
enter
.
native=
"handleQuery"
/>
</el-form-item>
<el-form-item
label=
"施工工程项目名称"
prop=
"fProjectName"
>
<el-input
v-model=
"queryParams.fProjectName"
placeholder=
"请输入施工工程项目名称"
clearable
size=
"small"
@
keyup
.
enter
.
native=
"handleQuery"
/>
</el-form-item>
<el-form-item
label=
"管道压力等级分类"
prop=
"fPipePress"
>
<el-select
v-model=
"queryParams.fPipePress"
placeholder=
"请选择管道压力等级分类"
clearable
size=
"small"
>
<el-option
v-for=
"dict in fPipePressOptions"
:key=
"dict.dictValue"
:label=
"dict.dictLabel"
:value=
"dict.dictValue"
/>
</el-select>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
@
click=
"handleQuery"
>
搜索
</el-button>
<el-button
icon=
"el-icon-refresh"
size=
"mini"
@
click=
"resetQuery"
>
重置
</el-button>
</el-form-item>
</el-form>
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-col
:span=
"1.5"
>
<el-button
type=
"primary"
plain
icon=
"el-icon-plus"
size=
"mini"
@
click=
"handleAdd"
>
新增
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
type=
"success"
plain
icon=
"el-icon-edit"
size=
"mini"
:disabled=
"single"
@
click=
"handleUpdate"
>
修改
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
type=
"danger"
plain
icon=
"el-icon-delete"
size=
"mini"
:disabled=
"multiple"
@
click=
"handleDelete"
>
删除
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
:loading=
"exportLoading"
@
click=
"handleExport"
>
导出
</el-button>
</el-col>
<right-toolbar
:showSearch
.
sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
</el-row>
<el-table
v-loading=
"loading"
:data=
"inforList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
label=
"项目编码"
align=
"center"
prop=
"fProjectCode"
/>
<el-table-column
label=
"外部工程编码"
align=
"center"
prop=
"fProjectNo"
/>
<el-table-column
label=
"施工工程项目名称"
align=
"center"
prop=
"fProjectName"
/>
<el-table-column
label=
"开工时间"
align=
"center"
prop=
"fConstructionStart"
/>
<el-table-column
label=
"计划竣工时间"
align=
"center"
prop=
"fConstructionEnd"
/>
<el-table-column
label=
"所属县级行政区ID"
align=
"center"
prop=
"fDistrictId"
/>
<el-table-column
label=
"涉气施工点位位置属性"
align=
"center"
prop=
"fConstructionPointType"
>
<template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.fConstructionPointType == '1'"
>
城镇
</span>
<span
v-else-if=
"scope.row.fConstructionPointType == '2'"
>
农村
</span>
<span
v-else
>
-
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"管道压力等级分类"
align=
"center"
prop=
"fPipePress"
:formatter=
"fPipePressFormat"
/>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
width=
"210"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-document"
@
click=
"handleDetail(scope.row)"
>
详情
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleUpdate(scope.row)"
>
修改
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-delete"
@
click=
"handleDelete(scope.row)"
>
删除
</el-button>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleReport(scope.row)"
>
上传
</el-button>
</
template
>
</el-table-column>
</el-table>
<pagination
v-show=
"total>0"
:total=
"total"
:page
.
sync=
"queryParams.pageNum"
:limit
.
sync=
"queryParams.pageSize"
@
pagination=
"getList"
/>
<!-- 添加或修改涉气第三方施工项目档案对话框 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"1000px"
append-to-body
destroy-on-close
:close-on-click-modal=
"false"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"180px"
>
<el-row
class=
"el-row-table"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"外部工程编码"
prop=
"fProjectNo"
>
<el-input
v-model=
"form.fProjectNo"
placeholder=
"请输入外部工程编码"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"施工工程项目名称"
prop=
"fProjectName"
>
<el-input
v-model=
"form.fProjectName"
placeholder=
"请输入施工工程项目名称"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"开工时间"
prop=
"fConstructionStart"
>
<el-date-picker
style=
"width: 100%"
v-model=
"form.fConstructionStart"
type=
"date"
value-format=
"yyyy-MM-dd"
placeholder=
"选择开工时间"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"计划竣工时间"
prop=
"fConstructionEnd"
>
<el-date-picker
style=
"width: 100%"
v-model=
"form.fConstructionEnd"
type=
"date"
value-format=
"yyyy-MM-dd"
placeholder=
"选择计划竣工时间"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"项目位置描述"
prop=
"fAddress"
>
<el-input
v-model=
"form.fAddress"
placeholder=
"请输入项目位置描述"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"所属县级行政区ID"
prop=
"fDistrictId"
>
<el-input
type=
"Number"
v-model=
"form.fDistrictId"
placeholder=
"请输入所属县级行政区ID"
/>
</el-form-item>
</el-col>
<el-col
:span=
"24"
>
<el-form-item
label=
"经纬度坐标"
prop=
"fConstructionLongitude"
>
<el-col
:span=
"9"
>
<el-input
v-model=
"form.fConstructionLongitude"
placeholder=
"请输入经度"
/>
</el-col>
<el-col
:span=
"9"
style=
"margin-left: 13px"
>
<el-input
v-model=
"form.fConstructionLatitude"
placeholder=
"请输入纬度"
/>
</el-col>
<el-col
:span=
"4"
style=
"margin-left: 30px"
>
<el-button
type=
"primary"
plain
@
click=
"MapdialogFun"
>
选择经纬度
</el-button>
</el-col>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"涉气施工点位位置属性"
prop=
"fConstructionPointType"
>
<el-select
style=
"width: 100%"
v-model=
"form.fConstructionPointType"
placeholder=
"请选择涉气施工点位位置属性"
>
<el-option
label=
"城镇"
value=
"1"
/>
<el-option
label=
"农村"
value=
"2"
/>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"村级行政区"
prop=
"fVillageId"
>
<el-input
v-model=
"form.fVillageId"
placeholder=
"请输入村级行政区"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"管道压力等级分类"
prop=
"fPipePress"
>
<el-select
style=
"width: 100%"
v-model=
"form.fPipePress"
placeholder=
"请选择管道压力等级分类"
>
<el-option
v-for=
"dict in fPipePressOptions"
:key=
"dict.dictValue"
:label=
"dict.dictLabel"
:value=
"dict.dictValue"
></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"施工是否主动报备"
prop=
"fReportFlag"
>
<el-select
style=
"width: 100%"
v-model=
"form.fReportFlag"
placeholder=
"请选择施工是否主动报备"
>
<el-option
label=
"是"
value=
"1"
/>
<el-option
label=
"否"
value=
"0"
/>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"施工状态"
>
<el-select
style=
"width: 100%"
v-model=
"form.fConstructionStatus"
placeholder=
"请选择施工状态"
>
<el-option
label=
"未开工"
value=
"1"
/>
<el-option
label=
"正在施工"
value=
"2"
/>
<el-option
label=
"已完工"
value=
"3"
/>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"建设单位名称"
prop=
"fBuildDepartment"
>
<el-input
v-model=
"form.fBuildDepartment"
placeholder=
"请输入建设单位名称"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"建设单位项目负责人姓名"
prop=
"fProjectLeader"
>
<el-input
v-model=
"form.fProjectLeader"
placeholder=
"请输入建设单位项目负责人姓名"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
:rules=
"[{
pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/,
message: '手机号格式有误!',
trigger: 'blur'
}]"
label=
"建设单位项目负责人电话"
prop=
"fProjectLeaderPhone"
>
<el-input
:maxlength=
"11"
v-model=
"form.fProjectLeaderPhone"
placeholder=
"请输入建设单位项目负责人电话"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"所属行业"
prop=
"fIndustry"
>
<el-input
v-model=
"form.fIndustry"
placeholder=
"请输入所属行业"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"行业安全监管部门名称"
prop=
"fDepartmentName"
>
<el-input
v-model=
"form.fDepartmentName"
placeholder=
"请输入行业安全监管部门名称"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"施工单位名称"
prop=
"fConstructDepartment"
>
<el-input
v-model=
"form.fConstructDepartment"
placeholder=
"请输入施工单位名称"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"施工单位项目负责人姓名"
prop=
"fBuildProjectLeaderName"
>
<el-input
v-model=
"form.fBuildProjectLeaderName"
placeholder=
"请输入施工单位项目负责人姓名"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
:rules=
"[{
pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/,
message: '手机号格式有误!',
trigger: 'blur'
}]"
label=
"施工单位项目负责人电话"
prop=
"fBuildProjectLeaderPhone"
>
<el-input
:maxlength=
"11"
v-model=
"form.fBuildProjectLeaderPhone"
placeholder=
"请输入施工单位项目负责人电话"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"施工单位技术负责人姓名"
prop=
"fTechnicalLeaderName"
>
<el-input
v-model=
"form.fTechnicalLeaderName"
placeholder=
"请输入施工单位技术负责人姓名"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
:rules=
"[{
pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/,
message: '手机号格式有误!',
trigger: 'blur'
}]"
label=
"施工单位技术负责人电话"
prop=
"fTechnicalLeaderPhone"
>
<el-input
:maxlength=
"11"
v-model=
"form.fTechnicalLeaderPhone"
placeholder=
"请输入施工单位技术负责人电话"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"监理单位名称"
prop=
"fSupervisionUnitName"
>
<el-input
v-model=
"form.fSupervisionUnitName"
placeholder=
"请输入监理单位名称"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"监理单位总监理工程师姓名"
prop=
"fChiefEngineerName"
>
<el-input
v-model=
"form.fChiefEngineerName"
placeholder=
"请输入监理单位总监理工程师姓名"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
:rules=
"[{
pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/,
message: '手机号格式有误!',
trigger: 'blur'
}]"
label=
"监理单位总监理工程师电话"
prop=
"fChiefEngineerPhone"
>
<el-input
:maxlength=
"11"
v-model=
"form.fChiefEngineerPhone"
placeholder=
"请输入监理单位总监理工程师电话"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"燃气企业编码"
prop=
"fCompanyInfoId"
>
<el-input
v-model=
"form.fCompanyInfoId"
placeholder=
"请输入燃气企业编码"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"施工点位巡线员编码"
prop=
"fPatrolSafetyOfficerNo"
>
<el-input
v-model=
"form.fPatrolSafetyOfficerNo"
placeholder=
"请输入施工点位巡线员编码"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"施工点位巡线员姓名"
prop=
"fPartrolSafetyOfficerName"
>
<el-input
v-model=
"form.fPartrolSafetyOfficerName"
placeholder=
"请输入施工点位巡线员姓名"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
:rules=
"[{
pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/,
message: '手机号格式有误!',
trigger: 'blur'
}]"
label=
"施工点位巡线员电话"
prop=
"fPatrolSafetyOfficerPhone"
>
<el-input
:maxlength=
"11"
v-model=
"form.fPatrolSafetyOfficerPhone"
placeholder=
"请输入施工点位巡线员电话"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"驻村安全员编码"
prop=
"fResidentSafetyOfficerNo"
>
<el-input
v-model=
"form.fResidentSafetyOfficerNo"
placeholder=
"请输入驻村安全员编码"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"驻村安全员姓名"
prop=
"fResidentSafetyOfficerName"
>
<el-input
v-model=
"form.fResidentSafetyOfficerName"
placeholder=
"请输入驻村安全员姓名"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
:rules=
"[{
pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/,
message: '手机号格式有误!',
trigger: 'blur'
}]"
label=
"驻村安全员电话"
prop=
"fResidentSafetyOfficerPhone"
>
<el-input
:maxlength=
"11"
v-model=
"form.fResidentSafetyOfficerPhone"
placeholder=
"请输入驻村安全员电话"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"燃气企业旁站人员编码"
prop=
"fGasCompanyStationNo"
>
<el-input
v-model=
"form.fGasCompanyStationNo"
placeholder=
"请输入燃气企业旁站人员编码"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"燃气企业旁站人员姓名"
prop=
"fGasCompanyStationName"
>
<el-input
v-model=
"form.fGasCompanyStationName"
placeholder=
"请输入燃气企业旁站人员姓名"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
:rules=
"[{
pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/,
message: '手机号格式有误!',
trigger: 'blur'
}]"
label=
"燃气企业旁站人员电话"
prop=
"fGasCompanyStationPhone"
>
<el-input
:maxlength=
"11"
v-model=
"form.fGasCompanyStationPhone"
placeholder=
"请输入燃气企业旁站人员电话"
/>
</el-form-item>
</el-col>
</el-row>
</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>
<GetPos
:dialogVisible
.
sync=
"dialogTableVisibles"
device=
""
:devicePos=
"devicePos"
@
close=
"dialogcancelFun"
@
getPath=
"getPath"
/>
<!-- 详情 -->
<DetailInfo
ref=
"detail"
/>
</div>
</template>
<
script
>
import
{
listInfor
,
getInfor
,
delInfor
,
addInfor
,
updateInfor
,
exportInfor
,
reportConGasProInfo
}
from
"@/api/thirdbuild/project"
;
import
GetPos
from
'@/components/GetPos'
;
import
DetailInfo
from
"./components/DetailInfo"
;
export
default
{
name
:
"Infor"
,
components
:
{
GetPos
,
DetailInfo
},
data
()
{
return
{
// 遮罩层
loading
:
true
,
// 导出遮罩层
exportLoading
:
false
,
// 选中数组
ids
:
[],
fProjectNames
:
[],
// 非单个禁用
single
:
true
,
// 非多个禁用
multiple
:
true
,
// 显示搜索条件
showSearch
:
true
,
// 总条数
total
:
0
,
// 涉气第三方施工项目档案表格数据
inforList
:
[],
// 弹出层标题
title
:
""
,
// 是否显示弹出层
open
:
false
,
// 管道压力等级分类
fPipePressOptions
:
[],
// 查询参数
queryParams
:
{
pageNum
:
1
,
pageSize
:
10
,
fProjectCode
:
null
,
fProjectNo
:
null
,
fProjectName
:
null
,
fPipePress
:
null
,
},
// 表单参数
form
:
{},
// 表单校验
rules
:
{
fProjectCode
:
[
{
required
:
true
,
message
:
"项目编码,6位县级行政区划编码+4位年+4位顺序码不能为空"
,
trigger
:
"blur"
}
],
fProjectNo
:
[
{
required
:
true
,
message
:
"外部工程编码,工程项目在市级平台或燃气企业系统中的自有编号不能为空"
,
trigger
:
"blur"
}
],
fProjectName
:
[
{
required
:
true
,
message
:
"施工工程项目名称不能为空"
,
trigger
:
"blur"
}
],
fConstructionStart
:
[
{
required
:
true
,
message
:
"开工时间不能为空"
,
trigger
:
"blur"
}
],
fConstructionEnd
:
[
{
required
:
true
,
message
:
"计划竣工时间不能为空"
,
trigger
:
"blur"
}
],
fAddress
:
[
{
required
:
true
,
message
:
"项目位置描述不能为空"
,
trigger
:
"blur"
}
],
fDistrictId
:
[
{
required
:
true
,
message
:
"所属县级行政区ID不能为空"
,
trigger
:
"blur"
}
],
fPipePress
:
[
{
required
:
true
,
message
:
"管道压力等级分类"
,
trigger
:
"change"
}
],
fBuildDepartment
:
[
{
required
:
true
,
message
:
"建设单位名称不能为空"
,
trigger
:
"blur"
}
],
fIndustry
:
[
{
required
:
true
,
message
:
"所属行业不能为空"
,
trigger
:
"blur"
}
],
fConstructDepartment
:
[
{
required
:
true
,
message
:
"施工单位名称不能为空"
,
trigger
:
"blur"
}
],
fCompanyInfoId
:
[
{
required
:
true
,
message
:
"燃气企业编码不能为空"
,
trigger
:
"blur"
}
],
},
dialogTableVisibles
:
false
,
devicePos
:
[]
};
},
created
()
{
this
.
getList
();
this
.
getDicts
(
"t_pipe_press"
).
then
(
response
=>
{
this
.
fPipePressOptions
=
response
.
data
;
});
},
methods
:
{
/** 查询涉气第三方施工项目档案列表 */
getList
()
{
this
.
loading
=
true
;
listInfor
(
this
.
queryParams
).
then
(
response
=>
{
this
.
inforList
=
response
.
rows
;
this
.
total
=
response
.
total
;
this
.
loading
=
false
;
});
},
// 管道压力等级分类
fPipePressFormat
(
row
,
column
)
{
return
this
.
selectDictLabel
(
this
.
fPipePressOptions
,
row
.
fPipePress
);
},
// 取消按钮
cancel
()
{
this
.
open
=
false
;
this
.
reset
();
},
// 表单重置
reset
()
{
this
.
form
=
{
fConGasProInforId
:
null
,
fProjectCode
:
null
,
fProjectNo
:
null
,
fProjectName
:
null
,
fConstructionStart
:
null
,
fConstructionEnd
:
null
,
fAddress
:
null
,
fDistrictId
:
null
,
fConstructionLongitude
:
null
,
fConstructionLatitude
:
null
,
fConstructionPointType
:
null
,
fVillageId
:
null
,
fPipePress
:
null
,
fReportFlag
:
null
,
fConstructionStatus
:
null
,
fBuildDepartment
:
null
,
fProjectLeader
:
null
,
fProjectLeaderPhone
:
null
,
fIndustry
:
null
,
fDepartmentName
:
null
,
fConstructDepartment
:
null
,
fBuildProjectLeaderName
:
null
,
fBuildProjectLeaderPhone
:
null
,
fTechnicalLeaderName
:
null
,
fTechnicalLeaderPhone
:
null
,
fSupervisionUnitName
:
null
,
fChiefEngineerName
:
null
,
fChiefEngineerPhone
:
null
,
fCompanyInfoId
:
null
,
fPatrolSafetyOfficerNo
:
null
,
fPartrolSafetyOfficerName
:
null
,
fPatrolSafetyOfficerPhone
:
null
,
fResidentSafetyOfficerNo
:
null
,
fResidentSafetyOfficerName
:
null
,
fResidentSafetyOfficerPhone
:
null
,
fGasCompanyStationNo
:
null
,
fGasCompanyStationName
:
null
,
fGasCompanyStationPhone
:
null
,
fRemark
:
null
,
fUpdateTime
:
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
.
fConGasProInforId
);
this
.
fProjectNames
=
selection
.
map
(
item
=>
item
.
fProjectName
);
this
.
single
=
selection
.
length
!==
1
this
.
multiple
=
!
selection
.
length
},
/** 新增按钮操作 */
handleAdd
()
{
this
.
reset
();
this
.
open
=
true
;
this
.
title
=
"添加涉气第三方施工项目档案"
;
},
/** 修改按钮操作 */
handleUpdate
(
row
)
{
this
.
reset
();
const
fConGasProInforId
=
row
.
fConGasProInforId
||
this
.
ids
getInfor
(
fConGasProInforId
).
then
(
response
=>
{
this
.
form
=
response
.
data
;
this
.
open
=
true
;
this
.
title
=
"修改涉气第三方施工项目档案"
;
});
},
/** 提交按钮 */
submitForm
()
{
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
if
(
valid
)
{
if
(
this
.
form
.
fConGasProInforId
!=
null
)
{
updateInfor
(
this
.
form
).
then
(
response
=>
{
this
.
msgSuccess
(
"修改成功"
);
this
.
open
=
false
;
this
.
getList
();
});
}
else
{
addInfor
(
this
.
form
).
then
(
response
=>
{
this
.
msgSuccess
(
"新增成功"
);
this
.
open
=
false
;
this
.
getList
();
});
}
}
});
},
/** 删除按钮操作 */
handleDelete
(
row
)
{
const
fConGasProInforIds
=
row
.
fConGasProInforId
||
this
.
ids
;
const
fProjectNames
=
row
.
fProjectName
||
this
.
fProjectNames
;
this
.
$confirm
(
'是否确认删除涉气第三方施工项目档案名称为"'
+
fProjectNames
+
'"的数据项?'
,
"警告"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
()
{
return
delInfor
(
fConGasProInforIds
);
}).
then
(()
=>
{
this
.
getList
();
this
.
msgSuccess
(
"删除成功"
);
}).
catch
(()
=>
{});
},
/** 导出按钮操作 */
handleExport
()
{
const
queryParams
=
this
.
queryParams
;
this
.
$confirm
(
'是否确认导出所有涉气第三方施工项目档案数据项?'
,
"警告"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(()
=>
{
this
.
exportLoading
=
true
;
return
exportInfor
(
queryParams
);
}).
then
(
response
=>
{
this
.
download
(
response
.
msg
);
this
.
exportLoading
=
false
;
}).
catch
(()
=>
{});
},
/**
* 经纬度坐标方法
*/
MapdialogFun
()
{
this
.
dialogTableVisibles
=
true
;
},
/**
* 经纬度 选择
* @param res
*/
getPath
(
res
){
//确认选择经纬度
this
.
form
.
fConstructionLongitude
=
res
[
0
];
this
.
form
.
fConstructionLatitude
=
res
[
1
];
},
/**
* 地图关闭方法
*/
dialogcancelFun
()
{
this
.
dialogTableVisibles
=
false
;
},
//详情
handleDetail
(
row
){
this
.
$refs
.
detail
.
getDetailInfo
(
row
.
fConGasProInforId
);
},
/** 删除按钮操作 */
handleReport
(
row
)
{
this
.
$confirm
(
'是否确认上传涉气第三方施工项目档案名称为"'
+
row
.
fProjectName
+
'"的数据项?'
,
"警告"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
()
{
return
reportConGasProInfo
({
fConGasProInforId
:
row
.
fConGasProInforId
});
}).
then
(()
=>
{
this
.
getList
();
this
.
msgSuccess
(
"上传成功"
);
}).
catch
(()
=>
{});
},
}
};
</
script
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment