Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety-progress
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
耿迪迪
gassafety-progress
Commits
e70a2511
Commit
e70a2511
authored
Feb 25, 2022
by
王晓倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
燃气用户页面调整
parent
a40481d9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
28 deletions
+6
-28
index.vue
gassafetyprogress-web/src/views/regulation/gasuser/index.vue
+6
-28
No files found.
gassafetyprogress-web/src/views/regulation/gasuser/index.vue
View file @
e70a2511
<
template
>
<div
class=
"app-container"
>
<el-form
:model=
"queryParams"
ref=
"queryForm"
:inline=
"true"
v-show=
"showSearch"
label-width=
"68px"
>
<el-form-item
label=
"用户账号"
prop=
"username"
>
<
!--
<
el-form-item
label=
"用户账号"
prop=
"username"
>
<el-input
v-model=
"queryParams.username"
placeholder=
"请输入用户账号"
...
...
@@ -9,7 +9,7 @@
size=
"small"
@
keyup
.
enter
.
native=
"handleQuery"
/>
</el-form-item>
</el-form-item>
-->
<el-form-item
label=
"用户名称"
prop=
"nickName"
>
<el-input
v-model=
"queryParams.nickName"
...
...
@@ -36,28 +36,6 @@
v-hasPermi=
"['supervise:user:add']"
>
新增
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
type=
"success"
plain
icon=
"el-icon-edit"
size=
"mini"
:disabled=
"single"
@
click=
"handleUpdate"
v-hasPermi=
"['supervise:user:edit']"
>
修改
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
type=
"danger"
plain
icon=
"el-icon-delete"
size=
"mini"
:disabled=
"multiple"
@
click=
"handleDelete"
v-hasPermi=
"['supervise:user:remove']"
>
删除
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
type=
"warning"
...
...
@@ -74,7 +52,7 @@
<el-table
v-loading=
"loading"
:data=
"userList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<
el-table-column
label=
"用户账号"
align=
"center"
prop=
"username"
/
>
<
!--
<el-table-column
label=
"用户账号"
align=
"center"
prop=
"username"
/>
--
>
<el-table-column
label=
"用户名称"
align=
"center"
prop=
"nickName"
/>
<el-table-column
label=
"用户类型"
align=
"center"
prop=
"userType"
/>
<el-table-column
label=
"地址"
align=
"center"
prop=
"address"
/>
...
...
@@ -83,7 +61,7 @@
<el-table-column
label=
"联系人"
align=
"center"
prop=
"linkman"
/>
<el-table-column
label=
"电话"
align=
"center"
prop=
"phone"
/>
<el-table-column
label=
"邮箱"
align=
"center"
prop=
"email"
/>
<
el-table-column
label=
"备注"
align=
"center"
prop=
"remarks"
/
>
<
!--
<el-table-column
label=
"备注"
align=
"center"
prop=
"remarks"
/>
--
>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<template
slot-scope=
"scope"
>
<el-button
...
...
@@ -270,10 +248,10 @@ export default {
form
:
{},
// 表单校验
rules
:
{
username
:
[
/*
username: [
{ required: true, message: "请输入用户账号", trigger: "blur" },
// { min: 0, max: 20, message: "长度20位", trigger: "blur" },
],
],
*/
nickName
:
[
{
required
:
true
,
message
:
"请输入用户名称"
,
trigger
:
"blur"
},
// { min: 0, max: 20, message: "长度20位", trigger: "blur" },
...
...
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