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
0b9db68b
Commit
0b9db68b
authored
Jun 29, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
8130fc8d
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
173 additions
and
3 deletions
+173
-3
App.vue
src/App.vue
+1
-1
active-from.vue
src/components/activity/active-from.vue
+1
-1
active-item.vue
src/components/activity/active-item.vue
+10
-0
activeDetail.vue
src/pages/activity/activeDetail.vue
+150
-0
activityList.vue
src/pages/activity/activityList.vue
+6
-1
routes.js
src/router/routes.js
+5
-0
No files found.
src/App.vue
View file @
0b9db68b
...
@@ -12,7 +12,7 @@ export default {
...
@@ -12,7 +12,7 @@ export default {
<
style
>
<
style
>
@import
url('~assets/css/font.css')
;
@import
url('~assets/css/font.css')
;
@import
url('//at.alicdn.com/t/font_2077629_
fcok86bmlfj
.css')
;
@import
url('//at.alicdn.com/t/font_2077629_
w06lw9ydl0q
.css')
;
html
,
html
,
body
,
body
,
...
...
src/components/activity/active-from.vue
View file @
0b9db68b
...
@@ -199,7 +199,7 @@
...
@@ -199,7 +199,7 @@
</div>
</div>
</div>
</div>
<div
class=
"row wrap"
>
<div
class=
"row wrap"
>
<div
class=
"q-mt-lg q-mb-sm"
>
活动
详情
</div>
<div
class=
"q-mt-lg q-mb-sm"
>
活动
特色
</div>
<div
class=
"col-12"
>
<div
class=
"col-12"
>
<Ueditor
:value=
"ueditor.value"
:config=
"ueditor.config"
@
input=
"setVal"
ref=
"ue"
no-margin
<Ueditor
:value=
"ueditor.value"
:config=
"ueditor.config"
@
input=
"setVal"
ref=
"ue"
no-margin
:isShowInsertImage=
"false"
:isShowAttachment=
"false"
:isShowVoice=
"false"
></Ueditor>
:isShowInsertImage=
"false"
:isShowAttachment=
"false"
:isShowVoice=
"false"
></Ueditor>
...
...
src/components/activity/active-item.vue
0 → 100644
View file @
0b9db68b
<
template
>
<div>
</div>
</
template
>
<
script
>
export
default
{
}
</
script
>
\ No newline at end of file
src/pages/activity/activeDetail.vue
0 → 100644
View file @
0b9db68b
<
style
scoped
>
.header-box
{
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
}
.p_title
{
color
:
#000000
;
font-size
:
20px
;
/* height: 30px !important; */
display
:
flex
;
align-items
:
center
;
}
</
style
>
<
template
>
<div
class=
"page-body activeDetail"
>
<div
class=
"header-box"
>
<div
class=
"flex"
>
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
label=
"返回"
@
click=
"goBack"
/>
<span
class=
"p_title"
>
活动详情
</span>
</div>
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
label=
"新增活动"
@
click=
""
/>
</div>
<div
class=
"page-content"
>
</div>
</div>
</
template
>
<
script
>
export
default
{
meta
:
{
title
:
"活动详情"
},
components
:
{
},
data
()
{
return
{
data
:
[],
loading
:
true
,
}
},
mounted
()
{
},
methods
:
{
goBack
(){
this
.
$router
.
go
(
-
1
)
},
//获取活动类型下拉
getActiveTypeList
(){
this
.
apipostDS
(
"/api/Education/GetCommerceActivityTypeList"
,{},(
res
)
=>
{
if
(
res
.
data
.
resultCode
===
1
){
this
.
activityTypeList
=
res
.
data
.
data
;
this
.
activityTypeList
.
unshift
({
Id
:
-
1
,
TypeName
:
"不限"
})
}
})
},
getList
(){
this
.
loading
=
true
;
this
.
apipostDS
(
"/api/Education/GetActivityPage"
,
this
.
msg
,(
res
)
=>
{
this
.
loading
=
false
if
(
res
.
data
.
resultCode
===
1
){
this
.
data
=
res
.
data
.
data
.
pageData
;
this
.
pageCount
=
res
.
data
.
data
.
pageCount
;
}
})
},
delActive
(
item
){
let
that
=
this
;
that
.
Confirm
(
"是否删除?"
,
function
()
{
that
.
apipostDS
(
"/api/Education/RemoveActivity"
,
{
Id
:
item
.
Id
,
Status
:
1
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
res
.
data
.
message
);
that
.
getList
();
}
else
{
that
.
Error
(
res
.
data
.
message
);
}
},
);
})
},
//刷新页面
refreshPage
()
{
this
.
showForm
=
false
;
this
.
getList
();
},
//显示修改
editQuotation
(
item
)
{
this
.
showForm
=
true
;
if
(
item
)
{
this
.
typeObj
=
item
;
}
else
{
this
.
typeObj
=
{};
}
},
//重新查询
resetSearch
()
{
this
.
msg
.
pageIndex
=
1
;
this
.
getList
();
},
//翻页
changePage
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
getList
()
},
//关闭弹窗
closeruleset
()
{
this
.
showForm
=
false
;
},
goUrl
(
url
,
item
,
type
=
0
){
if
(
type
===
1
){
this
.
$router
.
push
({
path
:
url
,
query
:{
name
:
item
.
ActivityName
}
})
}
else
{
this
.
$router
.
push
({
path
:
url
,
query
:{
Id
:
item
.
Id
}
})
}
}
}
}
</
script
>
<
style
lang=
"sass"
>
@import
url('~assets/css/table.sass')
</
style
>
src/pages/activity/activityList.vue
View file @
0b9db68b
...
@@ -274,6 +274,11 @@
...
@@ -274,6 +274,11 @@
<q-item-label>
活动收支
</q-item-label>
<q-item-label>
活动收支
</q-item-label>
</q-item-section>
</q-item-section>
</q-item>
</q-item>
<q-item
clickable
v-close-popup
@
click=
"goUrl('/activity/activeDetail',props.row)"
>
<q-item-section>
<q-item-label>
活动详情
</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
@
click=
"goUrl('/activity/activeSummary',props.row)"
v-if=
"props.row.ActivityStatus==2"
>
<q-item
clickable
v-close-popup
@
click=
"goUrl('/activity/activeSummary',props.row)"
v-if=
"props.row.ActivityStatus==2"
>
<q-item-section>
<q-item-section>
<q-item-label>
活动总结
</q-item-label>
<q-item-label>
活动总结
</q-item-label>
...
@@ -284,7 +289,7 @@
...
@@ -284,7 +289,7 @@
<q-item-label>
活动图片与视频
</q-item-label>
<q-item-label>
活动图片与视频
</q-item-label>
</q-item-section>
</q-item-section>
</q-item>
</q-item>
</q-list>
</q-list>
</q-btn-dropdown>
</q-btn-dropdown>
</div>
</div>
...
...
src/router/routes.js
View file @
0b9db68b
...
@@ -680,6 +680,11 @@ const routes = [{
...
@@ -680,6 +680,11 @@ const routes = [{
component
:
()
=>
component
:
()
=>
import
(
"pages/activity/payment.vue"
)
import
(
"pages/activity/payment.vue"
)
},
},
{
path
:
"/activity/activeDetail"
,
//活动 活动详情
component
:
()
=>
import
(
"pages/activity/activeDetail.vue"
)
},
{
{
path
:
"/activity/advmanager"
,
//活动 广告图管理
path
:
"/activity/advmanager"
,
//活动 广告图管理
component
:
()
=>
component
:
()
=>
...
...
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