admin/.env.production | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
admin/src/views/business/analysis.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
admin/src/views/combo/record.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
admin/src/views/operation/components/AMap.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
admin/src/views/operation/site.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
admin/.env.production
@@ -5,9 +5,9 @@ VUE_APP_CONTEXT_PATH = '/bike_admin' # VUE_APP_API_BASE_URL = 'http://localhost:80/meeting_admin_interface' # VUE_APP_API_BASE_URL = 'https://dmtest.ahapp.net/bike_admin_api' VUE_APP_API_BASE_URL = 'https://dmtest.ahapp.net/bike_admin_api' VUE_APP_API_BASE_URL = 'https://bikes.yxbhlt.cn/bike_admin_api/' # VUE_APP_API_BASE_URL = 'https://bikes.yxbhlt.cn/bike_admin_api/' # VUE_APP_API_BASE_URL = 'https://skinai.beikepai.com/admin_interface' # https://dmtest.ahapp.net/meeting_admin_interface/doc.html admin/src/views/business/analysis.vue
@@ -172,7 +172,7 @@ } </script> <style lang="scss" scoped> ::v-deep .el-table tr:last-child { ::v-deep .el-table tbody tr:last-child { font-size: 16px; font-weight: bold; background-color: #f3f3fb; admin/src/views/combo/record.vue
@@ -6,7 +6,7 @@ <div class="table_btns"> <el-button plain type="primary" @click="handleEx">导出</el-button> <el-button plain type="danger" @click="openModal('zuofei')">作废</el-button> <el-button plain @click="openModal('tiaozheng')">套餐调整</el-button> <el-button plain type="primary" @click="openModal('tiaozheng')">套餐调整</el-button> </div> <el-table v-loading="loading" :data="list" stripe border @selection-change="handleSelectionChange"> <el-table-column fixed="left" align="center" type="selection" :selectable="handleDisable" width="55" /> @@ -209,13 +209,19 @@ }, handleEx() { const { pagination, filters } = this let form = JSON.parse(JSON.stringify(filters)) if (form.createDate && form.createDate.length > 0) { form.startCreateDate = form.createDate[0] + ' 00:00:00' form.endCreateDate = form.createDate[1] + ' 23:59:59' delete form.createDate } this.$dialog.exportConfirm('确认导出吗?') .then(() => { this.loading = true comboSaleEx({ page: 1, capacity: 1000000, model: filters model: form }) .then(response => { this.download(response) @@ -244,8 +250,8 @@ if (page) { pagination.page = page } let form = JSON.parse(JSON.stringify(filters)) if (form.createDate && form.createDate.length > 0) { form.startCreateDate = form.createDate[0] form.endCreateDate = form.createDate[1] form.startCreateDate = form.createDate[0] + ' 00:00:00' form.endCreateDate = form.createDate[1] + ' 23:59:59' delete form.createDate } comboSalePage({ admin/src/views/operation/components/AMap.vue
@@ -1,6 +1,6 @@ <template> <GlobalWindow title="绘制运营区域" :visible.sync="isShowModal" :confirm-working="isWorking" @close="close" @confirm="confirm" width="1000px"> @confirm="confirm" width="100%"> <div class="map_title">绘制:鼠标左键点击及移动即可绘制图形,绘制过程中按下esc键可中断该过程</div> <div class="map_title">鼠标左键双击即可结束当前多边形绘制,多边形会自动闭合;</div> <div class="map_wrap"> @@ -52,11 +52,11 @@ // maximumAge: 0 // 禁用缓存 // } // ) console.log('-----') console.log('-----', this.row) map = new TMap.Map("containera", { zoom: 16, // 设置地图缩放级别 center: new TMap.LatLng(31.722763, 117.385480) // 设置地图中心点坐标 zoom: this.polygons.length > 0 ? 20 : 16, // 设置地图缩放级别 center: this.polygons.length > 0 ? new TMap.LatLng(this.polygons[0].lat, this.polygons[0].lng) : new TMap.LatLng(31.722763, 117.385480) // 设置地图中心点坐标 }) var tempList = [] if (this.polygons.length > 0) { admin/src/views/operation/site.vue
@@ -92,7 +92,6 @@ }, methods: { changeMap(e, row) { console.log(e); updateById({ ...row, electronicFence: JSON.stringify(e) }).then(res => { if (res) { Message.success('设置成功') @@ -104,9 +103,9 @@ this.$refs.MapRef.isShowModal = true this.$nextTick(() => { this.$refs.MapRef.row = row // if (row.electronicFence) { // this.$refs.MapRef.polygons = JSON.parse(row.electronicFence) // } if (row.electronicFence) { this.$refs.MapRef.polygons = JSON.parse(row.electronicFence) } this.$refs.MapRef.initMap() })