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
aa9e572e
Commit
aa9e572e
authored
May 29, 2024
by
军师中郎将
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 场站类型使用 字典实现
parent
121c4d37
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
index.vue
zh-baseversion-web/src/views/regulation/station/index.vue
+3
-7
No files found.
zh-baseversion-web/src/views/regulation/station/index.vue
View file @
aa9e572e
...
...
@@ -158,11 +158,7 @@
<
el
-
col
:
span
=
"11"
>
<
el
-
form
-
item
label
=
"场站类型"
prop
=
"siteStationType"
>
<
el
-
select
v
-
model
=
"form.siteStationType"
placeholder
=
"请选择场站类型"
style
=
"width: 100%"
>
<
el
-
option
label
=
"加气站"
value
=
"1"
/>
<
el
-
option
label
=
"门站"
value
=
"2"
/>
<
el
-
option
label
=
"调压站"
value
=
"3"
/>
<
el
-
option
label
=
"储备站"
value
=
"4"
/>
<
el
-
option
label
=
"气化站"
value
=
"5"
/>
<
el
-
option
v
-
for
=
"dict in siteStationTypeOptions"
:
key
=
"dict.dictValue"
:
label
=
"dict.dictLabel"
:
value
=
"dict.dictValue"
/>
<
/el-select
>
<
/el-form-item
>
<
/el-col
>
...
...
@@ -503,7 +499,7 @@ export default {
title
:
""
,
// 是否显示弹出层
open
:
false
,
// 场站类型:1.加气站 2.门站 3.调压站 4.储备站 5.气化站
字典
// 场站类型:1.加气站 2.门站 3.调压站 4.储备站 5.气化站
6.灌装站
siteStationTypeOptions
:
[],
// 查询参数
queryParams
:
{
...
...
@@ -575,7 +571,7 @@ export default {
this
.
loading
=
false
;
}
);
}
,
// 场站类型:1.加气站 2.门站 3.调压站 4.储备站 5.气化站字典翻译
// 场站类型:1.加气站 2.门站 3.调压站 4.储备站 5.气化站
6.灌装转
字典翻译
siteStationTypeFormat
(
row
,
column
)
{
return
this
.
selectDictLabel
(
this
.
siteStationTypeOptions
,
row
.
siteStationType
);
}
,
...
...
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