Commit e8237f2e1e56ab21e0d0eb5ea425cccc3b093c69

Authored by 杨鑫
1 parent e2e33164

最新

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