Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
O
on-site-service-admin-view
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
external
on-site-service-admin-view
Commits
a88d2aa1
Commit
a88d2aa1
authored
Aug 10, 2022
by
shangtx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: websocket消息和服务小类编辑校验
parent
6f1f844c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
websocket.js
src/util/websocket.js
+3
-3
SubClassEdit.vue
src/views/serv/SubClassEdit.vue
+2
-2
No files found.
src/util/websocket.js
View file @
a88d2aa1
...
...
@@ -46,12 +46,12 @@ export default class SocketService {
static
onmessage
(
e
)
{
console
.
info
(
'from server'
,
e
)
const
{
data
}
=
e
if
(
data
==
1
)
{
if
(
data
==
'1'
||
data
==
'2'
)
{
const
message
=
data
==
'1'
?
'用户已支付,请派单'
:
'用户已支付'
notification
.
open
({
message
:
'消息提醒'
,
description
:
'用户已支付,请派单'
,
description
:
message
,
key
:
'orderNotification'
,
btn
:
h
=>
{
return
h
(
...
...
src/views/serv/SubClassEdit.vue
View file @
a88d2aa1
...
...
@@ -10,12 +10,12 @@
<a-form-item
:label=
"`服务大类: $
{categoryName}`">
</a-form-item>
<a-col
:span=
"11"
>
<a-form-item
label=
"名称"
>
<a-input
v-decorator=
"['serviceName']"
/>
<a-input
v-decorator=
"['serviceName'
,
{rules: [{required: true, message: '请填写名称'}]}
]" />
</a-form-item>
</a-col>
<a-col
:span=
"11"
:offset=
"1"
>
<a-form-item
label=
"次级标题"
>
<a-input
v-decorator=
"['description']"
/>
<a-input
v-decorator=
"['description'
,
{rules: [{required: true, message: '请填写标题'}]}
]" />
</a-form-item>
</a-col>
<a-col
:span=
"5"
>
...
...
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