Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
data_management_system
Project
Project
Details
Activity
Releases
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
张伯涛
data_management_system
Commits
254e0905
Commit
254e0905
authored
Nov 30, 2022
by
陈明豪
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
b328a090
5837c943
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
117 additions
and
18 deletions
+117
-18
CheckUtils.java
...mmon/src/main/java/com/ruoyi/common/utils/CheckUtils.java
+1
-0
Fcry.java
ruoyi-system/src/main/java/com/ruoyi/system/domain/Fcry.java
+26
-0
FcryMapper.xml
ruoyi-system/src/main/resources/mapper/system/FcryMapper.xml
+12
-3
yxry.js
ruoyi-ui/src/api/system/yxry.js
+3
-1
index.vue
ruoyi-ui/src/views/system/hscj/index.vue
+30
-7
index.vue
ruoyi-ui/src/views/system/ycsb/index.vue
+23
-4
index.vue
ruoyi-ui/src/views/system/yxry/index.vue
+22
-3
No files found.
ruoyi-common/src/main/java/com/ruoyi/common/utils/CheckUtils.java
View file @
254e0905
...
...
@@ -37,5 +37,6 @@ public class CheckUtils
public
static
void
main
(
String
[]
args
)
{
System
.
out
.
println
(
checkPhone
(
"15922013137"
));
System
.
out
.
println
(
checkCard
(
"110101199003078371"
));
}
}
ruoyi-system/src/main/java/com/ruoyi/system/domain/Fcry.java
View file @
254e0905
...
...
@@ -103,6 +103,16 @@ public class Fcry extends BaseEntity
@Transient
private
String
value
;
/** 从其他隔离点转来时间 */
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
otherGldTime
;
/** 从其他方舱转来时间 */
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
otherFcTime
;
public
String
getRemark
()
{
return
remark
;
}
...
...
@@ -344,4 +354,20 @@ public class Fcry extends BaseEntity
public
void
setValue
(
String
value
)
{
this
.
value
=
value
;
}
public
Date
getOtherFcTime
()
{
return
otherFcTime
;
}
public
void
setOtherFcTime
(
Date
otherFcTime
)
{
this
.
otherFcTime
=
otherFcTime
;
}
public
Date
getOtherGldTime
()
{
return
otherGldTime
;
}
public
void
setOtherGldTime
(
Date
otherGldTime
)
{
this
.
otherGldTime
=
otherGldTime
;
}
}
ruoyi-system/src/main/resources/mapper/system/FcryMapper.xml
View file @
254e0905
...
...
@@ -32,19 +32,22 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result
property=
"committee"
column=
"committee"
/>
<result
property=
"floor"
column=
"floor"
/>
<result
property=
"doorplate"
column=
"doorplate"
/>
<result
property=
"otherGldTime"
column=
"other_gld_time"
/>
<result
property=
"otherFcTime"
column=
"other_fc_time"
/>
</resultMap>
<sql
id=
"selectFcryVo"
>
select id, fc_place, room, jz_name, card_no, phone, area, street, community, unit, zr_time, zc_time, gl_place,
status, del_flag, create_by, create_time, update_by, update_time, remark,check_card,people_type,is_positive,
positive_only,committee,floor,doorplate
positive_only,committee,floor,doorplate
,other_fc_time,other_gld_time
from fcry
</sql>
<select
id=
"selectFcryList"
parameterType=
"Fcry"
resultMap=
"FcryResult"
>
select a.id, a.fc_place, a.room, a.jz_name, a.card_no, a.phone, a.area, a.street, a.community, a.unit, a.zr_time,
a.zc_time, a.gl_place, a.status, a.del_flag, a.create_by, a.create_time, a.update_by, a.update_time,
a.remark ,a.check_card ,a.people_type ,a.is_positive ,a.positive_only ,a.committee ,a.floor ,a.doorplate from fcry a
a.remark ,a.check_card ,a.people_type ,a.is_positive ,a.positive_only ,a.committee ,a.floor ,a.doorplate,
a.other_fc_time,a.other_gld_time from fcry a
left join sys_user u on u.user_id = a.create_by
left join sys_dept d on u.dept_id = d.dept_id
where a.del_flag = 0
...
...
@@ -74,7 +77,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select a.id, a.fc_place, a.room, a.jz_name, a.card_no, a.phone, a.area, a.street, a.community,
a.floor, a.unit, a.doorplate, a.zr_time, a.gl_place, a.status, a.del_flag, a.create_by,
a.create_time, a.update_by, a.update_time, a.remark , a.check_card , a.is_positive , a.positive_only,
a.other_point_time, a.people_type from fcry a
a.other_point_time, a.people_type
,a.other_fc_time,a.other_gld_time
from fcry a
where a.del_flag = 0 and a.card_no = #{cardNo}
</select>
...
...
@@ -107,6 +110,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"isPositive != null"
>
is_positive,
</if>
<if
test=
"checkCard != null"
>
check_card,
</if>
<if
test=
"peopleType != null"
>
people_type,
</if>
<if
test=
"otherFcTime != null"
>
other_fc_time,
</if>
<if
test=
"otherGldTime != null"
>
other_gld_time,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"fcPlace != null"
>
#{fcPlace},
</if>
...
...
@@ -135,6 +140,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"isPositive != null"
>
#{isPositive},
</if>
<if
test=
"checkCard != null"
>
#{checkCard},
</if>
<if
test=
"peopleType != null"
>
#{peopleType},
</if>
<if
test=
"otherFcTime != null"
>
#{otherFcTime},
</if>
<if
test=
"otherGldTime != null"
>
#{otherGldTime},
</if>
</trim>
</insert>
<insert
id=
"insertBatchFcry"
parameterType=
"Fcry"
>
...
...
@@ -176,6 +183,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"isPositive != null"
>
is_positive = #{isPositive},
</if>
<if
test=
"checkCard != null"
>
check_card = #{checkCard},
</if>
<if
test=
"peopleType != null"
>
people_type = #{peopleType},
</if>
<if
test=
"otherGldTime != null"
>
other_gld_time = #{otherGldTime},
</if>
<if
test=
"otherFcTime != null"
>
other_fc_time = #{otherFcTime},
</if>
</trim>
where id = #{id}
</update>
...
...
ruoyi-ui/src/api/system/yxry.js
View file @
254e0905
...
...
@@ -17,12 +17,13 @@ export function cardGetInfo(query) {
})
}
// 下载
治疗情况
导入模板
// 下载导入模板
export
function
importTemplate
(
params
)
{
return
request
({
url
:
'/system/yxry/importTemplate'
,
method
:
'post'
,
responseType
:
'blob'
,
timeout
:
30
*
1000
,
params
})
}
...
...
@@ -33,6 +34,7 @@ export function importExcel(data) {
url
:
'/system/yxry/importData'
,
method
:
'post'
,
responseType
:
'blob'
,
timeout
:
30
*
1000
,
data
})
}
...
...
ruoyi-ui/src/views/system/hscj/index.vue
View file @
254e0905
...
...
@@ -28,7 +28,10 @@
/>
</el-select>
</el-form-item>
<el-form-item
label=
"街道/镇"
prop=
"street"
>
<el-form-item
label=
"街道/镇"
prop=
"street"
>
<el-select
v-model=
"queryParams.street"
placeholder=
"请选择街道/镇"
clearable
>
<el-option
v-for=
"dict in dict.type.street_town"
...
...
@@ -406,7 +409,13 @@
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"街道/镇"
prop=
"street"
>
<el-form-item
label=
"街道/镇"
prop=
"street"
:rules=
"[
{ required: form.area === '1', message: '请选择街道/镇', trigger: ['blur','change'] }
]"
>
<el-select
style=
"width: 100%"
v-model=
"form.street"
placeholder=
"请选择街道/镇"
:disabled=
"form.area !== '1'"
@
change=
"zhenSelect"
>
<el-option
v-for=
"dict in zhen"
...
...
@@ -420,7 +429,13 @@
</el-row>
<el-row>
<el-col
:span=
"12"
>
<el-form-item
label=
"居委会"
prop=
"committee"
>
<el-form-item
label=
"居委会"
prop=
"committee"
:rules=
"[
{ required: form.area === '1', message: '请选择居委会', trigger: ['blur','change'] }
]"
>
<el-select
style=
"width: 100%"
v-model=
"form.committee"
placeholder=
"请选择居委会"
:disabled=
"form.area !== '1'"
@
change=
"juSelect"
>
<el-option
v-for=
"dict in ju"
...
...
@@ -432,7 +447,13 @@
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"小区/村名称"
prop=
"community"
>
<el-form-item
label=
"小区/村名称"
prop=
"community"
:rules=
"[
{ required: form.area === '1', message: '请选择小区/村名称', trigger: ['blur','change'] }
]"
>
<el-select
style=
"width: 100%"
v-model=
"form.community"
placeholder=
"请选择小区/村名称"
:disabled=
"form.area !== '1'"
>
<el-option
v-for=
"dict in cun"
...
...
@@ -534,8 +555,8 @@
<el-col
:span=
"12"
>
<el-form-item
label=
"检测结果"
prop=
"cjResult"
>
<el-radio-group
v-model=
"form.cjResult"
>
<el-radio
:label=
"
0
"
>
阳性
</el-radio>
<el-radio
:label=
"
1
"
>
阴性
</el-radio>
<el-radio
:label=
"
'0'
"
>
阳性
</el-radio>
<el-radio
:label=
"
'1'
"
>
阴性
</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
...
...
@@ -917,6 +938,7 @@ export default {
},
// 表单参数
form
:
{
cjTime
:
new
Date
(),
province
:
'河北省'
,
city
:
'石家庄市'
,
},
...
...
@@ -1143,6 +1165,7 @@ export default {
xh
:
null
,
city
:
'石家庄市'
,
area
:
null
,
committee
:
null
,
street
:
null
,
community
:
null
,
cjPlace
:
null
,
...
...
@@ -1154,7 +1177,7 @@ export default {
address
:
null
,
age
:
null
,
category
:
null
,
cjTime
:
n
ull
,
cjTime
:
n
ew
Date
()
,
cjName
:
null
,
cjPhone
:
null
,
bblx
:
'咽拭子'
,
...
...
ruoyi-ui/src/views/system/ycsb/index.vue
View file @
254e0905
...
...
@@ -274,7 +274,13 @@
<
/el-row
>
<
el
-
row
>
<
el
-
col
:
span
=
"12"
>
<
el
-
form
-
item
label
=
"街道/镇"
prop
=
"street"
>
<
el
-
form
-
item
label
=
"街道/镇"
prop
=
"street"
:
rules
=
"[
{ required: form.area === '1', message: '请选择街道/镇', trigger: ['blur','change']
}
]"
>
<
el
-
select
style
=
"width: 100%"
v
-
model
=
"form.street"
placeholder
=
"请选择街道/镇"
:
disabled
=
"form.area !== '1'"
@
change
=
"zhenSelect"
>
<
el
-
option
v
-
for
=
"dict in zhen"
...
...
@@ -286,7 +292,13 @@
<
/el-form-item
>
<
/el-col
>
<
el
-
col
:
span
=
"12"
>
<
el
-
form
-
item
label
=
"居委会"
prop
=
"committee"
>
<
el
-
form
-
item
label
=
"居委会"
prop
=
"committee"
:
rules
=
"[
{ required: form.area === '1', message: '请选择居委会', trigger: ['blur','change']
}
]"
>
<
el
-
select
style
=
"width: 100%"
v
-
model
=
"form.committee"
placeholder
=
"请选择居委会"
:
disabled
=
"form.area !== '1'"
@
change
=
"juSelect"
>
<
el
-
option
v
-
for
=
"dict in ju"
...
...
@@ -300,7 +312,13 @@
<
/el-row
>
<
el
-
row
>
<
el
-
col
:
span
=
"12"
>
<
el
-
form
-
item
label
=
"小区/村名称"
prop
=
"community"
>
<
el
-
form
-
item
label
=
"小区/村名称"
prop
=
"community"
:
rules
=
"[
{ required: form.area === '1', message: '请选择小区/村名称', trigger: ['blur','change']
}
]"
>
<
el
-
select
style
=
"width: 100%"
v
-
model
=
"form.community"
placeholder
=
"请选择小区/村名称"
:
disabled
=
"form.area !== '1'"
>
<
el
-
option
v
-
for
=
"dict in cun"
...
...
@@ -841,7 +859,7 @@ export default {
const
downloadElement
=
document
.
createElement
(
'a'
)
const
href
=
window
.
URL
.
createObjectURL
(
blob
)
// 创建下载的链接
downloadElement
.
href
=
href
downloadElement
.
download
=
'
治疗情况
导入模板'
+
'.xls'
// 下载后文件名
downloadElement
.
download
=
'
抗原异常上报
导入模板'
+
'.xls'
// 下载后文件名
document
.
body
.
appendChild
(
downloadElement
)
downloadElement
.
click
()
// 点击下载
document
.
body
.
removeChild
(
downloadElement
)
// 下载完成移除元素
...
...
@@ -886,6 +904,7 @@ export default {
phone
:
null
,
address
:
null
,
area
:
null
,
committee
:
null
,
street
:
null
,
house
:
null
,
building
:
null
,
...
...
ruoyi-ui/src/views/system/yxry/index.vue
View file @
254e0905
...
...
@@ -363,7 +363,13 @@
<
/el-row
>
<
el
-
row
>
<
el
-
col
:
span
=
"12"
>
<
el
-
form
-
item
label
=
"街道/镇"
prop
=
"street"
>
<
el
-
form
-
item
label
=
"街道/镇"
prop
=
"street"
:
rules
=
"[
{ required: form.area === '1', message: '请选择街道/镇', trigger: ['blur','change']
}
]"
>
<
el
-
select
style
=
"width: 100%"
v
-
model
=
"form.street"
placeholder
=
"请选择街道/镇"
:
disabled
=
"form.area !== '1'"
@
change
=
"zhenSelect"
>
<
el
-
option
v
-
for
=
"dict in zhen"
...
...
@@ -375,7 +381,13 @@
<
/el-form-item
>
<
/el-col
>
<
el
-
col
:
span
=
"12"
>
<
el
-
form
-
item
label
=
"居委会"
prop
=
"committee"
>
<
el
-
form
-
item
label
=
"居委会"
prop
=
"committee"
:
rules
=
"[
{ required: form.area === '1', message: '请选择居委会', trigger: ['blur','change']
}
]"
>
<
el
-
select
style
=
"width: 100%"
v
-
model
=
"form.committee"
placeholder
=
"请选择居委会"
:
disabled
=
"form.area !== '1'"
@
change
=
"juSelect"
>
<
el
-
option
v
-
for
=
"dict in ju"
...
...
@@ -389,7 +401,13 @@
<
/el-row
>
<
el
-
row
>
<
el
-
col
:
span
=
"12"
>
<
el
-
form
-
item
label
=
"小区/村名称"
prop
=
"community"
>
<
el
-
form
-
item
label
=
"小区/村名称"
prop
=
"community"
:
rules
=
"[
{ required: form.area === '1', message: '请选择小区/村名称', trigger: ['blur','change']
}
]"
>
<
el
-
select
style
=
"width: 100%"
v
-
model
=
"form.community"
placeholder
=
"请选择小区/村名称"
:
disabled
=
"form.area !== '1'"
>
<
el
-
option
v
-
for
=
"dict in cun"
...
...
@@ -1091,6 +1109,7 @@ export default {
cardNo
:
null
,
phone
:
null
,
area
:
null
,
committee
:
null
,
street
:
null
,
isolationStatus
:
null
,
fcName
:
null
,
...
...
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