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
623da5c2
Commit
623da5c2
authored
May 30, 2024
by
军师中郎将
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 燃气用户 类型 字典形式实现
parent
283000d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
index.vue
zh-baseversion-web/src/views/regulation/gasuser/index.vue
+6
-4
No files found.
zh-baseversion-web/src/views/regulation/gasuser/index.vue
View file @
623da5c2
...
...
@@ -156,10 +156,7 @@
<el-col
:span=
"11"
>
<el-form-item
label=
"用户类型"
prop=
"userType"
>
<el-select
v-model=
"form.userType"
placeholder=
"请选择用户类型"
>
<el-option
label=
"居民用户"
value=
"1"
/>
<el-option
label=
"商业用户"
value=
"2"
/>
<el-option
label=
"工业用户"
value=
"3"
/>
<el-option
label=
"煤改气用户"
value=
"4"
/>
<el-option
v-for=
"dict in userTypeOpers"
:key=
"dict.dictValue"
:label=
"dict.dictLabel"
:value=
"dict.dictValue"
/>
</el-select>
</el-form-item>
</el-col>
...
...
@@ -292,6 +289,8 @@ export default {
total
:
0
,
// 燃气用户表格数据
userList
:
[],
// 燃气类型
userTypeOpers
:
[],
// 弹出层标题
title
:
""
,
// 是否显示弹出层
...
...
@@ -327,6 +326,9 @@ export default {
},
created
()
{
this
.
getList
();
this
.
getDicts
(
"yehuaqi_user_type"
).
then
(
response
=>
{
this
.
userTypeOpers
=
response
.
data
;
});
},
methods
:
{
/** 查询燃气用户列表 */
...
...
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