diff --git a/admin-web-master/src/api/actSp.js b/admin-web-master/src/api/actSp.js index 3bf2725..36435c5 100644 --- a/admin-web-master/src/api/actSp.js +++ b/admin-web-master/src/api/actSp.js @@ -35,3 +35,11 @@ export function QRcode(data) { data }) } +//获取活动名单 +export function Registration(data) { + return request({ + url: '/cereActivityApplicationSignUp/queryByPage', + method: 'post', + data + }) +} diff --git a/admin-web-master/src/utils/request.js b/admin-web-master/src/utils/request.js index b492344..4911a3d 100644 --- a/admin-web-master/src/utils/request.js +++ b/admin-web-master/src/utils/request.js @@ -16,8 +16,8 @@ let hostall = window.location.href; let baseURL = '' if(host === 'localhost:8080' || host === 'localhost:8081' || host === 'localhost:9528'|| host === '192.168.31.45:9528'|| host === 'localhost:9529' ) { - baseURL = 'https://jy.scjysm.asia:18086/cdwlMall/meserver/admin-server'; - // baseURL = 'https://zhgw-uat.028wlkj.com/cdwlMall/meserver/admin-server'; + // baseURL = 'https://jy.scjysm.asia:18086/cdwlMall/meserver/admin-server'; + baseURL = 'https://zhgw-uat.028wlkj.com/cdwlMall/meserver/admin-server'; // baseURL = process.env.VUE_APP_DOMAIN_PREFIX_1; diff --git a/admin-web-master/src/views/activity/activityHis.vue b/admin-web-master/src/views/activity/activityHis.vue index befc2a6..639d44d 100644 --- a/admin-web-master/src/views/activity/activityHis.vue +++ b/admin-web-master/src/views/activity/activityHis.vue @@ -1206,15 +1206,17 @@
- - + + + +
- + @@ -2335,7 +2337,8 @@ }, xiaoguo(item) { - +this.effectivenessListOne = item +this.ListOne = item.planName this.xiaoDui = true this.duibiOne = item console.log(item) @@ -2350,9 +2353,9 @@ this.effectivenessList[index].operationType = actName[0] }) }) - this.ListOne = '' + // this.ListOne = '' this.ListTwo = '' - this.effectivenessListOne = {} + // this.effectivenessListOne = {} this.effectivenessListTwo = {} // actPage({ @@ -2549,90 +2552,90 @@ this.duibiList = JSON.parse(msg.modifiedData) }, - lichangeOne(e) { - let msg = this.effectivenessList[e] - if (typeof msg.modifiedData == 'string') { - this.effectivenessListOne = JSON.parse(msg.modifiedData) - } else { - this.effectivenessListOne = msg.modifiedData - } - - if (this.effectivenessListOne.internalLaborCostEstimation != undefined && this.effectivenessListTwo - .internalLaborCostEstimation != undefined && this.effectivenessListOne.internalLaborCostEstimation != - '' && this.effectivenessListTwo - .internalLaborCostEstimation != '') { - let sum = (Number(this.effectivenessListTwo.internalLaborCostEstimation) - Number(this - .effectivenessListOne.internalLaborCostEstimation) ) / Number(this.effectivenessListTwo - .internalLaborCostEstimation) * 100 - this.effectivenessListOne.sumNei = sum.toFixed(2) - } - if (this.effectivenessListOne.externalLaborCostEstimation != undefined && this.effectivenessListTwo - .externalLaborCostEstimation != undefined && this.effectivenessListOne.externalLaborCostEstimation != - '' && this.effectivenessListTwo - .externalLaborCostEstimation != '') { - let sum = (Number(this.effectivenessListTwo.externalLaborCostEstimation) - Number(this - .effectivenessListOne.externalLaborCostEstimation)) / Number(this.effectivenessListTwo - .externalLaborCostEstimation) * 100 - this.effectivenessListOne.sumWai = sum.toFixed(2) + // lichangeOne(e) { + // let msg = this.effectivenessList[e] + // if (typeof msg.modifiedData == 'string') { + // this.effectivenessListOne = JSON.parse(msg.modifiedData) + // } else { + // this.effectivenessListOne = msg.modifiedData + // } - } - if (this.effectivenessListOne.costEstimationGoods != undefined && this.effectivenessListTwo - .costEstimationGoods != undefined && this.effectivenessListOne.costEstimationGoods != '' && this - .effectivenessListTwo - .costEstimationGoods != '') { - let sum = (Number(this.effectivenessListTwo.costEstimationGoods) - Number(this.effectivenessListOne - .costEstimationGoods)) / Number(this.effectivenessListTwo.costEstimationGoods) * 100 - this.effectivenessListOne.sumShop = sum.toFixed(2) + // if (this.effectivenessListOne.internalLaborCostEstimation != undefined && this.effectivenessListTwo + // .internalLaborCostEstimation != undefined && this.effectivenessListOne.internalLaborCostEstimation != + // '' && this.effectivenessListTwo + // .internalLaborCostEstimation != '') { + // let sum = (Number(this.effectivenessListTwo.internalLaborCostEstimation) - Number(this + // .effectivenessListOne.internalLaborCostEstimation) ) / Number(this.effectivenessListTwo + // .internalLaborCostEstimation) * 100 + // this.effectivenessListOne.sumNei = sum.toFixed(2) + // } + // if (this.effectivenessListOne.externalLaborCostEstimation != undefined && this.effectivenessListTwo + // .externalLaborCostEstimation != undefined && this.effectivenessListOne.externalLaborCostEstimation != + // '' && this.effectivenessListTwo + // .externalLaborCostEstimation != '') { + // let sum = (Number(this.effectivenessListTwo.externalLaborCostEstimation) - Number(this + // .effectivenessListOne.externalLaborCostEstimation)) / Number(this.effectivenessListTwo + // .externalLaborCostEstimation) * 100 + // this.effectivenessListOne.sumWai = sum.toFixed(2) - } - if (this.effectivenessListOne.setCostEstimate != undefined && this.effectivenessListTwo.setCostEstimate != - undefined && this.effectivenessListOne.setCostEstimate != '' && this.effectivenessListTwo - .setCostEstimate != '') { - let sum = (Number(this.effectivenessListTwo.setCostEstimate) - Number(this.effectivenessListOne - .setCostEstimate)) / Number(this.effectivenessListTwo.setCostEstimate) * 100 - this.effectivenessListOne.sumSe = sum.toFixed(2) + // } + // if (this.effectivenessListOne.costEstimationGoods != undefined && this.effectivenessListTwo + // .costEstimationGoods != undefined && this.effectivenessListOne.costEstimationGoods != '' && this + // .effectivenessListTwo + // .costEstimationGoods != '') { + // let sum = (Number(this.effectivenessListTwo.costEstimationGoods) - Number(this.effectivenessListOne + // .costEstimationGoods)) / Number(this.effectivenessListTwo.costEstimationGoods) * 100 + // this.effectivenessListOne.sumShop = sum.toFixed(2) - } - if (this.effectivenessListOne.estimatedPromotionalExpenses != undefined && this.effectivenessListTwo - .estimatedPromotionalExpenses != undefined && this.effectivenessListOne.estimatedPromotionalExpenses != - '' && this.effectivenessListTwo - .estimatedPromotionalExpenses != '') { - let sum = (Number(this.effectivenessListTwo.estimatedPromotionalExpenses) - Number(this - .effectivenessListOne.estimatedPromotionalExpenses)) / Number(this.effectivenessListTwo - .estimatedPromotionalExpenses) * 100 + // } + // if (this.effectivenessListOne.setCostEstimate != undefined && this.effectivenessListTwo.setCostEstimate != + // undefined && this.effectivenessListOne.setCostEstimate != '' && this.effectivenessListTwo + // .setCostEstimate != '') { + // let sum = (Number(this.effectivenessListTwo.setCostEstimate) - Number(this.effectivenessListOne + // .setCostEstimate)) / Number(this.effectivenessListTwo.setCostEstimate) * 100 + // this.effectivenessListOne.sumSe = sum.toFixed(2) - this.effectivenessListOne.sumXuan = sum.toFixed(2) - } - if (this.effectivenessListOne.otherNecessaryEstimates != undefined && this.effectivenessListTwo - .otherNecessaryEstimates != undefined && this.effectivenessListOne.otherNecessaryEstimates != '' && - this.effectivenessListTwo - .otherNecessaryEstimates != '') { - let sum = (Number(this.effectivenessListTwo.otherNecessaryEstimates) - Number(this.effectivenessListOne.otherNecessaryEstimates)) / Number(this.effectivenessListTwo.otherNecessaryEstimates) * 100 - this.effectivenessListOne.sumQi = sum.toFixed(2) - } - if (this.effectivenessListOne.totalCostEstimation != undefined && this.effectivenessListTwo - .totalCostEstimation != undefined && this.effectivenessListOne.totalCostEstimation != '' && this - .effectivenessListTwo - .totalCostEstimation != '') { - let sum = (Number(this.effectivenessListTwo.totalCostEstimation) - Number(this.effectivenessListOne.totalCostEstimation)) / Number(this.effectivenessListTwo.totalCostEstimation) * 100 - this.effectivenessListOne.sumAll = sum.toFixed(2) - } - // sumNei - // sumWai - // sumShop - // sumSe - // sumXuan - // sumQi - // sumAll - // internalLaborCostEstimation - // externalLaborCostEstimation - // costEstimationGoods - // setCostEstimate - // estimatedPromotionalExpenses - // otherNecessaryEstimates - // totalCostEstimation + // } + // if (this.effectivenessListOne.estimatedPromotionalExpenses != undefined && this.effectivenessListTwo + // .estimatedPromotionalExpenses != undefined && this.effectivenessListOne.estimatedPromotionalExpenses != + // '' && this.effectivenessListTwo + // .estimatedPromotionalExpenses != '') { + // let sum = (Number(this.effectivenessListTwo.estimatedPromotionalExpenses) - Number(this + // .effectivenessListOne.estimatedPromotionalExpenses)) / Number(this.effectivenessListTwo + // .estimatedPromotionalExpenses) * 100 + + // this.effectivenessListOne.sumXuan = sum.toFixed(2) + // } + // if (this.effectivenessListOne.otherNecessaryEstimates != undefined && this.effectivenessListTwo + // .otherNecessaryEstimates != undefined && this.effectivenessListOne.otherNecessaryEstimates != '' && + // this.effectivenessListTwo + // .otherNecessaryEstimates != '') { + // let sum = (Number(this.effectivenessListTwo.otherNecessaryEstimates) - Number(this.effectivenessListOne.otherNecessaryEstimates)) / Number(this.effectivenessListTwo.otherNecessaryEstimates) * 100 + // this.effectivenessListOne.sumQi = sum.toFixed(2) + // } + // if (this.effectivenessListOne.totalCostEstimation != undefined && this.effectivenessListTwo + // .totalCostEstimation != undefined && this.effectivenessListOne.totalCostEstimation != '' && this + // .effectivenessListTwo + // .totalCostEstimation != '') { + // let sum = (Number(this.effectivenessListTwo.totalCostEstimation) - Number(this.effectivenessListOne.totalCostEstimation)) / Number(this.effectivenessListTwo.totalCostEstimation) * 100 + // this.effectivenessListOne.sumAll = sum.toFixed(2) + // } + // // sumNei + // // sumWai + // // sumShop + // // sumSe + // // sumXuan + // // sumQi + // // sumAll + // // internalLaborCostEstimation + // // externalLaborCostEstimation + // // costEstimationGoods + // // setCostEstimate + // // estimatedPromotionalExpenses + // // otherNecessaryEstimates + // // totalCostEstimation - }, + // }, lichangeTwo(e) { let msg = this.effectivenessList[e] if (typeof msg.modifiedData == 'string') { @@ -2646,7 +2649,7 @@ '' && this.effectivenessListTwo .internalLaborCostEstimation != '') { let sum = (Number(this.effectivenessListTwo.internalLaborCostEstimation) - Number(this - .effectivenessListOne.internalLaborCostEstimation) ) / Number(this.effectivenessListTwo + .effectivenessListOne.internalLaborCostEstimation) ) / Number(this.effectivenessListOne .internalLaborCostEstimation) * 100 this.effectivenessListOne.sumNei = sum.toFixed(2) } @@ -2654,11 +2657,9 @@ .externalLaborCostEstimation != undefined && this.effectivenessListOne.externalLaborCostEstimation != '' && this.effectivenessListTwo .externalLaborCostEstimation != '') { - let sum = (Number(this.effectivenessListTwo.externalLaborCostEstimation) - Number(this - .effectivenessListOne.externalLaborCostEstimation)) / Number(this.effectivenessListTwo + .effectivenessListOne.externalLaborCostEstimation)) / Number(this.effectivenessListOne .externalLaborCostEstimation) * 100 - console.log(sum.toFixed(2),'console.log(sum.toFixed(2))') this.effectivenessListOne.sumWai = sum.toFixed(2) } @@ -2667,7 +2668,7 @@ .effectivenessListTwo .costEstimationGoods != '') { let sum = (Number(this.effectivenessListTwo.costEstimationGoods) - Number(this.effectivenessListOne - .costEstimationGoods)) / Number(this.effectivenessListTwo.costEstimationGoods) * 100 + .costEstimationGoods)) / Number(this.effectivenessListOne.costEstimationGoods) * 100 this.effectivenessListOne.sumShop = sum.toFixed(2) } @@ -2675,7 +2676,7 @@ undefined && this.effectivenessListOne.setCostEstimate != '' && this.effectivenessListTwo .setCostEstimate != '') { let sum = (Number(this.effectivenessListTwo.setCostEstimate) - Number(this.effectivenessListOne - .setCostEstimate)) / Number(this.effectivenessListTwo.setCostEstimate) * 100 + .setCostEstimate)) / Number(this.effectivenessListOne.setCostEstimate) * 100 this.effectivenessListOne.sumSe = sum.toFixed(2) } @@ -2684,7 +2685,7 @@ '' && this.effectivenessListTwo .estimatedPromotionalExpenses != '') { let sum = (Number(this.effectivenessListTwo.estimatedPromotionalExpenses) - Number(this - .effectivenessListOne.estimatedPromotionalExpenses)) / Number(this.effectivenessListTwo + .effectivenessListOne.estimatedPromotionalExpenses)) / Number(this.effectivenessListOne .estimatedPromotionalExpenses) * 100 this.effectivenessListOne.sumXuan = sum.toFixed(2) @@ -2693,14 +2694,14 @@ .otherNecessaryEstimates != undefined && this.effectivenessListOne.otherNecessaryEstimates != '' && this.effectivenessListTwo .otherNecessaryEstimates != '') { - let sum = (Number(this.effectivenessListTwo.otherNecessaryEstimates) - Number(this.effectivenessListOne.otherNecessaryEstimates)) / Number(this.effectivenessListTwo.otherNecessaryEstimates) * 100 + let sum = (Number(this.effectivenessListTwo.otherNecessaryEstimates) - Number(this.effectivenessListOne.otherNecessaryEstimates)) / Number(this.effectivenessListOne.otherNecessaryEstimates) * 100 this.effectivenessListOne.sumQi = sum.toFixed(2) } if (this.effectivenessListOne.totalCostEstimation != undefined && this.effectivenessListTwo .totalCostEstimation != undefined && this.effectivenessListOne.totalCostEstimation != '' && this .effectivenessListTwo .totalCostEstimation != '') { - let sum = (Number(this.effectivenessListTwo.totalCostEstimation) - Number(this.effectivenessListOne.totalCostEstimation)) / Number(this.effectivenessListTwo.totalCostEstimation) * 100 + let sum = (Number(this.effectivenessListTwo.totalCostEstimation) - Number(this.effectivenessListOne.totalCostEstimation)) / Number(this.effectivenessListOne.totalCostEstimation) * 100 this.effectivenessListOne.sumAll = sum.toFixed(2) } // sumNei diff --git a/admin-web-master/src/views/atmosphere/atmosphereHis.vue b/admin-web-master/src/views/atmosphere/atmosphereHis.vue index b35ef11..6a52a0b 100644 --- a/admin-web-master/src/views/atmosphere/atmosphereHis.vue +++ b/admin-web-master/src/views/atmosphere/atmosphereHis.vue @@ -1203,15 +1203,16 @@
- + +
- + @@ -2316,7 +2317,8 @@ }, xiaoguo(item) { - +this.effectivenessListOne = item +this.ListOne = item.planName this.xiaoDui = true this.duibiOne = item console.log(item) @@ -2330,9 +2332,9 @@ this.effectivenessList[index].operationType = actName[0] }) }) - this.ListOne = '' + // this.ListOne = '' this.ListTwo = '' - this.effectivenessListOne = {} + // this.effectivenessListOne = {} this.effectivenessListTwo = {} // this.xiaoDui = true @@ -2522,7 +2524,7 @@ this.searchShow = true }, lichange(e) { - console.log(e) + // this.lishiList = e // let msg = this.liData[e] // this.duibiList = JSON.parse(msg.modifyContent) @@ -2530,91 +2532,91 @@ let msg = this.effectivenessList[e] this.duibiList = JSON.parse(msg.modifiedData) }, - lichangeOne(e) { - let msg = this.effectivenessList[e] - if (typeof msg.modifiedData == 'string') { - this.effectivenessListOne = JSON.parse(msg.modifiedData) - } else { - this.effectivenessListOne = msg.modifiedData - } - - if (this.effectivenessListOne.internalLaborCostEstimation != undefined && this.effectivenessListTwo - .internalLaborCostEstimation != undefined && this.effectivenessListOne.internalLaborCostEstimation != - '' && this.effectivenessListTwo - .internalLaborCostEstimation != '') { - let sum = (Number(this.effectivenessListTwo.internalLaborCostEstimation) - Number(this - .effectivenessListOne.internalLaborCostEstimation) ) / Number(this.effectivenessListTwo - .internalLaborCostEstimation) * 100 - this.effectivenessListOne.sumNei = sum.toFixed(2) - } - if (this.effectivenessListOne.externalLaborCostEstimation != undefined && this.effectivenessListTwo - .externalLaborCostEstimation != undefined && this.effectivenessListOne.externalLaborCostEstimation != - '' && this.effectivenessListTwo - .externalLaborCostEstimation != '') { + // lichangeOne(e) { + // let msg = this.effectivenessList[e] + // if (typeof msg.modifiedData == 'string') { + // this.effectivenessListOne = JSON.parse(msg.modifiedData) + // } else { + // this.effectivenessListOne = msg.modifiedData + // } + + // if (this.effectivenessListOne.internalLaborCostEstimation != undefined && this.effectivenessListTwo + // .internalLaborCostEstimation != undefined && this.effectivenessListOne.internalLaborCostEstimation != + // '' && this.effectivenessListTwo + // .internalLaborCostEstimation != '') { + // let sum = (Number(this.effectivenessListTwo.internalLaborCostEstimation) - Number(this + // .effectivenessListOne.internalLaborCostEstimation) ) / Number(this.effectivenessListTwo + // .internalLaborCostEstimation) * 100 + // this.effectivenessListOne.sumNei = sum.toFixed(2) + // } + // if (this.effectivenessListOne.externalLaborCostEstimation != undefined && this.effectivenessListTwo + // .externalLaborCostEstimation != undefined && this.effectivenessListOne.externalLaborCostEstimation != + // '' && this.effectivenessListTwo + // .externalLaborCostEstimation != '') { - let sum = (Number(this.effectivenessListTwo.externalLaborCostEstimation) - Number(this - .effectivenessListOne.externalLaborCostEstimation)) / Number(this.effectivenessListTwo - .externalLaborCostEstimation) * 100 - this.effectivenessListOne.sumWai = sum.toFixed(2) + // let sum = (Number(this.effectivenessListTwo.externalLaborCostEstimation) - Number(this + // .effectivenessListOne.externalLaborCostEstimation)) / Number(this.effectivenessListTwo + // .externalLaborCostEstimation) * 100 + // this.effectivenessListOne.sumWai = sum.toFixed(2) - } - if (this.effectivenessListOne.costEstimationGoods != undefined && this.effectivenessListTwo - .costEstimationGoods != undefined && this.effectivenessListOne.costEstimationGoods != '' && this - .effectivenessListTwo - .costEstimationGoods != '') { - let sum = (Number(this.effectivenessListTwo.costEstimationGoods) - Number(this.effectivenessListOne - .costEstimationGoods)) / Number(this.effectivenessListTwo.costEstimationGoods) * 100 - this.effectivenessListOne.sumShop = sum.toFixed(2) + // } + // if (this.effectivenessListOne.costEstimationGoods != undefined && this.effectivenessListTwo + // .costEstimationGoods != undefined && this.effectivenessListOne.costEstimationGoods != '' && this + // .effectivenessListTwo + // .costEstimationGoods != '') { + // let sum = (Number(this.effectivenessListTwo.costEstimationGoods) - Number(this.effectivenessListOne + // .costEstimationGoods)) / Number(this.effectivenessListTwo.costEstimationGoods) * 100 + // this.effectivenessListOne.sumShop = sum.toFixed(2) - } - if (this.effectivenessListOne.setCostEstimate != undefined && this.effectivenessListTwo.setCostEstimate != - undefined && this.effectivenessListOne.setCostEstimate != '' && this.effectivenessListTwo - .setCostEstimate != '') { - let sum = (Number(this.effectivenessListTwo.setCostEstimate) - Number(this.effectivenessListOne - .setCostEstimate)) / Number(this.effectivenessListTwo.setCostEstimate) * 100 - this.effectivenessListOne.sumSe = sum.toFixed(2) + // } + // if (this.effectivenessListOne.setCostEstimate != undefined && this.effectivenessListTwo.setCostEstimate != + // undefined && this.effectivenessListOne.setCostEstimate != '' && this.effectivenessListTwo + // .setCostEstimate != '') { + // let sum = (Number(this.effectivenessListTwo.setCostEstimate) - Number(this.effectivenessListOne + // .setCostEstimate)) / Number(this.effectivenessListTwo.setCostEstimate) * 100 + // this.effectivenessListOne.sumSe = sum.toFixed(2) - } - if (this.effectivenessListOne.estimatedPromotionalExpenses != undefined && this.effectivenessListTwo - .estimatedPromotionalExpenses != undefined && this.effectivenessListOne.estimatedPromotionalExpenses != - '' && this.effectivenessListTwo - .estimatedPromotionalExpenses != '') { - let sum = (Number(this.effectivenessListTwo.estimatedPromotionalExpenses) - Number(this - .effectivenessListOne.estimatedPromotionalExpenses)) / Number(this.effectivenessListTwo - .estimatedPromotionalExpenses) * 100 + // } + // if (this.effectivenessListOne.estimatedPromotionalExpenses != undefined && this.effectivenessListTwo + // .estimatedPromotionalExpenses != undefined && this.effectivenessListOne.estimatedPromotionalExpenses != + // '' && this.effectivenessListTwo + // .estimatedPromotionalExpenses != '') { + // let sum = (Number(this.effectivenessListTwo.estimatedPromotionalExpenses) - Number(this + // .effectivenessListOne.estimatedPromotionalExpenses)) / Number(this.effectivenessListTwo + // .estimatedPromotionalExpenses) * 100 - this.effectivenessListOne.sumXuan = sum.toFixed(2) - } - if (this.effectivenessListOne.otherNecessaryEstimates != undefined && this.effectivenessListTwo - .otherNecessaryEstimates != undefined && this.effectivenessListOne.otherNecessaryEstimates != '' && - this.effectivenessListTwo - .otherNecessaryEstimates != '') { - let sum = (Number(this.effectivenessListTwo.otherNecessaryEstimates) - Number(this.effectivenessListOne.otherNecessaryEstimates)) / Number(this.effectivenessListTwo.otherNecessaryEstimates) * 100 - this.effectivenessListOne.sumQi = sum.toFixed(2) - } - if (this.effectivenessListOne.totalCostEstimation != undefined && this.effectivenessListTwo - .totalCostEstimation != undefined && this.effectivenessListOne.totalCostEstimation != '' && this - .effectivenessListTwo - .totalCostEstimation != '') { - let sum = (Number(this.effectivenessListTwo.totalCostEstimation) - Number(this.effectivenessListOne.totalCostEstimation)) / Number(this.effectivenessListTwo.totalCostEstimation) * 100 - this.effectivenessListOne.sumAll = sum.toFixed(2) - } - // sumNei - // sumWai - // sumShop - // sumSe - // sumXuan - // sumQi - // sumAll - // internalLaborCostEstimation - // externalLaborCostEstimation - // costEstimationGoods - // setCostEstimate - // estimatedPromotionalExpenses - // otherNecessaryEstimates - // totalCostEstimation - - }, + // this.effectivenessListOne.sumXuan = sum.toFixed(2) + // } + // if (this.effectivenessListOne.otherNecessaryEstimates != undefined && this.effectivenessListTwo + // .otherNecessaryEstimates != undefined && this.effectivenessListOne.otherNecessaryEstimates != '' && + // this.effectivenessListTwo + // .otherNecessaryEstimates != '') { + // let sum = (Number(this.effectivenessListTwo.otherNecessaryEstimates) - Number(this.effectivenessListOne.otherNecessaryEstimates)) / Number(this.effectivenessListTwo.otherNecessaryEstimates) * 100 + // this.effectivenessListOne.sumQi = sum.toFixed(2) + // } + // if (this.effectivenessListOne.totalCostEstimation != undefined && this.effectivenessListTwo + // .totalCostEstimation != undefined && this.effectivenessListOne.totalCostEstimation != '' && this + // .effectivenessListTwo + // .totalCostEstimation != '') { + // let sum = (Number(this.effectivenessListTwo.totalCostEstimation) - Number(this.effectivenessListOne.totalCostEstimation)) / Number(this.effectivenessListTwo.totalCostEstimation) * 100 + // this.effectivenessListOne.sumAll = sum.toFixed(2) + // } + // // sumNei + // // sumWai + // // sumShop + // // sumSe + // // sumXuan + // // sumQi + // // sumAll + // // internalLaborCostEstimation + // // externalLaborCostEstimation + // // costEstimationGoods + // // setCostEstimate + // // estimatedPromotionalExpenses + // // otherNecessaryEstimates + // // totalCostEstimation + + // }, lichangeTwo(e) { let msg = this.effectivenessList[e] if (typeof msg.modifiedData == 'string') { @@ -2627,7 +2629,7 @@ '' && this.effectivenessListTwo .internalLaborCostEstimation != '') { let sum = (Number(this.effectivenessListTwo.internalLaborCostEstimation) - Number(this - .effectivenessListOne.internalLaborCostEstimation) ) / Number(this.effectivenessListTwo + .effectivenessListOne.internalLaborCostEstimation) ) / Number(this.effectivenessListOne .internalLaborCostEstimation) * 100 this.effectivenessListOne.sumNei = sum.toFixed(2) } @@ -2636,7 +2638,7 @@ '' && this.effectivenessListTwo .externalLaborCostEstimation != '') { let sum = (Number(this.effectivenessListTwo.externalLaborCostEstimation) - Number(this - .effectivenessListOne.externalLaborCostEstimation)) / Number(this.effectivenessListTwo + .effectivenessListOne.externalLaborCostEstimation)) / Number(this.effectivenessListOne .externalLaborCostEstimation) * 100 this.effectivenessListOne.sumWai = sum.toFixed(2) @@ -2646,7 +2648,7 @@ .effectivenessListTwo .costEstimationGoods != '') { let sum = (Number(this.effectivenessListTwo.costEstimationGoods) - Number(this.effectivenessListOne - .costEstimationGoods)) / Number(this.effectivenessListTwo.costEstimationGoods) * 100 + .costEstimationGoods)) / Number(this.effectivenessListOne.costEstimationGoods) * 100 this.effectivenessListOne.sumShop = sum.toFixed(2) } @@ -2654,7 +2656,7 @@ undefined && this.effectivenessListOne.setCostEstimate != '' && this.effectivenessListTwo .setCostEstimate != '') { let sum = (Number(this.effectivenessListTwo.setCostEstimate) - Number(this.effectivenessListOne - .setCostEstimate)) / Number(this.effectivenessListTwo.setCostEstimate) * 100 + .setCostEstimate)) / Number(this.effectivenessListOne.setCostEstimate) * 100 this.effectivenessListOne.sumSe = sum.toFixed(2) } @@ -2663,7 +2665,7 @@ '' && this.effectivenessListTwo .estimatedPromotionalExpenses != '') { let sum = (Number(this.effectivenessListTwo.estimatedPromotionalExpenses) - Number(this - .effectivenessListOne.estimatedPromotionalExpenses)) / Number(this.effectivenessListTwo + .effectivenessListOne.estimatedPromotionalExpenses)) / Number(this.effectivenessListOne .estimatedPromotionalExpenses) * 100 this.effectivenessListOne.sumXuan = sum.toFixed(2) @@ -2672,14 +2674,14 @@ .otherNecessaryEstimates != undefined && this.effectivenessListOne.otherNecessaryEstimates != '' && this.effectivenessListTwo .otherNecessaryEstimates != '') { - let sum = (Number(this.effectivenessListTwo.otherNecessaryEstimates) - Number(this.effectivenessListOne.otherNecessaryEstimates)) / Number(this.effectivenessListTwo.otherNecessaryEstimates) * 100 + let sum = (Number(this.effectivenessListTwo.otherNecessaryEstimates) - Number(this.effectivenessListOne.otherNecessaryEstimates)) / Number(this.effectivenessListOne.otherNecessaryEstimates) * 100 this.effectivenessListOne.sumQi = sum.toFixed(2) } if (this.effectivenessListOne.totalCostEstimation != undefined && this.effectivenessListTwo .totalCostEstimation != undefined && this.effectivenessListOne.totalCostEstimation != '' && this .effectivenessListTwo .totalCostEstimation != '') { - let sum = (Number(this.effectivenessListTwo.totalCostEstimation) - Number(this.effectivenessListOne.totalCostEstimation)) / Number(this.effectivenessListTwo.totalCostEstimation) * 100 + let sum = (Number(this.effectivenessListTwo.totalCostEstimation) - Number(this.effectivenessListOne.totalCostEstimation)) / Number(this.effectivenessListOne.totalCostEstimation) * 100 this.effectivenessListOne.sumAll = sum.toFixed(2) } // sumNei diff --git a/admin-web-master/src/views/serve/actSp.vue b/admin-web-master/src/views/serve/actSp.vue index 3b1d4b1..02ff7f0 100644 --- a/admin-web-master/src/views/serve/actSp.vue +++ b/admin-web-master/src/views/serve/actSp.vue @@ -59,13 +59,15 @@
+
共{{total}}条
@@ -276,6 +278,42 @@
+ + +
+
+ + + + + + + + + + + + + + +
+
共{{mingtotal}}条
+ +
+
+
+ 返回 +
+
+ +
@@ -285,7 +323,8 @@ actSpAdd, actSpEdit, actSpDel, - QRcode + QRcode, + Registration } from '../../api/actSp.js' import wangEditor from "@/components/editor/index" import upimg from "@/components/ImageUpload/index" @@ -329,7 +368,16 @@ liuYe:3,//3通过or4驳回 Liunie:false, showQF:false, - qfUrl:'' + qfUrl:'', + mingList:[], + mingtotal:0, + baoming:false, + actPage:{ + activityApplicationId:'', + pageNumber:0, + pageSize:10, + } + } }, @@ -415,6 +463,22 @@ this.total = res.data.content.length this.qfUrl = res.data }) }, + async getMing(ids) { + this.actPage.activityApplicationId=ids + this.actPage.pageNumber = 0 + const res = await Registration(this.actPage) + this.mingList = res.data.content + this.mingtotal = res.totalElements + + this.baoming = true + + }, + async mingChange(val){ + this.actPage.pageNumber = val + const res = await Registration(this.actPage) + this.mingList = res.data.content + this.mingtotal = res.totalElements + } } } @@ -453,7 +517,7 @@ this.total = res.data.content.length .fenye { margin-top: 20px; display: flex; - justify-content: flex-end; + justify-content: space-between; position: relative; } diff --git a/ceres-uniapp-master/components/canvasShow/basics/banner.vue b/ceres-uniapp-master/components/canvasShow/basics/banner.vue index b2af145..12836a0 100644 --- a/ceres-uniapp-master/components/canvasShow/basics/banner.vue +++ b/ceres-uniapp-master/components/canvasShow/basics/banner.vue @@ -1,7 +1,7 @@ @@ -40,8 +59,8 @@ export default { ], joinShow: false, form: { - name: '', - pahone: '', + signUpName: '', + signUpPhone: '', }, pagesize: { id:'', @@ -88,17 +107,74 @@ export default { }, methods: { - submit() { - this.joinShow = false; - uni.switchTab({ - url: '/pages/home/home' - }) - }, + baoShow(){ + this.joinShow = true + this.form.signUpName = '' + this.form.signUpPhone = '' + }, + submit() { + if (!this.form.signUpName) { + uni.showToast({ + icon: 'none', + title: '请输入姓名' + }); + return + } + + + if (!this.form.signUpPhone) { + uni.showToast({ + icon: 'none', + title: '请输入联系电话' + }); + return + } + this.form.signUpTime = this.getCurrentDateTime() + this.$http.sendRequest('/cereActivityApplicationSignUp/insert', 'POST',this.form,3).then(res => { + console.log('res',res.data) + if(res.data.code == '200'){ + setTimeout(()=>{ + uni.switchTab({ + url: '/pages/home/home' + }) + },1000) + }else{ + + } + // uni.showToast({ + // title: res.data.data, + // duration: 2000, + + // }) + // this.$refs.uToast.show({ + // title: res.data.data, + // url: '/pages/home/home' + // }) + // uni.switchTab({ + // url: '/pages/home/home' + // }) + }) + this.joinShow = false + + + }, + leaseAdd(){ uni.navigateTo({ url: '/pages/leaseAdd/leaseAdd' }) }, + getCurrentDateTime() { + const now = new Date(); + const year = now.getFullYear(); + const month = String(now.getMonth() + 1).padStart(2, '0'); // 月份是从0开始的,所以需要+1 + const day = String(now.getDate()).padStart(2, '0'); + const hours = String(now.getHours()).padStart(2, '0'); + const minutes = String(now.getMinutes()).padStart(2, '0'); + const seconds = String(now.getSeconds()).padStart(2, '0'); + + return `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`; + }, } }; diff --git a/lvdao-miniapp/pages/workbench/workbench.vue b/lvdao-miniapp/pages/workbench/workbench.vue index 34b26e6..90ef544 100644 --- a/lvdao-miniapp/pages/workbench/workbench.vue +++ b/lvdao-miniapp/pages/workbench/workbench.vue @@ -180,9 +180,11 @@ }, // { name: '招商方案', img: '/workbench2.png', path: '/pages/Iproposal/Iproposal' }, { - name: '活动参与', + name: '我的活动', img: '/wdhd.png', - path: '/pages/participation/participation' + path: '/pages/mycreated/mycreated' + + // path: '/pages/participation/participation' }, { name: '活动申请', diff --git a/lvdao-miniapp/pagesA/application/application.vue b/lvdao-miniapp/pagesA/application/application.vue index 899f725..4730d94 100644 --- a/lvdao-miniapp/pagesA/application/application.vue +++ b/lvdao-miniapp/pagesA/application/application.vue @@ -12,7 +12,7 @@ - diff --git a/lvdao-miniapp/utils/request.js b/lvdao-miniapp/utils/request.js index bbdd772..22682f0 100644 --- a/lvdao-miniapp/utils/request.js +++ b/lvdao-miniapp/utils/request.js @@ -1,8 +1,8 @@ // let hostall = window.location.href; // let c1 = hostall.split('cdwlMall')[0]; -let c1 = 'https://jy.scjysm.asia:18086/' -// let c1 = 'https://zhgw-uat.028wlkj.com/' +// let c1 = 'https://jy.scjysm.asia:18086/' +let c1 = 'https://zhgw-uat.028wlkj.com/' //封装request请求 const sendRequest = (url, method = 'GET', data = {}, baseUrl,contentType) => { //判断header提交数据类型 @@ -24,7 +24,7 @@ const sendRequest = (url, method = 'GET', data = {}, baseUrl,contentType) => { // bases = 'http://128.10.249.20:9003'+ url; // bases = 'https://zhld.028wlkj.com:49008/cdwlMall/admin-server' + url; - // bases = c1 + 'cdwlMall/meserver/admin-server' + url; + bases = c1 + 'cdwlMall/meserver/admin-server' + url; }else if(baseUrl == 3){ // bases = 'https://jy.scjysm.asia:18086/cdwlMall/meserver/api' + url; diff --git a/merchant-web-master/dist.zip b/merchant-web-master/dist.zip deleted file mode 100644 index 35adf29..0000000 --- a/merchant-web-master/dist.zip +++ /dev/null diff --git a/merchant-web-master/src/utils/request.js b/merchant-web-master/src/utils/request.js index 6a7e308..f9bc6d9 100644 --- a/merchant-web-master/src/utils/request.js +++ b/merchant-web-master/src/utils/request.js @@ -19,7 +19,8 @@ let PREFIX; if( host == 'localhost:9528' || host == '8.130.38.56:8027' || host == 'localhost:9529'|| host == 'localhost:9530'){ // 其他情况的默认值 // PREFIX = 'http://8.130.38.56:8027/business-server'; - PREFIX = 'https://jy.scjysm.asia:18086/cdwlMall/business-server'; + PREFIX = 'https://zhgw-uat.028wlkj.com/cdwlMall/meserver/business-server'; + // PREFIX = 'https://jy.scjysm.asia:18086/cdwlMall/business-server'; // PREFIX = 'http://128.10.249.8:9004'; }else{ // PREFIX = '/merchant-business'; diff --git a/merchant-web-master/src/utils/request2.js b/merchant-web-master/src/utils/request2.js index 6f2f0c7..29c1d46 100644 --- a/merchant-web-master/src/utils/request2.js +++ b/merchant-web-master/src/utils/request2.js @@ -18,10 +18,10 @@ let hostall = window.location.href; let PREFIX; if( host == 'localhost:9528' || host == '8.130.38.56:8027' || host == 'localhost:9529'|| host == 'localhost:9530'){ // 其他情况的默认值 - // PREFIX = 'http://8.130.38.56:8027/business-server'; - // PREFIX = 'https://jy.scjysm.asia:18086/merchant-business'; // PREFIX = 'https://jy.scjysm.asia:18086/cdwlMall/meserver/api'; - PREFIX = 'http://128.10.249.48:9007'; + PREFIX = 'https://zhgw-uat.028wlkj.com/cdwlMall/meserver/api'; + + // PREFIX = 'http://128.10.249.48:9007'; }else{ // PREFIX = '/merchant-business'; // PREFIX = 'http://8.130.38.56:9004'; diff --git a/merchant-web-master/src/views/commodity/commoditySystem/addCommodity copy.vue b/merchant-web-master/src/views/commodity/commoditySystem/addCommodity copy.vue index e48b205..c1d9b1b 100644 --- a/merchant-web-master/src/views/commodity/commoditySystem/addCommodity copy.vue +++ b/merchant-web-master/src/views/commodity/commoditySystem/addCommodity copy.vue @@ -85,7 +85,7 @@ - + diff --git a/merchant-web-master/src/views/commodity/commoditySystem/addCommodity.vue b/merchant-web-master/src/views/commodity/commoditySystem/addCommodity.vue index de933e8..4cde654 100644 --- a/merchant-web-master/src/views/commodity/commoditySystem/addCommodity.vue +++ b/merchant-web-master/src/views/commodity/commoditySystem/addCommodity.vue @@ -72,7 +72,7 @@ - + @@ -148,8 +148,9 @@
取消 下一步 + 上一步 保存 - 上一步 +
diff --git a/merchant-web-master/src/views/commodity/commoditySystem/addComponent.vue b/merchant-web-master/src/views/commodity/commoditySystem/addComponent.vue index fd78335..b7dad98 100644 --- a/merchant-web-master/src/views/commodity/commoditySystem/addComponent.vue +++ b/merchant-web-master/src/views/commodity/commoditySystem/addComponent.vue @@ -43,13 +43,13 @@ - + - + - ¥{{tongji.transactionsCompleted + tongji.invalidOrderAmount}} + ¥{{(tongji.transactionsCompleted + tongji.invalidOrderAmount).toFixed(2)}} diff --git a/merchant-web-master/src/views/stockControl/inventory/addComponent.vue b/merchant-web-master/src/views/stockControl/inventory/addComponent.vue index fd78335..b7dad98 100644 --- a/merchant-web-master/src/views/stockControl/inventory/addComponent.vue +++ b/merchant-web-master/src/views/stockControl/inventory/addComponent.vue @@ -43,13 +43,13 @@ - + - + - 属性:1 - + -->