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
b03909ac
Commit
b03909ac
authored
Jun 29, 2023
by
盖献康
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
a1188f3b
19eb18a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
banner_management.vue
src/views/banner_management/banner_management.vue
+6
-6
choose-pet.vue
...e-management/registration-queue/components/choose-pet.vue
+7
-7
No files found.
src/views/banner_management/banner_management.vue
View file @
b03909ac
...
@@ -152,7 +152,7 @@
...
@@ -152,7 +152,7 @@
type=
"warning"
type=
"warning"
@
click=
"deListBanner(scope.row)"
@
click=
"deListBanner(scope.row)"
:disabled=
"scope.row.id === 1"
:disabled=
"scope.row.id === 1"
>
下架
>
禁用
</el-button>
</el-button>
</div>
</div>
</div>
</div>
...
@@ -333,13 +333,13 @@ export default {
...
@@ -333,13 +333,13 @@ export default {
...
this
.
queryParams
...
this
.
queryParams
},
`banner_
${
new
Date
().
getTime
()}
.xlsx`
)
},
`banner_
${
new
Date
().
getTime
()}
.xlsx`
)
},
},
/**
下架
轮播图 */
/**
禁用
轮播图 */
deListBanner
(
row
)
{
deListBanner
(
row
)
{
const
update
=
{
const
update
=
{
id
:
row
.
id
,
id
:
row
.
id
,
status
:
'2'
status
:
'2'
}
}
this
.
$modal
.
confirm
(
'是否确认
下架
该轮播图信息?'
).
then
(
function
()
{
this
.
$modal
.
confirm
(
'是否确认
禁用
该轮播图信息?'
).
then
(
function
()
{
updateBanner
(
update
).
then
(
res
=>
{
updateBanner
(
update
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
this
.
getBannerList
()
this
.
getBannerList
()
...
@@ -348,7 +348,7 @@ export default {
...
@@ -348,7 +348,7 @@ export default {
return
null
return
null
}).
then
(()
=>
{
}).
then
(()
=>
{
this
.
getBannerList
()
this
.
getBannerList
()
this
.
$modal
.
msgSuccess
(
'
下架
成功'
)
this
.
$modal
.
msgSuccess
(
'
禁用
成功'
)
}).
catch
(()
=>
{})
}).
catch
(()
=>
{})
}
}
}
}
...
@@ -379,13 +379,13 @@ export default {
...
@@ -379,13 +379,13 @@ export default {
color
:
#666666
!
important
;
color
:
#666666
!
important
;
width
:
200px
!
important
;
width
:
200px
!
important
;
}
}
/*表格上
下架
状态颜色样式*/
/*表格上
禁用
状态颜色样式*/
/*上架*/
/*上架*/
::v-deep
.status-grounding
{
::v-deep
.status-grounding
{
color
:
#67C23A
;
color
:
#67C23A
;
}
}
/*
下架
*/
/*
禁用
*/
::v-deep
.status-offshelf
{
::v-deep
.status-offshelf
{
color
:
#f5aa6c
;
color
:
#f5aa6c
;
}
}
...
...
src/views/service-management/registration-queue/components/choose-pet.vue
View file @
b03909ac
...
@@ -130,13 +130,13 @@ export default {
...
@@ -130,13 +130,13 @@ export default {
petStatus
:
''
petStatus
:
''
},
},
rules
:
{
rules
:
{
phone
:
[
//
phone: [
{
//
{
pattern
:
/^1
[
3|4|5|6|7|8|9
][
0-9
]\d{8}
$/
,
//
pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/,
message
:
'请输入正确的手机号码'
,
//
message: '请输入正确的手机号码',
trigger
:
'blur'
//
trigger: 'blur'
}
//
}
]
//
]
},
},
// 选中数据
// 选中数据
chooseData
:
{},
chooseData
:
{},
...
...
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