diff --git a/admin-web-master/src/layout/index.vue b/admin-web-master/src/layout/index.vue index 6eb4386..658e275 100644 --- a/admin-web-master/src/layout/index.vue +++ b/admin-web-master/src/layout/index.vue @@ -774,19 +774,19 @@ clk(index) { this.index = index this.listMune = [] - // this.list = [ - // ['招商资源监测', '商家管理', '商铺租赁服务', '招商方案管理', '招商租赁管理', '广告服务', '轮播图设置', '商户意向管理', '问卷调查','客服服务管理', '系统设置'], - // ['品牌策划', '活动策划', '氛围策划', '媒体推广'], - // ['订单管理', '积分管理', '消息中心', '会员管理', '评论管理', '商品管理', '库存管理', '销售统计', '优惠券管理', '商城商家管理'], - // ['联机交易', '对账处理', '日志管理', '商户服务'], - // ['渠道售票统计分析', '销售额统计分析'], - // ] - // this.neibu() - - - this.getMemu() - this.waibu() - this.list = this.mumeList + this.list = [ + ['招商资源监测', '商家管理', '商铺租赁服务', '招商方案管理', '招商租赁管理', '广告服务', '轮播图设置', '商户意向管理', '问卷调查','客服服务管理', '系统设置'], + ['品牌策划', '活动策划', '氛围策划', '媒体推广'], + ['订单管理', '积分管理', '消息中心', '会员管理', '评论管理', '商品管理', '库存管理', '销售统计', '优惠券管理', '商城商家管理'], + ['联机交易', '对账处理', '日志管理', '商户服务'], + ['渠道售票统计分析', '销售额统计分析'], + ] + this.neibu() + + + // this.getMemu() + // this.waibu() + // this.list = this.mumeList }, diff --git a/admin-web-master/src/views/activity/activityHis.vue b/admin-web-master/src/views/activity/activityHis.vue index e2c01dc..0164b08 100644 --- a/admin-web-master/src/views/activity/activityHis.vue +++ b/admin-web-master/src/views/activity/activityHis.vue @@ -805,6 +805,11 @@ 保存 + + + @@ -1853,8 +1858,10 @@ this.zhixingBian = flag this.activeName = 'fourd' } + this.liData = [] + this.ggXin = true this.editId =item.id - this.liData = [] + this.lixiang = {} this.lishiList=null this.fileData = [] @@ -1979,7 +1986,7 @@ lishiDeta({eventDetailsId:item.id}).then(res=>{ this.liData = res.data }) - this.ggXin = true + }, formTime(data){ this.zhixingList.planTime = data @@ -2031,8 +2038,13 @@ closeFn() { this.ggXin = false }, - handleClick() { - console.log() + handleClick(val) { + console.log(val) + if(val == 'foud'){ + lishiDeta({eventDetailsId:item.id}).then(res=>{ + this.liData = res.data + }) + } }, refreshData() { // console.log('12123') @@ -2274,22 +2286,28 @@ }, // 下载 async downloadPdf() { - const content = this.$refs.actXiang; + const content = this.$refs.actXiang // 使用 html2canvas 将 div 渲染为画布 - const canvas = await html2canvas(content); + const canvas = await html2canvas(content) // 获取画布的图像数据 - const imgData = canvas.toDataURL('image/png'); - + const imgData = canvas.toDataURL('image/png') + // 创建一个 img 元素 + // const img = document.createElement('img') + // img.src = imgData + // img.style.maxWidth = '100%' + // const imgContainer = this.$refs.imgces + // imgContainer.appendChild(img) + // console.log(imgData,'图片11111') // 创建一个新的 PDF 文档 - const pdf = new jsPDF('p', 'mm', 'a4'); + const pdf = new jsPDF('p', 'mm', 'a4') // 添加图像到 PDF,第二个参数是图像格式,第三个参数是缩放比例 const imgWidth = 190; // 图像的宽度(mm) - const imgHeight = (canvas.height * imgWidth) / canvas.width; // 保持图像的宽高比 + const imgHeight = (canvas.height * imgWidth) / canvas.width // 保持图像的宽高比 - pdf.addImage(imgData, 'PNG', 10, 10, imgWidth, imgHeight); // 10, 10 是图像在 PDF 中的位置(mm) + pdf.addImage(imgData, 'PNG', 10, 10, imgWidth, imgHeight) // 10, 10 是图像在 PDF 中的位置(mm) // 保存 PDF 文件 pdf.save('活动方案.pdf'); diff --git a/admin-web-master/src/views/atmosphere/atmosphereHis.vue b/admin-web-master/src/views/atmosphere/atmosphereHis.vue index e07d485..ca1bc1e 100644 --- a/admin-web-master/src/views/atmosphere/atmosphereHis.vue +++ b/admin-web-master/src/views/atmosphere/atmosphereHis.vue @@ -1863,6 +1863,7 @@ this.activeName = 'fourd' } + this.ggXin = true this.liData = [] this.lixiang = {} this.lishiList=null @@ -1988,7 +1989,7 @@ lishiDeta({eventDetailsId:item.id}).then(res=>{ this.liData = res.data }) - this.ggXin = true + }, formTime(data){ this.zhixingList.planTime = data diff --git a/ceres-uniapp-master/utils/payUtil.js b/ceres-uniapp-master/utils/payUtil.js index c98f737..67aef0d 100644 --- a/ceres-uniapp-master/utils/payUtil.js +++ b/ceres-uniapp-master/utils/payUtil.js @@ -32,6 +32,7 @@ async function payH5InEquipment(payInfo) { // }) // }) + const res1 = await NET.request(API.Wenlv, payInfo, 'POST'); console.log('文旅支付参数', JSON.parse(res1.data).data.codeUrl) const codeUrl = JSON.parse(res1.data).data.codeUrl