Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
H
hs-sky-ui
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
何虹
hs-sky-ui
Commits
3e945783
Commit
3e945783
authored
May 07, 2020
by
何虹
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更改组件命名
parent
acadc917
Hide whitespace changes
Inline
Side-by-side
Showing
27 changed files
with
49 additions
and
57 deletions
+49
-57
HelloWorld.vue
src/components/HelloWorld.vue
+2
-2
index.vue
src/packages/hs-action/index.vue
+1
-1
index.vue
src/packages/hs-button-group/index.vue
+1
-1
index.vue
src/packages/hs-carousel/index.vue
+1
-1
index.vue
src/packages/hs-cascader/index.vue
+1
-1
index.vue
src/packages/hs-checkbox-group/index.vue
+1
-1
index.vue
src/packages/hs-checkbox/index.vue
+1
-1
index.vue
src/packages/hs-computed/index.vue
+1
-1
index.vue
src/packages/hs-date-picker/index.vue
+1
-1
index.vue
src/packages/hs-dialog/index.vue
+1
-1
index.vue
src/packages/hs-divider/index.vue
+1
-1
dyncFormItemComponentChild.vue
src/packages/hs-dyncForm/dyncFormItemComponentChild.vue
+8
-8
index.vue
src/packages/hs-dyncForm/index.vue
+1
-1
index.vue
src/packages/hs-file/index.vue
+1
-1
index.vue
src/packages/hs-gantt/index.vue
+1
-1
index.vue
src/packages/hs-input/index.vue
+1
-1
index.vue
src/packages/hs-line-bar/index.vue
+1
-1
index.vue
src/packages/hs-radio/index.vue
+1
-1
index.vue
src/packages/hs-select-plus/index.vue
+1
-1
index.vue
src/packages/hs-switch/index.vue
+1
-1
ItemComponentChild.vue
src/packages/hs-table/ItemComponentChild.vue
+6
-6
index.vue
src/packages/hs-table/index.vue
+1
-1
index.vue
src/packages/hs-tabs-querybi-linkTable/index.vue
+1
-1
index.vue
src/packages/hs-tabs/index.vue
+1
-1
index.vue
src/packages/hs-tags/index.vue
+1
-1
index.vue
src/packages/hs-tree/index.vue
+1
-1
index.js
src/packages/index.js
+10
-18
No files found.
src/components/HelloWorld.vue
View file @
3e945783
<
template
>
<div>
<hs
T
able
<hs
-t
able
maxHeight=
'500px'
:elInfo=
"elInfo"
:allSourceData=
'allSourceData'
></hs
T
able>
></hs
-t
able>
</div>
</
template
>
<
script
>
...
...
src/packages/hs-action/index.vue
View file @
3e945783
...
...
@@ -27,7 +27,7 @@ export default {
components
:
{
jsoneditor
},
name
:
'hs
A
ction'
,
name
:
'hs
-a
ction'
,
props
:
{
elInfo
:
{
type
:
Object
,
...
...
src/packages/hs-button-group/index.vue
View file @
3e945783
...
...
@@ -34,7 +34,7 @@
import
jsoneditor
from
'../common/jsoneditor'
import
ucComponent
from
'../ucClass/uc_component'
export
default
{
name
:
'hs
ButtonG
roup'
,
name
:
'hs
-button-g
roup'
,
mixins
:
[
ucComponent
],
components
:
{
jsoneditor
...
...
src/packages/hs-carousel/index.vue
View file @
3e945783
...
...
@@ -23,7 +23,7 @@ import uuidv1 from 'uuid/v1'
import
ucComponent
from
'../ucClass/uc_component'
export
default
{
mixins
:
[
ucComponent
],
name
:
'hs
C
arousel'
,
name
:
'hs
-c
arousel'
,
components
:
{
jsoneditor
},
...
...
src/packages/hs-cascader/index.vue
View file @
3e945783
...
...
@@ -38,7 +38,7 @@ export default {
components
:
{
jsoneditor
},
name
:
'hs
C
ascader'
,
name
:
'hs
-c
ascader'
,
props
:
{
allSourceData
:
{
type
:
Object
,
...
...
src/packages/hs-checkbox-group/index.vue
View file @
3e945783
...
...
@@ -33,7 +33,7 @@ export default {
components
:
{
jsoneditor
},
name
:
"hs
CheckboxG
roup"
,
name
:
"hs
-checkbox-g
roup"
,
props
:
{
allSourceData
:
{
type
:
Object
,
...
...
src/packages/hs-checkbox/index.vue
View file @
3e945783
...
...
@@ -20,7 +20,7 @@ export default {
components
:
{
jsoneditor
},
name
:
'hs
C
heckbox'
,
name
:
'hs
-c
heckbox'
,
props
:
{
allSourceData
:
{
type
:
Object
,
...
...
src/packages/hs-computed/index.vue
View file @
3e945783
...
...
@@ -24,7 +24,7 @@ export default {
components
:
{
jsoneditor
},
name
:
"hs
C
omputed"
,
name
:
"hs
-c
omputed"
,
props
:
{
allSourceData
:
{
type
:
Object
,
...
...
src/packages/hs-date-picker/index.vue
View file @
3e945783
...
...
@@ -48,7 +48,7 @@ export default {
components
:
{
jsoneditor
},
name
:
"hs
DateP
icker"
,
name
:
"hs
-date-p
icker"
,
props
:
{
elInfo
:
{
type
:
Object
,
...
...
src/packages/hs-dialog/index.vue
View file @
3e945783
...
...
@@ -29,7 +29,7 @@ export default {
components
:
{
jsoneditor
},
name
:
'hs
D
ialog'
,
name
:
'hs
-d
ialog'
,
props
:
{
visible
:
{},
allSourceData
:
{
...
...
src/packages/hs-divider/index.vue
View file @
3e945783
...
...
@@ -21,7 +21,7 @@ export default {
components
:
{
jsoneditor
},
name
:
'hs
D
ivider'
,
name
:
'hs
-d
ivider'
,
props
:
{
allSourceData
:
{
type
:
Object
,
...
...
src/packages/hs-dyncForm/dyncFormItemComponentChild.vue
View file @
3e945783
...
...
@@ -85,7 +85,7 @@
</el-checkbox>
</
template
>
<
template
v-if=
"item.type==='hsSelectPlus'"
>
<hs
SelectP
lus
<hs
-select-p
lus
:writeBackObject=
'formParms'
v-model=
"formParms[item.prop]"
:allSourceData=
'item.allSourceData'
...
...
@@ -95,10 +95,10 @@
:containerType=
'type'
:requestMethod=
'item.requestMethod'
>
</hs
SelectP
lus>
</hs
-select-p
lus>
</
template
>
<
template
v-if=
"item.type==='hsFile'"
>
<hs
F
ile
<hs
-f
ile
v-model=
"formParms[item.prop]"
:allSourceData=
'item.allSourceData'
:elInfo=
'item.elInfo'
...
...
@@ -107,10 +107,10 @@
:uploadFileFun=
'item.uploadFileFun'
:containerType=
'type'
>
</hs
F
ile>
</hs
-f
ile>
</
template
>
<
template
v-if=
"item.type==='hsComputed'"
>
<hs
C
omputed
<hs
-c
omputed
v-model=
"formParms[item.prop]"
:allSourceData=
'item.allSourceData'
:elInfo=
'item.elInfo'
...
...
@@ -119,10 +119,10 @@
:prop=
'item.prop'
:containerType=
'type'
>
</hs
C
omputed>
</hs
-c
omputed>
</
template
>
<
template
v-if=
"item.type==='hsInput'"
>
<hs
I
nput
<hs
-i
nput
v-model=
"formParms[item.prop]"
:allSourceData=
'item.allSourceData'
:elInfo=
'item.elInfo'
...
...
@@ -131,7 +131,7 @@
:prop=
'item.prop'
:containerType=
'type'
>
</hs
I
nput>
</hs
-i
nput>
</
template
>
</div>
...
...
src/packages/hs-dyncForm/index.vue
View file @
3e945783
...
...
@@ -39,7 +39,7 @@ import _ from 'lodash'
import
dyncFormItemComponentTable
from
'./dyncFormItemComponentTable'
import
dyncFormItemComponentQuery
from
'./dyncFormItemComponentQuery'
export
default
{
name
:
'hs
D
yncForm'
,
name
:
'hs
-d
yncForm'
,
mixins
:
[
ucComponent
],
components
:
{
jsoneditor
,
...
...
src/packages/hs-file/index.vue
View file @
3e945783
...
...
@@ -169,7 +169,7 @@ export default {
components
:
{
jsoneditor
},
name
:
'hs
F
ile'
,
name
:
'hs
-f
ile'
,
props
:
{
uploadFileFun
:
{
type
:
Function
...
...
src/packages/hs-gantt/index.vue
View file @
3e945783
...
...
@@ -27,7 +27,7 @@ export default {
components
:
{
jsoneditor
},
name
:
'hs
G
antt'
,
name
:
'hs
-g
antt'
,
props
:
{
elInfo
:
{
type
:
Object
,
...
...
src/packages/hs-input/index.vue
View file @
3e945783
...
...
@@ -41,7 +41,7 @@ export default {
components
:
{
jsoneditor
},
name
:
"hs
I
nput"
,
name
:
"hs
-i
nput"
,
props
:
{
prop
:
{},
formData
:
{
...
...
src/packages/hs-line-bar/index.vue
View file @
3e945783
...
...
@@ -26,7 +26,7 @@ export default {
components
:
{
jsoneditor
},
name
:
'hs
LineB
ar'
,
name
:
'hs
-line-b
ar'
,
props
:
{
elInfo
:
{
type
:
Object
,
...
...
src/packages/hs-radio/index.vue
View file @
3e945783
...
...
@@ -24,7 +24,7 @@ export default {
components
:
{
jsoneditor
},
name
:
'hs
R
adio'
,
name
:
'hs
-r
adio'
,
props
:
{
allSourceData
:
{
type
:
Object
,
...
...
src/packages/hs-select-plus/index.vue
View file @
3e945783
...
...
@@ -88,7 +88,7 @@ import commonUtility from '../funTools/commonUtility'
import
dialogIframe
from
'../common/dialogTemplate/dialogIframe'
export
default
{
mixins
:
[
ucComponent
],
name
:
'hs
SelectP
lus'
,
name
:
'hs
-select-p
lus'
,
components
:
{
jsoneditor
,
dialogIframe
...
...
src/packages/hs-switch/index.vue
View file @
3e945783
...
...
@@ -31,7 +31,7 @@ export default {
components
:
{
jsoneditor
},
name
:
"hs
S
witch"
,
name
:
"hs
-s
witch"
,
props
:
{
disabled
:
{
type
:
Boolean
,
...
...
src/packages/hs-table/ItemComponentChild.vue
View file @
3e945783
...
...
@@ -60,13 +60,13 @@
</el-date-picker>
</
template
>
<
template
v-if=
"item.showType==='elSwitch'"
>
<hs
S
witch
<hs
-s
witch
style=
"width:100%"
size=
'mini'
v-model=
"formParms[item.prop]"
:disabled=
'disabled'
>
</hs
S
witch>
</hs
-s
witch>
</
template
>
<
template
v-if=
"item.showType==='elCheckbox'"
>
<el-checkbox
...
...
@@ -78,17 +78,17 @@
</el-checkbox>
</
template
>
<
template
v-if=
"item.showType==='hsComputed'"
>
<hs
C
omputed
<hs
-c
omputed
v-model=
"formParms[item.prop]"
:allSourceData=
'item.allSourceData'
:elInfo=
'item.elInfo'
:readonly=
'disabled'
:formData=
'formParms'
>
</hs
C
omputed>
</hs
-c
omputed>
</
template
>
<
template
v-if=
"item.showType==='hsSelectPlus'"
>
<hs
SelectP
lus
<hs
-select-p
lus
v-model=
"formParms[item.prop]"
:allSourceData=
'item.allSourceData'
:elInfo=
'item.elInfo'
...
...
@@ -96,7 +96,7 @@
:readonly=
'disabled'
:requestMethod=
'item.requestMethod'
>
</hs
SelectP
lus>
</hs
-select-p
lus>
</
template
>
</div>
...
...
src/packages/hs-table/index.vue
View file @
3e945783
...
...
@@ -337,7 +337,7 @@ export default {
dialogUpload
,
dialogIframe
},
name
:
'hs
T
able'
,
name
:
'hs
-t
able'
,
props
:
{
importInfo
:
{
// 导入信息
...
...
src/packages/hs-tabs-querybi-linkTable/index.vue
View file @
3e945783
...
...
@@ -39,7 +39,7 @@ export default {
components
:
{
jsoneditor
},
name
:
'hs
TabsQueryBiLinkT
ables'
,
name
:
'hs
-tabs-query-bi-lin-t
ables'
,
props
:
{
pageSource
:
{},
allSourceData
:
{
...
...
src/packages/hs-tabs/index.vue
View file @
3e945783
...
...
@@ -35,7 +35,7 @@ export default {
components
:
{
jsoneditor
},
name
:
'hs
T
abs'
,
name
:
'hs
-t
abs'
,
props
:
{
allSourceData
:
{
type
:
Object
,
...
...
src/packages/hs-tags/index.vue
View file @
3e945783
...
...
@@ -35,7 +35,7 @@ export default {
components
:
{
jsoneditor
},
name
:
"hs
T
ags"
,
name
:
"hs
-t
ags"
,
props
:
{
value
:
""
,
elInfo
:
{
...
...
src/packages/hs-tree/index.vue
View file @
3e945783
...
...
@@ -28,7 +28,7 @@ export default {
components
:
{
jsoneditor
},
name
:
'hs
T
ree'
,
name
:
'hs
-t
ree'
,
props
:
{
allSourceData
:
{
type
:
Object
,
...
...
src/packages/index.js
View file @
3e945783
import
Vue
from
'vue'
import
hsInput
from
'./hs-input/index.vue'
const
components
=
{
'hs-input'
:
hsInput
}
Object
.
keys
(
components
).
forEach
(
name
=>
{
Vue
.
component
(
name
,
components
[
name
])
const
requireComponent_
=
require
.
context
(
'./'
,
true
,
/index.vue$/
)
const
obj
=
{}
requireComponent_
.
keys
().
forEach
(
fileName
=>
{
const
componentConfig
=
requireComponent_
(
fileName
)
const
{
name
}
=
componentConfig
.
default
if
(
name
)
{
Vue
.
component
(
name
,
componentConfig
.
default
||
componentConfig
)
obj
[
name
]
=
componentConfig
}
})
export
default
components
// const requireComponent_ = require.context('./', true, /index.vue$/)
// const obj={}
// requireComponent_.keys().forEach(fileName => {
// const componentConfig = requireComponent_(fileName)
// const { name } = componentConfig.default
// if (name) {
// Vue.component(name, componentConfig.default || componentConfig)
// obj[name]=componentConfig
// }
// })
// export default obj
\ No newline at end of file
export
default
obj
\ No newline at end of file
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