Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
E
energyai_vue
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
葛齐林
energyai_vue
Commits
d0a13eb2
Commit
d0a13eb2
authored
Apr 15, 2021
by
xiexingan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整
parent
d8bea079
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
520 additions
and
80 deletions
+520
-80
index.vue
src/pages/analysis/indoor/index.vue
+1
-1
cardWarp.vue
src/pages/components/cardWarp.vue
+1
-1
tableList.vue
src/pages/components/tableList.vue
+95
-0
index copy.vue
src/pages/sys/user/index copy.vue
+340
-0
index.vue
src/pages/sys/user/index.vue
+83
-78
No files found.
src/pages/analysis/indoor/index.vue
View file @
d0a13eb2
<
template
lang=
"pug"
>
card-warp(title="室内气象分析", height="45px"
, showBackground
)
card-warp(title="室内气象分析", height="45px")
div(slot="right")
router-link.margin-lr-20(:to="{ name: 'kb-indoor' }")
el-button(size="mini", type="primary") 图形 / 列表
...
...
src/pages/components/cardWarp.vue
View file @
d0a13eb2
...
...
@@ -21,7 +21,7 @@ export default {
},
showBackground
:
{
type
:
Boolean
,
default
:
fals
e
default
:
tru
e
}
}
}
...
...
src/pages/components/tableList.vue
0 → 100644
View file @
d0a13eb2
<
template
>
<div
class=
"en-table"
>
<el-table
stripe
:data=
"tableData"
style=
"width: 100%"
:header-cell-style=
"
{
background: 'rgba(0, 151, 255, 0.08)',
color: '#333333',
}"
>
<el-table-column
align=
"center"
label=
"序号"
width=
"100"
>
<template
slot-scope=
"scope"
>
{{
scope
.
$index
+
1
}}
</
template
>
</el-table-column>
<
template
v-for=
"item in tableColums"
>
<el-table-column
:key=
"item.id"
v-if=
"item.slot"
:prop=
"item.prop"
:label=
"item.label"
:width=
"item.width"
:align=
"item.align"
>
<template
slot-scope=
"scope"
>
<slot
:name=
"item.prop"
:scope=
"scope.row"
></slot>
</
template
>
</el-table-column>
<el-table-column
:key=
"item.id"
v-else
:prop=
"item.prop"
:label=
"item.label"
:width=
"item.width"
:align=
"item.align"
>
</el-table-column>
</template>
<el-table-column
align=
"center"
label=
"操作"
:width=
"opNum * 80"
>
<
template
slot-scope=
"scope"
>
<slot
name=
"operation"
:scope=
"scope.row"
></slot>
</
template
>
</el-table-column>
</el-table>
</div>
</template>
<
script
>
export
default
{
name
:
'table-list'
,
props
:
{
tableData
:
{
type
:
Array
},
tableColums
:
{
type
:
Array
},
isShowOp
:
{
type
:
Boolean
,
default
:
false
},
opNum
:
{
type
:
Number
,
default
:
3
}
},
data
()
{
return
{}
}
}
</
script
>
<
style
lang=
"scss"
>
.record-color
{
color
:
#0097ff
;
}
.marg_r_18
{
margin-right
:
18px
;
}
.marg_r_8
{
margin-right
:
8px
;
}
.en-table
{
.el-pagination.is-background
.btn-next
,
.el-pagination.is-background
.btn-prev
,
.el-pagination.is-background
.el-pager
li
{
margin
:
0
!
important
;
}
/
deep
/
.el-pagination.is-background
.el-pager
li
:not
(
.disabled
)
.active
{
color
:
#32a5ea
!
important
;
background-color
:
red
!
important
;
}
}
</
style
>
src/pages/sys/user/index copy.vue
0 → 100644
View file @
d0a13eb2
This diff is collapsed.
Click to expand it.
src/pages/sys/user/index.vue
View file @
d0a13eb2
This diff is collapsed.
Click to expand it.
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