王露 3 lat temu
rodzic
commit
e0111b1849

+ 0
- 2
digital-park-web/digital-park/src/views/investment-service/InvestmentServiceList/InvestmentServiceList.vue Wyświetl plik

}, },
// 获取列表数据 // 获取列表数据
getListData() { getListData() {
console.log(this.$cloneDeep(this.queryParams), "this.queryParams");
if (this.cutTab == "parkServices") { if (this.cutTab == "parkServices") {
this.getListApi( this.getListApi(
getParkServiceProduct, getParkServiceProduct,
// console.log(this.$cloneDeep(data),key) // console.log(this.$cloneDeep(data),key)
this[key] = data.list; this[key] = data.list;
this.queryParams.total = data.total; this.queryParams.total = data.total;
console.log(data.total, "res.total");
} else if (res.data.status === 102) { } else if (res.data.status === 102) {
this.$router.push("/login"); this.$router.push("/login");
} else { } else {

+ 1
- 1
digital-park-web/digital-park/src/views/investment-service/InvestmentServiceList/components/PropertyManage.vue Wyświetl plik

<div class="main-des"> <div class="main-des">
<span class="first">最短起租:{{ item.shortestRent }}</span>| <span class="first">最短起租:{{ item.shortestRent }}</span>|
<span>总面积:{{ item.housingInformationList[0].housingArea }}m²</span>| <span>总面积:{{ item.housingInformationList[0].housingArea }}m²</span>|
<span>支付方式:{{ item.payment.housingArea }}</span>|
<span>支付方式:{{ item.payment }}</span>|
<span>{{ item.type }}</span> <span>{{ item.type }}</span>
</div> </div>
<div class="main-advantageList" :title="item.advantageList.join('、')"> <div class="main-advantageList" :title="item.advantageList.join('、')">

+ 1
- 1
digital-park-web/digital-park/src/views/investment-service/property-detail/PropertyDetail.vue Wyświetl plik

}, },
{ {
prop: "housingArea", prop: "housingArea",
label: "房源面积",
label: "房源面积",
}, },
{ {
prop: "maxCapacity", prop: "maxCapacity",

+ 6
- 0
digital-park-web/digital-park/src/views/login/LoginFrom/LoginFrom.vue Wyświetl plik

this.loginMethodChange(1); this.loginMethodChange(1);
} else { } else {
sendMsg(0, data.msg); sendMsg(0, data.msg);
this.getVerificationCode();
} }
this.loginLoading = false; this.loginLoading = false;
}) })
.catch((err) => { .catch((err) => {
sendMsg(0, "修改失败"); sendMsg(0, "修改失败");
this.getVerificationCode();
console.log(err); console.log(err);
this.loginLoading = false; this.loginLoading = false;
}); });
this.loginSuccessFn(); this.loginSuccessFn();
} else { } else {
sendMsg(0, data.msg); sendMsg(0, data.msg);
this.getVerificationCode();
} }
this.loginLoading = false; this.loginLoading = false;
}) })
.catch((err) => { .catch((err) => {
sendMsg(0, "登录失败"); sendMsg(0, "登录失败");
this.getVerificationCode();
console.log(err); console.log(err);
this.loginLoading = false; this.loginLoading = false;
}); });
this.loginSuccessFn(); this.loginSuccessFn();
} else { } else {
sendMsg(0, data.msg); sendMsg(0, data.msg);
this.getVerificationCode();
} }
this.loginLoading = false; this.loginLoading = false;
}) })
.catch((err) => { .catch((err) => {
sendMsg(0, "注册失败"); sendMsg(0, "注册失败");
console.log(err); console.log(err);
this.getVerificationCode();
this.loginLoading = false; this.loginLoading = false;
}); });
}, },

+ 1
- 0
digital-park-web/digital-park/src/views/my-related/business/Business.vue Wyświetl plik

let { resultData } = data; let { resultData } = data;
this.myMsgList = resultData.list; this.myMsgList = resultData.list;
this.notRead = resultData.total - data.readCount; this.notRead = resultData.total - data.readCount;
this.notRead = this.notRead < 0 ? 0 : this.notRead;
}else if(res.data.status == 102){ }else if(res.data.status == 102){
this.$router.push('/login') this.$router.push('/login')
}else { }else {

+ 1
- 0
digital-park-web/digital-park/src/views/my-related/mseeage/Message.vue Wyświetl plik

); );
this.queryParams.total = resultData.total; this.queryParams.total = resultData.total;
this.notRead = resultData.total - data.readCount; this.notRead = resultData.total - data.readCount;
this.notRead = this.notRead < 0 ? 0 : this.notRead;
} else if (res.data.status == 102) { } else if (res.data.status == 102) {
this.$router.push("/login"); this.$router.push("/login");
} else { } else {

Ładowanie…
Anuluj
Zapisz