Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pet-business-web
Project
Project
Details
Activity
Releases
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
刘怀志
pet-business-web
Commits
ecf4fa06
Commit
ecf4fa06
authored
Aug 21, 2023
by
盖献康
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
75dc3281
8e60b8e0
Changes
30
Hide whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
97 additions
and
51 deletions
+97
-51
btn.scss
src/assets/styles/btn.scss
+11
-2
index.vue
src/components/ImageUpload/index.vue
+1
-1
index.js
src/router/index.js
+7
-0
article-detail.vue
src/views/article-management/article-detail.vue
+1
-1
article-edit.vue
src/views/article-management/article-edit.vue
+2
-2
article-management.vue
src/views/article-management/article-management.vue
+1
-1
banner_add.vue
src/views/banner_management/banner_add.vue
+7
-4
banner_detail.vue
src/views/banner_management/banner_detail.vue
+8
-5
banner_edit.vue
src/views/banner_management/banner_edit.vue
+8
-5
hospital-data-statistics.vue
...ics/hospital-data-statistics/hospital-data-statistics.vue
+22
-1
service-statistics.vue
...data-statistics/service-statistics/service-statistics.vue
+2
-1
equipment-detail.vue
...ment-management/equipment-management/equipment-detail.vue
+1
-1
medical-edit.vue
src/views/medical-record-management/medical-edit.vue
+4
-5
index.vue
src/views/monitor/job/index.vue
+1
-1
role-management.vue
...views/role-permission/role-management/role-management.vue
+2
-2
medical-record-management.vue
...t/medical-record-management/medical-record-management.vue
+1
-1
choose-pet.vue
...e-management/registration-queue/components/choose-pet.vue
+3
-3
index.vue
src/views/system/config/index.vue
+1
-1
index.vue
src/views/system/dept/index.vue
+1
-1
data.vue
src/views/system/dict/data.vue
+1
-1
index.vue
src/views/system/dict/index.vue
+1
-1
index.vue
src/views/system/menu/index.vue
+1
-1
index.vue
src/views/system/notice/index.vue
+1
-1
index.vue
src/views/system/post/index.vue
+1
-1
index.vue
src/views/system/role/index.vue
+2
-2
index.vue
src/views/system/user/index.vue
+2
-2
hospitalInfo.vue
src/views/system/user/profile/hospitalInfo.vue
+1
-1
resetPwd.vue
src/views/system/user/profile/resetPwd.vue
+1
-1
userAvatar.vue
src/views/system/user/profile/userAvatar.vue
+1
-1
userInfo.vue
src/views/system/user/profile/userInfo.vue
+1
-1
No files found.
src/assets/styles/btn.scss
View file @
ecf4fa06
...
...
@@ -114,6 +114,11 @@
border
:
1px
solid
#5BB647
!
important
;
color
:
#FFFFFF
!
important
;
}
&
.is-disabled
,
&
.is-disabled
:hover
,
&
.is-disabled
:focus
,
&
.permi-disabled
,
&
.permi-disabled
:hover
,
&
.permi-disabled
:focus
{
background
:
#83C374
!
important
;
color
:
#FFFFFF
!
important
;
border
:
1px
solid
#83C374
!
important
;
}
}
// 四个字白色按钮
.fourWordswhiteBtn
{
...
...
@@ -192,6 +197,11 @@
color
:
#FFFFFF
!
important
;
border
:
1px
solid
#55A343
!
important
;
}
&
.is-disabled
,
&
.is-disabled
:hover
,
&
.is-disabled
:focus
,
&
.permi-disabled
,
&
.permi-disabled
:hover
,
&
.permi-disabled
:focus
{
background
:
#83C374
!
important
;
color
:
#FFFFFF
!
important
;
border
:
1px
solid
#83C374
!
important
;
}
}
/** 删除按钮(四个字的删除)样式*/
.delBtn
{
...
...
@@ -276,13 +286,12 @@
}
/** 权限重写,所未勾选权限按钮的悬浮状态 */
.
permi-disabled
{
.
el-button.is-disabled
,
.el-button.is-disabled
:hover
,
.el-button.is-disabled
:focus
,
.el-button.permi-disabled
,
.el-button.permi-disabled
:hover
,
.el-button.permi-disabled
:focus
{
cursor
:
not
-
allowed
;
background
:
rgba
(
201
,
201
,
201
,
0
.08
)
!
important
;
border
:
1px
solid
#C9C9C9
!
important
;
opacity
:
1
;
border-radius
:
4px
!
important
;
font-size
:
12px
;
font-family
:
Microsoft
YaHei
;
font-weight
:
400
;
color
:
#C9C9C9
!
important
;
...
...
src/components/ImageUpload/index.vue
View file @
ecf4fa06
...
...
@@ -175,7 +175,7 @@ export default {
var
img
=
file
.
name
.
substring
(
file
.
name
.
lastIndexOf
(
'.'
)
+
1
)
const
suffix
=
img
===
'jpg'
||
img
===
'png'
||
img
===
'jpeg'
if
(
!
suffix
)
{
this
.
$message
.
error
(
'只能上传图片!'
)
this
.
$message
.
error
(
`文件格式不正确, 请上传
${
this
.
fileType
.
join
(
'/'
)}
图片格式文件`
)
return
false
}
// URL.createObjectURL的参数只能是blob或者file类型
...
...
src/router/index.js
View file @
ecf4fa06
...
...
@@ -338,6 +338,13 @@ export const constantRoutes = [
component
:
()
=>
import
(
'@/views/service-management/medical-record-management/check-detail.vue'
),
name
:
'Check-detail'
,
meta
:
{
title
:
'检查详情'
,
icon
:
'component'
}
},
{
path
:
'medical-detail'
,
props
:
true
,
component
:
()
=>
import
(
'@/views/medical-record-management/medical-edit.vue'
),
name
:
'Medical-detail'
,
meta
:
{
title
:
'病历详情'
,
icon
:
'component'
}
}
]
},
...
...
src/views/article-management/article-detail.vue
View file @
ecf4fa06
...
...
@@ -160,7 +160,7 @@ export default {
if
(
valid
)
{
if
(
this
.
form
.
id
!=
null
)
{
updateArticle
(
this
.
form
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
'
修改
成功'
)
this
.
$modal
.
msgSuccess
(
'
编辑
成功'
)
this
.
open
=
false
this
.
getList
()
})
...
...
src/views/article-management/article-edit.vue
View file @
ecf4fa06
...
...
@@ -194,7 +194,7 @@ export default {
// updateArticle(this.form).then(response => {
// this.$message({
// type: 'success',
// message: '
修改
成功!'
// message: '
编辑
成功!'
// })
// this.goBack()
// })
...
...
@@ -211,7 +211,7 @@ export default {
// if (valid) {
// if (this.form.id != null) {
// updateArticle(this.form).then(response => {
// this.$modal.msgSuccess('
修改
成功')
// this.$modal.msgSuccess('
编辑
成功')
// this.open = false
// this.getList()
// })
...
...
src/views/article-management/article-management.vue
View file @
ecf4fa06
...
...
@@ -477,7 +477,7 @@ export default {
if
(
valid
)
{
if
(
this
.
form
.
id
!=
null
)
{
updateArticle
(
this
.
form
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
'
修改
成功'
)
this
.
$modal
.
msgSuccess
(
'
编辑
成功'
)
this
.
open
=
false
this
.
getList
()
}
)
...
...
src/views/banner_management/banner_add.vue
View file @
ecf4fa06
...
...
@@ -14,10 +14,10 @@
</div>
</div>
</div>
<div>
<div
class=
"formMsg"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"112px"
:rules=
"rules"
>
<el-form-item
label=
"标题"
prop=
"title"
>
<el-input
v-model
.
trim=
"form.title"
class=
"form-input"
style=
"width: 420px"
maxlength=
"12"
clearable
placeholder=
"请输入标题"
/>
<el-input
v-model
.
trim=
"form.title"
class=
"form-input"
maxlength=
"12"
clearable
placeholder=
"请输入标题"
/>
</el-form-item>
<el-form-item
label=
"轮播图"
prop=
"img"
>
<image-upload
...
...
@@ -28,7 +28,7 @@
/>
</el-form-item>
<el-form-item
label=
"跳转地址"
prop=
"url"
>
<el-input
v-model
.
trim=
"form.url"
class=
"form-input"
style=
"width: 420px"
maxlength=
"255"
clearable
placeholder=
"请输入跳转地址"
/>
<el-input
v-model
.
trim=
"form.url"
class=
"form-input"
maxlength=
"255"
clearable
placeholder=
"请输入跳转地址"
/>
</el-form-item>
<el-form-item
label=
"权重"
prop=
"sort"
>
<el-input-number
...
...
@@ -52,7 +52,7 @@
</span>
</el-form-item>
<el-form-item
label=
"备注"
prop=
"notes"
>
<el-input
v-model
.
trim=
"form.notes"
type=
"textarea"
rows=
"3"
class=
"form-input"
style=
"width: 420px"
maxlength=
"60"
clearable
placeholder=
"请输入备注(0/60)
"
show-word-limit
/>
<el-input
v-model
.
trim=
"form.notes"
type=
"textarea"
rows=
"3"
class=
"form-input"
maxlength=
"60"
clearable
placeholder=
"请输入备注
"
show-word-limit
/>
</el-form-item>
<el-form-item>
<el-button
:loading=
"submitLoading"
class=
"queryBtn"
icon=
"el-icon-check"
@
click=
"submitForm"
>
提交
</el-button>
...
...
@@ -212,6 +212,9 @@ export default {
</
script
>
<
style
lang=
"scss"
scoped
>
.formMsg
{
width
:
50%
;
}
.banner-container
{
background-color
:
#ffffff
;
.tip1
{
...
...
src/views/banner_management/banner_detail.vue
View file @
ecf4fa06
...
...
@@ -14,16 +14,16 @@
</div>
</div>
</div>
<div>
<div
class=
"formMsg"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"109px"
>
<el-form-item
label=
"标题"
prop=
"title"
>
<el-input
v-model
.
trim=
"form.title"
class=
"form-input"
style=
"width: 420px"
maxlength=
"20"
show-word-limit
clearable
disabled
/>
<el-input
v-model
.
trim=
"form.title"
class=
"form-input"
maxlength=
"20"
show-word-limit
clearable
disabled
/>
</el-form-item>
<el-form-item
label=
"轮播图"
prop=
"img"
>
<ImagePreview
:height=
"100"
:src=
"baseUrl + form.img"
:width=
"100"
/>
</el-form-item>
<el-form-item
label=
"跳转地址"
prop=
"url"
>
<el-input
v-model=
"form.url"
class=
"form-input"
style=
"width: 420px"
maxlength=
"30"
show-word-limit
clearable
disabled
/>
<el-input
v-model=
"form.url"
class=
"form-input"
maxlength=
"30"
show-word-limit
clearable
disabled
/>
</el-form-item>
<el-form-item
label=
"权重"
prop=
"sort"
>
<el-input-number
...
...
@@ -36,7 +36,7 @@
/>
</el-form-item>
<el-form-item
label=
"创建日期"
prop=
"createTime"
>
<
span>
{{
form
.
createTime
}}
</span
>
<
el-input
disabled=
"true"
:placeholder=
"form.createTime"
/
>
</el-form-item>
<el-form-item
label=
"状态"
prop=
"status"
>
<span
style=
"height: 2.5rem;line-height: 2.5rem"
>
...
...
@@ -51,7 +51,7 @@
</span>
</el-form-item>
<el-form-item
label=
"备注"
prop=
"notes"
>
<el-input
v-model
.
trim=
"form.notes"
type=
"textarea"
rows=
"3"
show-word-limit
disabled
class=
"form-input"
style=
"width: 420px
"
maxlength=
"60"
clearable
/>
<el-input
v-model
.
trim=
"form.notes"
type=
"textarea"
rows=
"3"
disabled
class=
"form-input
"
maxlength=
"60"
clearable
/>
</el-form-item>
<el-form-item>
<el-button
class=
"resetBtn"
icon=
"el-icon-back"
@
click=
"goBack"
>
返回
</el-button>
...
...
@@ -115,6 +115,9 @@ export default {
</
script
>
<
style
lang=
"scss"
scoped
>
.formMsg
{
width
:
50%
;
}
.banner-container
{
background-color
:
#ffffff
;
.tip1
{
...
...
src/views/banner_management/banner_edit.vue
View file @
ecf4fa06
...
...
@@ -14,10 +14,10 @@
</div>
</div>
</div>
<div>
<div
class=
"formMsg"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"112px"
:rules=
"rules"
>
<el-form-item
label=
"标题"
prop=
"title"
>
<el-input
v-model
.
trim=
"form.title"
class=
"form-input"
style=
"width: 420px"
maxlength=
"12"
clearable
:disabled=
"form.id === 1"
placeholder=
"请输入标题"
/>
<el-input
v-model
.
trim=
"form.title"
class=
"form-input"
maxlength=
"12"
clearable
:disabled=
"form.id === 1"
placeholder=
"请输入标题"
/>
</el-form-item>
<el-form-item
label=
"轮播图"
prop=
"img"
>
<image-upload
...
...
@@ -28,7 +28,7 @@
/>
</el-form-item>
<el-form-item
label=
"跳转地址"
prop=
"url"
>
<el-input
v-model
.
trim=
"form.url"
class=
"form-input"
style=
"width: 420px"
maxlength=
"255"
clearable
:disabled=
"form.id === 1"
placeholder=
"请输入跳转地址"
/>
<el-input
v-model
.
trim=
"form.url"
class=
"form-input"
maxlength=
"255"
clearable
:disabled=
"form.id === 1"
placeholder=
"请输入跳转地址"
/>
</el-form-item>
<el-form-item
label=
"权重"
prop=
"sort"
>
<el-input-number
...
...
@@ -43,7 +43,7 @@
/>
</el-form-item>
<el-form-item
label=
"创建日期"
prop=
"createTime"
>
<
span>
{{
form
.
createTime
}}
</span
>
<
el-input
disabled=
"true"
:placeholder=
"form.createTime"
/
>
</el-form-item>
<el-form-item
label=
"状态"
prop=
"status"
>
<span
style=
"height: 2.5rem;line-height: 2.5rem"
>
...
...
@@ -58,7 +58,7 @@
</span>
</el-form-item>
<el-form-item
label=
"备注"
prop=
"notes"
>
<el-input
v-model
.
trim=
"form.notes"
type=
"textarea"
rows=
"3"
:disabled=
"form.id === 1"
class=
"form-input"
style=
"width: 420px"
maxlength=
"60"
clearable
placeholder=
"请输入备注(0/60)
"
show-word-limit
/>
<el-input
v-model
.
trim=
"form.notes"
type=
"textarea"
rows=
"3"
:disabled=
"form.id === 1"
class=
"form-input"
maxlength=
"60"
clearable
placeholder=
"请输入备注
"
show-word-limit
/>
</el-form-item>
<el-form-item>
<el-button
:loading=
"submitLoading"
class=
"queryBtn"
icon=
"el-icon-check"
@
click=
"submitForm"
>
提交
</el-button>
...
...
@@ -242,6 +242,9 @@ export default {
</
script
>
<
style
lang=
"scss"
scoped
>
.formMsg
{
width
:
50%
;
}
.banner-container
{
background-color
:
#ffffff
;
.tip1
{
...
...
src/views/data-statistics/hospital-data-statistics/hospital-data-statistics.vue
View file @
ecf4fa06
...
...
@@ -390,10 +390,11 @@ export default {
}
,
watch
:
{
}
,
created
()
{
// this.loading = fals
e
this
.
loading
=
tru
e
this
.
getStatistics
()
this
.
getHospitalList
()
// this.justTest()
// this.loading = true
}
,
methods
:
{
justTest
()
{
...
...
@@ -514,6 +515,26 @@ export default {
<
/script
>
<
style
scoped
lang
=
"scss"
>
//::v-deep .el-loading-spinner
{
// width: 56px;
// height: 56px;
// top: 50%;
// left: 50%;
// transform: translate(-28px, -28px);
// background: url("../../../assets/images/loading.png");
// background-size: 100% 100%;
// animation: loading-rotate 2s linear infinite;
// @keyframes loading-rotate
{
// 0%
{
// transform: rotate(0deg);
//
//
}
// 100%
{
// transform: rotate(360deg);
//
//
}
//
}
//
}
.
fatherDiv
{
background
-
color
:
#
F4F4F4
;
padding
-
top
:
24
px
...
...
src/views/data-statistics/service-statistics/service-statistics.vue
View file @
ecf4fa06
...
...
@@ -1002,7 +1002,8 @@ export default {
}
,
handleRecordDetail
(
row
)
{
this
.
$router
.
push
({
name
:
'MedicalDetail'
,
params
:
{
id
:
row
.
id
}
path
:
'/data-statistics/medical-detail'
,
params
:
{
id
:
row
.
id
}
}
)
}
,
serviceDetail
(
row
)
{
...
...
src/views/equipment-management/equipment-management/equipment-detail.vue
View file @
ecf4fa06
...
...
@@ -1157,7 +1157,7 @@ export default {
}).
then
(()
=>
{
updateDevice
(
form
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
'
修改
成功'
)
this
.
$modal
.
msgSuccess
(
'
编辑
成功'
)
this
.
cancel
()
console
.
log
(
'this.form)'
,
form
)
})
...
...
src/views/medical-record-management/medical-edit.vue
View file @
ecf4fa06
...
...
@@ -431,7 +431,6 @@ color: #333333;"
<el-form-item
label=
"诊断结果"
prop=
"diagnosisResult"
>
<el-input
v-model
.
trim=
"detailInfo.diagnosisResult"
show-word-limit
:disabled=
"!isEdit"
maxlength=
"20"
:placeholder=
"isEdit? '请输入诊断结果' : '-'"
...
...
@@ -1211,9 +1210,9 @@ color: #333333;"
style=
"width: 100%; height: 60vh"
scrolling=
"auto"
/>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
class=
"queryBtn"
@
click=
"closeReportModle"
>
确 定
</el-button
>
</div
>
<!-- <div slot="footer" class="dialog-footer">--
>
<!-- <el-button class="queryBtn" @click="closeReportModle">确 定</el-button>--
>
<!-- </div>--
>
</el-dialog>
</div>
</template>
...
...
@@ -1626,7 +1625,7 @@ export default {
editRecord
(
temp
).
then
(
res
=>
{
this
.
$message
({
type
:
'success'
,
message
:
'
修改
成功'
message
:
'
编辑
成功'
})
console
.
log
(
'editRecord'
,
res
)
this
.
$router
.
push
(
'/medical-record-management/index'
)
...
...
src/views/monitor/job/index.vue
View file @
ecf4fa06
...
...
@@ -487,7 +487,7 @@ export default {
if
(
valid
)
{
if
(
this
.
form
.
jobId
!==
undefined
)
{
updateJob
(
this
.
form
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
'
修改
成功'
)
this
.
$modal
.
msgSuccess
(
'
编辑
成功'
)
this
.
open
=
false
this
.
getList
()
})
...
...
src/views/role-permission/role-management/role-management.vue
View file @
ecf4fa06
...
...
@@ -565,7 +565,7 @@ export default {
if
(
this
.
form
.
roleId
!==
undefined
)
{
this
.
form
.
menuIds
=
this
.
getMenuAllCheckedKeys
()
updateRole
(
this
.
form
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
'
修改
成功'
)
this
.
$modal
.
msgSuccess
(
'
编辑
成功'
)
this
.
open
=
false
this
.
getList
()
})
...
...
@@ -585,7 +585,7 @@ export default {
if
(
this
.
form
.
roleId
!==
undefined
)
{
this
.
form
.
deptIds
=
this
.
getDeptAllCheckedKeys
()
dataScope
(
this
.
form
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
'
修改
成功'
)
this
.
$modal
.
msgSuccess
(
'
编辑
成功'
)
this
.
openDataScope
=
false
this
.
getList
()
})
...
...
src/views/service-management/medical-record-management/medical-record-management.vue
View file @
ecf4fa06
...
...
@@ -818,7 +818,7 @@ export default {
if
(
valid
)
{
if
(
this
.
form
.
id
!=
null
)
{
updateManage
(
this
.
form
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
'
修改
成功'
)
this
.
$modal
.
msgSuccess
(
'
编辑
成功'
)
this
.
open
=
false
this
.
getList
()
}
)
...
...
src/views/service-management/registration-queue/components/choose-pet.vue
View file @
ecf4fa06
...
...
@@ -116,8 +116,8 @@
@
pagination=
"getList"
/>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
class=
"queryBtn"
@
click=
"choosePet"
>
确 定
</el-button>
<el-button
class=
"resetBtn"
@
click=
"closeModle"
>
取 消
</el-button>
<el-button
class=
"queryBtn"
@
click=
"choosePet"
>
确 定
</el-button>
</div>
</el-dialog>
</template>
...
...
@@ -239,7 +239,7 @@ export default {
this
.
queryParams
=
{
// 导出列表
pageNum
:
1
,
pageSize
:
10
,
pageSize
:
6
,
petCode
:
''
,
ownerName
:
''
,
phone
:
''
,
...
...
@@ -267,7 +267,7 @@ export default {
this
.
queryParams
=
{
// 导出列表
pageNum
:
1
,
pageSize
:
10
,
pageSize
:
6
,
petCode
:
''
,
ownerName
:
''
,
phone
:
''
,
...
...
src/views/system/config/index.vue
View file @
ecf4fa06
...
...
@@ -302,7 +302,7 @@ export default {
if
(
valid
)
{
if
(
this
.
form
.
configId
!==
undefined
)
{
updateConfig
(
this
.
form
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
'
修改
成功'
)
this
.
$modal
.
msgSuccess
(
'
编辑
成功'
)
this
.
open
=
false
this
.
getList
()
})
...
...
src/views/system/dept/index.vue
View file @
ecf4fa06
...
...
@@ -312,7 +312,7 @@ export default {
if
(
valid
)
{
if
(
this
.
form
.
deptId
!==
undefined
)
{
updateDept
(
this
.
form
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
'
修改
成功'
)
this
.
$modal
.
msgSuccess
(
'
编辑
成功'
)
this
.
open
=
false
this
.
getList
()
})
...
...
src/views/system/dict/data.vue
View file @
ecf4fa06
...
...
@@ -365,7 +365,7 @@ export default {
if
(
this
.
form
.
dictCode
!==
undefined
)
{
updateData
(
this
.
form
).
then
(
response
=>
{
this
.
$store
.
dispatch
(
'dict/removeDict'
,
this
.
queryParams
.
dictType
)
this
.
$modal
.
msgSuccess
(
'
修改
成功'
)
this
.
$modal
.
msgSuccess
(
'
编辑
成功'
)
this
.
open
=
false
this
.
getList
()
})
...
...
src/views/system/dict/index.vue
View file @
ecf4fa06
...
...
@@ -305,7 +305,7 @@ export default {
if
(
valid
)
{
if
(
this
.
form
.
dictId
!==
undefined
)
{
updateType
(
this
.
form
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
'
修改
成功'
)
this
.
$modal
.
msgSuccess
(
'
编辑
成功'
)
this
.
open
=
false
this
.
getList
()
})
...
...
src/views/system/menu/index.vue
View file @
ecf4fa06
...
...
@@ -424,7 +424,7 @@ export default {
if
(
valid
)
{
if
(
this
.
form
.
menuId
!==
undefined
)
{
updateMenu
(
this
.
form
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
'
修改
成功'
)
this
.
$modal
.
msgSuccess
(
'
编辑
成功'
)
this
.
open
=
false
this
.
getList
()
})
...
...
src/views/system/notice/index.vue
View file @
ecf4fa06
...
...
@@ -283,7 +283,7 @@ export default {
if
(
valid
)
{
if
(
this
.
form
.
noticeId
!==
undefined
)
{
updateNotice
(
this
.
form
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
'
修改
成功'
)
this
.
$modal
.
msgSuccess
(
'
编辑
成功'
)
this
.
open
=
false
this
.
getList
()
}
)
...
...
src/views/system/post/index.vue
View file @
ecf4fa06
...
...
@@ -274,7 +274,7 @@ export default {
if
(
valid
)
{
if
(
this
.
form
.
postId
!==
undefined
)
{
updatePost
(
this
.
form
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
'
修改
成功'
)
this
.
$modal
.
msgSuccess
(
'
编辑
成功'
)
this
.
open
=
false
this
.
getList
()
})
...
...
src/views/system/role/index.vue
View file @
ecf4fa06
...
...
@@ -565,7 +565,7 @@ export default {
if
(
this
.
form
.
roleId
!==
undefined
)
{
this
.
form
.
menuIds
=
this
.
getMenuAllCheckedKeys
()
updateRole
(
this
.
form
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
'
修改
成功'
)
this
.
$modal
.
msgSuccess
(
'
编辑
成功'
)
this
.
open
=
false
this
.
getList
()
})
...
...
@@ -585,7 +585,7 @@ export default {
if
(
this
.
form
.
roleId
!==
undefined
)
{
this
.
form
.
deptIds
=
this
.
getDeptAllCheckedKeys
()
dataScope
(
this
.
form
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
'
修改
成功'
)
this
.
$modal
.
msgSuccess
(
'
编辑
成功'
)
this
.
openDataScope
=
false
this
.
getList
()
})
...
...
src/views/system/user/index.vue
View file @
ecf4fa06
...
...
@@ -600,7 +600,7 @@ export default {
inputErrorMessage
:
'用户密码长度必须介于 5 和 20 之间'
}).
then
(({
value
})
=>
{
resetUserPwd
(
row
.
userId
,
value
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
'
修改
成功,新密码是:'
+
value
)
this
.
$modal
.
msgSuccess
(
'
编辑
成功,新密码是:'
+
value
)
})
}).
catch
(()
=>
{})
},
...
...
@@ -615,7 +615,7 @@ export default {
if
(
valid
)
{
if
(
this
.
form
.
userId
!==
undefined
)
{
updateUser
(
this
.
form
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
'
修改
成功'
)
this
.
$modal
.
msgSuccess
(
'
编辑
成功'
)
this
.
open
=
false
this
.
getList
()
})
...
...
src/views/system/user/profile/hospitalInfo.vue
View file @
ecf4fa06
...
...
@@ -52,7 +52,7 @@ export default {
this
.
$refs
[
'form'
].
validate
(
valid
=>
{
if
(
valid
)
{
updateHospital
(
this
.
hospital
).
then
(
res
=>
{
this
.
$modal
.
msgSuccess
(
'
修改
成功'
)
this
.
$modal
.
msgSuccess
(
'
编辑
成功'
)
})
}
})
...
...
src/views/system/user/profile/resetPwd.vue
View file @
ecf4fa06
...
...
@@ -55,7 +55,7 @@ export default {
this
.
$refs
[
'form'
].
validate
(
valid
=>
{
if
(
valid
)
{
updateUserPwd
(
this
.
user
.
oldPassword
,
this
.
user
.
newPassword
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
'
修改
成功'
)
this
.
$modal
.
msgSuccess
(
'
编辑
成功'
)
})
}
})
...
...
src/views/system/user/profile/userAvatar.vue
View file @
ecf4fa06
...
...
@@ -142,7 +142,7 @@ export default {
// this.open = false;
// this.options.img = process.env.VUE_APP_BASE_API + response.imgUrl;
// store.commit('SET_AVATAR', this.options.img);
// this.$modal.msgSuccess("
修改
成功");
// this.$modal.msgSuccess("
编辑
成功");
// this.visible = false;
// });
})
...
...
src/views/system/user/profile/userInfo.vue
View file @
ecf4fa06
...
...
@@ -62,7 +62,7 @@ export default {
this
.
$refs
[
'form'
].
validate
(
valid
=>
{
if
(
valid
)
{
updateUserProfile
(
this
.
user
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
'
修改
成功'
)
this
.
$modal
.
msgSuccess
(
'
编辑
成功'
)
})
}
})
...
...
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