Commit 814bee0d55a707e48d3819b9f8a3ed2e49ea74c5
1 parent
f1afd764
'更新'
Showing
8 changed files
with
145 additions
and
48 deletions
admin-web-master/src/layout/index.vue
| @@ -197,17 +197,17 @@ | @@ -197,17 +197,17 @@ | ||
| 197 | } | 197 | } |
| 198 | } | 198 | } |
| 199 | return { | 199 | return { |
| 200 | - msg: [], | ||
| 201 | - list: [], | 200 | + // msg: [], |
| 201 | + // list: [], | ||
| 202 | // msg: ['招商服务系统'], | 202 | // msg: ['招商服务系统'], |
| 203 | - // msg: ['招商服务系统', '推广策划系统', '在线商城系统', '支付服务模块', '票务'], | ||
| 204 | - // list: [ | ||
| 205 | - // ['招商资源监测', '商家管理', '商铺租赁服务', '招商方案管理', '招商租赁管理', '广告服务', '轮播图设置', '商户意向管理', '问卷调查','客服服务管理', '系统设置'], | ||
| 206 | - // ['品牌策划', '活动策划', '氛围策划', '媒体推广'], | ||
| 207 | - // ['订单管理', '积分管理', '消息中心', '会员管理', '评论管理', '商品管理', '库存管理', '销售统计', '优惠券管理', '商城商家管理'], | ||
| 208 | - // ['联机交易', '对账处理', '日志管理', '商户服务'], | ||
| 209 | - // ['渠道售票统计分析', '销售额统计分析'], | ||
| 210 | - // ], | 203 | + msg: ['招商服务系统', '推广策划系统', '在线商城系统', '支付服务模块', '票务'], |
| 204 | + list: [ | ||
| 205 | + ['招商资源监测', '商家管理', '商铺租赁服务', '招商方案管理', '招商租赁管理', '广告服务', '轮播图设置', '商户意向管理', '问卷调查','客服服务管理', '系统设置'], | ||
| 206 | + ['品牌策划', '活动策划', '氛围策划', '媒体推广'], | ||
| 207 | + ['订单管理', '积分管理', '消息中心', '会员管理', '评论管理', '商品管理', '库存管理', '销售统计', '优惠券管理', '商城商家管理'], | ||
| 208 | + ['联机交易', '对账处理', '日志管理', '商户服务'], | ||
| 209 | + ['渠道售票统计分析', '销售额统计分析'], | ||
| 210 | + ], | ||
| 211 | listMune: [], | 211 | listMune: [], |
| 212 | mumeList: [], | 212 | mumeList: [], |
| 213 | mumeChildren1: [], | 213 | mumeChildren1: [], |
| @@ -296,10 +296,10 @@ | @@ -296,10 +296,10 @@ | ||
| 296 | this.userAvatar = getUserAvatar() | 296 | this.userAvatar = getUserAvatar() |
| 297 | }, | 297 | }, |
| 298 | mounted() { | 298 | mounted() { |
| 299 | - this.getMemu() | ||
| 300 | - this.address() | ||
| 301 | - this.waibu() | ||
| 302 | - // this.neibu() | 299 | + // this.getMemu() |
| 300 | + // this.address() | ||
| 301 | + // this.waibu() | ||
| 302 | + this.neibu() | ||
| 303 | }, | 303 | }, |
| 304 | 304 | ||
| 305 | methods: { | 305 | methods: { |
admin-web-master/src/views/customer/rUser/index.vue
| @@ -326,10 +326,30 @@ import merchantInformation from '../../../components/merchantInformation/index.v | @@ -326,10 +326,30 @@ import merchantInformation from '../../../components/merchantInformation/index.v | ||
| 326 | }, | 326 | }, |
| 327 | this.getAll() | 327 | this.getAll() |
| 328 | }, | 328 | }, |
| 329 | - async sethei(ids, num) { | ||
| 330 | - // console.log(ids, num) | ||
| 331 | - await cerePlatformMerchantedit({id:ids,isBlackList:num}) | ||
| 332 | - this.getAll() | 329 | + sethei(ids, num) { |
| 330 | + const h = this.$createElement; | ||
| 331 | + this.$msgbox({ | ||
| 332 | + title: '消息', | ||
| 333 | + message: h('p', null, [ | ||
| 334 | + h('span', null, '是否处理'), | ||
| 335 | + ]), | ||
| 336 | + showCancelButton: true, | ||
| 337 | + showClose:false, | ||
| 338 | + confirmButtonText: '确定', | ||
| 339 | + cancelButtonText: '取消', | ||
| 340 | + customClass:'oe-dialog-btn', | ||
| 341 | + beforeClose: (action, instance, done) => { | ||
| 342 | + if (action === 'confirm') { | ||
| 343 | + cerePlatformMerchantedit({id:ids,isBlackList:num}).then(res=>{ | ||
| 344 | + this.getAll() | ||
| 345 | + done(); | ||
| 346 | + }) | ||
| 347 | + } else { | ||
| 348 | + done(); | ||
| 349 | + } | ||
| 350 | + } | ||
| 351 | + }) | ||
| 352 | + | ||
| 333 | } | 353 | } |
| 334 | } | 354 | } |
| 335 | } | 355 | } |
admin-web-master/src/views/customer/yixiang/index.vue
| @@ -33,6 +33,14 @@ | @@ -33,6 +33,14 @@ | ||
| 33 | </el-table-column> | 33 | </el-table-column> |
| 34 | <el-table-column prop="actualUsableArea" min-width="150" label="实际使用面积" show-overflow-tooltip> | 34 | <el-table-column prop="actualUsableArea" min-width="150" label="实际使用面积" show-overflow-tooltip> |
| 35 | </el-table-column> | 35 | </el-table-column> |
| 36 | + <el-table-column prop="createTime" label="匹配时间" min-width="140"> | ||
| 37 | + <template slot-scope="scope"> | ||
| 38 | + {{formatISODate(scope.row.createTime)}} | ||
| 39 | + </template> | ||
| 40 | + </el-table-column> | ||
| 41 | + <el-table-column prop="shopId" label="匹配人" min-width="150"> | ||
| 42 | + | ||
| 43 | + </el-table-column> | ||
| 36 | <el-table-column label="操作" min-width="100" fixed="right"> | 44 | <el-table-column label="操作" min-width="100" fixed="right"> |
| 37 | <template slot-scope="scope"> | 45 | <template slot-scope="scope"> |
| 38 | <!-- <div class="tableBtn greens" @click="handleEditForm(scope.row)"> | 46 | <!-- <div class="tableBtn greens" @click="handleEditForm(scope.row)"> |
| @@ -114,9 +122,9 @@ | @@ -114,9 +122,9 @@ | ||
| 114 | <el-select v-model="pipeiSel.resources.cereRentalPolicies.rentalPrice" placeholder="请选择" | 122 | <el-select v-model="pipeiSel.resources.cereRentalPolicies.rentalPrice" placeholder="请选择" |
| 115 | style="width: 100%;"> | 123 | style="width: 100%;"> |
| 116 | <el-option label="0-2000" value="0-2000" /> | 124 | <el-option label="0-2000" value="0-2000" /> |
| 117 | - <el-option label="2000-5000" value="2000-5000" /> | ||
| 118 | - <el-option label="5000-10000" value="5000-10000" /> | ||
| 119 | - <el-option label="10000-20000" value="10000-20000" /> | 125 | + <el-option label="2001-5000" value="2001-5000" /> |
| 126 | + <el-option label="5001-10000" value="5001-10000" /> | ||
| 127 | + <el-option label="10001-20000" value="10001-20000" /> | ||
| 120 | </el-select> | 128 | </el-select> |
| 121 | </el-form-item> | 129 | </el-form-item> |
| 122 | <el-form-item style="margin-left: -70px;"> | 130 | <el-form-item style="margin-left: -70px;"> |
| @@ -169,7 +177,7 @@ | @@ -169,7 +177,7 @@ | ||
| 169 | {{scope.row.resources.shopIds.length!=0?getStatusText(scope.row.resources.shopIds[0].publishStatus):scope.row.resources.advIds.length!=0?getStatusText(scope.row.resources.advIds[0].publishStatus):scope.row.resources.siteIds.length!=0?getStatusText(scope.row.resources.siteIds[0].publishStatus):'无'}} | 177 | {{scope.row.resources.shopIds.length!=0?getStatusText(scope.row.resources.shopIds[0].publishStatus):scope.row.resources.advIds.length!=0?getStatusText(scope.row.resources.advIds[0].publishStatus):scope.row.resources.siteIds.length!=0?getStatusText(scope.row.resources.siteIds[0].publishStatus):'无'}} |
| 170 | </template> | 178 | </template> |
| 171 | </el-table-column> | 179 | </el-table-column> |
| 172 | - | 180 | + |
| 173 | </el-table> | 181 | </el-table> |
| 174 | 182 | ||
| 175 | <div class="fenye"> | 183 | <div class="fenye"> |
| @@ -380,7 +388,8 @@ | @@ -380,7 +388,8 @@ | ||
| 380 | belongingRegion:this.pipeiSel.belongingRegion, | 388 | belongingRegion:this.pipeiSel.belongingRegion, |
| 381 | applicableResources:this.pipeiSel.resources.cereRentalPolicies.applicableResources, | 389 | applicableResources:this.pipeiSel.resources.cereRentalPolicies.applicableResources, |
| 382 | matchingRecord: JSON.stringify(res.data.content), | 390 | matchingRecord: JSON.stringify(res.data.content), |
| 383 | - type:2 | 391 | + type:2, |
| 392 | + shopId:localStorage.getItem('roleName') | ||
| 384 | } | 393 | } |
| 385 | recordInsert(obj).then(item=>{}) | 394 | recordInsert(obj).then(item=>{}) |
| 386 | } | 395 | } |
| @@ -415,6 +424,23 @@ | @@ -415,6 +424,23 @@ | ||
| 415 | this.$refs.pipform.resetFields(); | 424 | this.$refs.pipform.resetFields(); |
| 416 | this.pipData = [] | 425 | this.pipData = [] |
| 417 | }, | 426 | }, |
| 427 | + formatISODate(isoDateStr, format = 'YYYY-MM-DD HH:mm:ss') { | ||
| 428 | + const date = new Date(isoDateStr); | ||
| 429 | + const year = date.getFullYear(); | ||
| 430 | + const month = String(date.getMonth() + 1).padStart(2, '0'); | ||
| 431 | + const day = String(date.getDate()).padStart(2, '0'); | ||
| 432 | + const hours = String(date.getHours()).padStart(2, '0'); | ||
| 433 | + const minutes = String(date.getMinutes()).padStart(2, '0'); | ||
| 434 | + const seconds = String(date.getSeconds()).padStart(2, '0'); | ||
| 435 | + | ||
| 436 | + return format | ||
| 437 | + .replace('YYYY', year) | ||
| 438 | + .replace('MM', month) | ||
| 439 | + .replace('DD', day) | ||
| 440 | + .replace('HH', hours) | ||
| 441 | + .replace('mm', minutes) | ||
| 442 | + .replace('ss', seconds); | ||
| 443 | + } | ||
| 418 | } | 444 | } |
| 419 | } | 445 | } |
| 420 | </script> | 446 | </script> |
admin-web-master/src/views/serve/Merchant/index.vue
| @@ -19,14 +19,14 @@ | @@ -19,14 +19,14 @@ | ||
| 19 | <el-form-item label="联系电话"> | 19 | <el-form-item label="联系电话"> |
| 20 | <el-input v-model="pageindex.contactPhone" placeholder="请输入" style="width:168px;" /> | 20 | <el-input v-model="pageindex.contactPhone" placeholder="请输入" style="width:168px;" /> |
| 21 | </el-form-item> | 21 | </el-form-item> |
| 22 | - <el-form-item label="合作类型"> | 22 | + <!-- <el-form-item label="合作类型"> |
| 23 | <el-select v-model="pageindex.cooperationType" placeholder="请选择" style="width:168px;margin-right: 15px"> | 23 | <el-select v-model="pageindex.cooperationType" placeholder="请选择" style="width:168px;margin-right: 15px"> |
| 24 | <el-option label="品牌推广合作" value="品牌推广合作" /> | 24 | <el-option label="品牌推广合作" value="品牌推广合作" /> |
| 25 | <el-option label="场地租赁合作" value="场地租赁合作" /> | 25 | <el-option label="场地租赁合作" value="场地租赁合作" /> |
| 26 | <el-option label="文化旅游合作" value="文化旅游合作" /> | 26 | <el-option label="文化旅游合作" value="文化旅游合作" /> |
| 27 | <el-option label="健康生活产品合作" value="健康生活产品合作" /> | 27 | <el-option label="健康生活产品合作" value="健康生活产品合作" /> |
| 28 | </el-select> | 28 | </el-select> |
| 29 | - </el-form-item> | 29 | + </el-form-item> --> |
| 30 | </el-form> | 30 | </el-form> |
| 31 | <div style="width:20%"> | 31 | <div style="width:20%"> |
| 32 | <el-button @click="onSubmit" style="background-color: #3F9B6A;color: #fff">查询 | 32 | <el-button @click="onSubmit" style="background-color: #3F9B6A;color: #fff">查询 |
ceres-uniapp-master/pages/tabbar/user/index.vue
| @@ -27,7 +27,7 @@ | @@ -27,7 +27,7 @@ | ||
| 27 | <view class="user-info-box " v-else> | 27 | <view class="user-info-box " v-else> |
| 28 | <image class="user-image u-skeleton-fillet" | 28 | <image class="user-image u-skeleton-fillet" |
| 29 | @click="handleJump('../../../pages_category_page2/userModule/personalDetails')" | 29 | @click="handleJump('../../../pages_category_page2/userModule/personalDetails')" |
| 30 | - v-if="userItem.headImage" :src="userItem.headImage" mode="widthFix" | 30 | + v-if="userItem.headImage" :src="$baseURL+userItem.headImage" |
| 31 | style="border-radius: 25%; border: 2px solid #fff;"></image> | 31 | style="border-radius: 25%; border: 2px solid #fff;"></image> |
| 32 | <image class="user-image" v-else src="https://jy.scjysm.asia:18086/cdwlMall/questionnaire/file/static/img//user/morentouxiang.png" | 32 | <image class="user-image" v-else src="https://jy.scjysm.asia:18086/cdwlMall/questionnaire/file/static/img//user/morentouxiang.png" |
| 33 | mode="widthFix"> | 33 | mode="widthFix"> |
ceres-uniapp-master/pages_category_page2/userModule/personalDetails.vue
| @@ -5,9 +5,14 @@ | @@ -5,9 +5,14 @@ | ||
| 5 | <view class="headBox"> | 5 | <view class="headBox"> |
| 6 | <view class="personalHead-box flex-sp-between flex-display flex-items"> | 6 | <view class="personalHead-box flex-sp-between flex-display flex-items"> |
| 7 | <label>头像</label> | 7 | <label>头像</label> |
| 8 | - <image class="user-headImg" v-if="item.headImage" :src="item.headImage"></image> | 8 | + <image |
| 9 | + class="user-headImg" | ||
| 10 | + :src="$baseURL+item.headImage || 'https://jy.scjysm.asia:18086/cdwlMall/questionnaire/file/static/img//user/morentouxiang.png'" | ||
| 11 | + @click="userHeadTap" | ||
| 12 | + ></image> | ||
| 13 | + <!-- <image class="user-headImg" v-if="item.headImage" :src="item.headImage"></image> | ||
| 9 | <image class="user-headImg" v-else src="https://jy.scjysm.asia:18086/cdwlMall/questionnaire/file/static/img//user/morentouxiang.png"> | 14 | <image class="user-headImg" v-else src="https://jy.scjysm.asia:18086/cdwlMall/questionnaire/file/static/img//user/morentouxiang.png"> |
| 10 | - </image> | 15 | + </image> --> |
| 11 | </view> | 16 | </view> |
| 12 | </view> | 17 | </view> |
| 13 | <view class="personalBack-box flex-items-plus flex-column"> | 18 | <view class="personalBack-box flex-items-plus flex-column"> |
| @@ -261,15 +266,44 @@ | @@ -261,15 +266,44 @@ | ||
| 261 | this.name = res.data.name | 266 | this.name = res.data.name |
| 262 | this.birthday = res.data.birthday | 267 | this.birthday = res.data.birthday |
| 263 | }).catch(res => { | 268 | }).catch(res => { |
| 264 | - | 269 | + |
| 265 | }) | 270 | }) |
| 266 | }, | 271 | }, |
| 267 | userHeadTap() { | 272 | userHeadTap() { |
| 268 | - return | 273 | + // return |
| 269 | uni.chooseImage({ | 274 | uni.chooseImage({ |
| 270 | count: 1, | 275 | count: 1, |
| 271 | - sizeType: ['compressed'], | ||
| 272 | - success: (res) => {} | 276 | + sizeType: ['compressed','album', 'camera'], |
| 277 | + success: (res) => { | ||
| 278 | + const tempFilePaths = res.tempFilePaths; | ||
| 279 | + // 这里可以进行图片上传操作,以下只是示例更新本地数据 | ||
| 280 | + this.item.headImage = tempFilePaths[0]; | ||
| 281 | + // console.log('23423423',res) | ||
| 282 | + uni.uploadFile({ | ||
| 283 | + url: API.UpUrl, | ||
| 284 | + filePath: tempFilePaths[0], | ||
| 285 | + name: 'file', | ||
| 286 | + success: (uploadRes) => { | ||
| 287 | + console.log('上传成功', JSON.parse(uploadRes.data).data); | ||
| 288 | + NET.request(API.UpdateUser, { | ||
| 289 | + headImage:JSON.parse(uploadRes.data).data | ||
| 290 | + }, 'POST').then(res => { | ||
| 291 | + this.GetUser() | ||
| 292 | + uni.hideLoading() | ||
| 293 | + uni.showToast({ | ||
| 294 | + title: '修改成功', | ||
| 295 | + icon: "success" | ||
| 296 | + }) | ||
| 297 | + }).catch(res => { | ||
| 298 | + uni.hideLoading() | ||
| 299 | + }) | ||
| 300 | + }, | ||
| 301 | + fail: (err) => { | ||
| 302 | + console.log('上传失败', err); | ||
| 303 | + } | ||
| 304 | + }) | ||
| 305 | + | ||
| 306 | + } | ||
| 273 | }) | 307 | }) |
| 274 | }, | 308 | }, |
| 275 | //生日 | 309 | //生日 |
ceres-uniapp-master/utils/payUtil.js
| @@ -21,20 +21,24 @@ async function payH5InEquipment(payInfo) { | @@ -21,20 +21,24 @@ async function payH5InEquipment(payInfo) { | ||
| 21 | // }) | 21 | // }) |
| 22 | // NET.request(API.gotoH5Pay, payInfo, 'POST').then(res1=>{ | 22 | // NET.request(API.gotoH5Pay, payInfo, 'POST').then(res1=>{ |
| 23 | console.log('支付参数',payInfo) | 23 | console.log('支付参数',payInfo) |
| 24 | - NET.request(API.Wenlv, payInfo, 'POST').then(res1=>{ | ||
| 25 | - console.log('文旅支付参数',JSON.parse(res1.data).data.codeUrl) | ||
| 26 | - uni.setStorageSync('homePageRoute', '/pages/tabbar/user/index'); | ||
| 27 | - | ||
| 28 | - location.replace(JSON.parse(res1.data).data.codeUrl) | ||
| 29 | - // NET.request(API.Gethu,payInfo, 'POST').then(res=>{ | ||
| 30 | - | ||
| 31 | - // // location.replace(res1.data.codeUrl) | ||
| 32 | - // }).catch(err=>{ | ||
| 33 | - // console.log(err) | ||
| 34 | - // }) | 24 | + // NET.request(API.Wenlv, payInfo, 'POST').then(res1=>{ |
| 25 | + // console.log('文旅支付参数',JSON.parse(res1.data).data.codeUrl) | ||
| 26 | + // uni.setStorageSync('homePageRoute', '/pages/tabbar/user/index'); | ||
| 27 | + // location.replace(JSON.parse(res1.data).data.codeUrl) | ||
| 28 | + // NET.request(API.Gethu,payInfo, 'POST').then(res=>{ | ||
| 29 | + | ||
| 30 | + // }).catch(err=>{ | ||
| 31 | + // console.log(err) | ||
| 32 | + // }) | ||
| 35 | 33 | ||
| 36 | - }) | ||
| 37 | - | 34 | + // }) |
| 35 | + const res1 = await NET.request(API.Wenlv, payInfo, 'POST'); | ||
| 36 | + console.log('文旅支付参数', JSON.parse(res1.data).data.codeUrl) | ||
| 37 | + const codeUrl = JSON.parse(res1.data).data.codeUrl | ||
| 38 | + if(codeUrl){ | ||
| 39 | + location.replace(codeUrl) | ||
| 40 | + } | ||
| 41 | + | ||
| 38 | } catch (e) { | 42 | } catch (e) { |
| 39 | this.submitActive = true | 43 | this.submitActive = true |
| 40 | uni.showToast({ | 44 | uni.showToast({ |
lvdao-miniapp/pages/shops/shops.vue
| @@ -345,11 +345,15 @@ | @@ -345,11 +345,15 @@ | ||
| 345 | }, | 345 | }, |
| 346 | { | 346 | { |
| 347 | value: '2', | 347 | value: '2', |
| 348 | - label: '2000-5000' | 348 | + label: '2001-5000' |
| 349 | }, | 349 | }, |
| 350 | { | 350 | { |
| 351 | value: '3', | 351 | value: '3', |
| 352 | - label: '5000-10000' | 352 | + label: '5001-10000' |
| 353 | + }, | ||
| 354 | + { | ||
| 355 | + value: '4', | ||
| 356 | + label: '10001-20000' | ||
| 353 | } | 357 | } |
| 354 | ] | 358 | ] |
| 355 | } else { | 359 | } else { |
| @@ -442,6 +446,14 @@ | @@ -442,6 +446,14 @@ | ||
| 442 | }) | 446 | }) |
| 443 | }, | 447 | }, |
| 444 | request() { | 448 | request() { |
| 449 | + const isLogin = uni.getStorageSync('user'); | ||
| 450 | + if (isLogin == '') { | ||
| 451 | + // 如果未登录,跳转到登录页面 | ||
| 452 | + uni.navigateTo({ | ||
| 453 | + url: '/pages/login/login' | ||
| 454 | + }) | ||
| 455 | + return false | ||
| 456 | + } | ||
| 445 | if (!this.formList.belongingRegion) { | 457 | if (!this.formList.belongingRegion) { |
| 446 | uni.showToast({ | 458 | uni.showToast({ |
| 447 | icon: 'none', | 459 | icon: 'none', |
| @@ -481,7 +493,8 @@ | @@ -481,7 +493,8 @@ | ||
| 481 | belongingRegion:this.formList.belongingRegion, | 493 | belongingRegion:this.formList.belongingRegion, |
| 482 | applicableResources:'商铺', | 494 | applicableResources:'商铺', |
| 483 | matchingRecord: JSON.stringify(res.data.data.content), | 495 | matchingRecord: JSON.stringify(res.data.data.content), |
| 484 | - type:2 | 496 | + type:2, |
| 497 | + shopId:isLogin.phone | ||
| 485 | } | 498 | } |
| 486 | this.$http.sendRequest('/resourceStrategyMatchingRecord/insert', 'POST', obj, 1).then( | 499 | this.$http.sendRequest('/resourceStrategyMatchingRecord/insert', 'POST', obj, 1).then( |
| 487 | res => { | 500 | res => { |