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
d6a98493
Commit
d6a98493
authored
Nov 30, 2022
by
秦嘉
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
c253d8e7
a492fa92
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
5 deletions
+14
-5
FcryController.java
.../java/com/ruoyi/web/controller/system/FcryController.java
+6
-0
FcryDTO.java
...system/src/main/java/com/ruoyi/system/domain/FcryDTO.java
+1
-1
index.vue
ruoyi-ui/src/views/system/fcry/index.vue
+6
-3
index.vue
ruoyi-ui/src/views/system/gldry/index.vue
+1
-1
No files found.
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/FcryController.java
View file @
d6a98493
...
@@ -6,6 +6,7 @@ import java.util.stream.Collectors;
...
@@ -6,6 +6,7 @@ import java.util.stream.Collectors;
import
javax.servlet.http.HttpServletResponse
;
import
javax.servlet.http.HttpServletResponse
;
import
com.ruoyi.common.core.domain.entity.SysDictData
;
import
com.ruoyi.common.core.domain.entity.SysDictData
;
import
com.ruoyi.common.core.domain.entity.SysUser
;
import
com.ruoyi.common.utils.DataUtils
;
import
com.ruoyi.common.utils.DataUtils
;
import
com.ruoyi.common.utils.DictUtils
;
import
com.ruoyi.common.utils.DictUtils
;
import
com.ruoyi.common.utils.SecurityUtils
;
import
com.ruoyi.common.utils.SecurityUtils
;
...
@@ -155,6 +156,11 @@ public class FcryController extends BaseController
...
@@ -155,6 +156,11 @@ public class FcryController extends BaseController
ExcelUtil
<
FcryDTO
>
util
=
new
ExcelUtil
<
FcryDTO
>(
FcryDTO
.
class
);
ExcelUtil
<
FcryDTO
>
util
=
new
ExcelUtil
<
FcryDTO
>(
FcryDTO
.
class
);
Class
<?
extends
FcryDTO
>
clazz
=
new
FcryDTO
().
getClass
();
Class
<?
extends
FcryDTO
>
clazz
=
new
FcryDTO
().
getClass
();
//
//
// 获取当前登陆人所属方舱
SysUser
loginUser
=
getLoginUser
().
getUser
();
String
fcPlace
=
loginUser
.
getNickName
();
String
[]
fcPlaces
={
fcPlace
};
ExcelUtil
.
setClassExcelAttribute
(
clazz
,
"fcPlace"
,
"combo"
,
fcPlaces
);
String
[]
isPositive
=
{
"是"
,
"否"
};
String
[]
isPositive
=
{
"是"
,
"否"
};
ExcelUtil
.
setClassExcelAttribute
(
clazz
,
"isPositive"
,
"combo"
,
isPositive
);
ExcelUtil
.
setClassExcelAttribute
(
clazz
,
"isPositive"
,
"combo"
,
isPositive
);
String
[]
positiveOnly
=
{
"是"
,
"否"
};
String
[]
positiveOnly
=
{
"是"
,
"否"
};
...
...
ruoyi-system/src/main/java/com/ruoyi/system/domain/FcryDTO.java
View file @
d6a98493
...
@@ -22,7 +22,7 @@ public class FcryDTO extends BaseEntity
...
@@ -22,7 +22,7 @@ public class FcryDTO extends BaseEntity
private
Long
id
;
private
Long
id
;
/** 方舱名称 */
/** 方舱名称 */
@Excel
(
name
=
"方舱名称"
)
@Excel
(
name
=
"方舱名称"
,
dictType
=
"fcPlace"
)
private
String
fcPlace
;
private
String
fcPlace
;
/** 房间号 */
/** 房间号 */
...
...
ruoyi-ui/src/views/system/fcry/index.vue
View file @
d6a98493
...
@@ -363,7 +363,7 @@
...
@@ -363,7 +363,7 @@
{ required: form.area === '1', message: '请选择街道/镇', trigger: ['blur','change'] }
{ required: form.area === '1', message: '请选择街道/镇', trigger: ['blur','change'] }
]"
]"
>
>
<el-select
v-model=
"form.street"
placeholder=
"请选择街道/镇"
:disabled=
"form.area !== '1'"
@
change=
"zhenSelect"
style=
"width: 100%"
<el-select
v-model=
"form.street"
placeholder=
"请选择街道/镇"
@
blur=
"streetBlur('street')"
:disabled=
"form.area !== '1'"
@
change=
"zhenSelect"
style=
"width: 100%"
>
>
<el-option
<el-option
...
@@ -385,7 +385,7 @@
...
@@ -385,7 +385,7 @@
{ required: form.area === '1', message: '请选择居委会', trigger: ['blur','change'] }
{ required: form.area === '1', message: '请选择居委会', trigger: ['blur','change'] }
]"
]"
>
>
<el-select
v-model=
"form.committee"
placeholder=
"请选择居委会"
:disabled=
"form.area !== '1'"
@
change=
"juSelect"
style=
"width: 100%"
>
<el-select
v-model=
"form.committee"
@
blur=
"streetBlur('committee')"
placeholder=
"请选择居委会"
:disabled=
"form.area !== '1'"
@
change=
"juSelect"
style=
"width: 100%"
>
<el-option
<el-option
v-for=
"dict in ju"
v-for=
"dict in ju"
:key=
"dict.code"
:key=
"dict.code"
...
@@ -403,7 +403,7 @@
...
@@ -403,7 +403,7 @@
{ required: form.area === '1', message: '请选择小区/村名称', trigger: ['blur','change'] }
{ required: form.area === '1', message: '请选择小区/村名称', trigger: ['blur','change'] }
]"
]"
>
>
<el-select
v-model=
"form.community"
placeholder=
"请选择小区/村名称"
:disabled=
"form.area !== '1'"
style=
"width: 100%"
>
<el-select
v-model=
"form.community"
@
blur=
"streetBlur('community')"
@
chang=
"streetBlur('community')"
placeholder=
"请选择小区/村名称"
:disabled=
"form.area !== '1'"
style=
"width: 100%"
>
<el-option
<el-option
v-for=
"dict in cun"
v-for=
"dict in cun"
:key=
"dict.code"
:key=
"dict.code"
...
@@ -926,6 +926,9 @@ export default {
...
@@ -926,6 +926,9 @@ export default {
this
.
getList
();
this
.
getList
();
},
},
methods
:
{
methods
:
{
streetBlur
(
val
)
{
this
.
$refs
.
form
.
validateField
(
val
)
},
quSelect
(
val
){
quSelect
(
val
){
this
.
zhen
=
[]
this
.
zhen
=
[]
this
.
form
.
community
=
''
this
.
form
.
community
=
''
...
...
ruoyi-ui/src/views/system/gldry/index.vue
View file @
d6a98493
...
@@ -221,7 +221,7 @@
...
@@ -221,7 +221,7 @@
<dict-tag
:options=
"dict.type.committee"
:value=
"scope.row.committee"
/>
<dict-tag
:options=
"dict.type.committee"
:value=
"scope.row.committee"
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"小区名称"
width=
"120"
align=
"center"
prop=
"community"
:show-overflow-tooltip=
"true"
>
<el-table-column
label=
"小区
/村
名称"
width=
"120"
align=
"center"
prop=
"community"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<dict-tag
:options=
"dict.type.community"
:value=
"scope.row.community"
/>
<dict-tag
:options=
"dict.type.community"
:value=
"scope.row.community"
/>
</
template
>
</
template
>
...
...
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