Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
peizhen-vue
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PeiZhen-Java
peizhen-vue
Commits
5e0efc57
Commit
5e0efc57
authored
a year ago
by
‘巴博尔’
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改医院管理
parent
76b61129
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
75 additions
and
11 deletions
+75
-11
src/views/hispotalManage/doctor/index.vue
+0
-0
src/views/hispotalManage/hospital/index.vue
+0
-0
src/views/hispotalManage/office/index.vue
+0
-0
src/views/system/user/index.vue
+75
-11
No files found.
src/views/hispotalManage/doctor/index.vue
View file @
5e0efc57
This diff is collapsed.
Click to expand it.
src/views/hispotalManage/hospital/index.vue
View file @
5e0efc57
This diff is collapsed.
Click to expand it.
src/views/hispotalManage/office/index.vue
View file @
5e0efc57
This diff is collapsed.
Click to expand it.
src/views/system/user/index.vue
View file @
5e0efc57
...
...
@@ -105,7 +105,8 @@
size=
"mini"
@
click=
"handleAdd"
v-hasPermi=
"['system:user:add']"
>
新增
</el-button>
>
新增
</el-button
>
</el-col>
<!--
<el-col
:span=
"1.5"
>
<el-button
...
...
@@ -284,8 +285,8 @@
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"600px"
append-to-body
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"80px"
>
<el-row>
<el-col
:span=
"
12
"
>
<el-form-item
label=
"用户
昵称
"
prop=
"nickName"
>
<el-col
:span=
"
24
"
>
<el-form-item
label=
"用户
名
"
prop=
"nickName"
>
<el-input
v-model=
"form.nickName"
placeholder=
"请输入用户昵称"
...
...
@@ -293,7 +294,16 @@
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"名称"
prop=
"userName"
>
<el-input
v-model=
"form.userName"
placeholder=
"请输入名称"
maxlength=
"30"
/>
</el-form-item>
</el-col>
<!-- <el-col :span="12">
<el-form-item label="归属部门" prop="deptId">
<treeselect
v-model="form.deptId"
...
...
@@ -302,10 +312,62 @@
placeholder="请选择归属部门"
/>
</el-form-item>
</el-col>
</el-col>
-->
</el-row>
<el-row>
<el-col
:span=
"12"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"密码"
prop=
"password"
>
<el-input
v-model=
"form.password"
placeholder=
"请输入密码"
type=
"password"
maxlength=
"20"
show-password
/>
</el-form-item>
</el-col>
<el-col
:span=
"24"
>
<el-form-item
label=
"确认密码"
prop=
"password"
>
<el-input
v-model=
"form.password"
placeholder=
"请输入确认密码"
type=
"password"
maxlength=
"20"
show-password
/>
</el-form-item>
</el-col>
<el-col
:span=
"24"
>
<el-form-item
label=
"角色"
>
<el-select
v-model=
"form.roleIds"
multiple
placeholder=
"请选择角色"
>
<el-option
v-for=
"item in roleOptions"
:key=
"item.roleId"
:label=
"item.roleName"
:value=
"item.roleId"
:disabled=
"item.status == 1"
></el-option>
</el-select>
</el-form-item>
</el-col>
<
template
v-if=
"title === '修改'"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"创建时间"
prop=
""
>
<el-input
disabled
/>
</el-form-item>
</el-col>
<el-col
:span=
"24"
>
<el-form-item
label=
"更新时间"
prop=
""
>
<el-input
disabled
/>
</el-form-item>
</el-col>
</
template
>
<!-- <el-col :span="12">
<el-form-item label="手机号码" prop="phonenumber">
<el-input
v-model="form.phonenumber"
...
...
@@ -322,9 +384,9 @@
maxlength="50"
/>
</el-form-item>
</el-col>
</el-col>
-->
</el-row>
<el-row>
<
!-- <
el-row>
<el-col :span="12">
<el-form-item
v-if="form.userId == undefined"
...
...
@@ -426,7 +488,7 @@
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-row>
-->
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"submitForm"
>
确 定
</el-button>
...
...
@@ -727,7 +789,8 @@ export default {
this
.
postOptions
=
response
.
data
.
posts
;
this
.
roleOptions
=
response
.
data
.
roles
;
this
.
open
=
true
;
this
.
title
=
"添加用户"
;
// this.title = "添加用户";
this
.
title
=
"新增"
;
this
.
form
.
password
=
this
.
initPassword
;
});
},
...
...
@@ -742,7 +805,8 @@ export default {
this
.
$set
(
this
.
form
,
"postIds"
,
response
.
data
.
postIds
);
this
.
$set
(
this
.
form
,
"roleIds"
,
response
.
data
.
roleIds
);
this
.
open
=
true
;
this
.
title
=
"修改用户"
;
// this.title = "修改用户";
this
.
title
=
"修改"
;
this
.
form
.
password
=
""
;
});
},
...
...
This diff is collapsed.
Click to expand it.
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