Commit 7b3827628425abf2a89a12533b1887bd1e157846
Merge branch 'master' of http://39.98.150.180/webapp/GreenwayWeb
Showing
30 changed files
with
353 additions
and
148 deletions
admin-web-master/src/components/chakan/ggsh.vue
| @@ -20,8 +20,8 @@ | @@ -20,8 +20,8 @@ | ||
| 20 | <el-form :model="info" ref="ruleForm" label-width="140px" class="demo-ruleForm"> | 20 | <el-form :model="info" ref="ruleForm" label-width="140px" class="demo-ruleForm"> |
| 21 | <el-row :gutter="20"> | 21 | <el-row :gutter="20"> |
| 22 | <el-col :span="9"> | 22 | <el-col :span="9"> |
| 23 | - <el-form-item label="主体名称" prop="entityName"> | ||
| 24 | - <div class="duiqi">{{info.entityName}}</div> | 23 | + <el-form-item label="主体名称" prop="subjectName"> |
| 24 | + <div class="duiqi">{{info.subjectName}}</div> | ||
| 25 | </el-form-item> | 25 | </el-form-item> |
| 26 | </el-col> | 26 | </el-col> |
| 27 | <el-col :span="9"> | 27 | <el-col :span="9"> |
| @@ -32,8 +32,8 @@ | @@ -32,8 +32,8 @@ | ||
| 32 | </el-row> | 32 | </el-row> |
| 33 | <el-row :gutter="20"> | 33 | <el-row :gutter="20"> |
| 34 | <el-col :span="9"> | 34 | <el-col :span="9"> |
| 35 | - <el-form-item label="类型" prop="entityType"> | ||
| 36 | - <div class="duiqi">{{info.entityType}}</div> | 35 | + <el-form-item label="类型" prop="type"> |
| 36 | + <div class="duiqi">{{info.type}}</div> | ||
| 37 | </el-form-item> | 37 | </el-form-item> |
| 38 | </el-col> | 38 | </el-col> |
| 39 | <el-col :span="9"> | 39 | <el-col :span="9"> |
| @@ -57,8 +57,8 @@ | @@ -57,8 +57,8 @@ | ||
| 57 | </el-form-item> | 57 | </el-form-item> |
| 58 | </el-col> | 58 | </el-col> |
| 59 | </el-row> | 59 | </el-row> |
| 60 | - <el-form-item label="住所" prop="residence"> | ||
| 61 | - <div class="duiqi">{{info.residence}}</div> | 60 | + <el-form-item label="住所" prop="address"> |
| 61 | + <div class="duiqi">{{info.address}}</div> | ||
| 62 | </el-form-item> | 62 | </el-form-item> |
| 63 | <el-row :gutter="20"> | 63 | <el-row :gutter="20"> |
| 64 | <el-col :span="9"> | 64 | <el-col :span="9"> |
| @@ -87,36 +87,36 @@ | @@ -87,36 +87,36 @@ | ||
| 87 | <el-form :model="shop" ref="ruleForm" label-width="140px" class="demo-ruleForm"> | 87 | <el-form :model="shop" ref="ruleForm" label-width="140px" class="demo-ruleForm"> |
| 88 | <el-row :gutter="20"> | 88 | <el-row :gutter="20"> |
| 89 | <el-col :span="9"> | 89 | <el-col :span="9"> |
| 90 | - <el-form-item label="姓名" prop="operatorName"> | ||
| 91 | - <div class="duiqi">{{info.operatorName}}</div> | 90 | + <el-form-item label="姓名" prop="name"> |
| 91 | + <div class="duiqi">{{shopMsg.name}}</div> | ||
| 92 | </el-form-item> | 92 | </el-form-item> |
| 93 | </el-col> | 93 | </el-col> |
| 94 | <el-col :span="9"> | 94 | <el-col :span="9"> |
| 95 | <el-form-item label="手机号" prop="phone"> | 95 | <el-form-item label="手机号" prop="phone"> |
| 96 | - <div class="duiqi">{{info.phone}}</div> | 96 | + <div class="duiqi">{{shopMsg.phone}}</div> |
| 97 | </el-form-item> | 97 | </el-form-item> |
| 98 | </el-col> | 98 | </el-col> |
| 99 | </el-row> | 99 | </el-row> |
| 100 | <el-row :gutter="20"> | 100 | <el-row :gutter="20"> |
| 101 | <el-col :span="9"> | 101 | <el-col :span="9"> |
| 102 | <el-form-item label="证件类型" prop="idCardType"> | 102 | <el-form-item label="证件类型" prop="idCardType"> |
| 103 | - <div class="duiqi">{{info.idCardType}}</div> | 103 | + <div class="duiqi">{{shopMsg.idCardType}}</div> |
| 104 | </el-form-item> | 104 | </el-form-item> |
| 105 | </el-col> | 105 | </el-col> |
| 106 | <el-col :span="9"> | 106 | <el-col :span="9"> |
| 107 | - <el-form-item label="身份证号码" prop="idNumber"> | ||
| 108 | - <div class="duiqi">{{info.idNumber}}</div> | 107 | + <el-form-item label="身份证号码" prop="idCardNumber"> |
| 108 | + <div class="duiqi">{{shopMsg.idCardNumber}}</div> | ||
| 109 | </el-form-item> | 109 | </el-form-item> |
| 110 | </el-col> | 110 | </el-col> |
| 111 | </el-row> | 111 | </el-row> |
| 112 | - <el-form-item label="身份证照片(正)" prop="idPhotoFront"> | 112 | + <el-form-item label="身份证照片(正)" prop="idCardFrontImage"> |
| 113 | <div style="margin-top: 10px;"> | 113 | <div style="margin-top: 10px;"> |
| 114 | - <el-image style="width: 200px;" :src="$baseURL+info.idPhotoFront" fit="contain"></el-image> | 114 | + <el-image style="width: 200px;height:200px" :src="$baseURL+shopMsg.idCardFrontImage" fit="contain"></el-image> |
| 115 | </div> | 115 | </div> |
| 116 | </el-form-item> | 116 | </el-form-item> |
| 117 | - <el-form-item label="身份证照片(反)" prop="idPhotoBack"> | 117 | + <el-form-item label="身份证照片(反)" prop="idCardBackImage"> |
| 118 | <div style="margin-top: 10px;"> | 118 | <div style="margin-top: 10px;"> |
| 119 | - <el-image style="width: 200px;" :src="$baseURL+info.idPhotoBack" fit="contain"></el-image> | 119 | + <el-image style="width: 200px;height:200px" :src="$baseURL+shopMsg.idCardBackImage" fit="contain"></el-image> |
| 120 | </div> | 120 | </div> |
| 121 | </el-form-item> | 121 | </el-form-item> |
| 122 | </el-form> | 122 | </el-form> |
| @@ -211,7 +211,7 @@ | @@ -211,7 +211,7 @@ | ||
| 211 | <el-form-item label="位置示意图" prop="locationDiagram"> | 211 | <el-form-item label="位置示意图" prop="locationDiagram"> |
| 212 | <img v-for="item in info.cereAdvertisingInformation.locationDiagram.split(',')" :src="$baseURL+item" alt="" style="width:140px;height:140px;margin-left: 15px;"> | 212 | <img v-for="item in info.cereAdvertisingInformation.locationDiagram.split(',')" :src="$baseURL+item" alt="" style="width:140px;height:140px;margin-left: 15px;"> |
| 213 | </el-form-item> | 213 | </el-form-item> |
| 214 | - | 214 | + |
| 215 | <el-form-item label="备注信息" prop="memo" v-if="info.cereAdvertisingInformation.advertisingType == '线上广告位'"> | 215 | <el-form-item label="备注信息" prop="memo" v-if="info.cereAdvertisingInformation.advertisingType == '线上广告位'"> |
| 216 | <div class="duiqi">{{info.cereAdvertisingInformation.memo || '无'}}</div> | 216 | <div class="duiqi">{{info.cereAdvertisingInformation.memo || '无'}}</div> |
| 217 | </el-form-item> | 217 | </el-form-item> |
| @@ -262,7 +262,9 @@ | @@ -262,7 +262,9 @@ | ||
| 262 | import { | 262 | import { |
| 263 | AdvertiserInfoEdit, | 263 | AdvertiserInfoEdit, |
| 264 | } from '@/api/advertisement.js' | 264 | } from '@/api/advertisement.js' |
| 265 | - | 265 | + import { |
| 266 | + cerePlatformMerchant | ||
| 267 | + } from '@/api/newly.js' | ||
| 266 | import TitleWithCircle from '@/components/top/index'; | 268 | import TitleWithCircle from '@/components/top/index'; |
| 267 | import MapXian from "@/components/MapContainer/MapXian"; | 269 | import MapXian from "@/components/MapContainer/MapXian"; |
| 268 | export default { | 270 | export default { |
| @@ -301,12 +303,22 @@ | @@ -301,12 +303,22 @@ | ||
| 301 | shop: {}, | 303 | shop: {}, |
| 302 | newshop: {}, | 304 | newshop: {}, |
| 303 | newinfo: {}, | 305 | newinfo: {}, |
| 304 | - parentMessage: {} | 306 | + parentMessage: {}, |
| 307 | + pagequery: { | ||
| 308 | + pageNumber: 0, | ||
| 309 | + pageSize: 10, | ||
| 310 | + checkState:'2', | ||
| 311 | + phone: '', | ||
| 312 | + }, | ||
| 313 | + shopMsg:{} | ||
| 305 | } | 314 | } |
| 306 | }, | 315 | }, |
| 307 | created() { | 316 | created() { |
| 308 | console.log(this.info) | 317 | console.log(this.info) |
| 309 | - | 318 | + this.pagequery.phone = this.info.applicant |
| 319 | + cerePlatformMerchant(this.pagequery).then(res=>{ | ||
| 320 | + this.shopMsg = res.data.content[0] | ||
| 321 | + }) | ||
| 310 | }, | 322 | }, |
| 311 | computed: { | 323 | computed: { |
| 312 | 324 |
admin-web-master/src/layout/index.vue
| @@ -263,7 +263,7 @@ export default { | @@ -263,7 +263,7 @@ export default { | ||
| 263 | // ['招商资源监测','商家管理','商铺租赁服务','招商方案管理','招商租赁管理'], | 263 | // ['招商资源监测','商家管理','商铺租赁服务','招商方案管理','招商租赁管理'], |
| 264 | ['招商资源监测','商家管理','商铺租赁服务','招商方案管理','招商租赁管理','广告服务','轮播图设置','商户意向管理','客服服务管理'], | 264 | ['招商资源监测','商家管理','商铺租赁服务','招商方案管理','招商租赁管理','广告服务','轮播图设置','商户意向管理','客服服务管理'], |
| 265 | ['品牌策划','活动策划','氛围策划','媒体推广'], | 265 | ['品牌策划','活动策划','氛围策划','媒体推广'], |
| 266 | - ['订单管理','积分管理','消息中心','会员管理','评论管理','商品管理','库存管理','销售统计','平台活动'], | 266 | + ['订单管理','积分管理','消息中心','会员管理','评论管理','商品管理','库存管理','销售统计','优惠券管理'], |
| 267 | ['联机交易','对账处理','日志管理','商户服务'], | 267 | ['联机交易','对账处理','日志管理','商户服务'], |
| 268 | ['渠道售票统计分析','销售额统计分析'], | 268 | ['渠道售票统计分析','销售额统计分析'], |
| 269 | ], | 269 | ], |
| @@ -645,7 +645,7 @@ this.listMune[0] = All | @@ -645,7 +645,7 @@ this.listMune[0] = All | ||
| 645 | ['招商资源监测','商家管理','商铺租赁服务','招商方案管理','招商租赁管理','广告服务','轮播图设置','商户意向管理','客服服务管理'], | 645 | ['招商资源监测','商家管理','商铺租赁服务','招商方案管理','招商租赁管理','广告服务','轮播图设置','商户意向管理','客服服务管理'], |
| 646 | // ['招商资源监测','商家管理','招商方案管理','招商租赁管理','广告服务','客服服务管理','系统设置','商铺租赁服务','招商过程管理','商户寻租管理','轮播图设置'], | 646 | // ['招商资源监测','商家管理','招商方案管理','招商租赁管理','广告服务','客服服务管理','系统设置','商铺租赁服务','招商过程管理','商户寻租管理','轮播图设置'], |
| 647 | ['品牌策划','活动策划','氛围策划','媒体推广'], | 647 | ['品牌策划','活动策划','氛围策划','媒体推广'], |
| 648 | - ['订单管理',,'积分管理','消息中心','会员管理','评论管理','商品管理','库存管理','销售统计','平台活动'], | 648 | + ['订单管理',,'积分管理','消息中心','会员管理','评论管理','商品管理','库存管理','销售统计','优惠券管理'], |
| 649 | ['联机交易','对账处理','日志管理','商户服务'], | 649 | ['联机交易','对账处理','日志管理','商户服务'], |
| 650 | ['渠道售票统计分析','销售额统计分析'], | 650 | ['渠道售票统计分析','销售额统计分析'], |
| 651 | ], | 651 | ], |
admin-web-master/src/views/advertisement/advertisingReview/advertisingReview.vue
| @@ -159,7 +159,7 @@ | @@ -159,7 +159,7 @@ | ||
| 159 | <el-col :span="12"> | 159 | <el-col :span="12"> |
| 160 | <el-form-item> | 160 | <el-form-item> |
| 161 | <div style="margin-top: 20px"> | 161 | <div style="margin-top: 20px"> |
| 162 | - <el-button @click="changeauditStatus()" style="background-color: #3F9B6A;color: #fff;">确定</el-button> | 162 | + <el-button @click="changeauditStatus" style="background-color: #3F9B6A;color: #fff;">确定</el-button> |
| 163 | <el-button @click="addcl = false" class="buttonHover" | 163 | <el-button @click="addcl = false" class="buttonHover" |
| 164 | style="color: #606266;border: 1px solid #DBDBDB;background-color: #fff;">取消</el-button> | 164 | style="color: #606266;border: 1px solid #DBDBDB;background-color: #fff;">取消</el-button> |
| 165 | </div> | 165 | </div> |
| @@ -247,7 +247,8 @@ | @@ -247,7 +247,8 @@ | ||
| 247 | message: tit + '成功', | 247 | message: tit + '成功', |
| 248 | type: 'success' | 248 | type: 'success' |
| 249 | }) | 249 | }) |
| 250 | - this.removeonaction('1') | 250 | + this.addcl = false |
| 251 | + this.getAll() | ||
| 251 | } else { | 252 | } else { |
| 252 | this.$message({ | 253 | this.$message({ |
| 253 | message: res.msg, | 254 | message: res.msg, |
| @@ -544,4 +545,4 @@ | @@ -544,4 +545,4 @@ | ||
| 544 | padding: 0; | 545 | padding: 0; |
| 545 | display: none; | 546 | display: none; |
| 546 | } | 547 | } |
| 547 | -</style> | ||
| 548 | \ No newline at end of file | 548 | \ No newline at end of file |
| 549 | +</style> |
admin-web-master/src/views/customer/icManagement/index.vue
| @@ -46,7 +46,7 @@ | @@ -46,7 +46,7 @@ | ||
| 46 | <el-table-column label="意向租赁周期" prop="leaseCycle" min-width="120" /> | 46 | <el-table-column label="意向租赁周期" prop="leaseCycle" min-width="120" /> |
| 47 | <el-table-column label="意向租金(月)" prop="rentalRent" min-width="120" /> | 47 | <el-table-column label="意向租金(月)" prop="rentalRent" min-width="120" /> |
| 48 | <el-table-column label="意向区域" prop="intentionRegion" min-width="150" /> | 48 | <el-table-column label="意向区域" prop="intentionRegion" min-width="150" /> |
| 49 | - <el-table-column label="操作" min-width="180"> | 49 | + <el-table-column label="操作" min-width="180" fixed="right"> |
| 50 | <template slot-scope="scope"> | 50 | <template slot-scope="scope"> |
| 51 | <div class="tableBtn greens" @click="handleEditForm(scope.row)"> | 51 | <div class="tableBtn greens" @click="handleEditForm(scope.row)"> |
| 52 | 查看 | 52 | 查看 |
| @@ -96,8 +96,10 @@ | @@ -96,8 +96,10 @@ | ||
| 96 | </el-row> | 96 | </el-row> |
| 97 | <el-row :gutter="20"> | 97 | <el-row :gutter="20"> |
| 98 | <el-col :span="12"> | 98 | <el-col :span="12"> |
| 99 | - <el-form-item label="意向租金(月)" prop="rentalRent"> | ||
| 100 | - <el-input v-model.number="ruleForm.rentalRent" placeholder="请输入" /> | 99 | + <el-form-item label="意向租金(月)" prop="rentalRent" :rules="getCoordinateRules('rentalRent')"> |
| 100 | + <el-input v-model.number="ruleForm.rentalRent" placeholder="请输入" > | ||
| 101 | + | ||
| 102 | + </el-input> | ||
| 101 | </el-form-item> | 103 | </el-form-item> |
| 102 | </el-col> | 104 | </el-col> |
| 103 | <el-col :span="12"> | 105 | <el-col :span="12"> |
| @@ -123,7 +125,7 @@ | @@ -123,7 +125,7 @@ | ||
| 123 | </el-col> | 125 | </el-col> |
| 124 | <el-col :span="12"> | 126 | <el-col :span="12"> |
| 125 | <el-form-item label="手机号" prop="phone"> | 127 | <el-form-item label="手机号" prop="phone"> |
| 126 | - <el-input v-model="ruleForm.phone" placeholder="请输入" /> | 128 | + <el-input v-model.number="ruleForm.phone" placeholder="请输入" /> |
| 127 | </el-form-item> | 129 | </el-form-item> |
| 128 | </el-col> | 130 | </el-col> |
| 129 | </el-row> | 131 | </el-row> |
| @@ -257,15 +259,15 @@ | @@ -257,15 +259,15 @@ | ||
| 257 | <el-col :span="12"> | 259 | <el-col :span="12"> |
| 258 | <el-form-item label="身份证照片(正面)" prop="businessScope"> | 260 | <el-form-item label="身份证照片(正面)" prop="businessScope"> |
| 259 | <!-- {{idCardPhotoFront}} --> | 261 | <!-- {{idCardPhotoFront}} --> |
| 260 | - <el-image :src="$baseURL +secondData.idCardPhotoFront"></el-image> | 262 | + <el-image :src="$baseURL +secondData.idCardPhotoFront" style="width:140px;height:140px;"></el-image> |
| 261 | </el-form-item> | 263 | </el-form-item> |
| 262 | </el-col> | 264 | </el-col> |
| 263 | </el-row> | 265 | </el-row> |
| 264 | <el-row :gutter="20"> | 266 | <el-row :gutter="20"> |
| 265 | <el-col :span="12"> | 267 | <el-col :span="12"> |
| 266 | - <el-form-item label="身份证照片(反面面)" prop="businessScope"> | 268 | + <el-form-item label="身份证照片(反面)" prop="businessScope"> |
| 267 | <!-- idCardPhotoBack --> | 269 | <!-- idCardPhotoBack --> |
| 268 | - <el-image :src="$baseURL +secondData.idCardPhotoBack"></el-image> | 270 | + <el-image :src="$baseURL +secondData.idCardPhotoBack" style="width:140px;height:140px;"></el-image> |
| 269 | </el-form-item> | 271 | </el-form-item> |
| 270 | </el-col> | 272 | </el-col> |
| 271 | </el-row> | 273 | </el-row> |
| @@ -326,7 +328,7 @@ | @@ -326,7 +328,7 @@ | ||
| 326 | intentionRegion:'',//意向区域 | 328 | intentionRegion:'',//意向区域 |
| 327 | idCardNumber:'',//身份证号 | 329 | idCardNumber:'',//身份证号 |
| 328 | idCardType:'',//证件类型 | 330 | idCardType:'',//证件类型 |
| 329 | - phone:'',//手机号 | 331 | + phone:null,//手机号 |
| 330 | idTime:[], | 332 | idTime:[], |
| 331 | idCardValidStart:'',//身份证有效开始时间 | 333 | idCardValidStart:'',//身份证有效开始时间 |
| 332 | idCardValidEnd:'',//身份证有效结束时间 | 334 | idCardValidEnd:'',//身份证有效结束时间 |
| @@ -362,11 +364,14 @@ | @@ -362,11 +364,14 @@ | ||
| 362 | message: '请输入租赁周期', | 364 | message: '请输入租赁周期', |
| 363 | trigger: 'blur' | 365 | trigger: 'blur' |
| 364 | }, ], | 366 | }, ], |
| 365 | - rentalRent: [{ | ||
| 366 | - required: true, | ||
| 367 | - message: '请输入意向租金(月)', | ||
| 368 | - trigger: 'blur' | ||
| 369 | - }, ], | 367 | + // rentalRent: [{ |
| 368 | + // required: true, | ||
| 369 | + // message: '请输入意向租金(月)', | ||
| 370 | + // trigger: 'blur' | ||
| 371 | + // },{ | ||
| 372 | + // pattern: /^(\d+|\d*\.\d{1,10})$/, | ||
| 373 | + // message: `${coord}为整数或最多三位小数,trigger:'blur'` | ||
| 374 | + // }], | ||
| 370 | operationType: [{ | 375 | operationType: [{ |
| 371 | required: true, | 376 | required: true, |
| 372 | message: '请输入经营类型', | 377 | message: '请输入经营类型', |
| @@ -386,7 +391,11 @@ | @@ -386,7 +391,11 @@ | ||
| 386 | required: true, | 391 | required: true, |
| 387 | message: '请输入手机号', | 392 | message: '请输入手机号', |
| 388 | trigger: 'blur' | 393 | trigger: 'blur' |
| 389 | - }, ], | 394 | + },{ |
| 395 | + pattern: /^[0-9]+$/, | ||
| 396 | + message: '手机号只能包含数字', | ||
| 397 | + trigger: 'blur' , | ||
| 398 | + }], | ||
| 390 | idCardValidStart: [{ | 399 | idCardValidStart: [{ |
| 391 | required: true, | 400 | required: true, |
| 392 | message: '请选择身份证有效时间', | 401 | message: '请选择身份证有效时间', |
| @@ -414,6 +423,13 @@ | @@ -414,6 +423,13 @@ | ||
| 414 | mounted() {}, | 423 | mounted() {}, |
| 415 | 424 | ||
| 416 | methods: { | 425 | methods: { |
| 426 | +getCoordinateRules(coord) { | ||
| 427 | + return [ | ||
| 428 | + { required: true, message: `意向租金不能为空且必须是数字`, trigger: 'blur'}, | ||
| 429 | + { pattern: /^(\d+|\d*\.\d{1,10})$/, message: `意向租金为整数或最多三位小数`, trigger: 'blur' }, | ||
| 430 | + | ||
| 431 | + ] | ||
| 432 | +}, | ||
| 417 | changimg(e,type) { | 433 | changimg(e,type) { |
| 418 | this.ruleForm[type] = e | 434 | this.ruleForm[type] = e |
| 419 | }, | 435 | }, |
| @@ -461,7 +477,9 @@ this.ruleForm.idCardValidEnd = e[1] | @@ -461,7 +477,9 @@ this.ruleForm.idCardValidEnd = e[1] | ||
| 461 | }, | 477 | }, |
| 462 | // 查询 | 478 | // 查询 |
| 463 | async onSubmit() { | 479 | async onSubmit() { |
| 480 | + | ||
| 464 | const res = await icManAll(this.formSel) | 481 | const res = await icManAll(this.formSel) |
| 482 | + this.currentPage =1 | ||
| 465 | this.tableData = res.data.content | 483 | this.tableData = res.data.content |
| 466 | this.total = res.data.content.length | 484 | this.total = res.data.content.length |
| 467 | }, | 485 | }, |
| @@ -483,7 +501,7 @@ this.ruleForm.idCardValidEnd = e[1] | @@ -483,7 +501,7 @@ this.ruleForm.idCardValidEnd = e[1] | ||
| 483 | idCardNumber:'',//身份证号 | 501 | idCardNumber:'',//身份证号 |
| 484 | idCardType:'',//证件类型 | 502 | idCardType:'',//证件类型 |
| 485 | idTime:[], | 503 | idTime:[], |
| 486 | - phone:'',//手机号 | 504 | + phone:null,//手机号 |
| 487 | idCardValidStart:'',//身份证有效开始时间 | 505 | idCardValidStart:'',//身份证有效开始时间 |
| 488 | idCardValidEnd:'',//身份证有效结束时间 | 506 | idCardValidEnd:'',//身份证有效结束时间 |
| 489 | idCardPhotoFront:'',//身份证照片(正面) | 507 | idCardPhotoFront:'',//身份证照片(正面) |
| @@ -537,6 +555,7 @@ this.ruleForm.idCardValidEnd = e[1] | @@ -537,6 +555,7 @@ this.ruleForm.idCardValidEnd = e[1] | ||
| 537 | // 取消 | 555 | // 取消 |
| 538 | closeFn(val) { | 556 | closeFn(val) { |
| 539 | this.ggXin = false; | 557 | this.ggXin = false; |
| 558 | + this.getAll() | ||
| 540 | }, | 559 | }, |
| 541 | //删除管理列表 | 560 | //删除管理列表 |
| 542 | delGuan(item) { | 561 | delGuan(item) { |
| @@ -556,6 +575,10 @@ this.ruleForm.idCardValidEnd = e[1] | @@ -556,6 +575,10 @@ this.ruleForm.idCardValidEnd = e[1] | ||
| 556 | icManDel({ | 575 | icManDel({ |
| 557 | id: item.id | 576 | id: item.id |
| 558 | }).then(res => { | 577 | }).then(res => { |
| 578 | + this.$message({ | ||
| 579 | + message: '删除成功', | ||
| 580 | + type: 'success' | ||
| 581 | + }) | ||
| 559 | this.getAll() | 582 | this.getAll() |
| 560 | done(); | 583 | done(); |
| 561 | }) | 584 | }) |
| @@ -573,6 +596,7 @@ this.ruleForm.idCardValidEnd = e[1] | @@ -573,6 +596,7 @@ this.ruleForm.idCardValidEnd = e[1] | ||
| 573 | pageNumber: 0, | 596 | pageNumber: 0, |
| 574 | pageSize: 10, | 597 | pageSize: 10, |
| 575 | } | 598 | } |
| 599 | + this.currentPage = 1 | ||
| 576 | this.getAll() | 600 | this.getAll() |
| 577 | }, | 601 | }, |
| 578 | } | 602 | } |
admin-web-master/src/views/customer/rsaManagement/genjin.vue
| @@ -41,11 +41,13 @@ | @@ -41,11 +41,13 @@ | ||
| 41 | slot="dateCell" | 41 | slot="dateCell" |
| 42 | slot-scope="{date, data}"> | 42 | slot-scope="{date, data}"> |
| 43 | {{data.day.split("-").slice(2).join("-")}} | 43 | {{data.day.split("-").slice(2).join("-")}} |
| 44 | + <div style="overflow: auto;height:55px;"> | ||
| 44 | <div style="width:100%,height:100%" v-for="(item,index) in tableData" @click="genjinMsg(item)"> | 45 | <div style="width:100%,height:100%" v-for="(item,index) in tableData" @click="genjinMsg(item)"> |
| 45 | <div style="font-size:12px;margin-top:10px;" > | 46 | <div style="font-size:12px;margin-top:10px;" > |
| 46 | {{item.followUpTime == data.day?item.contentFeedback:''}} | 47 | {{item.followUpTime == data.day?item.contentFeedback:''}} |
| 47 | </div> | 48 | </div> |
| 48 | </div> | 49 | </div> |
| 50 | + </div> | ||
| 49 | </template> | 51 | </template> |
| 50 | </el-calendar> | 52 | </el-calendar> |
| 51 | </div> | 53 | </div> |
| @@ -61,7 +63,7 @@ | @@ -61,7 +63,7 @@ | ||
| 61 | <el-dialog :title="msgEit?'查看':'新增'" :visible.sync="ggXin" width="75%" | 63 | <el-dialog :title="msgEit?'查看':'新增'" :visible.sync="ggXin" width="75%" |
| 62 | append-to-body :close-on-click-modal="false" :close-on-press-escape="false" :show-close="false"> | 64 | append-to-body :close-on-click-modal="false" :close-on-press-escape="false" :show-close="false"> |
| 63 | <div style="padding: 20px;"> | 65 | <div style="padding: 20px;"> |
| 64 | - <el-form ref="form" :model="formInline" :rules="rulesOne" label-width="120px"> | 66 | + <el-form ref="genform" :model="formInline" :rules="rulesOne" label-width="120px"> |
| 65 | <el-form-item label="跟进时间" prop="followUpTime"> | 67 | <el-form-item label="跟进时间" prop="followUpTime"> |
| 66 | <el-date-picker | 68 | <el-date-picker |
| 67 | :disabled="msgEit" | 69 | :disabled="msgEit" |
| @@ -135,17 +137,20 @@ | @@ -135,17 +137,20 @@ | ||
| 135 | <el-input type="textarea" v-model="formInline.contentFeedback" :rows="4" :disabled="msgEit"></el-input> | 137 | <el-input type="textarea" v-model="formInline.contentFeedback" :rows="4" :disabled="msgEit"></el-input> |
| 136 | </el-form-item> | 138 | </el-form-item> |
| 137 | 139 | ||
| 138 | - <el-form-item label="现场照片"> | ||
| 139 | - <div v-if="msgEit" v-for="(item,index) in imgList" :key="index" > | ||
| 140 | - | 140 | + <el-form-item label="现场照片" > |
| 141 | + <div style="display:flex;flex-wrap: wrap;" v-if="msgEit" > | ||
| 141 | <el-image | 142 | <el-image |
| 142 | - style="width: 100px; height: 100px" | 143 | + style="width: 100px; height: 100px;margin-right: 10px;" |
| 143 | fit="fill" | 144 | fit="fill" |
| 144 | :src="$baseURL+item" | 145 | :src="$baseURL+item" |
| 145 | - ></el-image> | 146 | + v-for="(item,index) in imgList" :key="index" |
| 147 | + > | ||
| 148 | + <div slot="error" class="image-slot"> | ||
| 149 | + | ||
| 150 | + </div></el-image> | ||
| 146 | </div> | 151 | </div> |
| 147 | <upimg filePath="yixiang" inputtype="onSitePhotos" :value="formInline.onSitePhotos" | 152 | <upimg filePath="yixiang" inputtype="onSitePhotos" :value="formInline.onSitePhotos" |
| 148 | - @changimg="e=>changimg(e,'onSitePhotos')" :limit="5" v-if="msgEit==false" ></upimg> | 153 | + @changimg="e=>changimg(e,'onSitePhotos')" :limit="3" v-if="msgEit==false" ></upimg> |
| 149 | 154 | ||
| 150 | </el-form-item> | 155 | </el-form-item> |
| 151 | <el-form-item label="下次更进时间" prop="plan_Time"> | 156 | <el-form-item label="下次更进时间" prop="plan_Time"> |
| @@ -364,16 +369,17 @@ | @@ -364,16 +369,17 @@ | ||
| 364 | }, | 369 | }, |
| 365 | genjinMsg(item){ | 370 | genjinMsg(item){ |
| 366 | this.msgEit = true | 371 | this.msgEit = true |
| 372 | + this.formInline = {} | ||
| 367 | this.formInline = item | 373 | this.formInline = item |
| 368 | this.formInline.plan_Time = [item.nextFollowUpStartTime,item.nextFollowUpEndTime] | 374 | this.formInline.plan_Time = [item.nextFollowUpStartTime,item.nextFollowUpEndTime] |
| 369 | 375 | ||
| 370 | - if(typeof item.intendedResource == 'string'){ | 376 | + if(typeof item.intendedResource == 'string' && item.intendedResource!=''){ |
| 371 | this.addziyuanData = JSON.parse(item.intendedResource) | 377 | this.addziyuanData = JSON.parse(item.intendedResource) |
| 372 | } | 378 | } |
| 373 | if(typeof item.onSitePhotos == 'string'){ | 379 | if(typeof item.onSitePhotos == 'string'){ |
| 374 | this.imgList = item.onSitePhotos.split(',') ||[] | 380 | this.imgList = item.onSitePhotos.split(',') ||[] |
| 375 | } | 381 | } |
| 376 | - console.log( this.formInline) | 382 | + |
| 377 | this.ggXin = true | 383 | this.ggXin = true |
| 378 | }, | 384 | }, |
| 379 | onSubmit(){ | 385 | onSubmit(){ |
| @@ -449,19 +455,32 @@ | @@ -449,19 +455,32 @@ | ||
| 449 | this.ggXin = false | 455 | this.ggXin = false |
| 450 | }, | 456 | }, |
| 451 | // 新增确定按钮 | 457 | // 新增确定按钮 |
| 452 | - async addCheck(val) { | ||
| 453 | - this.formInline.potentialCustomer = this.message | ||
| 454 | - if(this.addziyuanData.length !=0){ | ||
| 455 | - this.formInline.intendedResource = JSON.stringify(this.addziyuanData) | ||
| 456 | - } | ||
| 457 | - this.formInline.onSitePhotos = this.imgList.join(',') | ||
| 458 | - if(this.formInline.currentStage == '达成共识'){ | ||
| 459 | - this.formInline.status = '2' | ||
| 460 | - } | ||
| 461 | - await genAdd(this.formInline) | ||
| 462 | - this.ggXin = false | ||
| 463 | - this.addziyuanData =[] | ||
| 464 | - this.getAll() | 458 | + addCheck(val) { |
| 459 | + this.$refs.genform.validate((valid) => { | ||
| 460 | + if (valid) { | ||
| 461 | + this.formInline.potentialCustomer = this.message | ||
| 462 | + if(this.addziyuanData.length !=0){ | ||
| 463 | + this.formInline.intendedResource = JSON.stringify(this.addziyuanData) | ||
| 464 | + } | ||
| 465 | + this.formInline.onSitePhotos = this.imgList.join(',') | ||
| 466 | + if(this.formInline.currentStage == '达成共识'){ | ||
| 467 | + this.formInline.status = '2' | ||
| 468 | + } | ||
| 469 | + genAdd(this.formInline).then(()=>{ | ||
| 470 | + this.ggXin = false | ||
| 471 | + this.addziyuanData =[] | ||
| 472 | + this.getAll() | ||
| 473 | + }) | ||
| 474 | + | ||
| 475 | + }else { | ||
| 476 | + this.$message({ | ||
| 477 | + message: '请填写完整信息', | ||
| 478 | + type: 'error' | ||
| 479 | + }) | ||
| 480 | + | ||
| 481 | + } | ||
| 482 | + }) | ||
| 483 | + | ||
| 465 | }, | 484 | }, |
| 466 | } | 485 | } |
| 467 | } | 486 | } |
admin-web-master/src/views/customer/rsaManagement/index.vue
| @@ -256,15 +256,15 @@ | @@ -256,15 +256,15 @@ | ||
| 256 | <el-col :span="12"> | 256 | <el-col :span="12"> |
| 257 | <el-form-item label="身份证照片(正面)" prop="businessScope"> | 257 | <el-form-item label="身份证照片(正面)" prop="businessScope"> |
| 258 | <!-- {{idCardPhotoFront}} --> | 258 | <!-- {{idCardPhotoFront}} --> |
| 259 | - <el-image :src="$baseURL +secondData.idCardPhotoFront"></el-image> | 259 | + <el-image :src="$baseURL +secondData.idCardPhotoFront" style="width:140px;height:140px;"></el-image> |
| 260 | </el-form-item> | 260 | </el-form-item> |
| 261 | </el-col> | 261 | </el-col> |
| 262 | </el-row> | 262 | </el-row> |
| 263 | <el-row :gutter="20"> | 263 | <el-row :gutter="20"> |
| 264 | <el-col :span="12"> | 264 | <el-col :span="12"> |
| 265 | - <el-form-item label="身份证照片(反面面)" prop="businessScope"> | 265 | + <el-form-item label="身份证照片(反面)" prop="businessScope"> |
| 266 | <!-- idCardPhotoBack --> | 266 | <!-- idCardPhotoBack --> |
| 267 | - <el-image :src="$baseURL +secondData.idCardPhotoBack"></el-image> | 267 | + <el-image :src="$baseURL +secondData.idCardPhotoBack" style="width:140px;height:140px;"></el-image> |
| 268 | </el-form-item> | 268 | </el-form-item> |
| 269 | </el-col> | 269 | </el-col> |
| 270 | </el-row> | 270 | </el-row> |
| @@ -309,7 +309,7 @@ | @@ -309,7 +309,7 @@ | ||
| 309 | </el-row> | 309 | </el-row> |
| 310 | <el-row :gutter="20"> | 310 | <el-row :gutter="20"> |
| 311 | <el-col :span="12"> | 311 | <el-col :span="12"> |
| 312 | - <el-form-item label="意向租金(月)" prop="rentalRent"> | 312 | + <el-form-item label="意向租金(月)" prop="rentalRent" :rules="getCoordinateRules('rentalRent')"> |
| 313 | <el-input v-model.number="ruleForm.rentalRent" placeholder="请输入" /> | 313 | <el-input v-model.number="ruleForm.rentalRent" placeholder="请输入" /> |
| 314 | </el-form-item> | 314 | </el-form-item> |
| 315 | </el-col> | 315 | </el-col> |
| @@ -336,7 +336,7 @@ | @@ -336,7 +336,7 @@ | ||
| 336 | </el-col> | 336 | </el-col> |
| 337 | <el-col :span="12"> | 337 | <el-col :span="12"> |
| 338 | <el-form-item label="手机号" prop="phone"> | 338 | <el-form-item label="手机号" prop="phone"> |
| 339 | - <el-input v-model="ruleForm.phone" placeholder="请输入" /> | 339 | + <el-input v-model.number="ruleForm.phone" placeholder="请输入" /> |
| 340 | </el-form-item> | 340 | </el-form-item> |
| 341 | </el-col> | 341 | </el-col> |
| 342 | </el-row> | 342 | </el-row> |
| @@ -459,7 +459,7 @@ | @@ -459,7 +459,7 @@ | ||
| 459 | intentionRegion:'',//意向区域 | 459 | intentionRegion:'',//意向区域 |
| 460 | idCardNumber:'',//身份证号 | 460 | idCardNumber:'',//身份证号 |
| 461 | idCardType:'',//证件类型 | 461 | idCardType:'',//证件类型 |
| 462 | - phone:'',//手机号 | 462 | + phone:null,//手机号 |
| 463 | idTime:[], | 463 | idTime:[], |
| 464 | idCardValidStart:'',//身份证有效开始时间 | 464 | idCardValidStart:'',//身份证有效开始时间 |
| 465 | idCardValidEnd:'',//身份证有效结束时间 | 465 | idCardValidEnd:'',//身份证有效结束时间 |
| @@ -512,11 +512,11 @@ | @@ -512,11 +512,11 @@ | ||
| 512 | message: '请输入租赁周期', | 512 | message: '请输入租赁周期', |
| 513 | trigger: 'blur' | 513 | trigger: 'blur' |
| 514 | }, ], | 514 | }, ], |
| 515 | - rentalRent: [{ | ||
| 516 | - required: true, | ||
| 517 | - message: '请输入意向租金(月)', | ||
| 518 | - trigger: 'blur' | ||
| 519 | - }, ], | 515 | + // rentalRent: [{ |
| 516 | + // required: true, | ||
| 517 | + // message: '请输入意向租金(月)', | ||
| 518 | + // trigger: 'blur' | ||
| 519 | + // }, ], | ||
| 520 | operationType: [{ | 520 | operationType: [{ |
| 521 | required: true, | 521 | required: true, |
| 522 | message: '请输入经营类型', | 522 | message: '请输入经营类型', |
| @@ -536,7 +536,11 @@ | @@ -536,7 +536,11 @@ | ||
| 536 | required: true, | 536 | required: true, |
| 537 | message: '请输入手机号', | 537 | message: '请输入手机号', |
| 538 | trigger: 'blur' | 538 | trigger: 'blur' |
| 539 | - }, ], | 539 | + },{ |
| 540 | + pattern: /^[0-9]+$/, | ||
| 541 | + message: '手机号只能包含数字', | ||
| 542 | + trigger: 'blur' , | ||
| 543 | + }], | ||
| 540 | idCardValidStart: [{ | 544 | idCardValidStart: [{ |
| 541 | required: true, | 545 | required: true, |
| 542 | message: '请选择身份证有效时间', | 546 | message: '请选择身份证有效时间', |
| @@ -569,6 +573,13 @@ | @@ -569,6 +573,13 @@ | ||
| 569 | // editor.destroy() // 组件销毁时,及时销毁编辑器 | 573 | // editor.destroy() // 组件销毁时,及时销毁编辑器 |
| 570 | // }, | 574 | // }, |
| 571 | methods: { | 575 | methods: { |
| 576 | + getCoordinateRules(coord) { | ||
| 577 | + return [ | ||
| 578 | + { required: true, message: `意向租金不能为空且必须是数字`, trigger: 'blur'}, | ||
| 579 | + { pattern: /^(\d+|\d*\.\d{1,10})$/, message: `意向租金为整数或最多三位小数,`, trigger: 'blur' }, | ||
| 580 | + | ||
| 581 | + ] | ||
| 582 | + }, | ||
| 572 | changimg(e,type) { | 583 | changimg(e,type) { |
| 573 | this.ruleForm[type] = e | 584 | this.ruleForm[type] = e |
| 574 | }, | 585 | }, |
| @@ -652,7 +663,7 @@ | @@ -652,7 +663,7 @@ | ||
| 652 | intentionRegion:'',//意向区域 | 663 | intentionRegion:'',//意向区域 |
| 653 | idCardNumber:'',//身份证号 | 664 | idCardNumber:'',//身份证号 |
| 654 | idCardType:'',//证件类型 | 665 | idCardType:'',//证件类型 |
| 655 | - phone:'',//手机号 | 666 | + phone:null,//手机号 |
| 656 | idTime:[], | 667 | idTime:[], |
| 657 | idCardValidStart:'',//身份证有效开始时间 | 668 | idCardValidStart:'',//身份证有效开始时间 |
| 658 | idCardValidEnd:'',//身份证有效结束时间 | 669 | idCardValidEnd:'',//身份证有效结束时间 |
| @@ -717,7 +728,9 @@ this.edit = true | @@ -717,7 +728,9 @@ this.edit = true | ||
| 717 | }, | 728 | }, |
| 718 | // 取消 | 729 | // 取消 |
| 719 | closeFn(val) { | 730 | closeFn(val) { |
| 731 | + this.getAll() | ||
| 720 | this.ggXin = false; | 732 | this.ggXin = false; |
| 733 | + | ||
| 721 | }, | 734 | }, |
| 722 | //删除管理列表 | 735 | //删除管理列表 |
| 723 | async delGuan(item) { | 736 | async delGuan(item) { |
| @@ -737,6 +750,10 @@ this.edit = true | @@ -737,6 +750,10 @@ this.edit = true | ||
| 737 | rsaManDel({ | 750 | rsaManDel({ |
| 738 | id: item.id | 751 | id: item.id |
| 739 | }).then(res => { | 752 | }).then(res => { |
| 753 | + this.$message({ | ||
| 754 | + message: '删除成功', | ||
| 755 | + type: 'success' | ||
| 756 | + }) | ||
| 740 | this.getAll() | 757 | this.getAll() |
| 741 | done(); | 758 | done(); |
| 742 | }) | 759 | }) |
| @@ -762,12 +779,14 @@ this.edit = true | @@ -762,12 +779,14 @@ this.edit = true | ||
| 762 | leaseType:'', | 779 | leaseType:'', |
| 763 | pageNumber: 0, | 780 | pageNumber: 0, |
| 764 | pageSize: 10, | 781 | pageSize: 10, |
| 765 | - }; | 782 | + } |
| 783 | + this.currentPage =1 | ||
| 766 | this.getAll() | 784 | this.getAll() |
| 767 | }, | 785 | }, |
| 768 | // 查询 | 786 | // 查询 |
| 769 | async onSubmit() { | 787 | async onSubmit() { |
| 770 | const res = await rsaManAll(this.formSel) | 788 | const res = await rsaManAll(this.formSel) |
| 789 | + this.currentPage =1 | ||
| 771 | this.tableData = res.data.content | 790 | this.tableData = res.data.content |
| 772 | this.total = res.data.content.length | 791 | this.total = res.data.content.length |
| 773 | }, | 792 | }, |
admin-web-master/src/views/customer/rsaManagement/tanpan.vue
| @@ -41,11 +41,13 @@ | @@ -41,11 +41,13 @@ | ||
| 41 | slot="dateCell" | 41 | slot="dateCell" |
| 42 | slot-scope="{date, data}"> | 42 | slot-scope="{date, data}"> |
| 43 | {{data.day.split("-").slice(2).join("-")}} | 43 | {{data.day.split("-").slice(2).join("-")}} |
| 44 | - <div style="width:100%,height:100%" v-for="(item,index) in tableData" @click="genjinMsg(item)"> | ||
| 45 | - <div style="font-size:12px;margin-top:10px;" > | ||
| 46 | - {{item.negotiationTime == data.day?item.negotiationResult:''}} | ||
| 47 | - </div> | ||
| 48 | - </div> | 44 | + <div style="overflow: auto;height:55px;"> |
| 45 | + <div style="width:100%,height:100%" v-for="(item,index) in tableData" @click="genjinMsg(item)"> | ||
| 46 | + <div style="font-size:12px;margin-top:10px;width:48%" > | ||
| 47 | + {{item.negotiationTime == data.day?item.negotiationResult:''}} | ||
| 48 | + </div> | ||
| 49 | + </div> | ||
| 50 | + </div> | ||
| 49 | </template> | 51 | </template> |
| 50 | </el-calendar> | 52 | </el-calendar> |
| 51 | </div> | 53 | </div> |
| @@ -61,7 +63,7 @@ | @@ -61,7 +63,7 @@ | ||
| 61 | <el-dialog :title="msgEit?'查看':'新增'" :visible.sync="ggXin" width="75%" | 63 | <el-dialog :title="msgEit?'查看':'新增'" :visible.sync="ggXin" width="75%" |
| 62 | append-to-body :close-on-click-modal="false" :close-on-press-escape="false" :show-close="false"> | 64 | append-to-body :close-on-click-modal="false" :close-on-press-escape="false" :show-close="false"> |
| 63 | <div style="padding: 20px;"> | 65 | <div style="padding: 20px;"> |
| 64 | - <el-form ref="form" :model="formInline" :rules="rulesOne" label-width="120px"> | 66 | + <el-form ref="tanform" :model="formInline" :rules="rulesOne" label-width="120px"> |
| 65 | <el-form-item label="谈判时间" prop="negotiationTime"> | 67 | <el-form-item label="谈判时间" prop="negotiationTime"> |
| 66 | <el-date-picker | 68 | <el-date-picker |
| 67 | :disabled="msgEit" | 69 | :disabled="msgEit" |
| @@ -98,17 +100,20 @@ | @@ -98,17 +100,20 @@ | ||
| 98 | <upfile filePath="yixiang" inputtype="otherAttachments" :value="formInline.otherAttachments" v-if="msgEit==false" accept=".docx" @changimg="e=>changimg(e,'otherAttachments')"></upfile> | 100 | <upfile filePath="yixiang" inputtype="otherAttachments" :value="formInline.otherAttachments" v-if="msgEit==false" accept=".docx" @changimg="e=>changimg(e,'otherAttachments')"></upfile> |
| 99 | <div class="duiqi greens" v-if="msgEit" @click="formInline.otherAttachments?openfile(formInline.otherAttachments):''">{{formInline.otherAttachments?'查看详情':'暂无文件'}}</div> | 101 | <div class="duiqi greens" v-if="msgEit" @click="formInline.otherAttachments?openfile(formInline.otherAttachments):''">{{formInline.otherAttachments?'查看详情':'暂无文件'}}</div> |
| 100 | </el-form-item> | 102 | </el-form-item> |
| 101 | - <el-form-item label="现场照片"> | ||
| 102 | - <div v-if="msgEit" v-for="(item,index) in imgList" :key="index" > | ||
| 103 | - | 103 | + <el-form-item label="现场照片" > |
| 104 | + <div v-if="msgEit" style="display:flex;flex-wrap: wrap"> | ||
| 104 | <el-image | 105 | <el-image |
| 105 | - style="width: 100px; height: 100px" | 106 | + style="width: 100px; height: 100px;margin-right: 10px;" |
| 106 | fit="fill" | 107 | fit="fill" |
| 107 | :src="$baseURL+item" | 108 | :src="$baseURL+item" |
| 108 | - ></el-image> | 109 | + v-for="(item,index) in imgList" :key="index" |
| 110 | + > | ||
| 111 | + <div slot="error" class="image-slot"> | ||
| 112 | + </div> | ||
| 113 | + </el-image> | ||
| 109 | </div> | 114 | </div> |
| 110 | <upimg filePath="yixiang" inputtype="onSitePhotos" :value="formInline.onSitePhotos" | 115 | <upimg filePath="yixiang" inputtype="onSitePhotos" :value="formInline.onSitePhotos" |
| 111 | - @changimg="e=>changimg(e,'onSitePhotos')" :limit="5" v-if="msgEit==false" ></upimg> | 116 | + @changimg="e=>changimg(e,'onSitePhotos')" :limit="3" v-if="msgEit==false" ></upimg> |
| 112 | 117 | ||
| 113 | </el-form-item> | 118 | </el-form-item> |
| 114 | <el-form-item label="下次谈判时间" prop="plan_Time"> | 119 | <el-form-item label="下次谈判时间" prop="plan_Time"> |
| @@ -260,10 +265,11 @@ | @@ -260,10 +265,11 @@ | ||
| 260 | }, | 265 | }, |
| 261 | genjinMsg(item){ | 266 | genjinMsg(item){ |
| 262 | this.msgEit = true | 267 | this.msgEit = true |
| 268 | + this.formInline ={} | ||
| 263 | this.formInline = item | 269 | this.formInline = item |
| 264 | this.formInline.plan_Time = [item.nextNegotiationStartTime,item.nextNegotiationEndTime] | 270 | this.formInline.plan_Time = [item.nextNegotiationStartTime,item.nextNegotiationEndTime] |
| 265 | 271 | ||
| 266 | - if(typeof item.intendedResource == 'string'){ | 272 | + if(typeof item.intendedResource == 'string' && item.intendedResource != ''){ |
| 267 | this.addziyuanData = JSON.parse(item.intendedResource) | 273 | this.addziyuanData = JSON.parse(item.intendedResource) |
| 268 | } | 274 | } |
| 269 | if(typeof item.onSitePhotos == 'string'){ | 275 | if(typeof item.onSitePhotos == 'string'){ |
| @@ -322,16 +328,28 @@ | @@ -322,16 +328,28 @@ | ||
| 322 | this.ggXin = false | 328 | this.ggXin = false |
| 323 | }, | 329 | }, |
| 324 | // 新增确定按钮 | 330 | // 新增确定按钮 |
| 325 | - async addCheck(val) { | ||
| 326 | - this.formInline.potentialCustomer = this.message | ||
| 327 | - this.formInline.onSitePhotos = this.imgList.join(',') | ||
| 328 | - if(this.formInline.currentStage == '达成共识'){ | ||
| 329 | - this.formInline.status = '2' | ||
| 330 | - } | ||
| 331 | - await tanAdd(this.formInline) | ||
| 332 | - this.ggXin = false | 331 | + addCheck(val) { |
| 332 | + | ||
| 333 | + this.$refs.tanform.validate((valid) => { | ||
| 334 | + if (valid) { | ||
| 335 | + this.formInline.potentialCustomer = this.message | ||
| 336 | + this.formInline.onSitePhotos = this.imgList.join(',') | ||
| 337 | + if(this.formInline.currentStage == '达成共识'){ | ||
| 338 | + this.formInline.status = '2' | ||
| 339 | + } | ||
| 340 | + tanAdd(this.formInline).then(()=>{ | ||
| 341 | + this.ggXin = false | ||
| 342 | + this.getAll() | ||
| 343 | + }) | ||
| 344 | + }else { | ||
| 345 | + this.$message({ | ||
| 346 | + message: '请填写完整信息', | ||
| 347 | + type: 'error' | ||
| 348 | + }) | ||
| 349 | + | ||
| 350 | + } | ||
| 351 | + }) | ||
| 333 | 352 | ||
| 334 | - this.getAll() | ||
| 335 | }, | 353 | }, |
| 336 | } | 354 | } |
| 337 | } | 355 | } |
| @@ -362,4 +380,5 @@ | @@ -362,4 +380,5 @@ | ||
| 362 | ::v-deep .el-calendar-table:not(.is-range)td.prev{visibility:hidden;} | 380 | ::v-deep .el-calendar-table:not(.is-range)td.prev{visibility:hidden;} |
| 363 | ::v-deep .el-calendar__button-group {display: none;} | 381 | ::v-deep .el-calendar__button-group {display: none;} |
| 364 | ::v-deep .el-backtop, .el-calendar-table td.is-today{color: #3F9B6A;} | 382 | ::v-deep .el-backtop, .el-calendar-table td.is-today{color: #3F9B6A;} |
| 383 | +::v-deep .el-calendar-table .el-calendar-day {min-height:85px;} | ||
| 365 | </style> | 384 | </style> |
admin-web-master/src/views/detect/examine/index.vue
| @@ -35,10 +35,10 @@ | @@ -35,10 +35,10 @@ | ||
| 35 | <div style="display: flex;font-size: 14px"> | 35 | <div style="display: flex;font-size: 14px"> |
| 36 | <div style="margin-right: 25px;cursor: pointer;" @click="chenge('1')" :class="ontype=='1'?'chengeXia':''">商铺 | 36 | <div style="margin-right: 25px;cursor: pointer;" @click="chenge('1')" :class="ontype=='1'?'chengeXia':''">商铺 |
| 37 | </div> | 37 | </div> |
| 38 | - <!-- <div style="margin-right: 25px;cursor: pointer;" @click="chenge('2')" :class="ontype=='2'?'chengeXia':''"> | 38 | + <div style="margin-right: 25px;cursor: pointer;" @click="chenge('2')" :class="ontype=='2'?'chengeXia':''"> |
| 39 | 广告位</div> | 39 | 广告位</div> |
| 40 | <div style="margin-right: 25px;cursor: pointer;" @click="chenge('3')" :class="ontype=='3'?'chengeXia':''">场地 | 40 | <div style="margin-right: 25px;cursor: pointer;" @click="chenge('3')" :class="ontype=='3'?'chengeXia':''">场地 |
| 41 | - </div> --> | 41 | + </div> |
| 42 | </div> | 42 | </div> |
| 43 | </div> | 43 | </div> |
| 44 | <!-- 表格 --> | 44 | <!-- 表格 --> |
admin-web-master/src/views/serve/MarkActivity/index.vue
| @@ -179,7 +179,7 @@ | @@ -179,7 +179,7 @@ | ||
| 179 | <el-col :span="24"> | 179 | <el-col :span="24"> |
| 180 | <el-form-item label="封面图片" prop="businessScope"> | 180 | <el-form-item label="封面图片" prop="businessScope"> |
| 181 | <!-- {{idCardPhotoFront}} --> | 181 | <!-- {{idCardPhotoFront}} --> |
| 182 | - <el-image :src="$baseURL +xiangData.coverImage"></el-image> | 182 | + <el-image :src="$baseURL +xiangData.coverImage" style="width: 140px;height:140px;"></el-image> |
| 183 | </el-form-item> | 183 | </el-form-item> |
| 184 | </el-col> | 184 | </el-col> |
| 185 | </el-row> | 185 | </el-row> |
| @@ -279,7 +279,7 @@ | @@ -279,7 +279,7 @@ | ||
| 279 | 279 | ||
| 280 | <el-row :gutter="20"> | 280 | <el-row :gutter="20"> |
| 281 | <el-col :span="24"> | 281 | <el-col :span="24"> |
| 282 | - <el-form-item label="封面图片"> | 282 | + <el-form-item label="封面图片" prop="coverImage"> |
| 283 | <!-- <upimg v-model="formInline.coverImage" :limit="1" :fileSize="1" :isShowTip="false"></upimg> --> | 283 | <!-- <upimg v-model="formInline.coverImage" :limit="1" :fileSize="1" :isShowTip="false"></upimg> --> |
| 284 | <upimg filePath="serve" :value="formInline.coverImage" inputtype="coverImage" :limit="1" | 284 | <upimg filePath="serve" :value="formInline.coverImage" inputtype="coverImage" :limit="1" |
| 285 | @changimg="e=>changimg(e,'coverImage')"></upimg> | 285 | @changimg="e=>changimg(e,'coverImage')"></upimg> |
| @@ -465,6 +465,7 @@ | @@ -465,6 +465,7 @@ | ||
| 465 | contactPhone: '', | 465 | contactPhone: '', |
| 466 | pageNumber: 0, | 466 | pageNumber: 0, |
| 467 | pageSize: 10, | 467 | pageSize: 10, |
| 468 | + orderingRule:3 | ||
| 468 | }, | 469 | }, |
| 469 | bianjiBox: 1, | 470 | bianjiBox: 1, |
| 470 | chengeTatle: 1, | 471 | chengeTatle: 1, |
| @@ -507,6 +508,11 @@ | @@ -507,6 +508,11 @@ | ||
| 507 | message: '请输入联系电话', | 508 | message: '请输入联系电话', |
| 508 | trigger: 'blur' | 509 | trigger: 'blur' |
| 509 | }], | 510 | }], |
| 511 | + coverImage: [{ | ||
| 512 | + required: true, | ||
| 513 | + message: '请上传封面图片', | ||
| 514 | + trigger: 'change' | ||
| 515 | + }], | ||
| 510 | }, | 516 | }, |
| 511 | mingtotal:0, | 517 | mingtotal:0, |
| 512 | mingPage:1, | 518 | mingPage:1, |
| @@ -686,7 +692,9 @@ | @@ -686,7 +692,9 @@ | ||
| 686 | 692 | ||
| 687 | // 查询按钮 | 693 | // 查询按钮 |
| 688 | onSubmit() { | 694 | onSubmit() { |
| 695 | + this.currentPage = 1 | ||
| 689 | this.getAll() | 696 | this.getAll() |
| 697 | + | ||
| 690 | }, | 698 | }, |
| 691 | //重置按钮 | 699 | //重置按钮 |
| 692 | resetting() { | 700 | resetting() { |
| @@ -698,6 +706,7 @@ | @@ -698,6 +706,7 @@ | ||
| 698 | pageNumber: 0, | 706 | pageNumber: 0, |
| 699 | pageSize: 10, | 707 | pageSize: 10, |
| 700 | } | 708 | } |
| 709 | + this.currentPage = 1 | ||
| 701 | this.getAll() | 710 | this.getAll() |
| 702 | }, | 711 | }, |
| 703 | 712 | ||
| @@ -737,6 +746,10 @@ this.selectedRow = null | @@ -737,6 +746,10 @@ this.selectedRow = null | ||
| 737 | MarkDel({ | 746 | MarkDel({ |
| 738 | id: item.id | 747 | id: item.id |
| 739 | }).then(res => { | 748 | }).then(res => { |
| 749 | + this.$message({ | ||
| 750 | + message: '删除成功', | ||
| 751 | + type: 'success' | ||
| 752 | + }) | ||
| 740 | this.getAll() | 753 | this.getAll() |
| 741 | done(); | 754 | done(); |
| 742 | }) | 755 | }) |
admin-web-master/src/views/serve/Merchant/index.vue
| @@ -192,8 +192,7 @@ | @@ -192,8 +192,7 @@ | ||
| 192 | <el-row :gutter="20"> | 192 | <el-row :gutter="20"> |
| 193 | <el-col :span="24"> | 193 | <el-col :span="24"> |
| 194 | <el-form-item label="封面图片" prop="coverImage"> | 194 | <el-form-item label="封面图片" prop="coverImage"> |
| 195 | - | ||
| 196 | - <el-image :src="$baseURL +xiangData.coverImage"></el-image> | 195 | + <el-image :src="$baseURL +xiangData.coverImage" style="width: 140px;height:140px;"></el-image> |
| 197 | </el-form-item> | 196 | </el-form-item> |
| 198 | </el-col> | 197 | </el-col> |
| 199 | </el-row> | 198 | </el-row> |
| @@ -308,7 +307,7 @@ | @@ -308,7 +307,7 @@ | ||
| 308 | </el-row> | 307 | </el-row> |
| 309 | <el-row :gutter="20"> | 308 | <el-row :gutter="20"> |
| 310 | <el-col :span="24"> | 309 | <el-col :span="24"> |
| 311 | - <el-form-item label="封面图片"> | 310 | + <el-form-item label="封面图片" prop="coverImage"> |
| 312 | <upimg filePath="serve" :value="formInline.coverImage" inputtype="coverImage" :limit="1" | 311 | <upimg filePath="serve" :value="formInline.coverImage" inputtype="coverImage" :limit="1" |
| 313 | @changimg="e=>changimg(e,'coverImage')"></upimg> | 312 | @changimg="e=>changimg(e,'coverImage')"></upimg> |
| 314 | </el-form-item> | 313 | </el-form-item> |
| @@ -488,6 +487,11 @@ | @@ -488,6 +487,11 @@ | ||
| 488 | message: '请上传往期活动图片', | 487 | message: '请上传往期活动图片', |
| 489 | trigger: 'change' | 488 | trigger: 'change' |
| 490 | }, ], | 489 | }, ], |
| 490 | + coverImage: [{ | ||
| 491 | + required: true, | ||
| 492 | + message: '请上传封面图片', | ||
| 493 | + trigger: 'change' | ||
| 494 | + }, ], | ||
| 491 | }, | 495 | }, |
| 492 | selectedRow:null | 496 | selectedRow:null |
| 493 | } | 497 | } |
| @@ -720,6 +724,10 @@ this.addziyuanData.push(this.selectedRow) | @@ -720,6 +724,10 @@ this.addziyuanData.push(this.selectedRow) | ||
| 720 | beforeClose: (action, instance, done) => { | 724 | beforeClose: (action, instance, done) => { |
| 721 | if (action === 'confirm') { | 725 | if (action === 'confirm') { |
| 722 | MerDel({id:item.id}).then(res=>{ | 726 | MerDel({id:item.id}).then(res=>{ |
| 727 | + this.$message({ | ||
| 728 | + message: '删除成功', | ||
| 729 | + type: 'success' | ||
| 730 | + }) | ||
| 723 | this.getAll() | 731 | this.getAll() |
| 724 | done(); | 732 | done(); |
| 725 | }) | 733 | }) |
admin-web-master/src/views/serve/actSp.vue
| @@ -294,6 +294,7 @@ | @@ -294,6 +294,7 @@ | ||
| 294 | region:'', | 294 | region:'', |
| 295 | pageNumber:0, | 295 | pageNumber:0, |
| 296 | pageSize: 10, | 296 | pageSize: 10, |
| 297 | + orderingRule:3 | ||
| 297 | }, | 298 | }, |
| 298 | secondData: {}, | 299 | secondData: {}, |
| 299 | xiangqing:0, | 300 | xiangqing:0, |
| @@ -308,6 +309,7 @@ | @@ -308,6 +309,7 @@ | ||
| 308 | pageindex: { | 309 | pageindex: { |
| 309 | pageNumber: 0, | 310 | pageNumber: 0, |
| 310 | pageSize: 10, | 311 | pageSize: 10, |
| 312 | + orderingRule:3 | ||
| 311 | }, | 313 | }, |
| 312 | fileList: [], | 314 | fileList: [], |
| 313 | actSpye: false, // 审核 | 315 | actSpye: false, // 审核 |
ceres-uniapp-master/config/api.js
| @@ -6,8 +6,8 @@ | @@ -6,8 +6,8 @@ | ||
| 6 | 6 | ||
| 7 | 7 | ||
| 8 | 8 | ||
| 9 | -const DOMAIN_PREFIXPING = 'https://jy.scjysm.asia:18086/meserver/admin-server' | ||
| 10 | -const DOMAIN_PREFIX = 'https://jy.scjysm.asia:18086/meserver/api' | 9 | +const DOMAIN_PREFIXPING = 'https://jy.scjysm.asia:18086/cdwlMall/meserver/admin-server' |
| 10 | +const DOMAIN_PREFIX = 'https://jy.scjysm.asia:18086/cdwlMall/meserver/api' | ||
| 11 | // const DOMAIN_PREFIXPING = 'http://192.168.2.225:9003' | 11 | // const DOMAIN_PREFIXPING = 'http://192.168.2.225:9003' |
| 12 | // const DOMAIN_PREFIX = 'http://192.168.2.225:9007' | 12 | // const DOMAIN_PREFIX = 'http://192.168.2.225:9007' |
| 13 | // const host = `${window.location.protocol}//${window.location.host}` | 13 | // const host = `${window.location.protocol}//${window.location.host}` |
lvdao-miniapp/pages.json
| @@ -452,6 +452,13 @@ | @@ -452,6 +452,13 @@ | ||
| 452 | "navigationBarBackgroundColor": "#FFFFFF", | 452 | "navigationBarBackgroundColor": "#FFFFFF", |
| 453 | "navigationBarTitleText": "支付" | 453 | "navigationBarTitleText": "支付" |
| 454 | } | 454 | } |
| 455 | + }, | ||
| 456 | + { | ||
| 457 | + "path": "rentPay/webView", | ||
| 458 | + "style": { | ||
| 459 | + "navigationBarBackgroundColor": "#FFFFFF", | ||
| 460 | + "navigationBarTitleText": "跳转" | ||
| 461 | + } | ||
| 455 | } | 462 | } |
| 456 | ] | 463 | ] |
| 457 | }], | 464 | }], |
lvdao-miniapp/pages/activityAdd/activityAdd.vue
| @@ -75,7 +75,7 @@ | @@ -75,7 +75,7 @@ | ||
| 75 | second: true | 75 | second: true |
| 76 | }, | 76 | }, |
| 77 | typeShow: false, | 77 | typeShow: false, |
| 78 | - typeList: [{ value: '1', label: '类型1' }, { value: '2', label: '类型2' }], | 78 | + typeList: [{ value: '1', label: '社交活动' }, { value: '2', label: '营销活动' }, { value: '3', label: '公益活动' }, { value: '4', label: '教育学习活动' }, { value: '5', label: '文化艺术活动' }], |
| 79 | readOnly: false, | 79 | readOnly: false, |
| 80 | formats: {}, | 80 | formats: {}, |
| 81 | fist:[], | 81 | fist:[], |
lvdao-miniapp/pages/advertisement/advertisement.vue
| @@ -7,7 +7,7 @@ | @@ -7,7 +7,7 @@ | ||
| 7 | </view> --> | 7 | </view> --> |
| 8 | <!-- 搜索 --> | 8 | <!-- 搜索 --> |
| 9 | <view style="margin: 20rpx 0;background-color: #FFFFFF;border-radius: 18rpx;border: 2rpx solid #E8E8E8; margin: 22rpx 24rpx;overflow: hidden;" > | 9 | <view style="margin: 20rpx 0;background-color: #FFFFFF;border-radius: 18rpx;border: 2rpx solid #E8E8E8; margin: 22rpx 24rpx;overflow: hidden;" > |
| 10 | - <u-search :action-style="{'background':'#19be6b','color':'#fff','height':'32px','line-height':'32px','border-radius':'18rpx'}" bg-color="#fff" placeholder="请输入关键词" v-model="query.advertisingName" action-text="搜索" @clear="search" @search="search" @custom="search"></u-search> | 10 | + <u-search :action-style="{'background':'#19be6b','color':'#fff','height':'32px','line-height':'32px','border-radius':'18rpx'}" bg-color="#fff" placeholder="请输入关键词" v-model="pageindex.advertisingName" action-text="搜索" @clear="search" @search="search" @custom="search"></u-search> |
| 11 | </view> | 11 | </view> |
| 12 | <view class="screen-list"> | 12 | <view class="screen-list"> |
| 13 | <view class="list" @click="typeshow = true"> | 13 | <view class="list" @click="typeshow = true"> |
| @@ -67,11 +67,12 @@ | @@ -67,11 +67,12 @@ | ||
| 67 | return { | 67 | return { |
| 68 | tableData: [], | 68 | tableData: [], |
| 69 | query: { | 69 | query: { |
| 70 | - advertisingName: '', | ||
| 71 | - advertisingType: '', | 70 | + |
| 72 | publishStatus:2 | 71 | publishStatus:2 |
| 73 | }, | 72 | }, |
| 74 | pageindex: { | 73 | pageindex: { |
| 74 | + advertisingName: '', | ||
| 75 | + advertisingType: '', | ||
| 75 | pageNumber: 0, | 76 | pageNumber: 0, |
| 76 | pageSize: 10, | 77 | pageSize: 10, |
| 77 | publishStatus:2 | 78 | publishStatus:2 |
| @@ -105,8 +106,8 @@ | @@ -105,8 +106,8 @@ | ||
| 105 | methods: { | 106 | methods: { |
| 106 | //查询全数据 | 107 | //查询全数据 |
| 107 | getAll() { | 108 | getAll() { |
| 108 | - let query = Object.assign(this.pageindex, this.query); | ||
| 109 | - this.$http.sendRequest('/cereAdvertisingInformation/queryByPage', 'POST', query, 1).then(res => { | 109 | + |
| 110 | + this.$http.sendRequest('/cereAdvertisingInformation/queryByPage', 'POST', this.pageindex, 1).then(res => { | ||
| 110 | //成功回调 | 111 | //成功回调 |
| 111 | this.tableData = res.data.data.content; | 112 | this.tableData = res.data.data.content; |
| 112 | }).catch(err => { | 113 | }).catch(err => { |
| @@ -127,15 +128,12 @@ | @@ -127,15 +128,12 @@ | ||
| 127 | // }) | 128 | // }) |
| 128 | }, | 129 | }, |
| 129 | search() { | 130 | search() { |
| 130 | - this.pageindex = { | ||
| 131 | - pageNumber: 1, | ||
| 132 | - pageSize: 10, | ||
| 133 | - } | 131 | + this.pageindex.advertisingType = '' |
| 134 | this.getAll() | 132 | this.getAll() |
| 135 | }, | 133 | }, |
| 136 | queryChange(key, val) { | 134 | queryChange(key, val) { |
| 137 | - this.query[`${key}`] = val[0].value; | ||
| 138 | - this.search(); | 135 | + this.pageindex[`${key}`] = val[0].value; |
| 136 | + this.getAll() | ||
| 139 | }, | 137 | }, |
| 140 | toDetail(item) { | 138 | toDetail(item) { |
| 141 | let items = JSON.stringify(item) | 139 | let items = JSON.stringify(item) |
| @@ -173,8 +171,9 @@ | @@ -173,8 +171,9 @@ | ||
| 173 | }, | 171 | }, |
| 174 | handleCompanyConfirm(val){ | 172 | handleCompanyConfirm(val){ |
| 175 | let page = { | 173 | let page = { |
| 176 | - pageNumber: 1, | 174 | + pageNumber: 0, |
| 177 | pageSize: 10, | 175 | pageSize: 10, |
| 176 | + publishStatus:2, | ||
| 178 | advertisingType:val[0].label | 177 | advertisingType:val[0].label |
| 179 | } | 178 | } |
| 180 | this.$http.sendRequest('/cereAdvertisingInformation/queryByPage', 'POST', page, 1).then(res => { | 179 | this.$http.sendRequest('/cereAdvertisingInformation/queryByPage', 'POST', page, 1).then(res => { |
lvdao-miniapp/pages/advertisementAdd/advertisementAdd.vue
| @@ -356,7 +356,7 @@ | @@ -356,7 +356,7 @@ | ||
| 356 | }) | 356 | }) |
| 357 | return | 357 | return |
| 358 | } | 358 | } |
| 359 | - this.model1.scheduleTime = e.range.after+'至'+e.range.before | 359 | + this.model1.scheduleTime =e.range.before+'至'+e.range.after |
| 360 | }, | 360 | }, |
| 361 | typeChange(e) { | 361 | typeChange(e) { |
| 362 | this.model1.type = e[0].label; | 362 | this.model1.type = e[0].label; |
lvdao-miniapp/pages/business/businessList/businessList.vue
lvdao-miniapp/pages/details/details.vue
| @@ -46,12 +46,15 @@ | @@ -46,12 +46,15 @@ | ||
| 46 | <u-col span="12"> | 46 | <u-col span="12"> |
| 47 | <view class="form-item"> | 47 | <view class="form-item"> |
| 48 | <view class="label">规划图纸:</view> | 48 | <view class="label">规划图纸:</view> |
| 49 | - <view> | ||
| 50 | - <u-image v-if="tableData.architecturalDrawings" :showLoading="true" :src="$img + tableData.architecturalDrawings | getimgurl" width="calc(90vw - 140rpx)" height="300rpx"></u-image> | ||
| 51 | - <text v-else>暂无</text> | ||
| 52 | - </view> | 49 | + |
| 50 | + </view> | ||
| 51 | + <view style="display: flex;flex-wrap: wrap;justify-content: space-around;"> | ||
| 52 | + | ||
| 53 | + <u-image v-if="tableData.architecturalDrawings" :showLoading="true" :src="$img + item" v-for="(item,index) in tableData.architecturalDrawings" width="140px" height="140px" border-radius="20" style="margin-bottom:10rpx;"></u-image> | ||
| 54 | + <text v-else>暂无</text> | ||
| 53 | </view> | 55 | </view> |
| 54 | </u-col> | 56 | </u-col> |
| 57 | + | ||
| 55 | <u-col span="12"> | 58 | <u-col span="12"> |
| 56 | <view class="form-item"> | 59 | <view class="form-item"> |
| 57 | <view class="label" style="width: 142rpx;">位置描述:</view> | 60 | <view class="label" style="width: 142rpx;">位置描述:</view> |
| @@ -132,8 +135,10 @@ export default { | @@ -132,8 +135,10 @@ export default { | ||
| 132 | }, | 135 | }, |
| 133 | filters: { | 136 | filters: { |
| 134 | getimgurl(e) { | 137 | getimgurl(e) { |
| 138 | + | ||
| 135 | let c1 = e.split(',')[0] | 139 | let c1 = e.split(',')[0] |
| 136 | return c1; | 140 | return c1; |
| 141 | + | ||
| 137 | }, | 142 | }, |
| 138 | }, | 143 | }, |
| 139 | onLoad(option){ | 144 | onLoad(option){ |
| @@ -160,6 +165,12 @@ export default { | @@ -160,6 +165,12 @@ export default { | ||
| 160 | }) | 165 | }) |
| 161 | this.swiperList[0].url = data.displayMainImage || data.locationDiagram | 166 | this.swiperList[0].url = data.displayMainImage || data.locationDiagram |
| 162 | this.tableData = data | 167 | this.tableData = data |
| 168 | + if(typeof data.architecturalDrawings == 'string' && data.architecturalDrawings){ | ||
| 169 | + this.tableData.architecturalDrawings =data.architecturalDrawings.split(',') | ||
| 170 | + } | ||
| 171 | + if(typeof data.planningDrawing == 'string' && data.planningDrawing){ | ||
| 172 | + this.tableData.architecturalDrawings =data.planningDrawing.split(',') | ||
| 173 | + } | ||
| 163 | // let location | 174 | // let location |
| 164 | // if(data.mapPunctuation){ | 175 | // if(data.mapPunctuation){ |
| 165 | // location = JSON.parse(data.mapPunctuation) | 176 | // location = JSON.parse(data.mapPunctuation) |
lvdao-miniapp/pages/home/home.vue
| @@ -279,8 +279,10 @@ | @@ -279,8 +279,10 @@ | ||
| 279 | </view> | 279 | </view> |
| 280 | <view style="width:100%;margin-top:10px;" class="other-business"> | 280 | <view style="width:100%;margin-top:10px;" class="other-business"> |
| 281 | <scroll-view class="scroll-view_H" scroll-x="true" scroll-left="120" > | 281 | <scroll-view class="scroll-view_H" scroll-x="true" scroll-left="120" > |
| 282 | + | ||
| 282 | <view v-for="(item, index) in yingxiaoData" :key="item.id" class="scroll-view-item_H" @click="toDetail(item.id, '/pages/marketing/marketingDetail/marketingDetail')"> | 283 | <view v-for="(item, index) in yingxiaoData" :key="item.id" class="scroll-view-item_H" @click="toDetail(item.id, '/pages/marketing/marketingDetail/marketingDetail')"> |
| 283 | <view class="business-card"> | 284 | <view class="business-card"> |
| 285 | + | ||
| 284 | <u-image :showLoading="true" :src="imgurl+item.coverImage" width="100%" height="210rpx" border-radius="20"></u-image> | 286 | <u-image :showLoading="true" :src="imgurl+item.coverImage" width="100%" height="210rpx" border-radius="20"></u-image> |
| 285 | <view class="business-card-title"> | 287 | <view class="business-card-title"> |
| 286 | {{item.title}} | 288 | {{item.title}} |
| @@ -393,12 +395,14 @@ | @@ -393,12 +395,14 @@ | ||
| 393 | let actPages = { | 395 | let actPages = { |
| 394 | pageNumber: 0, | 396 | pageNumber: 0, |
| 395 | pageSize: 10, | 397 | pageSize: 10, |
| 396 | - reviewStatus:'2' | 398 | + reviewStatus:'2', |
| 399 | + orderingRule:3 | ||
| 397 | } | 400 | } |
| 398 | let shopAct = { | 401 | let shopAct = { |
| 399 | auditStatus:'3', | 402 | auditStatus:'3', |
| 400 | pageNumber: 0, | 403 | pageNumber: 0, |
| 401 | pageSize: 10, | 404 | pageSize: 10, |
| 405 | + orderingRule:3 | ||
| 402 | } | 406 | } |
| 403 | let shanghu = { | 407 | let shanghu = { |
| 404 | status:'1', | 408 | status:'1', |
lvdao-miniapp/pages/marketing/marketingList/marketingList.vue
| @@ -25,7 +25,7 @@ | @@ -25,7 +25,7 @@ | ||
| 25 | <view class="info"> | 25 | <view class="info"> |
| 26 | <view class="title">{{item.title}}</view> | 26 | <view class="title">{{item.title}}</view> |
| 27 | <view class="name">活动时间:{{item.startTime}}至{{item.endTime}}</view> | 27 | <view class="name">活动时间:{{item.startTime}}至{{item.endTime}}</view> |
| 28 | - <view style="margin-top: 5px;"> | 28 | + <view style="margin-top: 5px;height:23px;"> |
| 29 | <u-tag text="进行中" type="success" mode="dark" v-if="item.activeState==1"/> | 29 | <u-tag text="进行中" type="success" mode="dark" v-if="item.activeState==1"/> |
| 30 | <u-tag text="未开始" type="info" mode="dark" v-if="item.activeState==0"/> | 30 | <u-tag text="未开始" type="info" mode="dark" v-if="item.activeState==0"/> |
| 31 | <u-tag text="已结束" type="warning" mode="dark" v-if="item.activeState==2"/> | 31 | <u-tag text="已结束" type="warning" mode="dark" v-if="item.activeState==2"/> |
| @@ -52,6 +52,8 @@ | @@ -52,6 +52,8 @@ | ||
| 52 | activeState: null, // 活动状态 | 52 | activeState: null, // 活动状态 |
| 53 | pageNumber:0, | 53 | pageNumber:0, |
| 54 | pageSize: 10, | 54 | pageSize: 10, |
| 55 | + reviewStatus:'2' | ||
| 56 | + | ||
| 55 | }, | 57 | }, |
| 56 | sortTypeOptions: [ | 58 | sortTypeOptions: [ |
| 57 | { label: '正序', value: 1 }, | 59 | { label: '正序', value: 1 }, |
lvdao-miniapp/pages/message/message.vue
| @@ -228,7 +228,7 @@ | @@ -228,7 +228,7 @@ | ||
| 228 | }) | 228 | }) |
| 229 | } else { | 229 | } else { |
| 230 | 230 | ||
| 231 | - this.$http.sendRequest('/cerePlatformMerchant/queryByPage', 'POST',{"pageSize":10,pageNumber:0,phone:uni.getStorageSync('user').phone},1).then(res => { | 231 | + this.$http.sendRequest('/cerePlatformMerchant/queryByPage', 'POST',{"pageSize":10,pageNumber:0,phone:uni.getStorageSync('user').phone},2).then(res => { |
| 232 | if(res.data.code == '20004' || res.data.code == '20003'){ | 232 | if(res.data.code == '20004' || res.data.code == '20003'){ |
| 233 | uni.navigateTo({ | 233 | uni.navigateTo({ |
| 234 | url: '/pages/login/login' | 234 | url: '/pages/login/login' |
lvdao-miniapp/pages/my/my.vue
| @@ -284,7 +284,7 @@ | @@ -284,7 +284,7 @@ | ||
| 284 | }) | 284 | }) |
| 285 | } else { | 285 | } else { |
| 286 | 286 | ||
| 287 | - this.$http.sendRequest('/cerePlatformMerchant/queryByPage', 'POST',{"pageSize":10,pageNumber:0,phone:uni.getStorageSync('user').phone},1).then(res => { | 287 | + this.$http.sendRequest('/cerePlatformMerchant/queryByPage', 'POST',{pageSize:10,pageNumber:0,phone:uni.getStorageSync('user').phone},2).then(res => { |
| 288 | if(res.data.code == '20004' || res.data.code == '20003'){ | 288 | if(res.data.code == '20004' || res.data.code == '20003'){ |
| 289 | uni.navigateTo({ | 289 | uni.navigateTo({ |
| 290 | url: '/pages/login/login' | 290 | url: '/pages/login/login' |
lvdao-miniapp/pages/participation/participation.vue
| @@ -32,7 +32,7 @@ | @@ -32,7 +32,7 @@ | ||
| 32 | <view class="title">{{item.activityName}}</view> | 32 | <view class="title">{{item.activityName}}</view> |
| 33 | <view class="huo-card-item">活动日期:<span>{{item.startTime}}至{{item.endTime}}</span></view> | 33 | <view class="huo-card-item">活动日期:<span>{{item.startTime}}至{{item.endTime}}</span></view> |
| 34 | <view class="huo-card-item">参与人数:<span>{{item.maxParticipants}}</span></view> | 34 | <view class="huo-card-item">参与人数:<span>{{item.maxParticipants}}</span></view> |
| 35 | - <view style="margin-top: 5px;"> | 35 | + <view style="margin-top: 5px;height:23px"> |
| 36 | <u-tag text="进行中" type="success" mode="dark" v-if="item.activeState==1"/> | 36 | <u-tag text="进行中" type="success" mode="dark" v-if="item.activeState==1"/> |
| 37 | <u-tag text="未开始" type="info" mode="dark" v-if="item.activeState==0"/> | 37 | <u-tag text="未开始" type="info" mode="dark" v-if="item.activeState==0"/> |
| 38 | <u-tag text="已结束" type="warning" mode="dark" v-if="item.activeState==2"/> | 38 | <u-tag text="已结束" type="warning" mode="dark" v-if="item.activeState==2"/> |
lvdao-miniapp/pages/rsaManagement/rsaManagement.vue
| @@ -25,7 +25,7 @@ | @@ -25,7 +25,7 @@ | ||
| 25 | <text style="font-weight: bold;">*意向租金(月)</text> | 25 | <text style="font-weight: bold;">*意向租金(月)</text> |
| 26 | </view> | 26 | </view> |
| 27 | <view class="content"> | 27 | <view class="content"> |
| 28 | - <input type="text" placeholder="请输入" v-model="ruleForm.rentalRent"> | 28 | + <input type="digit" placeholder="请输入" v-model="ruleForm.rentalRent"> |
| 29 | </view> | 29 | </view> |
| 30 | </view> | 30 | </view> |
| 31 | <view class="list"> | 31 | <view class="list"> |
| @@ -85,7 +85,7 @@ | @@ -85,7 +85,7 @@ | ||
| 85 | ruleForm: { | 85 | ruleForm: { |
| 86 | leaseType: '', | 86 | leaseType: '', |
| 87 | leaseCycle: '', | 87 | leaseCycle: '', |
| 88 | - rentalRent: '', | 88 | + rentalRent:null, |
| 89 | operationType: '', | 89 | operationType: '', |
| 90 | remark: '', | 90 | remark: '', |
| 91 | intentionRegion: '', | 91 | intentionRegion: '', |
| @@ -145,6 +145,7 @@ | @@ -145,6 +145,7 @@ | ||
| 145 | }); | 145 | }); |
| 146 | return false; | 146 | return false; |
| 147 | } | 147 | } |
| 148 | + | ||
| 148 | if (!this.ruleForm.operationType) { | 149 | if (!this.ruleForm.operationType) { |
| 149 | uni.showToast({ | 150 | uni.showToast({ |
| 150 | icon: 'none', | 151 | icon: 'none', |
lvdao-miniapp/pages/saleReport/saleReport.vue
| @@ -35,7 +35,7 @@ | @@ -35,7 +35,7 @@ | ||
| 35 | 单价 | 35 | 单价 |
| 36 | </view> | 36 | </view> |
| 37 | <view class="inputContent"> | 37 | <view class="inputContent"> |
| 38 | - <input type="text" v-model="item.price" placeholder="请输入" /> | 38 | + <input type="digit" v-model="item.price" placeholder="请输入" /> |
| 39 | </view> | 39 | </view> |
| 40 | </view> | 40 | </view> |
| 41 | <view class="up_line"></view> | 41 | <view class="up_line"></view> |
| @@ -54,7 +54,7 @@ | @@ -54,7 +54,7 @@ | ||
| 54 | 销售数量 | 54 | 销售数量 |
| 55 | </view> | 55 | </view> |
| 56 | <view class="inputContent"> | 56 | <view class="inputContent"> |
| 57 | - <input type="text" v-model="item.salesQuantity" placeholder="请输入" /> | 57 | + <input type="number" v-model="item.salesQuantity" placeholder="请输入" /> |
| 58 | </view> | 58 | </view> |
| 59 | </view> | 59 | </view> |
| 60 | <view class="up_line"></view> | 60 | <view class="up_line"></view> |
lvdao-miniapp/pages/shops/shops.scss
| @@ -36,7 +36,7 @@ | @@ -36,7 +36,7 @@ | ||
| 36 | padding: 0 20rpx; | 36 | padding: 0 20rpx; |
| 37 | .zidong{ | 37 | .zidong{ |
| 38 | width: 160rpx; | 38 | width: 160rpx; |
| 39 | - background-color: #3F9B6A; | 39 | + background-color: #19be6b; |
| 40 | color: #fff; | 40 | color: #fff; |
| 41 | padding: 10rpx; | 41 | padding: 10rpx; |
| 42 | border-radius: 30rpx; | 42 | border-radius: 30rpx; |
lvdao-miniapp/pages/shops/shops.vue
| @@ -78,13 +78,13 @@ | @@ -78,13 +78,13 @@ | ||
| 78 | <u-icon name="arrow-down"></u-icon> | 78 | <u-icon name="arrow-down"></u-icon> |
| 79 | </view> | 79 | </view> |
| 80 | </view> | 80 | </view> |
| 81 | - <!-- <view class="" style="display: flex;justify-content: space-between;border-bottom:1px solid #F6F9FA;padding: 20rpx 0;"> | 81 | + <view class="" style="display: flex;justify-content: space-between;border-bottom:1px solid #F6F9FA;padding: 20rpx 0;"> |
| 82 | <text class="sc" style="color: #979797;font-size: 30rpx;">意向租金(月)</text> | 82 | <text class="sc" style="color: #979797;font-size: 30rpx;">意向租金(月)</text> |
| 83 | <view @click="showS(4)"> | 83 | <view @click="showS(4)"> |
| 84 | <text class="mc" style="margin-right: 10rpx;"> {{formList.zujin ==''?'请选择':formList.zujin}}</text> | 84 | <text class="mc" style="margin-right: 10rpx;"> {{formList.zujin ==''?'请选择':formList.zujin}}</text> |
| 85 | <u-icon name="arrow-down"></u-icon> | 85 | <u-icon name="arrow-down"></u-icon> |
| 86 | </view> | 86 | </view> |
| 87 | - </view> --> | 87 | + </view> |
| 88 | <view class="" style="display: flex;justify-content: space-between;border-bottom:1px solid #F6F9FA;padding: 20rpx 0;"> | 88 | <view class="" style="display: flex;justify-content: space-between;border-bottom:1px solid #F6F9FA;padding: 20rpx 0;"> |
| 89 | <text class="sc" style="color: #979797;font-size: 30rpx;">意向面积</text> | 89 | <text class="sc" style="color: #979797;font-size: 30rpx;">意向面积</text> |
| 90 | <view @click="showS(5)"> | 90 | <view @click="showS(5)"> |
| @@ -124,12 +124,16 @@ | @@ -124,12 +124,16 @@ | ||
| 124 | belongingRegion: '', | 124 | belongingRegion: '', |
| 125 | pageNumber: 0, | 125 | pageNumber: 0, |
| 126 | pageSize: 10 , | 126 | pageSize: 10 , |
| 127 | - publishStatus:2 | 127 | + publishStatus:2, |
| 128 | + minPrice:0, | ||
| 129 | + maxPrice:1000000 | ||
| 128 | }, | 130 | }, |
| 129 | pageindex: { | 131 | pageindex: { |
| 130 | pageNumber: 0, | 132 | pageNumber: 0, |
| 131 | pageSize: 10, | 133 | pageSize: 10, |
| 132 | - publishStatus:2 | 134 | + publishStatus:2, |
| 135 | + minPrice:0, | ||
| 136 | + maxPrice:1000000 | ||
| 133 | }, | 137 | }, |
| 134 | tableData: [], | 138 | tableData: [], |
| 135 | areList: [ | 139 | areList: [ |
| @@ -297,12 +301,16 @@ | @@ -297,12 +301,16 @@ | ||
| 297 | this.companys = [ | 301 | this.companys = [ |
| 298 | { | 302 | { |
| 299 | value: '1', | 303 | value: '1', |
| 300 | - label: '0-5000' | 304 | + label: '0-2000' |
| 301 | }, | 305 | }, |
| 302 | { | 306 | { |
| 303 | value: '2', | 307 | value: '2', |
| 304 | - label: '5000-10000' | ||
| 305 | - } | 308 | + label: '2000-5000' |
| 309 | + }, | ||
| 310 | + { | ||
| 311 | + value: '3', | ||
| 312 | + label: '5000-10000' | ||
| 313 | + } | ||
| 306 | ] | 314 | ] |
| 307 | }else{ | 315 | }else{ |
| 308 | this.companys = [ | 316 | this.companys = [ |
| @@ -313,6 +321,10 @@ | @@ -313,6 +321,10 @@ | ||
| 313 | { | 321 | { |
| 314 | value: '2', | 322 | value: '2', |
| 315 | label: '100-200' | 323 | label: '100-200' |
| 324 | + }, | ||
| 325 | + { | ||
| 326 | + value: '3', | ||
| 327 | + label: '200-300' | ||
| 316 | } | 328 | } |
| 317 | ] | 329 | ] |
| 318 | } | 330 | } |
| @@ -326,9 +338,30 @@ | @@ -326,9 +338,30 @@ | ||
| 326 | }else if(this.index == 3){ | 338 | }else if(this.index == 3){ |
| 327 | this.formList.zuqi = e[0].label | 339 | this.formList.zuqi = e[0].label |
| 328 | }else if(this.index == 4){ | 340 | }else if(this.index == 4){ |
| 329 | - this.formList.zujin = e[0].label | 341 | + this.formList.zujin = e[0].label |
| 342 | + if(e[0].value == 1){ | ||
| 343 | + this.formList.minPrice = 0 | ||
| 344 | + this.formList.maxPrice = 2000 | ||
| 345 | + }else if(e[0].value == 2){ | ||
| 346 | + this.formList.minPrice = 2000 | ||
| 347 | + this.formList.maxPrice = 5000 | ||
| 348 | + }else{ | ||
| 349 | + this.formList.minPrice = 5000 | ||
| 350 | + this.formList.maxPrice = 10000 | ||
| 351 | + } | ||
| 330 | }else{ | 352 | }else{ |
| 331 | - this.formList.mianji = e[0].label | 353 | + this.formList.mianji = e[0].label |
| 354 | + if(e[0].value == 1){ | ||
| 355 | + this.formList.minActualUsableArea = 0 | ||
| 356 | + this.formList.maxActualUsableArea = 100 | ||
| 357 | + }else if(e[0].value == 2){ | ||
| 358 | + this.formList.minActualUsableArea = 100 | ||
| 359 | + this.formList.maxActualUsableArea = 200 | ||
| 360 | + }else{ | ||
| 361 | + this.formList.minActualUsableArea = 200 | ||
| 362 | + this.formList.maxActualUsableArea = 300 | ||
| 363 | + } | ||
| 364 | + | ||
| 332 | } | 365 | } |
| 333 | 366 | ||
| 334 | }, | 367 | }, |
| @@ -377,7 +410,6 @@ | @@ -377,7 +410,6 @@ | ||
| 377 | this.formList = { | 410 | this.formList = { |
| 378 | zulei: '', | 411 | zulei: '', |
| 379 | belongingRegion: '', | 412 | belongingRegion: '', |
| 380 | - zuqi:'', | ||
| 381 | zujin: '', | 413 | zujin: '', |
| 382 | mianji:'', | 414 | mianji:'', |
| 383 | name:'', | 415 | name:'', |
lvdao-miniapp/pages/workbench/workbench.vue
| @@ -178,7 +178,7 @@ | @@ -178,7 +178,7 @@ | ||
| 178 | }) | 178 | }) |
| 179 | } else { | 179 | } else { |
| 180 | 180 | ||
| 181 | - this.$http.sendRequest('/cerePlatformMerchant/queryByPage', 'POST',{"pageSize":10,pageNumber:0,phone:uni.getStorageSync('user').phone},1).then(res => { | 181 | + this.$http.sendRequest('/cerePlatformMerchant/queryByPage', 'POST',{"pageSize":10,pageNumber:0,phone:uni.getStorageSync('user').phone},2).then(res => { |
| 182 | if(res.data.code == '20004' || res.data.code == '20003'){ | 182 | if(res.data.code == '20004' || res.data.code == '20003'){ |
| 183 | uni.navigateTo({ | 183 | uni.navigateTo({ |
| 184 | url: '/pages/login/login' | 184 | url: '/pages/login/login' |
lvdao-miniapp/pagesA/rentPay/goPay.vue
lvdao-miniapp/pagesA/rentPay/webView.vue
0 → 100644
| 1 | +<template> | ||
| 2 | + <view> | ||
| 3 | + <web-view src="https://test-pay.028wlkj.com/fixedPay?payId=CDWLOLE490393BE9E049D29766DB184366132F"></web-view> | ||
| 4 | + </view> | ||
| 5 | +</template> | ||
| 6 | + | ||
| 7 | +<script> | ||
| 8 | + export default { | ||
| 9 | + props: { | ||
| 10 | + // 定义接收的 prop,类型为 String | ||
| 11 | + url: { | ||
| 12 | + type: String, | ||
| 13 | + required: true | ||
| 14 | + } | ||
| 15 | + }, | ||
| 16 | + computed: { | ||
| 17 | + // 使用计算属性确保 url 被正确绑定到 web-view 的 src 属性 | ||
| 18 | + webUrl() { | ||
| 19 | + return this.url; | ||
| 20 | + } | ||
| 21 | + }, | ||
| 22 | + mounted() { | ||
| 23 | + // 可选:在组件挂载后进行一些验证或处理 | ||
| 24 | + console.log('加载的网址:', this.webUrl); | ||
| 25 | + } | ||
| 26 | + } | ||
| 27 | +</script> | ||
| 28 | + | ||
| 29 | +<style> | ||
| 30 | +</style> | ||
| 0 | \ No newline at end of file | 31 | \ No newline at end of file |