Commit 0b9db68b authored by 罗超's avatar 罗超

1

parent 8130fc8d
...@@ -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,
......
...@@ -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>
......
<template>
<div>
</div>
</template>
<script>
export default {
}
</script>
\ No newline at end of file
<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>
...@@ -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>
......
...@@ -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: () =>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment