Commit e8237f2e1e56ab21e0d0eb5ea425cccc3b093c69
1 parent
e2e33164
最新
Showing
5 changed files
with
26 additions
and
22 deletions
admin-web-master/src/components/add/addyixiang.vue
| @@ -377,8 +377,7 @@ | @@ -377,8 +377,7 @@ | ||
| 377 | </el-tab-pane> | 377 | </el-tab-pane> |
| 378 | </el-tabs> | 378 | </el-tabs> |
| 379 | </div> | 379 | </div> |
| 380 | - <!-- v-if='info.auditStatus == 1' --> | ||
| 381 | - <div v-if="info.auditStatus == 1 && issp == '2'"> | 380 | + <div v-if="info.intentionStatus != '2' && info.intentionStatus != '3' && issp == '2' "> |
| 382 | <!-- <div style="padding-left: 130px;margin: 25px 0;"> | 381 | <!-- <div style="padding-left: 130px;margin: 25px 0;"> |
| 383 | <el-radio v-model="radio" label="2">同意</el-radio> | 382 | <el-radio v-model="radio" label="2">同意</el-radio> |
| 384 | <el-radio v-model="radio" label="3">拒绝</el-radio> | 383 | <el-radio v-model="radio" label="3">拒绝</el-radio> |
| @@ -390,28 +389,28 @@ | @@ -390,28 +389,28 @@ | ||
| 390 | <el-radio v-model="radio" label="2">有意向</el-radio> | 389 | <el-radio v-model="radio" label="2">有意向</el-radio> |
| 391 | <el-radio v-model="radio" label="3">无意向</el-radio> | 390 | <el-radio v-model="radio" label="3">无意向</el-radio> |
| 392 | </el-form-item> | 391 | </el-form-item> |
| 393 | - <el-form-item label="审核意见"> | 392 | + <el-form-item label="意向原因"> |
| 394 | <el-input maxlength="200" show-word-limit rows="4" v-model="info.auditSuggestions" placeholder="请输入审核意见" | 393 | <el-input maxlength="200" show-word-limit rows="4" v-model="info.auditSuggestions" placeholder="请输入审核意见" |
| 395 | type="textarea" /> | 394 | type="textarea" /> |
| 396 | </el-form-item> | 395 | </el-form-item> |
| 397 | </el-form> | 396 | </el-form> |
| 398 | </div> | 397 | </div> |
| 399 | </div> | 398 | </div> |
| 400 | - <div v-if="info.auditStatus == '2' || info.auditStatus == '3'"> | 399 | + <div v-if="info.intentionStatus == '2' || info.intentionStatus == '3'"> |
| 401 | <TitleWithCircle title="审核结果"/> | 400 | <TitleWithCircle title="审核结果"/> |
| 402 | <div style="padding: 20px;"> | 401 | <div style="padding: 20px;"> |
| 403 | <el-form :model="info" label-width="100px" class="demo-ruleForm"> | 402 | <el-form :model="info" label-width="100px" class="demo-ruleForm"> |
| 404 | <el-form-item label="状态"> | 403 | <el-form-item label="状态"> |
| 405 | - <div class="duiqi">{{info.auditStatus=='2'?'有意向':info.auditStatus=='3'?'无意向':'无'}}</div> | 404 | + <div class="duiqi">{{info.intentionStatus=='2'?'有意向':info.intentionStatus=='3'?'无意向':'无'}}</div> |
| 406 | </el-form-item> | 405 | </el-form-item> |
| 407 | <el-form-item label="意向原因"> | 406 | <el-form-item label="意向原因"> |
| 408 | - <div class="duiqi">{{info.auditSuggestions || '无'}}</div> | 407 | + <div class="duiqi">{{info.intentionReason || '无'}}</div> |
| 409 | </el-form-item> | 408 | </el-form-item> |
| 410 | </el-form> | 409 | </el-form> |
| 411 | </div> | 410 | </div> |
| 412 | </div> | 411 | </div> |
| 413 | <div> | 412 | <div> |
| 414 | - <el-button v-if="info.auditStatus == 1 && issp == '2'" @click="minSev" | 413 | + <el-button v-if="info.intentionStatus != '2' && info.intentionStatus != '3' && issp == '2'" @click="minSev" |
| 415 | style="background-color: #3F9B6A;color: #fff;">确定</el-button> | 414 | style="background-color: #3F9B6A;color: #fff;">确定</el-button> |
| 416 | <el-button class="buttonHover" | 415 | <el-button class="buttonHover" |
| 417 | style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;margin-top: 20px;" | 416 | style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;margin-top: 20px;" |
| @@ -506,7 +505,7 @@ | @@ -506,7 +505,7 @@ | ||
| 506 | 505 | ||
| 507 | msgedit({ | 506 | msgedit({ |
| 508 | id: this.info.id, | 507 | id: this.info.id, |
| 509 | - 'auditStatus': this.radio, | 508 | + 'intentionStatus': this.radio, |
| 510 | auditSuggestions: this.info.auditSuggestions | 509 | auditSuggestions: this.info.auditSuggestions |
| 511 | }).then(res => { | 510 | }).then(res => { |
| 512 | console.error(res) | 511 | console.error(res) |
| @@ -515,7 +514,7 @@ | @@ -515,7 +514,7 @@ | ||
| 515 | message: '处理成功', | 514 | message: '处理成功', |
| 516 | type: 'success' | 515 | type: 'success' |
| 517 | }) | 516 | }) |
| 518 | - this.info.auditStatus = this.radio | 517 | + this.info.intentionStatus = this.radio |
| 519 | } else { | 518 | } else { |
| 520 | this.$message({ | 519 | this.$message({ |
| 521 | message: '处理失败', | 520 | message: '处理失败', |
admin-web-master/src/utils/request.js
| @@ -18,7 +18,7 @@ if(host === 'localhost:8080' || host === 'localhost:8081' || host === 'localhost | @@ -18,7 +18,7 @@ if(host === 'localhost:8080' || host === 'localhost:8081' || host === 'localhost | ||
| 18 | 18 | ||
| 19 | // baseURL = process.env.VUE_APP_DOMAIN_PREFIX_1; | 19 | // baseURL = process.env.VUE_APP_DOMAIN_PREFIX_1; |
| 20 | // baseURL = 'https://jy.scjysm.asia:18086/cdwlMall/meserver/admin-server'; | 20 | // baseURL = 'https://jy.scjysm.asia:18086/cdwlMall/meserver/admin-server'; |
| 21 | - baseURL = 'http://128.10.250.186:9003'; | 21 | + baseURL = 'http://128.10.250.134:9003'; |
| 22 | 22 | ||
| 23 | // baseURL = process.env.VUE_APP_DOMAIN_PREFIX_1; | 23 | // baseURL = process.env.VUE_APP_DOMAIN_PREFIX_1; |
| 24 | // baseURL = 'http://192.168.2.225:9003'; | 24 | // baseURL = 'http://192.168.2.225:9003'; |
admin-web-master/src/views/customer/icReview/index.vue
| @@ -75,9 +75,9 @@ | @@ -75,9 +75,9 @@ | ||
| 75 | {{scope.row.applicationTime}} | 75 | {{scope.row.applicationTime}} |
| 76 | </template> | 76 | </template> |
| 77 | </el-table-column> | 77 | </el-table-column> |
| 78 | - <el-table-column label="状态" porp='auditStatus'> | 78 | + <el-table-column label="状态" porp='intentionStatus'> |
| 79 | <template slot-scope="scope"> | 79 | <template slot-scope="scope"> |
| 80 | - {{scope.row.auditStatus =='1'?'待审核':scope.row.auditStatus =='2'?'有意向':scope.row.auditStatus =='3'?'无意向':scope.row.auditStatus =='4'?'已签约':'已终止'}} | 80 | + {{scope.row.intentionStatus ==''?'待审核':scope.row.intentionStatus =='2'?'有意向':scope.row.intentionStatus =='3'?'无意向':''}} |
| 81 | </template> | 81 | </template> |
| 82 | </el-table-column> | 82 | </el-table-column> |
| 83 | 83 |
admin-web-master/src/views/customer/rUser/index.vue
| @@ -47,11 +47,11 @@ | @@ -47,11 +47,11 @@ | ||
| 47 | 47 | ||
| 48 | </el-table-column> | 48 | </el-table-column> |
| 49 | <el-table-column label="申请时间" prop="applyTime" min-width="200" /> | 49 | <el-table-column label="申请时间" prop="applyTime" min-width="200" /> |
| 50 | - <el-table-column label="黑名单" prop="isBlacklist" min-width="150"> | 50 | + <el-table-column label="黑名单" prop="isBlackList" min-width="150"> |
| 51 | 51 | ||
| 52 | <template slot-scope="scope"> | 52 | <template slot-scope="scope"> |
| 53 | 53 | ||
| 54 | - {{scope.row.isBlacklist=='0'?'否':'是'}} | 54 | + {{scope.row.isBlackList=='0'?'是':'否'}} |
| 55 | </template> | 55 | </template> |
| 56 | </el-table-column> | 56 | </el-table-column> |
| 57 | <el-table-column label="操作" min-width="200" fixed="right"> | 57 | <el-table-column label="操作" min-width="200" fixed="right"> |
| @@ -59,14 +59,14 @@ | @@ -59,14 +59,14 @@ | ||
| 59 | <div class="tableBtn greens" @click="handleEditForm(scope.row)"> | 59 | <div class="tableBtn greens" @click="handleEditForm(scope.row)"> |
| 60 | 查看 | 60 | 查看 |
| 61 | </div> | 61 | </div> |
| 62 | - <!-- v-if="scope.row.isBlacklist=='0'" --> | 62 | + <!-- v-if="scope.row.isBlackList=='0'" --> |
| 63 | <div class="tableBtn greens" @click="addbuss(scope.row)" > | 63 | <div class="tableBtn greens" @click="addbuss(scope.row)" > |
| 64 | 评级 | 64 | 评级 |
| 65 | </div> | 65 | </div> |
| 66 | - <div class="tableBtn greens" @click="sethei(scope.row.id,'1')" v-if="scope.row.isBlacklist=='0'"> | 66 | + <div class="tableBtn greens" @click="sethei(scope.row.id,'0')" v-if="scope.row.isBlackList=='' || scope.row.isBlackList=='1' "> |
| 67 | 加入黑名单 | 67 | 加入黑名单 |
| 68 | </div> | 68 | </div> |
| 69 | - <div class="tableBtn greens" @click="sethei(scope.row.id,'0')" v-else> | 69 | + <div class="tableBtn greens" @click="sethei(scope.row.id,'1')" v-else> |
| 70 | 取消黑名单 | 70 | 取消黑名单 |
| 71 | </div> | 71 | </div> |
| 72 | </template> | 72 | </template> |
| @@ -266,7 +266,7 @@ import merchantInformation from '../../../components/merchantInformation/index.v | @@ -266,7 +266,7 @@ import merchantInformation from '../../../components/merchantInformation/index.v | ||
| 266 | // 查询 | 266 | // 查询 |
| 267 | async onSubmit() { | 267 | async onSubmit() { |
| 268 | const res = await cerePlatformMerchant(this.pageindex) | 268 | const res = await cerePlatformMerchant(this.pageindex) |
| 269 | - this.total = res.data.content.length | 269 | + this.total = res.data.totalElements |
| 270 | this.tableData = res.data.content | 270 | this.tableData = res.data.content |
| 271 | }, | 271 | }, |
| 272 | 272 | ||
| @@ -292,8 +292,8 @@ import merchantInformation from '../../../components/merchantInformation/index.v | @@ -292,8 +292,8 @@ import merchantInformation from '../../../components/merchantInformation/index.v | ||
| 292 | addCheck() { | 292 | addCheck() { |
| 293 | this.$refs.rulePing.validate((valid) => { | 293 | this.$refs.rulePing.validate((valid) => { |
| 294 | if (valid) { | 294 | if (valid) { |
| 295 | - this.ruleForm.shopId = this.secondData.shopId | ||
| 296 | - rUserAdd(this.ruleForm) | 295 | + this.ruleForm.id = this.secondData.id |
| 296 | + cerePlatformMerchantedit(this.ruleForm) | ||
| 297 | this.ggXin = false | 297 | this.ggXin = false |
| 298 | this.getAll() | 298 | this.getAll() |
| 299 | }else{ | 299 | }else{ |
| @@ -328,7 +328,7 @@ import merchantInformation from '../../../components/merchantInformation/index.v | @@ -328,7 +328,7 @@ import merchantInformation from '../../../components/merchantInformation/index.v | ||
| 328 | }, | 328 | }, |
| 329 | async sethei(ids, num) { | 329 | async sethei(ids, num) { |
| 330 | // console.log(ids, num) | 330 | // console.log(ids, num) |
| 331 | - await rUserEdit({id:ids,isBlacklist:num}) | 331 | + await cerePlatformMerchantedit({id:ids,isBlackList:num}) |
| 332 | this.getAll() | 332 | this.getAll() |
| 333 | } | 333 | } |
| 334 | } | 334 | } |
wenjuan-pc/src/views/investigation/index.vue
| @@ -550,7 +550,9 @@ | @@ -550,7 +550,9 @@ | ||
| 550 | </div> | 550 | </div> |
| 551 | <div v-if="formInline.rewardForParticipation === '转盘抽奖'" style="padding: 0 0 20px 20px;"> | 551 | <div v-if="formInline.rewardForParticipation === '转盘抽奖'" style="padding: 0 0 20px 20px;"> |
| 552 | <div> | 552 | <div> |
| 553 | - 奖励 <el-input v-model="choujiang" style="width:50px;" />次 | 553 | + <!-- 奖励 <el-input v-model="choujiang" style="width:50px;" />次 --> |
| 554 | + <el-button class="buttonHover" style="color: #fff;background-color: #3F9B6A;" | ||
| 555 | + @click="actGo">创建活动</el-button> | ||
| 554 | </div> | 556 | </div> |
| 555 | </div> | 557 | </div> |
| 556 | <div v-if="formInline.rewardForParticipation === '优惠券'" style="padding: 0 0 20px 20px;"> | 558 | <div v-if="formInline.rewardForParticipation === '优惠券'" style="padding: 0 0 20px 20px;"> |
| @@ -2676,6 +2678,9 @@ if(this.daxiangData.question[key].type == '单选') { | @@ -2676,6 +2678,9 @@ if(this.daxiangData.question[key].type == '单选') { | ||
| 2676 | this.options[index].index = index + 1 | 2678 | this.options[index].index = index + 1 |
| 2677 | this.options.sort() | 2679 | this.options.sort() |
| 2678 | }, | 2680 | }, |
| 2681 | + actGo(){ | ||
| 2682 | + // window.location.href = `` | ||
| 2683 | + }, | ||
| 2679 | } | 2684 | } |
| 2680 | 2685 | ||
| 2681 | } | 2686 | } |