Commit 0d040c1e authored by anxixi's avatar anxixi

新版活动列表修改问题

parent 511c572f
...@@ -75,10 +75,11 @@ ...@@ -75,10 +75,11 @@
//埋点 //埋点
maiDianFunc(data) { maiDianFunc(data) {
if (data.type == 'report-channel-list-click') { if (data.type == 'report-channel-list-click') {
this.$router.push({ // this.$router.push({
path: '/activitydetail', // path: '/activitydetail',
query: {id: data.channelId, ismyevent: 0, type: data.channelType} // query: {id: data.channelId, ismyevent: 0, type: data.channelType}
}); // });
window.open(this.publicFun.getCurrentHrefEnv()+"/activitydetail?id="+data.channelId+'&ismyevent=0&type='+data.channelType + this.publicFun.getTargetBlankFlag(2));
} }
let params = { let params = {
type: data.type, type: data.type,
......
...@@ -109,6 +109,11 @@ export default { ...@@ -109,6 +109,11 @@ export default {
dataGroupAllLists (){ dataGroupAllLists (){
return api.fetchGet('/business/report/dataGroupAllList'); return api.fetchGet('/business/report/dataGroupAllList');
}, },
//所有分类新排序
selectActivityDataList (){
return api.fetchGet('/business/activityEnter/selectActivityDataList');
},
//交换名片列表 //交换名片列表
selectActivityCardList(params){ selectActivityCardList(params){
return api.fetchPost("/base/emp/selectActivityCardList",params); return api.fetchPost("/base/emp/selectActivityCardList",params);
......
...@@ -36,23 +36,10 @@ ...@@ -36,23 +36,10 @@
end-placeholder="结束日期"> end-placeholder="结束日期">
</el-date-picker> </el-date-picker>
</div> </div>
<el-popover <p v-if="activityContact.contactImg" @click="vueQrVisible = true" class="condition_state_btn" slot="reference"><span>免费发布活动</span></p>
placement="top"
width="200"
trigger="hover">
<div class="centerQrCode" style="text-align: center">
<span style="font-size: 12px;">扫描下面的二维码获得发布资格</span>
<img :src="activityContact.contactImg" alt="" style="width: 140px;height: 140px;margin: 15px;">
<p style="font-size: 12px;">请使用微信扫描二维码</p>
<p style="font-size: 12px;color: #1A1A1E;font-weight: bold;margin-top: 10px;">客服微信:{{activityContact.contactWay}}</p>
</div>
<p v-if="activityContact.contactImg" class="condition_state_btn" slot="reference"><span>免费发布活动</span></p>
</el-popover>
</div> </div>
<div class="gendisplay"> <div class="gendisplay">
<page-screen :style="Citychecked?'':'height: 50px;overflow: hidden;'" :screenlist="getHotCitylist" :labelWidth="true" :screenchildListIf="false" ref="projectCitychild" titleName="活动区域" @changecheck="projectCityData"></page-screen> <page-screen :style="Citychecked?'':'height: 50px;overflow: hidden;'" :screenlist="getHotCitylist" :labelWidth="true" :screenchildListIf="true" ref="projectCitychild" titleName="活动区域" @changecheck="projectCityData"></page-screen>
<i class="iconfont" @click="Citychecked = !Citychecked" :class="Citychecked?'icon-xiala-copy':'icon-xiala'"></i> <i class="iconfont" @click="Citychecked = !Citychecked" :class="Citychecked?'icon-xiala-copy':'icon-xiala'"></i>
</div> </div>
<div class="gendisplay"> <div class="gendisplay">
...@@ -170,6 +157,14 @@ ...@@ -170,6 +157,14 @@
</div> </div>
</div> </div>
<el-dialog :visible.sync="vueQrVisible" width="360px" :close-on-click-moda="false" center>
<div style="text-align: center;margin: 0 20px;">
<img :src="activityContact.contactImg" alt="" style="width: 140px;height: 140px;margin: 15px;padding: 5px;border: 1px solid #E8E8E8;">
<p style="color: #1A1A1E;">添加客服微信获取发布资格添加客服微信获取发布资格</p>
<p style="color: #1A1A1E;margin-top: 10px;">客服微信:{{activityContact.contactWay}}</p>
</div>
</el-dialog>
<signupbar :detailInfo="detailInfo" :tabName="activeName" :secondStepInfo="secondStepInfo" @getresourcesdata="getresourcesdata" @cancelVisible="cancelVisible" :applyVisible="applyVisible" v-if="applyVisible"></signupbar> <signupbar :detailInfo="detailInfo" :tabName="activeName" :secondStepInfo="secondStepInfo" @getresourcesdata="getresourcesdata" @cancelVisible="cancelVisible" :applyVisible="applyVisible" v-if="applyVisible"></signupbar>
...@@ -190,6 +185,7 @@ ...@@ -190,6 +185,7 @@
name: "newEventpage", name: "newEventpage",
data() { data() {
return { return {
vueQrVisible:false,
groupalllist:[], groupalllist:[],
groupchecked:false, groupchecked:false,
Citychecked:false, Citychecked:false,
...@@ -223,6 +219,10 @@ ...@@ -223,6 +219,10 @@
pageScreen,signupbar,expertVisible,VueQRCodeComponent pageScreen,signupbar,expertVisible,VueQRCodeComponent
}, },
methods:{ methods:{
//二维码
isVueQrVisible(data){
this.vueQrVisible = data;
},
//合作伙伴链接 //合作伙伴链接
handleToLink(item) { handleToLink(item) {
window.open(item.partnerUrl); window.open(item.partnerUrl);
...@@ -267,7 +267,7 @@ ...@@ -267,7 +267,7 @@
this.resourcesdata(); this.resourcesdata();
}, },
getdataGroupAllLists(){ getdataGroupAllLists(){
api.dataGroupAllLists().then(response => { api.selectActivityDataList().then(response => {
if(response.code == 0) { if(response.code == 0) {
response.result.forEach( ( item ) => { response.result.forEach( ( item ) => {
item.checked = false; item.checked = false;
...@@ -481,9 +481,9 @@ ...@@ -481,9 +481,9 @@
resourcesdata(){ resourcesdata(){
this.searchs.dataIds = this.eventdataIds?this.eventdataIds.join(','):''; this.searchs.dataIds = this.eventdataIds?this.eventdataIds.join(','):'';
let params = this.searchs; let params = this.searchs;
if(params.channelCity instanceof Array){ // if(params.channelCity instanceof Array){
params.channelCity = params.channelCity.join(','); // params.channelCity = params.channelCity.join(',');
} // }
let searchsurl = '/base/channel/searchActivity?'; let searchsurl = '/base/channel/searchActivity?';
api.showList(searchsurl,params).then(response => { api.showList(searchsurl,params).then(response => {
if(response.code == 0) { if(response.code == 0) {
......
...@@ -167,8 +167,8 @@ ...@@ -167,8 +167,8 @@
this.publicFun.setUserInfoCookieType(that.Base64.encode(JSON.stringify(res.result))); this.publicFun.setUserInfoCookieType(that.Base64.encode(JSON.stringify(res.result)));
if(this.publicFun.isgetUserRoleFunc(1)) this.$router.push("/sys.user"); if(this.publicFun.isgetUserRoleFunc(1)) this.$router.push("/sys.user");
else { else {
if(this.publicFun.isgetUserRoleFunc(8)||this.publicFun.isgetUserRoleFunc(4)||this.publicFun.isgetUserRoleFunc(7)) this.$router.push({path:"/seeprojectlist",query:{remind:true}}); if(this.publicFun.isgetUserRoleFunc(8)||this.publicFun.isgetUserRoleFunc(4)||this.publicFun.isgetUserRoleFunc(7)) this.$router.push({path:"/peoplefinfo",query:{remind:true}});
else this.$router.push("/seeprojectlist"); else this.$router.push("/peoplefinfo");
} }
setTimeout(function(){ setTimeout(function(){
that.flag=0; that.flag=0;
......
...@@ -163,16 +163,16 @@ ...@@ -163,16 +163,16 @@
<!--新增--> <!--新增-->
<el-dialog title="合伙伴" :visible.sync="partnerVisible" :append-to-body="true" :close-on-click-modal="false" @close="closeSensor" width="700px" class="dialogWrap"> <el-dialog title="合伙伴" :visible.sync="partnerVisible" :append-to-body="true" :close-on-click-modal="false" @close="closeSensor" width="700px" class="dialogWrap">
<el-form label-position="right" label-width="120px" :model="partnerData" :rules="rules" ref="partnerData" style="margin:0 100px 0 60px"> <el-form label-position="right" label-width="120px" :model="partnerData" :rules="rules" ref="partnerData" style="margin:0 100px 0 60px">
<el-form-item label="合伙伴logo:" ref="guestimg" prop="partnerLogo"> <el-form-item label="合伙伴logo:" ref="guestimg" prop="partnerLogo">
<p class="imgTitle">仅支持PNG,JPG,JPEG,最大不超过400K,尺寸348*148px;</p> <p class="imgTitle">仅支持PNG,JPG,JPEG,最大不超过400K,尺寸348*148px;</p>
<div class="uploadImg"> <div class="uploadImg">
<up-img :actionUrl="'/base/upload/uploadOriginalImg'" @dataEvent_size="dataEventSize" @dataEvent="Backimg" :iseventPartner="true" :channelPic="partnerData.partnerLogo" :upmax="0.4"></up-img> <up-img :actionUrl="'/base/upload/uploadOriginalImg'" @dataEvent_size="dataEventSize" @dataEvent="Backimg" :iseventPartner="true" :channelPic="partnerData.partnerLogo" :upmax="0.4"></up-img>
</div> </div>
</el-form-item> </el-form-item>
<el-form-item label="合伙伴名称:" prop="partnerName"> <el-form-item label="合伙伴名称:" prop="partnerName">
<el-input v-model="partnerData.partnerName" maxlength="40" placeholder="请输入合伙伴名称"></el-input> <el-input v-model="partnerData.partnerName" maxlength="40" placeholder="请输入合伙伴名称"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="链接地址:" prop="partnerUrl"> <el-form-item label="链接地址:" prop="partnerUrl">
<el-input v-model="partnerData.partnerUrl" maxlength="150" placeholder="请输入链接地址"></el-input> <el-input v-model="partnerData.partnerUrl" maxlength="150" placeholder="请输入链接地址"></el-input>
...@@ -236,8 +236,8 @@ ...@@ -236,8 +236,8 @@
contactData:{}, contactData:{},
selectpartnerlist:[], selectpartnerlist:[],
rules:{ rules:{
partnerName: [{required: true,message: '请输入合伙伴名称',trigger: 'blur'}], partnerName: [{required: true,message: '请输入合伙伴名称',trigger: 'blur'}],
partnerLogo: [{required: true,message: '请上传合伙伴logo',trigger: 'blur'}], partnerLogo: [{required: true,message: '请上传合伙伴logo',trigger: 'blur'}],
}, },
contactrules:{ contactrules:{
contactWay: [{required: true,message: '请输入联系方式',trigger: 'blur'}], contactWay: [{required: true,message: '请输入联系方式',trigger: 'blur'}],
......
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