Commit 59e07aed790f2ef0a66ba3fd10ba21d4fc4f325b

Authored by 杨鑫
1 parent d2ed78e8

'修改bug'

admin-web-master/src/layout/index.vue
... ... @@ -774,19 +774,19 @@
774 774 clk(index) {
775 775 this.index = index
776 776 this.listMune = []
777   - // this.list = [
778   - // ['招商资源监测', '商家管理', '商铺租赁服务', '招商方案管理', '招商租赁管理', '广告服务', '轮播图设置', '商户意向管理', '问卷调查','客服服务管理', '系统设置'],
779   - // ['品牌策划', '活动策划', '氛围策划', '媒体推广'],
780   - // ['订单管理', '积分管理', '消息中心', '会员管理', '评论管理', '商品管理', '库存管理', '销售统计', '优惠券管理', '商城商家管理'],
781   - // ['联机交易', '对账处理', '日志管理', '商户服务'],
782   - // ['渠道售票统计分析', '销售额统计分析'],
783   - // ]
784   - // this.neibu()
785   -
786   -
787   - this.getMemu()
788   - this.waibu()
789   - this.list = this.mumeList
  777 + this.list = [
  778 + ['招商资源监测', '商家管理', '商铺租赁服务', '招商方案管理', '招商租赁管理', '广告服务', '轮播图设置', '商户意向管理', '问卷调查','客服服务管理', '系统设置'],
  779 + ['品牌策划', '活动策划', '氛围策划', '媒体推广'],
  780 + ['订单管理', '积分管理', '消息中心', '会员管理', '评论管理', '商品管理', '库存管理', '销售统计', '优惠券管理', '商城商家管理'],
  781 + ['联机交易', '对账处理', '日志管理', '商户服务'],
  782 + ['渠道售票统计分析', '销售额统计分析'],
  783 + ]
  784 + this.neibu()
  785 +
  786 +
  787 + // this.getMemu()
  788 + // this.waibu()
  789 + // this.list = this.mumeList
790 790  
791 791  
792 792 },
... ...
admin-web-master/src/views/activity/activityHis.vue
... ... @@ -805,6 +805,11 @@
805 805 </el-button>
806 806 <el-button @click="fivebian" style="background-color: #3F9B6A;color: #fff" v-if="activeName=='five'">保存
807 807 </el-button>
  808 +
  809 +
  810 + <!-- <div ref="imgces" style="width:80%;margin-top: 20px;">
  811 +
  812 + </div> -->
808 813 </div>
809 814  
810 815 </div>
... ... @@ -1853,8 +1858,10 @@
1853 1858 this.zhixingBian = flag
1854 1859 this.activeName = 'fourd'
1855 1860 }
  1861 + this.liData = []
  1862 + this.ggXin = true
1856 1863 this.editId =item.id
1857   - this.liData = []
  1864 +
1858 1865 this.lixiang = {}
1859 1866 this.lishiList=null
1860 1867 this.fileData = []
... ... @@ -1979,7 +1986,7 @@
1979 1986 lishiDeta({eventDetailsId:item.id}).then(res=>{
1980 1987 this.liData = res.data
1981 1988 })
1982   - this.ggXin = true
  1989 +
1983 1990 },
1984 1991 formTime(data){
1985 1992 this.zhixingList.planTime = data
... ... @@ -2031,8 +2038,13 @@
2031 2038 closeFn() {
2032 2039 this.ggXin = false
2033 2040 },
2034   - handleClick() {
2035   - console.log()
  2041 + handleClick(val) {
  2042 + console.log(val)
  2043 + if(val == 'foud'){
  2044 + lishiDeta({eventDetailsId:item.id}).then(res=>{
  2045 + this.liData = res.data
  2046 + })
  2047 + }
2036 2048 },
2037 2049 refreshData() {
2038 2050 // console.log('12123')
... ... @@ -2274,22 +2286,28 @@
2274 2286 },
2275 2287 // 下载
2276 2288 async downloadPdf() {
2277   - const content = this.$refs.actXiang;
  2289 + const content = this.$refs.actXiang
2278 2290  
2279 2291 // 使用 html2canvas 将 div 渲染为画布
2280   - const canvas = await html2canvas(content);
  2292 + const canvas = await html2canvas(content)
2281 2293  
2282 2294 // 获取画布的图像数据
2283   - const imgData = canvas.toDataURL('image/png');
2284   -
  2295 + const imgData = canvas.toDataURL('image/png')
  2296 + // 创建一个 img 元素
  2297 + // const img = document.createElement('img')
  2298 + // img.src = imgData
  2299 + // img.style.maxWidth = '100%'
  2300 + // const imgContainer = this.$refs.imgces
  2301 + // imgContainer.appendChild(img)
  2302 + // console.log(imgData,'图片11111')
2285 2303 // 创建一个新的 PDF 文档
2286   - const pdf = new jsPDF('p', 'mm', 'a4');
  2304 + const pdf = new jsPDF('p', 'mm', 'a4')
2287 2305  
2288 2306 // 添加图像到 PDF,第二个参数是图像格式,第三个参数是缩放比例
2289 2307 const imgWidth = 190; // 图像的宽度(mm)
2290   - const imgHeight = (canvas.height * imgWidth) / canvas.width; // 保持图像的宽高比
  2308 + const imgHeight = (canvas.height * imgWidth) / canvas.width // 保持图像的宽高比
2291 2309  
2292   - pdf.addImage(imgData, 'PNG', 10, 10, imgWidth, imgHeight); // 10, 10 是图像在 PDF 中的位置(mm)
  2310 + pdf.addImage(imgData, 'PNG', 10, 10, imgWidth, imgHeight) // 10, 10 是图像在 PDF 中的位置(mm)
2293 2311  
2294 2312 // 保存 PDF 文件
2295 2313 pdf.save('活动方案.pdf');
... ...
admin-web-master/src/views/atmosphere/atmosphereHis.vue
... ... @@ -1863,6 +1863,7 @@
1863 1863  
1864 1864 this.activeName = 'fourd'
1865 1865 }
  1866 + this.ggXin = true
1866 1867 this.liData = []
1867 1868 this.lixiang = {}
1868 1869 this.lishiList=null
... ... @@ -1988,7 +1989,7 @@
1988 1989 lishiDeta({eventDetailsId:item.id}).then(res=>{
1989 1990 this.liData = res.data
1990 1991 })
1991   - this.ggXin = true
  1992 +
1992 1993 },
1993 1994 formTime(data){
1994 1995 this.zhixingList.planTime = data
... ...
ceres-uniapp-master/utils/payUtil.js
... ... @@ -32,6 +32,7 @@ async function payH5InEquipment(payInfo) {
32 32 // })
33 33  
34 34 // })
  35 +
35 36 const res1 = await NET.request(API.Wenlv, payInfo, 'POST');
36 37 console.log('文旅支付参数', JSON.parse(res1.data).data.codeUrl)
37 38 const codeUrl = JSON.parse(res1.data).data.codeUrl
... ...