bug
This commit is contained in:
		
							parent
							
								
									9026b27169
								
							
						
					
					
						commit
						ef98909864
					
				| @ -324,12 +324,12 @@ const handleEdit = async (row?: HotelVO) => { | |||||||
|   const res = await getHotel(_id); |   const res = await getHotel(_id); | ||||||
|   Object.assign(form.value, res.data); |   Object.assign(form.value, res.data); | ||||||
|   const _idname = row?.name; |   const _idname = row?.name; | ||||||
|   const text = row?.status != 1 ? '是否确认发布商家名称为"' : '是否撤销发布商家名称为"'; |   const text = row?.status == 0 ? '是否确认发布商家名称为"' : '是否撤销发布商家名称为"'; | ||||||
|   const messages = row?.status != 1 ? '发布成功' : '撤销成功'; |   const messages = row?.status == 0 ? '发布成功' : '撤销成功'; | ||||||
|   await proxy?.$modal.confirm(text + _idname + '"的数据项?').finally(() => (loading.value = false)); |   await proxy?.$modal.confirm(text + _idname + '"的数据项?').finally(() => (loading.value = false)); | ||||||
|   const template = { |   const template = { | ||||||
|     ...row, |     ...row, | ||||||
|     status: row.status == 1 ? 0 : 1, |     status: row.status == 0 ? 1 : 0, | ||||||
|     regionCode: row?.county || row?.city || row?.province |     regionCode: row?.county || row?.city || row?.province | ||||||
|   }; |   }; | ||||||
|   // form.value.name = row.name |   // form.value.name = row.name | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user