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
137760ce
Commit
137760ce
authored
Apr 15, 2021
by
co_dengxiongwen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面调整
parent
21c82abe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
page.vue
src/pages/kb/power/page.vue
+11
-1
No files found.
src/pages/kb/power/page.vue
View file @
137760ce
...
...
@@ -174,6 +174,15 @@ export default {
getDataList
(
page
,
size
)
{
console
.
log
(
'类型id'
,
this
.
activeTab
)
console
.
log
(
'formData:'
,
this
.
formData
)
let
list
=
[]
if
(
this
.
activeTab
===
'1'
)
{
this
.
electroTabList
.
forEach
((
element
)
=>
{
if
(
element
.
value
!==
'1'
)
{
list
.
push
(
element
.
value
)
}
})
}
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
'/liResource/list'
),
method
:
'post'
,
...
...
@@ -181,7 +190,8 @@ export default {
name
:
this
.
formData
.
name
,
code
:
this
.
formData
.
code
,
status
:
this
.
formData
.
status
,
type
:
this
.
activeTab
,
//资源点类型
type
:
this
.
activeTab
===
'1'
?
''
:
this
.
activeTab
,
//资源点类型
list
:
list
,
page
:
page
||
this
.
pageIndex
,
size
:
size
||
this
.
pageSize
}
...
...
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