取消
确定
@@ -65,6 +65,7 @@ import {
onmbinfo:{},
mbData:[],
list1: [],
+ list2:[],
rulesmbinfo:{
type: [{
required: true,
@@ -113,11 +114,18 @@ import {
//模版信息
templateInformation:'',
//模版url
- templateInformationUrl:''
+ templateInformationUrl:'',
+
+ //跳转链接
+ redirectUrl:'',
+ //封面图片
+ coverImage:'',
},
templateAttachment:'',
AddData:[],
- dpinfo:null
+ dpinfo:null,
+ redirectUrl:'',
+ coverImage:'',
}
},
props: {
@@ -184,8 +192,44 @@ import {
if(this.info.templateInformationUrl){
this.templateAttachment = this.info.templateInformationUrl
}
+ if(this.info.redirectUrl){
+ this.redirectUrl = this.info.redirectUrl
+ }
+ if(this.info.coverImage){
+ this.coverImage = this.info.coverImage
+ }
},
methods: {
+ changeContractType(e) {
+ console.error(e)
+ this.isshow = false
+ if(e == '广告位合同') {
+ this.list1.push({
+ name: '跳转链接',
+ key: 'redirectUrl',
+ type: '单行文本',
+ isrequired: '是',
+ width: '100%(一行)',
+ length: '20',
+ value: this.redirectUrl ,
+ })
+ this.list1.push({
+ name: '封面图片',
+ key: 'coverImage',
+ type: '图片',
+ isrequired: '是',
+ width: '100%(一行)',
+ length: '',
+ value: this.coverImage,
+ })
+
+ } else {
+ this.list1 = this.list2
+ }
+ setTimeout(() => {
+ this.isshow = true
+ }, 100)
+ },
async add1() {
// this.addinfo1()
// return
@@ -208,6 +252,7 @@ import {
info1.shopNumber = 'sp' + element.value.id
} else if (element.value.advertisingType) {
info1.shopNumber = 'gg' + element.value.id
+ this.formInline.carouselId = element.value.carouselId
} else {
info1.shopNumber = 'cd' + element.value.id
}
@@ -328,6 +373,7 @@ import {
info1.shopNumber = 'sp' + element.value.id
} else if (element.value.advertisingType) {
info1.shopNumber = 'gg' + element.value.id
+ this.formInline.carouselId = element.value.carouselId
} else {
info1.shopNumber = 'cd' + element.value.id
}
@@ -356,6 +402,7 @@ import {
console.error(res)
if(res.code == 200 && res.data) {
this.formInline.appendicesContract = res.data
+
contractinsertAdd({
...this.formInline,
templateInformationUrl:this.templateAttachment,
@@ -451,6 +498,7 @@ import {
}
}
}
+ this.list2 = this.list1
//延迟2秒
setTimeout(() => {
this.isshow = true
diff --git a/admin-web-master/src/components/add/addmap.vue b/admin-web-master/src/components/add/addmap.vue
index e1344f0..2cc7eda 100644
--- a/admin-web-master/src/components/add/addmap.vue
+++ b/admin-web-master/src/components/add/addmap.vue
@@ -20,13 +20,15 @@
-
+
+
+
+
+
@@ -43,12 +45,7 @@
changimg(e,'locationDiagram')">
-
+
+
+
+
+ {{item.value?'查看详情':'暂无文件'}}
+
+
+
+ 无
+
+
+ {{item.value}} 元
+
+
+
+
+ {{newinfo.appendicesContract?'查看详情':'暂无文件'}}
@@ -145,13 +166,15 @@
@@ -237,7 +1225,7 @@
.el-form-item__label {
color: #a2a2a2;
}
-
+
.greens {
color: #3F9B6A;
}
diff --git a/admin-web-master/src/components/newmap/index copy.vue b/admin-web-master/src/components/newmap/index copy.vue
new file mode 100644
index 0000000..f98e762
--- /dev/null
+++ b/admin-web-master/src/components/newmap/index copy.vue
@@ -0,0 +1,277 @@
+