Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dcxy-system
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
姜雷
dcxy-system
Commits
68b04e81
Commit
68b04e81
authored
Apr 01, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改服务类型中的字段名
parent
ed162585
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
mixin.js
src/components/input/ServiceTypeSelect/mixin.js
+1
-1
serviceTypeStore.js
src/components/input/ServiceTypeSelect/serviceTypeStore.js
+2
-2
No files found.
src/components/input/ServiceTypeSelect/mixin.js
View file @
68b04e81
...
...
@@ -19,7 +19,7 @@ export default {
if
(
!
this
.
serviceTypeLists
[
this
.
ServiceType
].
length
)
{
this
.
fetchServiceTypeList
({
serviceType
:
this
.
ServiceType
,
state
:
this
.
ServiceState
,
s
erviceS
tate
:
this
.
ServiceState
,
});
}
},
...
...
src/components/input/ServiceTypeSelect/serviceTypeStore.js
View file @
68b04e81
...
...
@@ -21,11 +21,11 @@ const getters = {
};
const
actions
=
{
fetchServiceTypeList
({
state
,
commit
},
{
serviceType
,
state
})
{
fetchServiceTypeList
({
state
,
commit
},
{
serviceType
,
s
erviceS
tate
})
{
if
(
state
.
fetching
[
serviceType
])
return
;
commit
(
FETCH_STATE
,
{
value
:
true
,
index
:
serviceType
});
return
fetchServiceList
({
params
:
{
serviceType
,
state
},
params
:
{
serviceType
,
state
:
serviceState
},
}).
then
(
res
=>
{
const
{
selfService
}
=
res
;
commit
(
SERVICE_TYPE_LIST
,
{
list
:
selfService
,
index
:
serviceType
});
...
...
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