Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
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
fa57a592
Commit
fa57a592
authored
Feb 04, 2026
by
zhangjianqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
入户安检结果查询,特殊用户管控管理
parent
f8e249a4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
2572 additions
and
9 deletions
+2572
-9
TInspectReportController.java
...ng/web/controller/supervise/TInspectReportController.java
+108
-0
TSpecialUserController.java
...hong/web/controller/supervise/TSpecialUserController.java
+97
-0
TInspectReport.java
...rc/main/java/com/zehong/system/domain/TInspectReport.java
+297
-0
TSpecialUser.java
.../src/main/java/com/zehong/system/domain/TSpecialUser.java
+158
-0
TInspectReportMapper.java
...n/java/com/zehong/system/mapper/TInspectReportMapper.java
+68
-0
TSpecialUserMapper.java
...ain/java/com/zehong/system/mapper/TSpecialUserMapper.java
+61
-0
ITInspectReportService.java
...ava/com/zehong/system/service/ITInspectReportService.java
+69
-0
ITSpecialUserService.java
.../java/com/zehong/system/service/ITSpecialUserService.java
+61
-0
TInspectReportServiceImpl.java
...zehong/system/service/impl/TInspectReportServiceImpl.java
+105
-0
TSpecialUserServiceImpl.java
...m/zehong/system/service/impl/TSpecialUserServiceImpl.java
+96
-0
TInspectReportMapper.xml
...src/main/resources/mapper/system/TInspectReportMapper.xml
+135
-0
TSpecialUserMapper.xml
...m/src/main/resources/mapper/system/TSpecialUserMapper.xml
+97
-0
report.js
zh-baseversion-web/src/api/supervise/report.js
+63
-0
specialuser.js
zh-baseversion-web/src/api/supervise/specialuser.js
+53
-0
rightBar.vue
zh-baseversion-web/src/components/bigWindow/rightBar.vue
+6
-6
index.vue
...rsion-web/src/views/supervise/report/detaillist/index.vue
+350
-0
index.vue
zh-baseversion-web/src/views/supervise/report/index.vue
+339
-0
index.vue
zh-baseversion-web/src/views/supervise/specialuser/index.vue
+406
-0
vue.config.js
zh-baseversion-web/vue.config.js
+3
-3
No files found.
zh-baseversion-admin/src/main/java/com/zehong/web/controller/supervise/TInspectReportController.java
0 → 100644
View file @
fa57a592
package
com
.
zehong
.
web
.
controller
.
supervise
;
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.TInspectReport
;
import
com.zehong.system.service.ITInspectReportService
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.common.core.page.TableDataInfo
;
/**
* 入户安检结果Controller
*
* @author zehong
* @date 2026-02-02
*/
@RestController
@RequestMapping
(
"/supervise/report"
)
public
class
TInspectReportController
extends
BaseController
{
@Autowired
private
ITInspectReportService
tInspectReportService
;
/**
* 查询入户安检结果列表
*/
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
TInspectReport
tInspectReport
)
{
startPage
();
List
<
TInspectReport
>
list
=
tInspectReportService
.
selectTInspectReportList
(
tInspectReport
);
return
getDataTable
(
list
);
}
/**
* 安检汇总列表
*/
@GetMapping
(
"/summarylist"
)
public
TableDataInfo
summarylist
(
TInspectReport
tInspectReport
)
{
startPage
();
List
<
TInspectReport
>
list
=
tInspectReportService
.
selectTInspectSummaryList
(
tInspectReport
);
return
getDataTable
(
list
);
}
/**
* 导出入户安检结果列表
*/
@Log
(
title
=
"入户安检结果"
,
businessType
=
BusinessType
.
EXPORT
)
@GetMapping
(
"/export"
)
public
AjaxResult
export
(
TInspectReport
tInspectReport
)
{
List
<
TInspectReport
>
list
=
tInspectReportService
.
selectTInspectReportList
(
tInspectReport
);
ExcelUtil
<
TInspectReport
>
util
=
new
ExcelUtil
<
TInspectReport
>(
TInspectReport
.
class
);
return
util
.
exportExcel
(
list
,
"入户安检结果数据"
);
}
/**
* 获取入户安检结果详细信息
*/
@GetMapping
(
value
=
"/{reportId}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"reportId"
)
Long
reportId
)
{
return
AjaxResult
.
success
(
tInspectReportService
.
selectTInspectReportById
(
reportId
));
}
/**
* 新增入户安检结果
*/
@Log
(
title
=
"入户安检结果"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
TInspectReport
tInspectReport
)
{
return
toAjax
(
tInspectReportService
.
insertTInspectReport
(
tInspectReport
));
}
/**
* 修改入户安检结果
*/
@Log
(
title
=
"入户安检结果"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
public
AjaxResult
edit
(
@RequestBody
TInspectReport
tInspectReport
)
{
return
toAjax
(
tInspectReportService
.
updateTInspectReport
(
tInspectReport
));
}
/**
* 删除入户安检结果
*/
@Log
(
title
=
"入户安检结果"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{reportIds}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
reportIds
)
{
return
toAjax
(
tInspectReportService
.
deleteTInspectReportByIds
(
reportIds
));
}
}
zh-baseversion-admin/src/main/java/com/zehong/web/controller/supervise/TSpecialUserController.java
0 → 100644
View file @
fa57a592
package
com
.
zehong
.
web
.
controller
.
supervise
;
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.TSpecialUser
;
import
com.zehong.system.service.ITSpecialUserService
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.common.core.page.TableDataInfo
;
/**
* 特殊用户管控Controller
*
* @author zehong
* @date 2026-02-02
*/
@RestController
@RequestMapping
(
"/supervise/specialuser"
)
public
class
TSpecialUserController
extends
BaseController
{
@Autowired
private
ITSpecialUserService
tSpecialUserService
;
/**
* 查询特殊用户管控列表
*/
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
TSpecialUser
tSpecialUser
)
{
startPage
();
List
<
TSpecialUser
>
list
=
tSpecialUserService
.
selectTSpecialUserList
(
tSpecialUser
);
return
getDataTable
(
list
);
}
/**
* 导出特殊用户管控列表
*/
@Log
(
title
=
"特殊用户管控"
,
businessType
=
BusinessType
.
EXPORT
)
@GetMapping
(
"/export"
)
public
AjaxResult
export
(
TSpecialUser
tSpecialUser
)
{
List
<
TSpecialUser
>
list
=
tSpecialUserService
.
selectTSpecialUserList
(
tSpecialUser
);
ExcelUtil
<
TSpecialUser
>
util
=
new
ExcelUtil
<
TSpecialUser
>(
TSpecialUser
.
class
);
return
util
.
exportExcel
(
list
,
"特殊用户管控数据"
);
}
/**
* 获取特殊用户管控详细信息
*/
@GetMapping
(
value
=
"/{specialId}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"specialId"
)
Long
specialId
)
{
return
AjaxResult
.
success
(
tSpecialUserService
.
selectTSpecialUserById
(
specialId
));
}
/**
* 新增特殊用户管控
*/
@Log
(
title
=
"特殊用户管控"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
TSpecialUser
tSpecialUser
)
{
return
toAjax
(
tSpecialUserService
.
insertTSpecialUser
(
tSpecialUser
));
}
/**
* 修改特殊用户管控
*/
@Log
(
title
=
"特殊用户管控"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
public
AjaxResult
edit
(
@RequestBody
TSpecialUser
tSpecialUser
)
{
return
toAjax
(
tSpecialUserService
.
updateTSpecialUser
(
tSpecialUser
));
}
/**
* 删除特殊用户管控
*/
@Log
(
title
=
"特殊用户管控"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{specialIds}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
specialIds
)
{
return
toAjax
(
tSpecialUserService
.
deleteTSpecialUserByIds
(
specialIds
));
}
}
zh-baseversion-system/src/main/java/com/zehong/system/domain/TInspectReport.java
0 → 100644
View file @
fa57a592
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_inspect_report
*
* @author zehong
* @date 2026-02-02
*/
public
class
TInspectReport
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/** 系统id */
private
Long
reportId
;
/** 年度 */
@Excel
(
name
=
"年度"
)
private
Integer
annual
;
/** 安检记录编码,11 位企业编码+4 位年+6 位顺 */
@Excel
(
name
=
"安检记录编码,11 位企业编码+4 位年+6 位顺"
)
private
Long
securityCodeIn
;
/** 外部安检记录编码 */
@Excel
(
name
=
"外部安检记录编码"
)
private
String
securityCode
;
/** 用户编码 */
@Excel
(
name
=
"用户编码"
)
private
String
userNo
;
/** 用户姓名 */
@Excel
(
name
=
"用户姓名"
)
private
String
userName
;
/** 入户时间 */
@Excel
(
name
=
"入户时间"
)
private
String
indoorTime
;
/** 入户状态,DONE-已入户,REJ-入户拒绝,NONE-到访不遇 */
@Excel
(
name
=
"入户状态,DONE-已入户,REJ-入户拒绝,NONE-到访不遇"
)
private
String
indoorStatus
;
/** 市区名称 */
@Excel
(
name
=
"市区名称"
)
private
String
region
;
/** 居住区id */
@Excel
(
name
=
"居住区id"
)
private
Long
village
;
/** 小区+门牌号 */
@Excel
(
name
=
"小区+门牌号"
)
private
String
houseNumber
;
/** 手机号 */
@Excel
(
name
=
"手机号"
)
private
String
phoneNumber
;
/** 所属组织编码/统一社会信用代码 */
@Excel
(
name
=
"所属组织编码/统一社会信用代码"
)
private
String
deptCode
;
/** 企业id */
@Excel
(
name
=
"企业id"
)
private
Long
companyInfoId
;
/** 第三方用户id */
@Excel
(
name
=
"第三方用户id"
)
private
String
userOwnId
;
//企业名称
private
String
enterpriseName
;
//居民区名称
private
String
villageName
;
//安检数量
private
String
doneNum
;
//拒绝安检数量
private
String
rejNum
;
//到访不遇数量
private
String
noneNum
;
//最后上报时间
private
String
lastTime
;
public
String
getEnterpriseName
()
{
return
enterpriseName
;
}
public
void
setEnterpriseName
(
String
enterpriseName
)
{
this
.
enterpriseName
=
enterpriseName
;
}
public
String
getVillageName
()
{
return
villageName
;
}
public
void
setVillageName
(
String
villageName
)
{
this
.
villageName
=
villageName
;
}
public
String
getDoneNum
()
{
return
doneNum
;
}
public
void
setDoneNum
(
String
doneNum
)
{
this
.
doneNum
=
doneNum
;
}
public
String
getRejNum
()
{
return
rejNum
;
}
public
void
setRejNum
(
String
rejNum
)
{
this
.
rejNum
=
rejNum
;
}
public
String
getNoneNum
()
{
return
noneNum
;
}
public
void
setNoneNum
(
String
noneNum
)
{
this
.
noneNum
=
noneNum
;
}
public
String
getLastTime
()
{
return
lastTime
;
}
public
void
setLastTime
(
String
lastTime
)
{
this
.
lastTime
=
lastTime
;
}
public
void
setReportId
(
Long
reportId
)
{
this
.
reportId
=
reportId
;
}
public
Long
getReportId
()
{
return
reportId
;
}
public
void
setAnnual
(
Integer
annual
)
{
this
.
annual
=
annual
;
}
public
Integer
getAnnual
()
{
return
annual
;
}
public
void
setSecurityCodeIn
(
Long
securityCodeIn
)
{
this
.
securityCodeIn
=
securityCodeIn
;
}
public
Long
getSecurityCodeIn
()
{
return
securityCodeIn
;
}
public
void
setSecurityCode
(
String
securityCode
)
{
this
.
securityCode
=
securityCode
;
}
public
String
getSecurityCode
()
{
return
securityCode
;
}
public
void
setUserNo
(
String
userNo
)
{
this
.
userNo
=
userNo
;
}
public
String
getUserNo
()
{
return
userNo
;
}
public
void
setUserName
(
String
userName
)
{
this
.
userName
=
userName
;
}
public
String
getUserName
()
{
return
userName
;
}
public
void
setIndoorTime
(
String
indoorTime
)
{
this
.
indoorTime
=
indoorTime
;
}
public
String
getIndoorTime
()
{
return
indoorTime
;
}
public
void
setIndoorStatus
(
String
indoorStatus
)
{
this
.
indoorStatus
=
indoorStatus
;
}
public
String
getIndoorStatus
()
{
return
indoorStatus
;
}
public
void
setRegion
(
String
region
)
{
this
.
region
=
region
;
}
public
String
getRegion
()
{
return
region
;
}
public
void
setVillage
(
Long
village
)
{
this
.
village
=
village
;
}
public
Long
getVillage
()
{
return
village
;
}
public
void
setHouseNumber
(
String
houseNumber
)
{
this
.
houseNumber
=
houseNumber
;
}
public
String
getHouseNumber
()
{
return
houseNumber
;
}
public
void
setPhoneNumber
(
String
phoneNumber
)
{
this
.
phoneNumber
=
phoneNumber
;
}
public
String
getPhoneNumber
()
{
return
phoneNumber
;
}
public
void
setDeptCode
(
String
deptCode
)
{
this
.
deptCode
=
deptCode
;
}
public
String
getDeptCode
()
{
return
deptCode
;
}
public
void
setCompanyInfoId
(
Long
companyInfoId
)
{
this
.
companyInfoId
=
companyInfoId
;
}
public
Long
getCompanyInfoId
()
{
return
companyInfoId
;
}
public
void
setUserOwnId
(
String
userOwnId
)
{
this
.
userOwnId
=
userOwnId
;
}
public
String
getUserOwnId
()
{
return
userOwnId
;
}
@Override
public
String
toString
()
{
return
new
ToStringBuilder
(
this
,
ToStringStyle
.
MULTI_LINE_STYLE
)
.
append
(
"reportId"
,
getReportId
())
.
append
(
"annual"
,
getAnnual
())
.
append
(
"securityCodeIn"
,
getSecurityCodeIn
())
.
append
(
"securityCode"
,
getSecurityCode
())
.
append
(
"userNo"
,
getUserNo
())
.
append
(
"userName"
,
getUserName
())
.
append
(
"indoorTime"
,
getIndoorTime
())
.
append
(
"indoorStatus"
,
getIndoorStatus
())
.
append
(
"region"
,
getRegion
())
.
append
(
"village"
,
getVillage
())
.
append
(
"houseNumber"
,
getHouseNumber
())
.
append
(
"phoneNumber"
,
getPhoneNumber
())
.
append
(
"deptCode"
,
getDeptCode
())
.
append
(
"companyInfoId"
,
getCompanyInfoId
())
.
append
(
"createTime"
,
getCreateTime
())
.
append
(
"userOwnId"
,
getUserOwnId
())
.
toString
();
}
}
zh-baseversion-system/src/main/java/com/zehong/system/domain/TSpecialUser.java
0 → 100644
View file @
fa57a592
package
com
.
zehong
.
system
.
domain
;
import
java.util.Date
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
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_special_user
*
* @author zehong
* @date 2026-02-02
*/
public
class
TSpecialUser
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/** $column.columnComment */
private
Long
specialId
;
/** 用户id */
//@Excel(name = "用户id")
private
Long
userId
;
@Excel
(
name
=
"用户名称"
)
private
String
nickName
;
@Excel
(
name
=
"联系方式"
)
private
String
phone
;
@Excel
(
name
=
"地址"
)
private
String
address
;
/** 用户类型 */
@Excel
(
name
=
"用户类型"
,
dictType
=
"t_special_user"
)
private
String
userType
;
/** 管控方案 */
@Excel
(
name
=
"管控方案"
)
private
String
controlPlan
;
/** 开始时间 */
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@Excel
(
name
=
"开始时间"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd"
)
private
Date
conStartTime
;
/** 结束时间 */
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@Excel
(
name
=
"结束时间"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd"
)
private
Date
conEndTime
;
/** 上报用户id */
private
String
userOwnId
;
public
String
getNickName
()
{
return
nickName
;
}
public
void
setNickName
(
String
nickName
)
{
this
.
nickName
=
nickName
;
}
public
String
getPhone
()
{
return
phone
;
}
public
void
setPhone
(
String
phone
)
{
this
.
phone
=
phone
;
}
public
String
getAddress
()
{
return
address
;
}
public
void
setAddress
(
String
address
)
{
this
.
address
=
address
;
}
public
void
setSpecialId
(
Long
specialId
)
{
this
.
specialId
=
specialId
;
}
public
Long
getSpecialId
()
{
return
specialId
;
}
public
void
setUserId
(
Long
userId
)
{
this
.
userId
=
userId
;
}
public
Long
getUserId
()
{
return
userId
;
}
public
void
setUserType
(
String
userType
)
{
this
.
userType
=
userType
;
}
public
String
getUserType
()
{
return
userType
;
}
public
void
setControlPlan
(
String
controlPlan
)
{
this
.
controlPlan
=
controlPlan
;
}
public
String
getControlPlan
()
{
return
controlPlan
;
}
public
void
setConStartTime
(
Date
conStartTime
)
{
this
.
conStartTime
=
conStartTime
;
}
public
Date
getConStartTime
()
{
return
conStartTime
;
}
public
void
setConEndTime
(
Date
conEndTime
)
{
this
.
conEndTime
=
conEndTime
;
}
public
Date
getConEndTime
()
{
return
conEndTime
;
}
public
void
setUserOwnId
(
String
userOwnId
)
{
this
.
userOwnId
=
userOwnId
;
}
public
String
getUserOwnId
()
{
return
userOwnId
;
}
@Override
public
String
toString
()
{
return
new
ToStringBuilder
(
this
,
ToStringStyle
.
MULTI_LINE_STYLE
)
.
append
(
"specialId"
,
getSpecialId
())
.
append
(
"userId"
,
getUserId
())
.
append
(
"userType"
,
getUserType
())
.
append
(
"controlPlan"
,
getControlPlan
())
.
append
(
"conStartTime"
,
getConStartTime
())
.
append
(
"conEndTime"
,
getConEndTime
())
.
append
(
"createTime"
,
getCreateTime
())
.
append
(
"updateTime"
,
getUpdateTime
())
.
append
(
"remark"
,
getRemark
())
.
append
(
"userOwnId"
,
getUserOwnId
())
.
toString
();
}
}
zh-baseversion-system/src/main/java/com/zehong/system/mapper/TInspectReportMapper.java
0 → 100644
View file @
fa57a592
package
com
.
zehong
.
system
.
mapper
;
import
java.util.List
;
import
com.zehong.system.domain.TInspectReport
;
/**
* 入户安检结果Mapper接口
*
* @author zehong
* @date 2026-02-02
*/
public
interface
TInspectReportMapper
{
/**
* 查询入户安检结果
*
* @param reportId 入户安检结果ID
* @return 入户安检结果
*/
public
TInspectReport
selectTInspectReportById
(
Long
reportId
);
/**
* 查询入户安检结果列表
*
* @param tInspectReport 入户安检结果
* @return 入户安检结果集合
*/
public
List
<
TInspectReport
>
selectTInspectReportList
(
TInspectReport
tInspectReport
);
/**
* 安检汇总列表
* @param tInspectReport
* @return
*/
public
List
<
TInspectReport
>
selectTInspectSummaryList
(
TInspectReport
tInspectReport
);
/**
* 新增入户安检结果
*
* @param tInspectReport 入户安检结果
* @return 结果
*/
public
int
insertTInspectReport
(
TInspectReport
tInspectReport
);
/**
* 修改入户安检结果
*
* @param tInspectReport 入户安检结果
* @return 结果
*/
public
int
updateTInspectReport
(
TInspectReport
tInspectReport
);
/**
* 删除入户安检结果
*
* @param reportId 入户安检结果ID
* @return 结果
*/
public
int
deleteTInspectReportById
(
Long
reportId
);
/**
* 批量删除入户安检结果
*
* @param reportIds 需要删除的数据ID
* @return 结果
*/
public
int
deleteTInspectReportByIds
(
Long
[]
reportIds
);
}
zh-baseversion-system/src/main/java/com/zehong/system/mapper/TSpecialUserMapper.java
0 → 100644
View file @
fa57a592
package
com
.
zehong
.
system
.
mapper
;
import
java.util.List
;
import
com.zehong.system.domain.TSpecialUser
;
/**
* 特殊用户管控Mapper接口
*
* @author zehong
* @date 2026-02-02
*/
public
interface
TSpecialUserMapper
{
/**
* 查询特殊用户管控
*
* @param specialId 特殊用户管控ID
* @return 特殊用户管控
*/
public
TSpecialUser
selectTSpecialUserById
(
Long
specialId
);
/**
* 查询特殊用户管控列表
*
* @param tSpecialUser 特殊用户管控
* @return 特殊用户管控集合
*/
public
List
<
TSpecialUser
>
selectTSpecialUserList
(
TSpecialUser
tSpecialUser
);
/**
* 新增特殊用户管控
*
* @param tSpecialUser 特殊用户管控
* @return 结果
*/
public
int
insertTSpecialUser
(
TSpecialUser
tSpecialUser
);
/**
* 修改特殊用户管控
*
* @param tSpecialUser 特殊用户管控
* @return 结果
*/
public
int
updateTSpecialUser
(
TSpecialUser
tSpecialUser
);
/**
* 删除特殊用户管控
*
* @param specialId 特殊用户管控ID
* @return 结果
*/
public
int
deleteTSpecialUserById
(
Long
specialId
);
/**
* 批量删除特殊用户管控
*
* @param specialIds 需要删除的数据ID
* @return 结果
*/
public
int
deleteTSpecialUserByIds
(
Long
[]
specialIds
);
}
zh-baseversion-system/src/main/java/com/zehong/system/service/ITInspectReportService.java
0 → 100644
View file @
fa57a592
package
com
.
zehong
.
system
.
service
;
import
java.util.List
;
import
com.zehong.system.domain.TInspectReport
;
/**
* 入户安检结果Service接口
*
* @author zehong
* @date 2026-02-02
*/
public
interface
ITInspectReportService
{
/**
* 查询入户安检结果
*
* @param reportId 入户安检结果ID
* @return 入户安检结果
*/
public
TInspectReport
selectTInspectReportById
(
Long
reportId
);
/**
* 查询入户安检结果列表
*
* @param tInspectReport 入户安检结果
* @return 入户安检结果集合
*/
public
List
<
TInspectReport
>
selectTInspectReportList
(
TInspectReport
tInspectReport
);
/**
* 安检汇总列表
* @param tInspectReport
* @return
*/
public
List
<
TInspectReport
>
selectTInspectSummaryList
(
TInspectReport
tInspectReport
);
/**
* 新增入户安检结果
*
* @param tInspectReport 入户安检结果
* @return 结果
*/
public
int
insertTInspectReport
(
TInspectReport
tInspectReport
);
/**
* 修改入户安检结果
*
* @param tInspectReport 入户安检结果
* @return 结果
*/
public
int
updateTInspectReport
(
TInspectReport
tInspectReport
);
/**
* 批量删除入户安检结果
*
* @param reportIds 需要删除的入户安检结果ID
* @return 结果
*/
public
int
deleteTInspectReportByIds
(
Long
[]
reportIds
);
/**
* 删除入户安检结果信息
*
* @param reportId 入户安检结果ID
* @return 结果
*/
public
int
deleteTInspectReportById
(
Long
reportId
);
}
zh-baseversion-system/src/main/java/com/zehong/system/service/ITSpecialUserService.java
0 → 100644
View file @
fa57a592
package
com
.
zehong
.
system
.
service
;
import
java.util.List
;
import
com.zehong.system.domain.TSpecialUser
;
/**
* 特殊用户管控Service接口
*
* @author zehong
* @date 2026-02-02
*/
public
interface
ITSpecialUserService
{
/**
* 查询特殊用户管控
*
* @param specialId 特殊用户管控ID
* @return 特殊用户管控
*/
public
TSpecialUser
selectTSpecialUserById
(
Long
specialId
);
/**
* 查询特殊用户管控列表
*
* @param tSpecialUser 特殊用户管控
* @return 特殊用户管控集合
*/
public
List
<
TSpecialUser
>
selectTSpecialUserList
(
TSpecialUser
tSpecialUser
);
/**
* 新增特殊用户管控
*
* @param tSpecialUser 特殊用户管控
* @return 结果
*/
public
int
insertTSpecialUser
(
TSpecialUser
tSpecialUser
);
/**
* 修改特殊用户管控
*
* @param tSpecialUser 特殊用户管控
* @return 结果
*/
public
int
updateTSpecialUser
(
TSpecialUser
tSpecialUser
);
/**
* 批量删除特殊用户管控
*
* @param specialIds 需要删除的特殊用户管控ID
* @return 结果
*/
public
int
deleteTSpecialUserByIds
(
Long
[]
specialIds
);
/**
* 删除特殊用户管控信息
*
* @param specialId 特殊用户管控ID
* @return 结果
*/
public
int
deleteTSpecialUserById
(
Long
specialId
);
}
zh-baseversion-system/src/main/java/com/zehong/system/service/impl/TInspectReportServiceImpl.java
0 → 100644
View file @
fa57a592
package
com
.
zehong
.
system
.
service
.
impl
;
import
java.util.List
;
import
com.zehong.common.utils.DateUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.zehong.system.mapper.TInspectReportMapper
;
import
com.zehong.system.domain.TInspectReport
;
import
com.zehong.system.service.ITInspectReportService
;
/**
* 入户安检结果Service业务层处理
*
* @author zehong
* @date 2026-02-02
*/
@Service
public
class
TInspectReportServiceImpl
implements
ITInspectReportService
{
@Autowired
private
TInspectReportMapper
tInspectReportMapper
;
/**
* 查询入户安检结果
*
* @param reportId 入户安检结果ID
* @return 入户安检结果
*/
@Override
public
TInspectReport
selectTInspectReportById
(
Long
reportId
)
{
return
tInspectReportMapper
.
selectTInspectReportById
(
reportId
);
}
/**
* 查询入户安检结果列表
*
* @param tInspectReport 入户安检结果
* @return 入户安检结果
*/
@Override
public
List
<
TInspectReport
>
selectTInspectReportList
(
TInspectReport
tInspectReport
)
{
return
tInspectReportMapper
.
selectTInspectReportList
(
tInspectReport
);
}
/**
* 安检汇总列表
* @param tInspectReport
* @return
*/
@Override
public
List
<
TInspectReport
>
selectTInspectSummaryList
(
TInspectReport
tInspectReport
)
{
return
tInspectReportMapper
.
selectTInspectSummaryList
(
tInspectReport
);
}
/**
* 新增入户安检结果
*
* @param tInspectReport 入户安检结果
* @return 结果
*/
@Override
public
int
insertTInspectReport
(
TInspectReport
tInspectReport
)
{
tInspectReport
.
setCreateTime
(
DateUtils
.
getNowDate
());
return
tInspectReportMapper
.
insertTInspectReport
(
tInspectReport
);
}
/**
* 修改入户安检结果
*
* @param tInspectReport 入户安检结果
* @return 结果
*/
@Override
public
int
updateTInspectReport
(
TInspectReport
tInspectReport
)
{
return
tInspectReportMapper
.
updateTInspectReport
(
tInspectReport
);
}
/**
* 批量删除入户安检结果
*
* @param reportIds 需要删除的入户安检结果ID
* @return 结果
*/
@Override
public
int
deleteTInspectReportByIds
(
Long
[]
reportIds
)
{
return
tInspectReportMapper
.
deleteTInspectReportByIds
(
reportIds
);
}
/**
* 删除入户安检结果信息
*
* @param reportId 入户安检结果ID
* @return 结果
*/
@Override
public
int
deleteTInspectReportById
(
Long
reportId
)
{
return
tInspectReportMapper
.
deleteTInspectReportById
(
reportId
);
}
}
zh-baseversion-system/src/main/java/com/zehong/system/service/impl/TSpecialUserServiceImpl.java
0 → 100644
View file @
fa57a592
package
com
.
zehong
.
system
.
service
.
impl
;
import
java.util.List
;
import
com.zehong.common.utils.DateUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.zehong.system.mapper.TSpecialUserMapper
;
import
com.zehong.system.domain.TSpecialUser
;
import
com.zehong.system.service.ITSpecialUserService
;
/**
* 特殊用户管控Service业务层处理
*
* @author zehong
* @date 2026-02-02
*/
@Service
public
class
TSpecialUserServiceImpl
implements
ITSpecialUserService
{
@Autowired
private
TSpecialUserMapper
tSpecialUserMapper
;
/**
* 查询特殊用户管控
*
* @param specialId 特殊用户管控ID
* @return 特殊用户管控
*/
@Override
public
TSpecialUser
selectTSpecialUserById
(
Long
specialId
)
{
return
tSpecialUserMapper
.
selectTSpecialUserById
(
specialId
);
}
/**
* 查询特殊用户管控列表
*
* @param tSpecialUser 特殊用户管控
* @return 特殊用户管控
*/
@Override
public
List
<
TSpecialUser
>
selectTSpecialUserList
(
TSpecialUser
tSpecialUser
)
{
return
tSpecialUserMapper
.
selectTSpecialUserList
(
tSpecialUser
);
}
/**
* 新增特殊用户管控
*
* @param tSpecialUser 特殊用户管控
* @return 结果
*/
@Override
public
int
insertTSpecialUser
(
TSpecialUser
tSpecialUser
)
{
tSpecialUser
.
setCreateTime
(
DateUtils
.
getNowDate
());
return
tSpecialUserMapper
.
insertTSpecialUser
(
tSpecialUser
);
}
/**
* 修改特殊用户管控
*
* @param tSpecialUser 特殊用户管控
* @return 结果
*/
@Override
public
int
updateTSpecialUser
(
TSpecialUser
tSpecialUser
)
{
tSpecialUser
.
setUpdateTime
(
DateUtils
.
getNowDate
());
return
tSpecialUserMapper
.
updateTSpecialUser
(
tSpecialUser
);
}
/**
* 批量删除特殊用户管控
*
* @param specialIds 需要删除的特殊用户管控ID
* @return 结果
*/
@Override
public
int
deleteTSpecialUserByIds
(
Long
[]
specialIds
)
{
return
tSpecialUserMapper
.
deleteTSpecialUserByIds
(
specialIds
);
}
/**
* 删除特殊用户管控信息
*
* @param specialId 特殊用户管控ID
* @return 结果
*/
@Override
public
int
deleteTSpecialUserById
(
Long
specialId
)
{
return
tSpecialUserMapper
.
deleteTSpecialUserById
(
specialId
);
}
}
zh-baseversion-system/src/main/resources/mapper/system/TInspectReportMapper.xml
0 → 100644
View file @
fa57a592
<?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.TInspectReportMapper"
>
<resultMap
type=
"TInspectReport"
id=
"TInspectReportResult"
>
<result
property=
"reportId"
column=
"report_id"
/>
<result
property=
"annual"
column=
"annual"
/>
<result
property=
"securityCodeIn"
column=
"security_code_in"
/>
<result
property=
"securityCode"
column=
"security_code"
/>
<result
property=
"userNo"
column=
"user_no"
/>
<result
property=
"userName"
column=
"user_name"
/>
<result
property=
"indoorTime"
column=
"indoor_time"
/>
<result
property=
"indoorStatus"
column=
"indoor_status"
/>
<result
property=
"region"
column=
"region"
/>
<result
property=
"village"
column=
"village"
/>
<result
property=
"houseNumber"
column=
"house_number"
/>
<result
property=
"phoneNumber"
column=
"phone_number"
/>
<result
property=
"deptCode"
column=
"dept_code"
/>
<result
property=
"companyInfoId"
column=
"company_info_id"
/>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"userOwnId"
column=
"user_own_id"
/>
</resultMap>
<sql
id=
"selectTInspectReportVo"
>
select report_id, annual, security_code_in, security_code, user_no, user_name, indoor_time, indoor_status, region, village,
(SELECT f_village_name FROM t_user_manage_village WHERE f_village_id = village) AS villageName,
house_number, phone_number, dept_code, company_info_id, create_time, user_own_id from t_inspect_report r
</sql>
<select
id=
"selectTInspectReportList"
parameterType=
"TInspectReport"
resultMap=
"TInspectReportResult"
>
<include
refid=
"selectTInspectReportVo"
/>
<where>
<if
test=
"annual != null "
>
and annual = #{annual}
</if>
<if
test=
"companyInfoId != null "
>
and company_info_id = #{companyInfoId}
</if>
<if
test=
"village != null "
>
and village = #{village}
</if>
<if
test=
"userName != null and userName != ''"
>
and user_name like concat('%', #{userName}, '%')
</if>
<if
test=
"indoorStatus != null and indoorStatus != ''"
>
and indoor_status = #{indoorStatus}
</if>
</where>
</select>
<select
id=
"selectTInspectSummaryList"
parameterType=
"TInspectReport"
resultMap=
"TInspectReportResult"
>
SELECT r.annual, e.`enterprise_name` AS enterpriseName,r.security_code ,r.company_info_id,r.village,
v.f_village_name AS villageName,
SUM(IF(indoor_status = 'DONE', 1, 0)) AS doneNum,
SUM(IF(indoor_status = 'REJ', 1, 0)) AS rejNum,
SUM(IF(indoor_status = 'NONE', 1, 0)) AS noneNum,
MAX(indoor_time) AS lastTime
FROM t_inspect_report r
LEFT JOIN t_enterprise_info e ON e.`enterprise_id` = r.`company_info_id`
LEFT JOIN t_user_manage_village v ON v.f_village_id = r.`village`
<where>
<if
test=
"annual != null "
>
and r.annual = #{annual}
</if>
<if
test=
"companyInfoId != null"
>
and r.company_info_id = #{companyInfoId}
</if>
</where>
GROUP BY r.annual ,r.company_info_id , r.village
</select>
<select
id=
"selectTInspectReportById"
parameterType=
"Long"
resultMap=
"TInspectReportResult"
>
<include
refid=
"selectTInspectReportVo"
/>
where report_id = #{reportId}
</select>
<insert
id=
"insertTInspectReport"
parameterType=
"TInspectReport"
useGeneratedKeys=
"true"
keyProperty=
"reportId"
>
insert into t_inspect_report
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"annual != null"
>
annual,
</if>
<if
test=
"securityCodeIn != null"
>
security_code_in,
</if>
<if
test=
"securityCode != null"
>
security_code,
</if>
<if
test=
"userNo != null"
>
user_no,
</if>
<if
test=
"userName != null"
>
user_name,
</if>
<if
test=
"indoorTime != null"
>
indoor_time,
</if>
<if
test=
"indoorStatus != null"
>
indoor_status,
</if>
<if
test=
"region != null"
>
region,
</if>
<if
test=
"village != null"
>
village,
</if>
<if
test=
"houseNumber != null"
>
house_number,
</if>
<if
test=
"phoneNumber != null"
>
phone_number,
</if>
<if
test=
"deptCode != null"
>
dept_code,
</if>
<if
test=
"companyInfoId != null"
>
company_info_id,
</if>
<if
test=
"createTime != null"
>
create_time,
</if>
<if
test=
"userOwnId != null"
>
user_own_id,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"annual != null"
>
#{annual},
</if>
<if
test=
"securityCodeIn != null"
>
#{securityCodeIn},
</if>
<if
test=
"securityCode != null"
>
#{securityCode},
</if>
<if
test=
"userNo != null"
>
#{userNo},
</if>
<if
test=
"userName != null"
>
#{userName},
</if>
<if
test=
"indoorTime != null"
>
#{indoorTime},
</if>
<if
test=
"indoorStatus != null"
>
#{indoorStatus},
</if>
<if
test=
"region != null"
>
#{region},
</if>
<if
test=
"village != null"
>
#{village},
</if>
<if
test=
"houseNumber != null"
>
#{houseNumber},
</if>
<if
test=
"phoneNumber != null"
>
#{phoneNumber},
</if>
<if
test=
"deptCode != null"
>
#{deptCode},
</if>
<if
test=
"companyInfoId != null"
>
#{companyInfoId},
</if>
<if
test=
"createTime != null"
>
#{createTime},
</if>
<if
test=
"userOwnId != null"
>
#{userOwnId},
</if>
</trim>
</insert>
<update
id=
"updateTInspectReport"
parameterType=
"TInspectReport"
>
update t_inspect_report
<trim
prefix=
"SET"
suffixOverrides=
","
>
<if
test=
"annual != null"
>
annual = #{annual},
</if>
<if
test=
"securityCodeIn != null"
>
security_code_in = #{securityCodeIn},
</if>
<if
test=
"securityCode != null"
>
security_code = #{securityCode},
</if>
<if
test=
"userNo != null"
>
user_no = #{userNo},
</if>
<if
test=
"userName != null"
>
user_name = #{userName},
</if>
<if
test=
"indoorTime != null"
>
indoor_time = #{indoorTime},
</if>
<if
test=
"indoorStatus != null"
>
indoor_status = #{indoorStatus},
</if>
<if
test=
"region != null"
>
region = #{region},
</if>
<if
test=
"village != null"
>
village = #{village},
</if>
<if
test=
"houseNumber != null"
>
house_number = #{houseNumber},
</if>
<if
test=
"phoneNumber != null"
>
phone_number = #{phoneNumber},
</if>
<if
test=
"deptCode != null"
>
dept_code = #{deptCode},
</if>
<if
test=
"companyInfoId != null"
>
company_info_id = #{companyInfoId},
</if>
<if
test=
"createTime != null"
>
create_time = #{createTime},
</if>
<if
test=
"userOwnId != null"
>
user_own_id = #{userOwnId},
</if>
</trim>
where report_id = #{reportId}
</update>
<delete
id=
"deleteTInspectReportById"
parameterType=
"Long"
>
delete from t_inspect_report where report_id = #{reportId}
</delete>
<delete
id=
"deleteTInspectReportByIds"
parameterType=
"String"
>
delete from t_inspect_report where report_id in
<foreach
item=
"reportId"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
#{reportId}
</foreach>
</delete>
</mapper>
\ No newline at end of file
zh-baseversion-system/src/main/resources/mapper/system/TSpecialUserMapper.xml
0 → 100644
View file @
fa57a592
<?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.TSpecialUserMapper"
>
<resultMap
type=
"TSpecialUser"
id=
"TSpecialUserResult"
>
<result
property=
"specialId"
column=
"special_id"
/>
<result
property=
"userId"
column=
"user_id"
/>
<result
property=
"userType"
column=
"user_type"
/>
<result
property=
"controlPlan"
column=
"control_plan"
/>
<result
property=
"conStartTime"
column=
"con_start_time"
/>
<result
property=
"conEndTime"
column=
"con_end_time"
/>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"updateTime"
column=
"update_time"
/>
<result
property=
"remark"
column=
"remark"
/>
<result
property=
"nickName"
column=
"nick_name"
/>
<result
property=
"phone"
column=
"phone"
/>
<result
property=
"userOwnId"
column=
"user_own_id"
/>
</resultMap>
<sql
id=
"selectTSpecialUserVo"
>
SELECT s.special_id, s.user_id, s.user_type, s.control_plan, s.con_start_time, s.con_end_time,
s.create_time, s.update_time, s.remark, s.user_own_id,u.`nick_name`,u.`phone`,u.address
FROM t_special_user s
LEFT JOIN t_detector_user u ON u.`user_id` = s.`user_id`
</sql>
<select
id=
"selectTSpecialUserList"
parameterType=
"TSpecialUser"
resultMap=
"TSpecialUserResult"
>
<include
refid=
"selectTSpecialUserVo"
/>
<where>
<if
test=
"userId != null "
>
and user_id = #{userId}
</if>
<if
test=
"userType != null and userType != ''"
>
and user_type = #{userType}
</if>
<if
test=
"conStartTime != null "
>
and con_start_time = #{conStartTime}
</if>
<if
test=
"conEndTime != null "
>
and con_end_time = #{conEndTime}
</if>
<if
test=
"nickName != null "
>
and (u.nick_name LIKE CONCAT('%',#{nickName},'%') or u.phone LIKE CONCAT('%',#{nickName},'%'))
</if>
</where>
</select>
<select
id=
"selectTSpecialUserById"
parameterType=
"Long"
resultMap=
"TSpecialUserResult"
>
<include
refid=
"selectTSpecialUserVo"
/>
where special_id = #{specialId}
</select>
<insert
id=
"insertTSpecialUser"
parameterType=
"TSpecialUser"
>
insert into t_special_user
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"userId != null"
>
user_id,
</if>
<if
test=
"userType != null"
>
user_type,
</if>
<if
test=
"controlPlan != null"
>
control_plan,
</if>
<if
test=
"conStartTime != null"
>
con_start_time,
</if>
<if
test=
"conEndTime != null"
>
con_end_time,
</if>
<if
test=
"createTime != null"
>
create_time,
</if>
<if
test=
"updateTime != null"
>
update_time,
</if>
<if
test=
"remark != null"
>
remark,
</if>
<if
test=
"userOwnId != null"
>
user_own_id,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"userId != null"
>
#{userId},
</if>
<if
test=
"userType != null"
>
#{userType},
</if>
<if
test=
"controlPlan != null"
>
#{controlPlan},
</if>
<if
test=
"conStartTime != null"
>
#{conStartTime},
</if>
<if
test=
"conEndTime != null"
>
#{conEndTime},
</if>
<if
test=
"createTime != null"
>
#{createTime},
</if>
<if
test=
"updateTime != null"
>
#{updateTime},
</if>
<if
test=
"remark != null"
>
#{remark},
</if>
<if
test=
"userOwnId != null"
>
#{userOwnId},
</if>
</trim>
</insert>
<update
id=
"updateTSpecialUser"
parameterType=
"TSpecialUser"
>
update t_special_user
<trim
prefix=
"SET"
suffixOverrides=
","
>
<if
test=
"userId != null"
>
user_id = #{userId},
</if>
<if
test=
"userType != null"
>
user_type = #{userType},
</if>
<if
test=
"controlPlan != null"
>
control_plan = #{controlPlan},
</if>
<if
test=
"conStartTime != null"
>
con_start_time = #{conStartTime},
</if>
<if
test=
"conEndTime != null"
>
con_end_time = #{conEndTime},
</if>
<if
test=
"createTime != null"
>
create_time = #{createTime},
</if>
<if
test=
"updateTime != null"
>
update_time = #{updateTime},
</if>
<if
test=
"remark != null"
>
remark = #{remark},
</if>
<if
test=
"userOwnId != null"
>
user_own_id = #{userOwnId},
</if>
</trim>
where special_id = #{specialId}
</update>
<delete
id=
"deleteTSpecialUserById"
parameterType=
"Long"
>
delete from t_special_user where special_id = #{specialId}
</delete>
<delete
id=
"deleteTSpecialUserByIds"
parameterType=
"String"
>
delete from t_special_user where special_id in
<foreach
item=
"specialId"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
#{specialId}
</foreach>
</delete>
</mapper>
\ No newline at end of file
zh-baseversion-web/src/api/supervise/report.js
0 → 100644
View file @
fa57a592
import
request
from
'@/utils/request'
// 查询入户安检结果列表
export
function
listReport
(
query
)
{
return
request
({
url
:
'/supervise/report/list'
,
method
:
'get'
,
params
:
query
})
}
// 查询入户安检结果列表
export
function
summarylist
(
query
)
{
return
request
({
url
:
'/supervise/report/summarylist'
,
method
:
'get'
,
params
:
query
})
}
// 查询入户安检结果详细
export
function
getReport
(
reportId
)
{
return
request
({
url
:
'/supervise/report/'
+
reportId
,
method
:
'get'
})
}
// 新增入户安检结果
export
function
addReport
(
data
)
{
return
request
({
url
:
'/supervise/report'
,
method
:
'post'
,
data
:
data
})
}
// 修改入户安检结果
export
function
updateReport
(
data
)
{
return
request
({
url
:
'/supervise/report'
,
method
:
'put'
,
data
:
data
})
}
// 删除入户安检结果
export
function
delReport
(
reportId
)
{
return
request
({
url
:
'/supervise/report/'
+
reportId
,
method
:
'delete'
})
}
// 导出入户安检结果
export
function
exportReport
(
query
)
{
return
request
({
url
:
'/supervise/report/export'
,
method
:
'get'
,
params
:
query
})
}
zh-baseversion-web/src/api/supervise/specialuser.js
0 → 100644
View file @
fa57a592
import
request
from
'@/utils/request'
// 查询特殊用户管控列表
export
function
listSpecialuser
(
query
)
{
return
request
({
url
:
'/supervise/specialuser/list'
,
method
:
'get'
,
params
:
query
})
}
// 查询特殊用户管控详细
export
function
getSpecialuser
(
specialId
)
{
return
request
({
url
:
'/supervise/specialuser/'
+
specialId
,
method
:
'get'
})
}
// 新增特殊用户管控
export
function
addSpecialuser
(
data
)
{
return
request
({
url
:
'/supervise/specialuser'
,
method
:
'post'
,
data
:
data
})
}
// 修改特殊用户管控
export
function
updateSpecialuser
(
data
)
{
return
request
({
url
:
'/supervise/specialuser'
,
method
:
'put'
,
data
:
data
})
}
// 删除特殊用户管控
export
function
delSpecialuser
(
specialId
)
{
return
request
({
url
:
'/supervise/specialuser/'
+
specialId
,
method
:
'delete'
})
}
// 导出特殊用户管控
export
function
exportSpecialuser
(
query
)
{
return
request
({
url
:
'/supervise/specialuser/export'
,
method
:
'get'
,
params
:
query
})
}
\ No newline at end of file
zh-baseversion-web/src/components/bigWindow/rightBar.vue
View file @
fa57a592
...
@@ -173,7 +173,7 @@
...
@@ -173,7 +173,7 @@
color: #00ffff;
color: #00ffff;
font-size: 20px;
font-size: 20px;
"
"
>
0
>
{{
bingBottomData
.
residentUsers
+
bingBottomData
.
businessUser
-
28
-
79
}}
</span>
</span>
</div>
</div>
<div
class=
"usernum"
style=
"margin-left: 30px"
>
<div
class=
"usernum"
style=
"margin-left: 30px"
>
...
@@ -193,7 +193,7 @@
...
@@ -193,7 +193,7 @@
text-align: left;
text-align: left;
"
"
>
>
0
</span
{{
bingBottomData
.
residentUsers
-
79
}}
</span
>
>
<span
style=
"color: #cddbe4; margin-left: 20px"
>
离线
</span>
<span
style=
"color: #cddbe4; margin-left: 20px"
>
离线
</span>
<span
<span
...
@@ -203,7 +203,7 @@
...
@@ -203,7 +203,7 @@
margin-left: 10px;
margin-left: 10px;
"
"
>
>
0
</span
79
</span
>
>
</div>
</div>
<div
class=
"usernumin in5"
>
<div
class=
"usernumin in5"
>
...
@@ -222,7 +222,7 @@
...
@@ -222,7 +222,7 @@
text-align: left;
text-align: left;
"
"
>
>
0
</span
{{
bingBottomData
.
businessUser
-
28
}}
</span
>
>
<span
style=
"color: #cddbe4; margin-left: 20px"
>
离线
</span>
<span
style=
"color: #cddbe4; margin-left: 20px"
>
离线
</span>
<span
<span
...
@@ -232,7 +232,7 @@
...
@@ -232,7 +232,7 @@
margin-left: 10px;
margin-left: 10px;
"
"
>
>
0
</span
{{
28
}}
</span
>
>
</div>
</div>
<div
class=
"usernumin in6"
>
<div
class=
"usernumin in6"
>
...
@@ -251,7 +251,7 @@
...
@@ -251,7 +251,7 @@
text-align: left;
text-align: left;
"
"
>
>
0
</span
{{
bingBottomData
.
industrialUsers
}}
</span
>
>
<span
style=
"color: #cddbe4; margin-left: 20px"
>
离线
</span>
<span
style=
"color: #cddbe4; margin-left: 20px"
>
离线
</span>
<span
<span
...
...
zh-baseversion-web/src/views/supervise/report/detaillist/index.vue
0 → 100644
View file @
fa57a592
This diff is collapsed.
Click to expand it.
zh-baseversion-web/src/views/supervise/report/index.vue
0 → 100644
View file @
fa57a592
This diff is collapsed.
Click to expand it.
zh-baseversion-web/src/views/supervise/specialuser/index.vue
0 → 100644
View file @
fa57a592
This diff is collapsed.
Click to expand it.
zh-baseversion-web/vue.config.js
View file @
fa57a592
...
@@ -34,11 +34,11 @@ module.exports = {
...
@@ -34,11 +34,11 @@ module.exports = {
proxy
:
{
proxy
:
{
// detail: https://cli.vuejs.org/config/#devserver-proxy
// detail: https://cli.vuejs.org/config/#devserver-proxy
[
process
.
env
.
VUE_APP_BASE_API
]:
{
[
process
.
env
.
VUE_APP_BASE_API
]:
{
//
target: `http://localhost:8905/gassafety`,
target
:
`http://localhost:8905/gassafety`
,
target
:
`http://36.138.180.82:8905/gassafety`
,
//
target: `http://36.138.180.82:8905/gassafety`,
// target: `http://36.138.180.82:8905/gassafety`,
// target: `http://36.138.180.82:8905/gassafety`,
// 服务器
// 服务器
//
target: `http://36.138.180.82:8079//gassafety`,
//target: `http://36.138.180.82:8079//gassafety`,
changeOrigin
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
pathRewrite
:
{
[
"^"
+
process
.
env
.
VUE_APP_BASE_API
]:
""
,
[
"^"
+
process
.
env
.
VUE_APP_BASE_API
]:
""
,
...
...
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