wangyx 3 months ago
parent
commit
7818eebf88
  1. 8
      src/views/mz/housetype_facilities/index.vue
  2. 7
      src/views/residence/checkIn/index.vue

8
src/views/mz/housetype_facilities/index.vue

@ -230,6 +230,14 @@ export default {
const id = row.id || this.ids const id = row.id || this.ids
getFacilities(id).then(response => { getFacilities(id).then(response => {
this.form = response.data; this.form = response.data;
const match = response.data.icon.match(/\/([^\/]+)$/);
const fileName = match ? match[1] : response.data.icon;
this.images = [
{
url: response.data.icon,
name: fileName,
}
]
this.open = true; this.open = true;
this.title = "修改室内配套设施"; this.title = "修改室内配套设施";
}); });

7
src/views/residence/checkIn/index.vue

@ -319,7 +319,7 @@ export default {
} }
}, },
// //
handleNextStep() { async handleNextStep() {
if (this.currentStep < this.dataList.length) { if (this.currentStep < this.dataList.length) {
if(this.currentStep === 1){ if(this.currentStep === 1){
if(!this.userInfo.checkInTime || !this.userInfo.checkOutTime){ if(!this.userInfo.checkInTime || !this.userInfo.checkOutTime){
@ -328,8 +328,9 @@ export default {
} }
this.updateMzGraduateInfo(); // this.updateMzGraduateInfo(); //
this.currentStep++; this.currentStep++;
await this.createMzGraduateInfo()
this.handleQuery()
this.stepCompleted[0] = true; this.stepCompleted[0] = true;
this.createMzGraduateInfo()
return; return;
} }
if (this.currentStep == 2) { if (this.currentStep == 2) {
@ -427,7 +428,7 @@ export default {
// //
$route:{ $route:{
handler: function (newVal, oldVal) { handler: function (newVal, oldVal) {
if (newVal.query) { if (newVal.query.idCard) {
this.$nextTick(()=>{ this.$nextTick(()=>{
this.checnInForm.idCard = newVal.query.idCard; this.checnInForm.idCard = newVal.query.idCard;
this.handleQuery() this.handleQuery()

Loading…
Cancel
Save