Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
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
罗超
confucius
Commits
ea3e1eef
Commit
ea3e1eef
authored
Dec 14, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
3b754d8a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
17 deletions
+16
-17
baseSet.vue
src/pages/course/baseSet.vue
+16
-17
No files found.
src/pages/course/baseSet.vue
View file @
ea3e1eef
...
...
@@ -52,9 +52,9 @@
<template
v-slot:top=
"props"
>
<q-space
/>
<div
class=
"page-option"
>
<q-btn
color=
"accent"
size=
"sm"
icon=
"add"
@
click=
"
clearInfo(),
isShowAddPop=true"
ref=
"addBtn"
label=
"新增"
>
<q-popup-proxy>
<q-banner
v-
if
=
"isShowAddPop"
>
<q-btn
color=
"accent"
size=
"sm"
icon=
"add"
@
click=
"isShowAddPop=true"
ref=
"addBtn"
label=
"新增"
>
<q-popup-proxy
>
<q-banner
v-
show
=
"isShowAddPop"
>
<div
class=
"dropClassDialog"
>
<div
style=
"margin:10px 0 15px 0;width:300px;"
>
新增班级类型
</div>
</div>
...
...
@@ -82,12 +82,11 @@
<
template
v-slot:body-cell-optioned=
"props"
>
<q-td
:props=
"props"
>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"修改"
@
click=
"EditClass(props.row)"
/>
@
click=
"EditClass
Type
(props.row)"
/>
<q-btn
flat
size=
"xs"
icon=
"iconfont icon-shanchu"
color=
"negative"
style=
"font-weight:400"
label=
"删除"
@
click=
"deleteClass(props.row)"
/>
@
click=
"deleteClass
Type
(props.row)"
/>
</q-td>
</
template
>
</q-table>
</template>
</div>
...
...
@@ -166,7 +165,7 @@
pageSize
:
12
},
pageCount
:
0
,
isEdit
:
true
isEdit
:
true
}
},
created
()
{},
...
...
@@ -215,6 +214,7 @@
position
:
'top'
})
this
.
isShowAddPop
=
false
;
this
.
clearInfo
();
this
.
GetClassTypePageList
();
}
})
...
...
@@ -225,7 +225,6 @@
GetClassTypePageList
(
this
.
tabeMsg
).
then
(
res
=>
{
this
.
loading
=
false
;
if
(
res
.
Code
==
1
)
{
console
.
log
(
res
,
'数据来了'
);
this
.
dataList
=
res
.
Data
.
PageData
;
this
.
pageCount
=
res
.
Data
.
PageCount
;
}
...
...
@@ -237,21 +236,21 @@
this
.
GetClassTypePageList
()
},
clearInfo
()
{
//
this.addMsg.CTypeId = 0;
//
this.addMsg.CTypeName = '';
//
this.addMsg.AddHourFee = '';
//
this.addMsg.DefaultClassNum = '';
this
.
addMsg
.
CTypeId
=
0
;
this
.
addMsg
.
CTypeName
=
''
;
this
.
addMsg
.
AddHourFee
=
''
;
this
.
addMsg
.
DefaultClassNum
=
''
;
},
//编辑班级类型
EditClass
(
obj
)
{
EditClassType
(
obj
)
{
this
.
isShowAddPop
=
true
;
this
.
addMsg
.
CTypeId
=
obj
.
CTypeId
;
this
.
addMsg
.
CTypeName
=
obj
.
CTypeName
;
this
.
addMsg
.
AddHourFee
=
obj
.
AddHourFee
;
this
.
addMsg
.
DefaultClassNum
=
obj
.
DefaultClassNum
;
this
.
$refs
.
addBtn
.
$el
.
click
();
},
//删除班级类型
deleteClass
(
obj
)
{
//删除班级类型
费用配置
deleteClass
Type
(
obj
)
{
this
.
$q
.
dialog
({
title
:
"删除类型"
,
message
:
''
,
...
...
@@ -273,7 +272,7 @@
this
.
GetClassTypePageList
();
}
})
});
});
}
},
}
...
...
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