diff --git a/project/tianfuxing/AppActivitiesManagement/components/activitiesAdd.vue b/project/tianfuxing/AppActivitiesManagement/components/activitiesAdd.vue
index 0d37b9cf..01b9e539 100644
--- a/project/tianfuxing/AppActivitiesManagement/components/activitiesAdd.vue
+++ b/project/tianfuxing/AppActivitiesManagement/components/activitiesAdd.vue
@@ -14,17 +14,16 @@
-
-
- {{ info.clockRange }}米
-
+
+
{{ dict.getLabel('tfx_activityStatus',info.status) }}
+ {{ info.clockRange }}米
{{ info.intoBegintime }}至{{ info.intoEndtime}}
{{ info.intoIntegral }}分
{{ info.exitBegintime }}至{{ info.exitEndtime}}
- {{ info.exitIntegral }}
+ {{ info.exitIntegral }}分
@@ -72,7 +71,6 @@
-
@@ -146,7 +144,7 @@ export default {
exitTime: [],
exitBegintime: '',
exitEndtime: '',
- exitIntegral: '',
+ exitIntegral: '',
},
formRules: {
title: [{required: true, message: "请输入活动名称", trigger: "blur"}],
@@ -160,6 +158,7 @@ export default {
id: '',
isEdit: false,
info: {},
+ mapDetail: null,
map: null,
placeSearch: null,
placeDetail: {
@@ -181,6 +180,8 @@ export default {
if(this.params && this.params.id) {
this.id = this.params.id
this.getDetail()
+ setTimeout(() => {
+ },500)
}
},
watch: {
@@ -264,6 +265,25 @@ export default {
})
},
+ getMap(lng,lat,address) {
+ AMapLoader.load({
+ key: '54a02a43d9828a8f9cd4f26fe281e74e',
+ version: '2.0',
+ plugins: ['AMap.PlaceSearch', 'AMap.AutoComplete', 'AMap.Geocoder'],
+ }).then((AMap) => {
+ this.mapDetail = new AMap.Map(document.getElementById("mapDetail"), {
+ resizeEnable: true,
+ zooms: [6, 20],
+ zoom: 11,
+ })
+ var marker = new AMap.Marker({
+ position: new AMap.LngLat(lng,lat),
+ title: address
+ })
+ this.mapDetail.add(marker);
+ })
+ },
+
update() {
this.isEdit = true
this.getDetail()
@@ -278,6 +298,9 @@ export default {
this.form.intoTime = [res.data.intoBegintime,res.data.intoEndtime]
this.form.exitTime = [res.data.exitBegintime,res.data.exitEndtime]
this.info = res.data
+ this.placeDetail.lng = res.data.lng
+ this.placeDetail.lat = res.data.lat
+ this.getMap(this.info.lng,this.info.lat,this.info.address)
}
})
},
@@ -287,7 +310,7 @@ export default {
selectVote(e) {
this.form.voteUsers = e
},
-
+
handleAreaSelect(v) {
this.form.areaName = v?.[0]?.label
},
@@ -394,4 +417,4 @@ export default {
}
}
}
-
\ No newline at end of file
+
diff --git a/project/tianfuxing/AppMerchantDiscounts/AppMerchantDiscounts.vue b/project/tianfuxing/AppMerchantDiscounts/AppMerchantDiscounts.vue
new file mode 100644
index 00000000..9eee8976
--- /dev/null
+++ b/project/tianfuxing/AppMerchantDiscounts/AppMerchantDiscounts.vue
@@ -0,0 +1,134 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 审核通过
+ 审核拒绝
+ 删除
+
+
+
+
+
![]()
+
+
+
+
+
+
+
+
+