Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
W
whp-xl
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
lizhichao
whp-xl
Commits
1b48541a
Commit
1b48541a
authored
Jun 09, 2021
by
王晓倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
企业审核管理添加监管分类选择、经纬度显示到一行
parent
8bdafe49
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
4 deletions
+36
-4
EnterprisesMgEdit.vue
...system-master/src/views/Enterprises/EnterprisesMgEdit.vue
+36
-4
No files found.
dcit-hcsystem-hcsystem-master/src/views/Enterprises/EnterprisesMgEdit.vue
View file @
1b48541a
...
@@ -82,18 +82,28 @@
...
@@ -82,18 +82,28 @@
<el-form-item
label=
"备注"
prop=
"remarks"
>
<el-form-item
label=
"备注"
prop=
"remarks"
>
<el-input
type=
"textarea"
v-model
.
number=
"editForm.remarks"
></el-input>
<el-input
type=
"textarea"
v-model
.
number=
"editForm.remarks"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"经度"
prop=
"longitude"
>
<el-form-item
label=
"经
纬
度"
prop=
"longitude"
>
<el-row>
<el-row>
<el-col
:span=
"
16
"
>
<el-col
:span=
"
8
"
>
<el-input
v-model
.
number=
"editForm.longitude"
></el-input>
<el-input
v-model
.
number=
"editForm.longitude"
></el-input>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-input
v-model
.
number=
"editForm.latitude"
></el-input>
</el-col>
<el-col
:span=
"5"
>
<el-button
type=
"primary"
plain
@
click=
"MapdialogFun"
>
选择经纬度
</el-button>
<el-button
type=
"primary"
plain
@
click=
"MapdialogFun"
>
选择经纬度
</el-button>
</el-col>
</el-col>
</el-row>
</el-row>
</el-form-item>
</el-form-item>
<el-form-item
label=
"纬度"
prop=
"latitude"
>
<el-form-item
label=
"监管分类"
prop=
"regulationType"
>
<el-input
v-model=
"editForm.latitude"
></el-input>
<el-select
v-model=
"editForm.regulationType"
placeholder=
"请选择"
@
change=
"seletChange"
filterable
>
<el-option
v-for=
"item in regulationTypeArr"
:key=
"item.code"
:label=
"item.typeName==null?'':item.typeName"
:value=
"item.code.toString()"
></el-option>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"绘制厂区边界"
>
<el-form-item
label=
"绘制厂区边界"
>
<el-button
type=
"primary"
plain
@
click=
"MapdialogBFun"
>
绘制
</el-button>
<span
:class=
"editForm.boundary ? 'colorM' : 'colorR'"
>
{{
editForm
.
boundary
?
'已绘制'
:
'未绘制'
}}
</span>
<el-button
type=
"primary"
plain
@
click=
"MapdialogBFun"
>
绘制
</el-button>
<span
:class=
"editForm.boundary ? 'colorM' : 'colorR'"
>
{{
editForm
.
boundary
?
'已绘制'
:
'未绘制'
}}
</span>
...
@@ -145,6 +155,7 @@ export default class EnterprisesMgEdit extends Vue {
...
@@ -145,6 +155,7 @@ export default class EnterprisesMgEdit extends Vue {
@
Provide
()
editForm
:
any
=
{};
@
Provide
()
editForm
:
any
=
{};
@
Provide
()
qvvalue
:
any
=
[];
//区域值
@
Provide
()
qvvalue
:
any
=
[];
//区域值
@
Provide
()
signsArr
:
any
=
[];
//图例list
@
Provide
()
signsArr
:
any
=
[];
//图例list
@
Provide
()
regulationTypeArr
:
any
=
[];
@
Provide
()
dialogTableVisible
:
Boolean
=
false
;
@
Provide
()
dialogTableVisible
:
Boolean
=
false
;
@
Provide
()
rules
:
any
=
{
@
Provide
()
rules
:
any
=
{
accountStatus
:
[{
accountStatus
:
[{
...
@@ -277,12 +288,33 @@ export default class EnterprisesMgEdit extends Vue {
...
@@ -277,12 +288,33 @@ export default class EnterprisesMgEdit extends Vue {
}
}
}
}
}
}
//监管类型
getRegulationType
()
{
let
that
=
this
;
(
that
as
any
).
$axios
.
get
(
`/regulationType/getRegulationTypeList?page=1&size=10000`
)
.
then
((
res
:
any
)
=>
{
that
.
regulationTypeArr
=
res
.
data
.
pageData
;
});
}
seletChange
(
code
:
any
)
{
let
that
=
this
,
arr
;
arr
=
that
.
regulationTypeArr
.
filter
((
ele
:
any
)
=>
code
==
ele
.
code
);
}
created
()
{
created
()
{
this
.
getDetail
();
this
.
getDetail
();
this
.
getRegulationType
();
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
@import
"@/utils/public.scss"
;
@import
"@/utils/public.scss"
;
.el-col
{
margin-left
:
0
;
margin-right
:
10px
;
}
</
style
>
</
style
>
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