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
594aa909
Commit
594aa909
authored
Apr 28, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加自动逸选择框接受disabled属性
parent
bc3e994a
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
43 additions
and
6 deletions
+43
-6
AreaSelect.vue
src/components/input/AreaDashboard/AreaSelect.vue
+7
-1
AreaSelect.vue
src/components/input/AreaSelect/AreaSelect.vue
+8
-1
BaseDataSelect.vue
src/components/input/BaseDataSelect/BaseDataSelect.vue
+7
-1
BeanTypeSelect.vue
src/components/input/BeanTypeSelect/BeanTypeSelect.vue
+7
-1
OperatorSelect.vue
src/components/input/OperatorSelect/OperatorSelect.vue
+7
-1
ServiceTypeSelect.vue
src/components/input/ServiceTypeSelect/ServiceTypeSelect.vue
+7
-1
No files found.
src/components/input/AreaDashboard/AreaSelect.vue
View file @
594aa909
<
template
>
<
template
>
<el-select
<el-select
clearable
:clearable=
"clearable"
:disabled=
"disabled"
filterable
filterable
:value=
"value"
:value=
"value"
@
change=
"changeHandle"
@
change=
"changeHandle"
...
@@ -30,6 +31,11 @@ export default {
...
@@ -30,6 +31,11 @@ export default {
type
:
Boolean
,
type
:
Boolean
,
default
:
false
,
default
:
false
,
},
},
disabled
:
Boolean
,
clearable
:
{
type
:
Boolean
,
default
:
true
,
},
},
},
mixins
:
[
areaMixin
],
mixins
:
[
areaMixin
],
methods
:
{
methods
:
{
...
...
src/components/input/AreaSelect/AreaSelect.vue
View file @
594aa909
<
template
>
<
template
>
<el-select
<el-select
clearable
:clearable=
"clearable"
:disabled=
"disabled"
filterable
filterable
:value=
"value"
:value=
"value"
@
change=
"changeHandle"
@
change=
"changeHandle"
...
@@ -16,12 +17,18 @@
...
@@ -16,12 +17,18 @@
<
script
>
<
script
>
import
areaMixin
from
'./mixin.js'
;
import
areaMixin
from
'./mixin.js'
;
import
{
Select
}
from
'element-ui'
;
export
default
{
export
default
{
name
:
'area-select'
,
name
:
'area-select'
,
props
:
{
props
:
{
size
:
String
,
size
:
String
,
value
:
Number
,
value
:
Number
,
disabled
:
Boolean
,
clearable
:
{
type
:
Boolean
,
default
:
true
,
},
},
},
mixins
:
[
areaMixin
],
mixins
:
[
areaMixin
],
computed
:
{
computed
:
{
...
...
src/components/input/BaseDataSelect/BaseDataSelect.vue
View file @
594aa909
<
template
>
<
template
>
<el-select
<el-select
clearable
:clearable=
"clearable"
:disabled=
"disabled"
filterable
filterable
:value=
"value"
:value=
"value"
@
change=
"changeHandle"
@
change=
"changeHandle"
...
@@ -35,6 +36,11 @@ export default {
...
@@ -35,6 +36,11 @@ export default {
type
:
String
,
type
:
String
,
default
:
''
,
default
:
''
,
},
},
disabled
:
Boolean
,
clearable
:
{
type
:
Boolean
,
default
:
true
,
},
},
},
data
()
{
data
()
{
return
{
return
{
...
...
src/components/input/BeanTypeSelect/BeanTypeSelect.vue
View file @
594aa909
<
template
>
<
template
>
<el-select
<el-select
clearable
:clearable=
"clearable"
:disabled=
"disabled"
filterable
filterable
:value=
"value"
:value=
"value"
@
change=
"changeHandle"
@
change=
"changeHandle"
...
@@ -22,6 +23,11 @@ export default {
...
@@ -22,6 +23,11 @@ export default {
props
:
{
props
:
{
size
:
String
,
size
:
String
,
value
:
Number
,
value
:
Number
,
disabled
:
Boolean
,
clearable
:
{
type
:
Boolean
,
default
:
true
,
},
},
},
mixins
:
[
beansMixin
],
mixins
:
[
beansMixin
],
methods
:
{
methods
:
{
...
...
src/components/input/OperatorSelect/OperatorSelect.vue
View file @
594aa909
<
template
>
<
template
>
<el-select
<el-select
clearable
:clearable=
"clearable"
:disabled=
"disabled"
filterable
filterable
:value=
"value"
:value=
"value"
@
change=
"changeHandle"
@
change=
"changeHandle"
...
@@ -28,6 +29,11 @@ export default {
...
@@ -28,6 +29,11 @@ export default {
type
:
Number
,
type
:
Number
,
default
:
null
,
default
:
null
,
},
},
disabled
:
Boolean
,
clearable
:
{
type
:
Boolean
,
default
:
true
,
},
},
},
computed
:
{
computed
:
{
...
...
src/components/input/ServiceTypeSelect/ServiceTypeSelect.vue
View file @
594aa909
<
template
>
<
template
>
<el-select
<el-select
clearable
:clearable=
"clearable"
:disabled=
"disabled"
filterable
filterable
:value=
"value"
:value=
"value"
@
change=
"changeHandle"
@
change=
"changeHandle"
...
@@ -28,6 +29,11 @@ export default {
...
@@ -28,6 +29,11 @@ export default {
type
:
Number
,
type
:
Number
,
default
:
null
,
default
:
null
,
},
},
disabled
:
Boolean
,
clearable
:
{
type
:
Boolean
,
default
:
true
,
},
},
},
mixins
:
[
serviceTypeMixin
],
mixins
:
[
serviceTypeMixin
],
methods
:
{
methods
:
{
...
...
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