From f550ed1da6e8c6201a8c99d5d1629c5ee2a7c7cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com> Date: Wed, 22 Mar 2023 14:42:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E6=9D=83=E4=BA=A4=E6=98=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/user/index.js | 2 +- src/views/index.vue | 4 ++-- src/views/project/projectDetail.vue | 20 ++++++++--------- src/views/project/signUp.vue | 8 +++++++ src/views/sunVillage_info/list_signature.vue | 6 ++--- src/views/user/interaction/index.vue | 23 ++++++++++---------- 6 files changed, 35 insertions(+), 28 deletions(-) diff --git a/src/api/user/index.js b/src/api/user/index.js index 5fc7e2d9..333ee4bd 100644 --- a/src/api/user/index.js +++ b/src/api/user/index.js @@ -81,7 +81,7 @@ export function updateCommunicate(query){ //咨询详情 export function selectCommunicate(id){ return request({ - url: '/transaction/communicate/'+id, + url: '/transaction/communicate/get/'+id, method: 'get' }) } diff --git a/src/views/index.vue b/src/views/index.vue index ee96a49f..b1596ac4 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -103,11 +103,11 @@ export default { for (var i = 0; i < response.rows.length; i++) { this.newList.push(response.rows[i]); var imgStrs = response.rows[i].content.match(//gi) + console.log(imgStrs) if (imgStrs != null && imgStrs != '') { this.newList[i].img = imgStrs[0].substr(10,(imgStrs[0].length-12)); } } - console.log(this.newList) if(this.newList.length >= response.total){ this.finished = true; return; @@ -125,7 +125,7 @@ export default { for (var i = 0; i < response.rows.length; i++) { var imgStrs = response.rows[i].content.match(//gi) if (imgStrs != null && imgStrs != '') { - this.bannerList[i].img = imgStrs[0].substr(10,(imgStrs[0].length-12)); + this.bannerList[i].img = '/api'+imgStrs[0].substr(10,(imgStrs[0].length-12)); } } this.loading = false; diff --git a/src/views/project/projectDetail.vue b/src/views/project/projectDetail.vue index cff51c9b..45d4a162 100644 --- a/src/views/project/projectDetail.vue +++ b/src/views/project/projectDetail.vue @@ -70,7 +70,7 @@ 竞价方向:{{ detail.biddingDirect }} - + 阶梯价(加价幅度):{{ detail.ladderPrice }} @@ -206,7 +206,7 @@ - + @@ -488,7 +488,7 @@ export default { } if (this.detail.biddingDirect == '递减竞价'){ if (this.biddinglistInformation.length<1){ - if(this.detail.pricethis.price){ + if(this.detail.price>=this.price){ this.$toast({ icon: 'fail', // 找到自己需要的图标 message: '出价不能低于挂牌价格', @@ -523,7 +523,7 @@ export default { return; } }else{ - if(this.biddinglistInformation[0].money>this.price){ + if(this.biddinglistInformation[0].money>=this.price){ this.$toast({ icon: 'fail', // 找到自己需要的图标 message: '出价不能低于当前出价最高价格', @@ -562,7 +562,7 @@ export default { }, add(){ if (this.detail.biddingDirect == '递减竞价'){ - if (this.biddinglistInformation.length<1){ + if (this.biddinglistInformation.length<=1){ if(this.detail.pricethis.price){ + if(this.detail.price>=this.price){ this.$toast({ icon: 'fail', // 找到自己需要的图标 message: '出价不能低于挂牌价格', @@ -598,7 +598,7 @@ export default { return; } }else{ - if(this.biddinglistInformation[0].money>this.price){ + if(this.biddinglistInformation[0].money>=this.price){ this.$toast({ icon: 'fail', // 找到自己需要的图标 message: '出价不能低于当前出价最高价格', diff --git a/src/views/project/signUp.vue b/src/views/project/signUp.vue index 811b5b48..c3bde4b6 100644 --- a/src/views/project/signUp.vue +++ b/src/views/project/signUp.vue @@ -179,6 +179,14 @@ export default { icon: 'warning', // 找到自己需要的图标 message: '保存之前,请先勾选<<竞拍服务协议>>!' }) + return; + } + if(this.fileList.length<1){ + this.$toast({ + icon: 'warning', // 找到自己需要的图标 + message: '请上传相关凭证' + }) + return; } submmitSignup(values).then(response =>{ if(response.code==200){ diff --git a/src/views/sunVillage_info/list_signature.vue b/src/views/sunVillage_info/list_signature.vue index 0913adfc..8d57df7f 100644 --- a/src/views/sunVillage_info/list_signature.vue +++ b/src/views/sunVillage_info/list_signature.vue @@ -17,7 +17,7 @@ @load="getList" > - +
@@ -37,11 +37,11 @@
-
+

签名

-
+

预览

diff --git a/src/views/user/interaction/index.vue b/src/views/user/interaction/index.vue index a1cf273d..88cddd4b 100644 --- a/src/views/user/interaction/index.vue +++ b/src/views/user/interaction/index.vue @@ -12,6 +12,7 @@ {{item.content}} - 已回复 - 未回复 + 已回复 + 未回复