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
485129a4
Commit
485129a4
authored
Aug 09, 2024
by
lizhichao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
所属企业 改为string
parent
576d3722
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
23 deletions
+23
-23
TSupMajorHazard.java
...c/main/java/com/zehong/system/domain/TSupMajorHazard.java
+3
-3
TVehicleInfo.java
.../src/main/java/com/zehong/system/domain/TVehicleInfo.java
+3
-3
index.vue
...rsion-web/src/views/majorpollsourcelevel/record/index.vue
+17
-17
No files found.
zh-baseversion-system/src/main/java/com/zehong/system/domain/TSupMajorHazard.java
View file @
485129a4
...
@@ -48,16 +48,16 @@ public class TSupMajorHazard extends BaseEntity
...
@@ -48,16 +48,16 @@ public class TSupMajorHazard extends BaseEntity
@Excel
(
name
=
"分级情况"
)
@Excel
(
name
=
"分级情况"
)
private
String
fLevel
;
private
String
fLevel
;
public
Lo
ng
getBeyondEnterpriseId
()
{
public
Stri
ng
getBeyondEnterpriseId
()
{
return
beyondEnterpriseId
;
return
beyondEnterpriseId
;
}
}
public
void
setBeyondEnterpriseId
(
Lo
ng
beyondEnterpriseId
)
{
public
void
setBeyondEnterpriseId
(
Stri
ng
beyondEnterpriseId
)
{
this
.
beyondEnterpriseId
=
beyondEnterpriseId
;
this
.
beyondEnterpriseId
=
beyondEnterpriseId
;
}
}
/** 权属单位 */
/** 权属单位 */
private
Lo
ng
beyondEnterpriseId
;
private
Stri
ng
beyondEnterpriseId
;
/** 创建时间 */
/** 创建时间 */
private
Date
fCreateTime
;
private
Date
fCreateTime
;
...
...
zh-baseversion-system/src/main/java/com/zehong/system/domain/TVehicleInfo.java
View file @
485129a4
...
@@ -54,7 +54,7 @@ public class TVehicleInfo extends BaseEntity
...
@@ -54,7 +54,7 @@ public class TVehicleInfo extends BaseEntity
/** 所属企业 */
/** 所属企业 */
@Excel
(
name
=
"所属企业"
)
@Excel
(
name
=
"所属企业"
)
private
int
beyondEnterpriseId
;
private
String
beyondEnterpriseId
;
/** 责任人 */
/** 责任人 */
@Excel
(
name
=
"责任人"
)
@Excel
(
name
=
"责任人"
)
...
@@ -265,11 +265,11 @@ public class TVehicleInfo extends BaseEntity
...
@@ -265,11 +265,11 @@ public class TVehicleInfo extends BaseEntity
return
vehicleInspect
;
return
vehicleInspect
;
}
}
public
int
getBeyondEnterpriseId
()
{
public
String
getBeyondEnterpriseId
()
{
return
beyondEnterpriseId
;
return
beyondEnterpriseId
;
}
}
public
void
setBeyondEnterpriseId
(
int
beyondEnterpriseId
)
{
public
void
setBeyondEnterpriseId
(
String
beyondEnterpriseId
)
{
this
.
beyondEnterpriseId
=
beyondEnterpriseId
;
this
.
beyondEnterpriseId
=
beyondEnterpriseId
;
}
}
...
...
zh-baseversion-web/src/views/majorpollsourcelevel/record/index.vue
View file @
485129a4
...
@@ -94,7 +94,7 @@
...
@@ -94,7 +94,7 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<pagination
<pagination
v-show=
"total>0"
v-show=
"total>0"
:total=
"total"
:total=
"total"
...
@@ -106,7 +106,7 @@
...
@@ -106,7 +106,7 @@
<!-- 添加或修改重大危险源监管对话框 -->
<!-- 添加或修改重大危险源监管对话框 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"800px"
append-to-body
>
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"800px"
append-to-body
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"120px"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"120px"
>
<el-row>
<el-row>
<el-col
:span=
"11"
>
<el-col
:span=
"11"
>
<el-form-item
label=
"名称"
prop=
"fName"
>
<el-form-item
label=
"名称"
prop=
"fName"
>
...
@@ -161,7 +161,7 @@
...
@@ -161,7 +161,7 @@
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"所属单位"
prop=
"beyondEnterpriseId"
>
<el-form-item
label=
"所属单位"
prop=
"beyondEnterpriseId"
>
<el-select
v-model=
"form.beyondEnterpriseId"
placeholder=
"请选择所属单位名称"
style=
"width: 100%"
@
change=
"selectworkAssignEnterprose($event)"
>
<el-select
v-model=
"form.beyondEnterpriseId"
placeholder=
"请选择所属单位名称"
style=
"width: 100%"
>
<el-option
<el-option
v-for=
"item in enterprises"
v-for=
"item in enterprises"
:key=
"item.enterpriseId"
:key=
"item.enterpriseId"
...
@@ -183,7 +183,7 @@
...
@@ -183,7 +183,7 @@
<el-button
@
click=
"cancel"
>
取 消
</el-button>
<el-button
@
click=
"cancel"
>
取 消
</el-button>
</div>
</div>
</el-dialog>
</el-dialog>
<GetPos
<GetPos
:dialogVisible
.
sync=
"dialogTableVisibles"
:dialogVisible
.
sync=
"dialogTableVisibles"
device=
""
device=
""
...
@@ -252,7 +252,7 @@ export default {
...
@@ -252,7 +252,7 @@ export default {
{
required
:
true
,
message
:
"请输入责任人"
,
trigger
:
"blur"
},
{
required
:
true
,
message
:
"请输入责任人"
,
trigger
:
"blur"
},
],
],
},
},
/**--------------地图使用数据---------------*/
/**--------------地图使用数据---------------*/
dialogTableVisibles
:
false
,
dialogTableVisibles
:
false
,
devicePos
:
[]
devicePos
:
[]
...
@@ -270,16 +270,16 @@ export default {
...
@@ -270,16 +270,16 @@ export default {
// fLevelFormat(row, column) {
// fLevelFormat(row, column) {
// return this.selectDictLabel(this.fLevelOptions, row.fLevel);
// return this.selectDictLabel(this.fLevelOptions, row.fLevel);
// },
// },
fLevelFormat
(
row
){
fLevelFormat
(
row
){
let
obj
=
this
.
fLevelOptions
.
find
(
item
=>
{
let
obj
=
this
.
fLevelOptions
.
find
(
item
=>
{
return
item
.
dictValue
==
row
.
fLevel
;
return
item
.
dictValue
==
row
.
fLevel
;
})
})
if
(
obj
!=
undefined
||
obj
!=
null
){
if
(
obj
!=
undefined
||
obj
!=
null
){
return
obj
.
dictLabel
;
return
obj
.
dictLabel
;
}
}
},
},
beyondEnterpriseFormat
(
row
){
beyondEnterpriseFormat
(
row
){
let
info
=
this
.
enterprises
.
find
(
item
=>
item
.
enterpriseId
==
row
.
beyondEnterpriseId
);
let
info
=
this
.
enterprises
.
find
(
item
=>
item
.
enterpriseId
==
row
.
beyondEnterpriseId
);
return
info
?
info
.
enterpriseName
:
"-"
;
return
info
?
info
.
enterpriseName
:
"-"
;
},
},
...
@@ -420,15 +420,15 @@ export default {
...
@@ -420,15 +420,15 @@ export default {
this
.
form
.
longitude
=
res
[
0
];
this
.
form
.
longitude
=
res
[
0
];
this
.
form
.
latitude
=
res
[
1
];
this
.
form
.
latitude
=
res
[
1
];
},
},
getInspectionUserList
(
enterpriseId
){
//
getInspectionUserList(enterpriseId){
getInspectionUsers
(
enterpriseId
,
"se"
).
then
(
response
=>
{
//
getInspectionUsers(enterpriseId,"se").then(response =>{
this
.
inspectors
=
response
.
data
;
//
this.inspectors = response.data;
})
//
})
},
//
},
//
selectworkAssignEnterprose
(
enterpriseId
){
//
selectworkAssignEnterprose(enterpriseId){
this
.
getInspectionUserList
(
enterpriseId
);
//
this.getInspectionUserList(enterpriseId);
},
//
},
//所属单位
//所属单位
getEnterpriseLists
(){
getEnterpriseLists
(){
const
param
=
{};
const
param
=
{};
...
...
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