diff --git a/admin-web-master/src/views/activity/activityBian.vue b/admin-web-master/src/views/activity/activityBian.vue index da21152..1320a24 100644 --- a/admin-web-master/src/views/activity/activityBian.vue +++ b/admin-web-master/src/views/activity/activityBian.vue @@ -81,9 +81,10 @@
- + - + + @@ -245,14 +246,15 @@ 相关附件信息
- +
@@ -338,6 +340,7 @@ import Vue from 'vue' import { uploadUrl } from '@/utils/request' import upimg from "@/components/ImageUpload/index" + import upfile from "@/components/fujianUpload/fujianList" export default { props:{ showBian:{ @@ -345,7 +348,7 @@ default: () => ({}) } }, - components: { upimg}, + components: { upimg,upfile}, data() { return { uploadFileUrl: uploadUrl, // 请求地址 @@ -370,6 +373,7 @@ estimatedCost:'', notes:'' }, + ruleForm:{} } }, @@ -391,6 +395,27 @@ mounted() { }, methods: { + changimg(e,type) { + this.ruleForm[type] = e + + if(type=='otherImageVideos'){ + const parts = e.split('/'); + const filename = parts[parts.length - 1]; + // let file ={ + // url:e, + // attachmentName:filename + // } + let fuji={ + detailsId:this.secondData.id, + attachmentName:filename, + attachmentUrl:e, + } + fujiaAdd(fuji).then(res=>{ + this.fucha(this.secondData.id) + }) + // this.dataList.push(file) + } + }, //获取当前时间 updateCurrentTime() { const now = new Date(); diff --git a/admin-web-master/src/views/activity/activityBz.vue b/admin-web-master/src/views/activity/activityBz.vue index 7cee96a..86cf94e 100644 --- a/admin-web-master/src/views/activity/activityBz.vue +++ b/admin-web-master/src/views/activity/activityBz.vue @@ -118,7 +118,7 @@ - + @@ -279,9 +279,10 @@
-
相关附件
+
相关附件
- + + - 下载 + 下载 @@ -489,7 +489,7 @@ - +
@@ -2230,9 +2230,6 @@ ::v-deep .el-form-item{ margin-bottom:16px; } - /deep/ .el-form-item__content { - line-height: 0; - } .tableBtn { display: inline-block; diff --git a/admin-web-master/src/views/atmosphere/atmosphereBian.vue b/admin-web-master/src/views/atmosphere/atmosphereBian.vue index a51ab56..bc1e6fd 100644 --- a/admin-web-master/src/views/atmosphere/atmosphereBian.vue +++ b/admin-web-master/src/views/atmosphere/atmosphereBian.vue @@ -79,9 +79,11 @@
- - + + + +
@@ -238,14 +240,15 @@ 相关附件信息
- +
@@ -330,6 +333,8 @@ import Vue from 'vue' import { uploadUrl } from '@/utils/request' import upimg from "@/components/ImageUpload/index" + import upfile from "@/components/fujianUpload/fujianList" + export default { props:{ showBian:{ @@ -337,7 +342,7 @@ default: () => ({}) } }, - components: { upimg}, + components: { upfile,upimg}, data() { return { uploadFileUrl: uploadUrl, // 请求地址 @@ -383,6 +388,27 @@ mounted() { }, methods: { + changimg(e,type) { + this.ruleForm[type] = e + + if(type=='otherImageVideos'){ + const parts = e.split('/'); + const filename = parts[parts.length - 1]; + // let file ={ + // url:e, + // attachmentName:filename + // } + let fuji={ + detailsId:this.secondData.id, + attachmentName:filename, + attachmentUrl:e, + } + fujiaAdd(fuji).then(res=>{ + this.fucha(this.secondData.id) + }) + // this.dataList.push(file) + } + }, //获取当前时间 updateCurrentTime() { const now = new Date(); diff --git a/admin-web-master/src/views/atmosphere/atmosphereBz.vue b/admin-web-master/src/views/atmosphere/atmosphereBz.vue index f96f5b8..4703fcb 100644 --- a/admin-web-master/src/views/atmosphere/atmosphereBz.vue +++ b/admin-web-master/src/views/atmosphere/atmosphereBz.vue @@ -118,9 +118,9 @@ - - - + + + @@ -282,17 +282,9 @@
-
相关附件
+
相关附件
- -
- 上传附件 -
-
+
@@ -391,6 +383,7 @@ import { uploadUrl } from '@/utils/request' import html2canvas from 'html2canvas' import jsPDF from 'jspdf' + import upfile from "@/components/fujianUpload/fujianList" export default { props: { showAdd:{ @@ -404,7 +397,7 @@ export default { }, } }, - components: { wangEditor ,upimg}, + components: { wangEditor ,upimg,upfile}, data(){ return{ uploadFileUrl: uploadUrl, // 请求地址 @@ -476,6 +469,19 @@ lishiList:'', this.lishi() }, methods: { + changimg(e,type) { + this.ruleForm[type] = e + + if(type=='otherImageVideos'){ + const parts = e.split('/'); + const filename = parts[parts.length - 1]; + let file ={ + url:e, + name:filename + } + this.dataList.push(file) + } + }, //获取当前时间 updateCurrentTime() { const now = new Date(); diff --git a/admin-web-master/src/views/atmosphere/atmosphereGl.vue b/admin-web-master/src/views/atmosphere/atmosphereGl.vue index 3ab4225..88bbb99 100644 --- a/admin-web-master/src/views/atmosphere/atmosphereGl.vue +++ b/admin-web-master/src/views/atmosphere/atmosphereGl.vue @@ -139,7 +139,7 @@
- +
@@ -553,7 +553,7 @@ - +
@@ -2216,9 +2216,6 @@ this.fileData=[] } -/deep/ .el-form-item__content { - line-height: 0; -} .tableBtn { display: inline-block; diff --git a/admin-web-master/src/views/atmosphere/atmosphereSp.vue b/admin-web-master/src/views/atmosphere/atmosphereSp.vue index 57660ec..56f9a72 100644 --- a/admin-web-master/src/views/atmosphere/atmosphereSp.vue +++ b/admin-web-master/src/views/atmosphere/atmosphereSp.vue @@ -430,7 +430,7 @@
- +
@@ -761,7 +761,7 @@
- +
diff --git a/admin-web-master/src/views/media/mediaMana.vue b/admin-web-master/src/views/media/mediaMana.vue index c19a19f..f1db138 100644 --- a/admin-web-master/src/views/media/mediaMana.vue +++ b/admin-web-master/src/views/media/mediaMana.vue @@ -126,8 +126,8 @@
- - + +
@@ -531,7 +531,7 @@ components: { addAct,wangEditor,upimg}, planName: '', planFen:'', currentPage: 1, - total: 100, + total: 0, flag: false, pageSize: 10, ggXin: false, @@ -602,6 +602,10 @@ components: { addAct,wangEditor,upimg}, }, methods: { + changimg(e,type) { + this.secondData[type] = e + + }, //查询全数据 async getAll() { const res = await tuiGetAll(this.pageindex) diff --git a/admin-web-master/src/views/media/mediaMannaAdd.vue b/admin-web-master/src/views/media/mediaMannaAdd.vue index 292e3ab..ec1635a 100644 --- a/admin-web-master/src/views/media/mediaMannaAdd.vue +++ b/admin-web-master/src/views/media/mediaMannaAdd.vue @@ -44,19 +44,20 @@
-
微信
-
-
- 请选择海报 -
+
封面海报
+
+ + +
+
-
+
@@ -69,10 +70,10 @@ - 媒体上传 + 返回
@@ -147,6 +148,10 @@ this.editTrue = true }, methods: { + changimg(e,type) { + this.ruleForm[type] = e + + }, //获取当前时间 updateCurrentTime() { const now = new Date(); diff --git a/admin-web-master/src/views/promotion/account.vue b/admin-web-master/src/views/promotion/account.vue index 2fdc81e..76bd4d2 100644 --- a/admin-web-master/src/views/promotion/account.vue +++ b/admin-web-master/src/views/promotion/account.vue @@ -139,7 +139,8 @@ - + + - -