Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dcxy-manage-shell
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-manage-shell
Commits
5d8fc2ce
Commit
5d8fc2ce
authored
Apr 03, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除多余依赖
parent
d5a54bbc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
61 deletions
+0
-61
GiveTypeSelect.vue
src/components/input/GiveTypeSelect.vue
+0
-59
extends.js
src/utils/extends.js
+0
-2
No files found.
src/components/input/GiveTypeSelect.vue
deleted
100644 → 0
View file @
d5a54bbc
<
template
>
<search-item
label=
"赠送类型"
:size=
"size"
>
<el-select
clearable
filterable
:value=
"value"
@
change=
"changeHandle"
>
<el-option
v-for=
"(item, index) in giveTypeList"
:key=
"index"
:value=
"item.value"
:label=
"item.name"
></el-option>
</el-select>
</search-item>
</
template
>
<
script
>
import
{
mapGetters
,
mapActions
}
from
'vuex'
;
export
default
{
name
:
'give-select'
,
props
:
{
size
:
{
type
:
String
,
default
:
''
,
},
value
:
{
type
:
String
,
default
:
''
,
},
},
mounted
()
{
if
(
!
this
.
giveTypeList
.
length
)
{
this
.
fetchGiveTypeList
();
}
},
computed
:
{
...
mapGetters
([
'giveTypeList'
]),
},
methods
:
{
...
mapActions
([
'fetchGiveTypeList'
]),
changeHandle
(
val
)
{
this
.
$emit
(
'input'
,
val
);
},
getTypeName
(
val
){
let
item
=
this
.
giveTypeList
.
find
(({
value
})
=>
val
===
value
);
return
item
?
item
.
name
:
''
;
}
},
};
</
script
>
src/utils/extends.js
View file @
5d8fc2ce
...
@@ -17,7 +17,6 @@ import UserDialog from '../components/Dialog/UserDialogWrap';
...
@@ -17,7 +17,6 @@ import UserDialog from '../components/Dialog/UserDialogWrap';
import
AreaSelect
from
'../components/input/AreaSelect/index'
;
import
AreaSelect
from
'../components/input/AreaSelect/index'
;
import
ServiceTypeSelect
from
'../components/input/ServiceTypeSelect/index'
;
import
ServiceTypeSelect
from
'../components/input/ServiceTypeSelect/index'
;
import
GiveTypeSelect
from
'../components/input/GiveTypeSelect.vue'
;
import
BaseDataSelect
from
'../components/input/BaseDataSelect/index'
;
import
BaseDataSelect
from
'../components/input/BaseDataSelect/index'
;
import
OperatorSelect
from
'../components/input/OperatorSelect/index'
;
import
OperatorSelect
from
'../components/input/OperatorSelect/index'
;
import
BeansSelect
from
'../components/input/BeanTypeSelect/index'
;
import
BeansSelect
from
'../components/input/BeanTypeSelect/index'
;
...
@@ -42,7 +41,6 @@ const extendVue = Vue => {
...
@@ -42,7 +41,6 @@ const extendVue = Vue => {
Vue
.
component
(
AreaSelect
.
name
,
AreaSelect
);
Vue
.
component
(
AreaSelect
.
name
,
AreaSelect
);
Vue
.
component
(
BaseDataSelect
.
name
,
BaseDataSelect
);
Vue
.
component
(
BaseDataSelect
.
name
,
BaseDataSelect
);
Vue
.
component
(
ServiceTypeSelect
.
name
,
ServiceTypeSelect
);
Vue
.
component
(
ServiceTypeSelect
.
name
,
ServiceTypeSelect
);
Vue
.
component
(
GiveTypeSelect
.
name
,
GiveTypeSelect
);
Vue
.
component
(
OperatorSelect
.
name
,
OperatorSelect
);
Vue
.
component
(
OperatorSelect
.
name
,
OperatorSelect
);
Vue
.
component
(
BeansSelect
.
name
,
BeansSelect
);
Vue
.
component
(
BeansSelect
.
name
,
BeansSelect
);
Vue
.
component
(
ImageUploader
.
name
,
ImageUploader
);
Vue
.
component
(
ImageUploader
.
name
,
ImageUploader
);
...
...
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