Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
SuperMan
Commits
e2d6998d
Commit
e2d6998d
authored
Aug 19, 2024
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改餐详情
parent
22dc2c8a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
126 additions
and
144 deletions
+126
-144
restaurantInfoDetail.vue
src/components/Restaurant/restaurantInfoDetail.vue
+126
-144
No files found.
src/components/Restaurant/restaurantInfoDetail.vue
View file @
e2d6998d
...
@@ -677,20 +677,7 @@
...
@@ -677,20 +677,7 @@
border-top-right-radius
:
0
!important
;
border-top-right-radius
:
0
!important
;
border-bottom-right-radius
:
0
!important
;
border-bottom-right-radius
:
0
!important
;
}
}
.el-tag.el-tag--info
{
margin-right
:
5px
;
}
.spanRebateCount
{
display
:
block
!important
;
padding-top
:
6px
!important
;
text-align
:
center
!important
;
}
.divConten
{
display
:
flex
;
/* line-height: 20px; */
min-height
:
20px
;
height
:
auto
;
}
</
style
>
</
style
>
<
template
>
<
template
>
<div
class=
"flexOne restaurantInfo"
>
<div
class=
"flexOne restaurantInfo"
>
...
@@ -699,83 +686,99 @@ margin-right:5px;
...
@@ -699,83 +686,99 @@ margin-right:5px;
<div
class=
"resource-baseinfo"
>
<div
class=
"resource-baseinfo"
>
<span
class=
"resource-lititle"
>
{{
$t
(
'hotel.hotel_baseinfo'
)
}}
</span>
<span
class=
"resource-lititle"
>
{{
$t
(
'hotel.hotel_baseinfo'
)
}}
</span>
<el-form-item
:label=
"$t('ground.cantdwmc')"
prop=
"Name"
>
<el-form-item
:label=
"$t('ground.cantdwmc')"
prop=
"Name"
>
<
div
class=
"divConten"
>
{{
addMsg
.
Name
}}
</div
>
<
el-input
disabled
type=
"text"
v-model=
"addMsg.Name"
maxlength=
"100"
class=
"w300"
></el-input
>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('ground.cantzsmc')"
prop=
"RealName"
>
<el-form-item
:label=
"$t('ground.cantzsmc')"
prop=
"RealName"
>
<
div
class=
"divConten"
>
{{
addMsg
.
RealName
}}
</div
>
<
el-input
disabled
type=
"text"
v-model=
"addMsg.RealName"
maxlength=
"100"
class=
"w300"
></el-input
>
</el-form-item>
</el-form-item>
<el-form-item
label=
"餐标"
>
<el-form-item
label=
"餐标"
>
<span>
{{
addMsg
.
UnitPrice
}}
/人
</span>
<el-input
disabled
type=
"text"
v-model=
"addMsg.UnitPrice"
maxlength=
"100"
class=
"w300"
>
<template
slot=
"append"
>
/人
</
template
>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"适用类型"
>
<el-form-item
label=
"适用类型"
>
<el-tag
v-for=
"childItem in DiningUseTypeNowList"
:key=
"childItem.ID"
type=
"info"
>
{{
childItem
.
Name
}}
</el-tag>
<el-select
disabled
placeholder=
"适用类型"
v-model=
"addMsg.UseTypeList"
multiple
class=
'multiple_input w300'
>
<el-option
v-for=
"childItem in DiningUseTypeList"
:key=
"childItem.ID"
:label=
"childItem.Name"
:value=
"childItem.ID"
>
</el-option>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('hotel.hotel_website')"
>
<el-form-item
:label=
"$t('hotel.hotel_website')"
>
<div>
<div>
<el-link
:href=
"addMsg.URL"
type=
"info"
target=
"_blank"
>
{{
addMsg
.
URL
}}
</el-link>
<span
class=
"resource-net"
>
<span
class=
"resource-http"
>
https://
</span>
<input
disabled
type=
"text"
v-model=
"addMsg.URL"
maxlength=
"100"
class=
"resource-name R1"
/>
</span>
</div>
</div>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('system.table_country')"
>
<el-form-item
:label=
"$t('system.table_country')"
>
<template
v-if=
"CountryList&&CountryList.length>0&&addMsg.Province>0"
>
<el-select
disabled
:placeholder=
"$t('visaT.qxzguojia')"
filterable
v-model=
"addMsg.Country"
<span
v-for=
"childItem in CountryList"
:key=
"childItem.ID"
v-if=
"childItem.ID==addMsg.Country"
>
{{
childItem
.
Name
}}
</span>
class=
'multiple_input w300'
</
template
>
@
change=
"GetSubAreaList(addMsg.Country,1),addMsg.Province=0,addMsg.City=0,addMsg.District=0"
>
<
template
v-else
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'SelectDefaultValue'
></el-option>
{{
$t
(
'pub.unlimitedSel'
)
}}
<el-option
v-for=
"childItem in CountryList"
:key=
"childItem.ID"
:label=
"childItem.Name"
</
template
>
:value=
"childItem.ID"
>
</el-option>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('hotel.hotel_province')"
>
<el-form-item
:label=
"$t('hotel.hotel_province')"
>
<
template
v-if=
"ProvinceList&&ProvinceList.length>0&&addMsg.Province>0"
>
<el-select
disabled
:placeholder=
"$t('pub.pleaseSel')"
filterable
class=
'multiple_input w300'
<span
v-for=
"childItem in ProvinceList"
:key=
"childItem.ID"
v-if=
"childItem.ID==addMsg.Province"
>
{{
childItem
.
Name
}}
</span>
v-model=
"addMsg.Province"
@
change=
"GetSubAreaList(addMsg.Province,2),addMsg.City=0,addMsg.District=0"
>
</
template
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'SelectDefaultValue'
></el-option>
<
template
v-else
>
<el-option
v-for=
"childItem in ProvinceList"
:key=
"childItem.ID"
:label=
"childItem.Name"
{{
$t
(
'pub.unlimitedSel'
)
}}
:value=
"childItem.ID"
>
</
template
>
</el-option>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('hotel.hotel_city')"
>
<el-form-item
:label=
"$t('hotel.hotel_city')"
>
<
template
v-if=
"CityList&&CityList.length>0&&addMsg.City>0"
>
<el-select
disabled
:placeholder=
"$t('pub.pleaseSel')"
filterable
class=
'multiple_input w300'
v-model=
"addMsg.City"
<span
v-for=
"childItem in CityList"
:key=
"childItem.ID"
v-if=
"childItem.ID==addMsg.City"
>
{{
childItem
.
Name
}}
</span>
@
change=
"GetSubAreaList(addMsg.City,3),addMsg.District=0"
>
</
template
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'SelectDefaultValue'
></el-option>
<
template
v-else
>
<el-option
v-for=
"childItem in CityList"
:key=
"childItem.ID"
:label=
"childItem.Name"
{{
$t
(
'pub.unlimitedSel'
)
}}
:value=
"childItem.ID"
>
</
template
>
</el-option>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('hotel.hotel_area')"
>
<el-form-item
:label=
"$t('hotel.hotel_area')"
>
<
template
v-if=
"district&&district.length>0&&addMsg.District>0"
>
<el-select
disabled
v-model=
"addMsg.District"
class=
"w300"
@
change=
"getArea"
filterable
<span
v-for=
"childItem in district"
:key=
"childItem.ID"
v-if=
"childItem.ID==addMsg.District"
>
{{
childItem
.
Name
}}
</span>
:placeholder=
"$t('hotel.hotel_area')"
>
</
template
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'SelectDefaultValue'
></el-option>
<
template
v-else
>
<el-option
v-for=
"item in district"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
></el-option>
{{
$t
(
'pub.unlimitedSel'
)
}}
</el-select>
</
template
>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('hotel.hotel_detailinfo')"
prop=
"Address"
>
<el-form-item
:label=
"$t('hotel.hotel_detailinfo')"
prop=
"Address"
>
<div
class=
"divConten"
style=
"width:80%;"
>
{{addMsg.Address}}
</div>
<el-input
disabled
:placeholder=
"$t('fnc.qsrneirong')"
class=
"w300 addAddress"
v-model=
"addMsg.Address"
>
<!-- <el-button slot="append" @click="selectAddress = true" icon="iconfont icon-img_dw"></el-button> -->
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('restaurant.res_BusinessHours')"
prop=
"OpeningHours"
>
<el-form-item
:label=
"$t('restaurant.res_BusinessHours')"
prop=
"OpeningHours"
>
{{addMsg.OpeningHours}}
<el-input
disabled
type=
"text"
v-model=
"addMsg.OpeningHours"
maxlength=
"20"
class=
"w300"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('restaurant.res_ContactNumber')"
prop=
"Tel"
>
<el-form-item
:label=
"$t('restaurant.res_ContactNumber')"
prop=
"Tel"
>
{{addMsg.Tel}}
<el-input
disabled
type=
"text"
maxlength=
"20"
v-model=
"addMsg.Tel"
class=
"w300"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('hotel.hotel_fax')"
prop=
"Fax"
>
<el-form-item
:label=
"$t('hotel.hotel_fax')"
prop=
"Fax"
>
{{addMsg.Fax}}
<el-input
disabled
type=
"text"
maxlength=
"20"
v-model=
"addMsg.Fax"
class=
"w300"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('restaurant.res_parkDetail')"
prop=
"ParkInfo"
>
<el-form-item
:label=
"$t('restaurant.res_parkDetail')"
prop=
"ParkInfo"
>
<div
class=
"divConten"
>
{{addMsg.ParkInfo}}
</div
>
<el-input
disabled
type=
"text"
maxlength=
"100"
v-model=
"addMsg.ParkInfo"
class=
"w300"
></el-input
>
</el-form-item>
</el-form-item>
<span
class=
"resource-lititle sheshi"
>
{{$t('restaurant.res_detailInformation')}}
</span>
<span
class=
"resource-lititle sheshi"
>
{{$t('restaurant.res_detailInformation')}}
</span>
<el-form-item
:label=
"$t('restaurant.res_salePlatform')"
>
<el-form-item
:label=
"$t('restaurant.res_salePlatform')"
>
<el-tag
type=
"info"
v-for=
"childItem in openplatList"
:key=
"childItem.ID"
>
{{childItem.Name}}
</el-tag>
<el-select
disabled
v-model=
"openplatString"
class=
'multiple_input w300'
multiple
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
v-for=
"item in openplatform"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
</el-option>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('restaurant.res_bookCapacity')"
prop=
"SupportCount"
>
<el-form-item
:label=
"$t('restaurant.res_bookCapacity')"
prop=
"SupportCount"
>
{{addMsg.SupportCount}}
<el-input-number
disabled
v-model=
"addMsg.SupportCount"
class=
"w300"
:min=
"0"
></el-input-number>
</el-form-item>
</el-form-item>
<div
class=
"RabateDiv clearfix"
>
<div
class=
"RabateDiv clearfix"
>
<div
class=
"RebateCount reTwo dayLi"
>
<div
class=
"RebateCount reTwo dayLi"
>
<div
class=
"tiqianDay "
>
{{$t('restaurant.res_advanceDays')}}
</div>
<div
class=
"tiqianDay"
>
{{$t('restaurant.res_advanceDays')}}
</div>
<div
class=
"dayNum spanRebateCount"
>
{{addMsg.DieLine}}
</div>
<input
disabled
type=
"text"
class=
"dayNum"
v-model=
"addMsg.DieLine"
maxlength=
"10"
<!-- <input type="text" class="dayNum" v-model="addMsg.DieLine" maxlength="10"
onkeyup=
"value=value.replace(/[^\d]/g,'')"
>
onkeyup="value=value.replace(/[^\d]/g,'')"> -->
<div
class=
"percentCon"
>
{{$t('hotel.hotel_day')}}
</div>
<div
class=
"percentCon"
>
{{$t('hotel.hotel_day')}}
</div>
</div>
</div>
</div>
</div>
...
@@ -784,37 +787,32 @@ margin-right:5px;
...
@@ -784,37 +787,32 @@ margin-right:5px;
</el-switch>
</el-switch>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('ground.zhifufangshi')"
>
<el-form-item
:label=
"$t('ground.zhifufangshi')"
>
<
template
v-if=
"PayList&&PayList.length>0&&addMsg.PayStyle>0"
>
<el-select
disabled
v-model=
"addMsg.PayStyle"
class=
'multiple_input w300'
:placeholder=
"$t('pub.pleaseSel')"
>
<span
v-for=
"childItem in PayList"
:key=
"childItem.Id"
v-if=
"childItem.Id==addMsg.PayStyle"
>
{{
childItem
.
Name
}}
</span>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'SelectDefaultValue'
></el-option>
</
template
>
<el-option
v-for=
"item in PayList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
<
template
v-else
>
</el-option>
{{
$t
(
'pub.unlimitedSel'
)
}}
</el-select>
</
template
>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('ground.cantingleixing')"
>
<el-form-item
:label=
"$t('ground.cantingleixing')"
>
<
template
v-if=
"DiningTypeList&&DiningTypeList.length>0&&addMsg.DiningType>0"
>
<el-select
disabled
v-model=
"addMsg.DiningType"
class=
'multiple_input w300'
:placeholder=
"$t('pub.pleaseSel')"
>
<span
v-for=
"childItem in DiningTypeList"
:key=
"childItem.ID"
v-if=
"childItem.ID==addMsg.DiningType"
>
{{
childItem
.
Name
}}
</span>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'SelectDefaultValue'
></el-option>
</
template
>
<el-option
v-for=
"item in DiningTypeList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
<
template
v-else
>
</el-option>
{{
$t
(
'pub.unlimitedSel'
)
}}
</el-select>
</
template
>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('Operation.Op_price')"
>
<el-form-item
:label=
"$t('Operation.Op_price')"
>
<
template
v-if=
"DiningPriceTypeList&&DiningPriceTypeList.length>0&&addMsg.DiningPriceType>0"
>
<el-select
disabled
v-model=
"addMsg.DiningPriceType"
class=
'multiple_input w300'
:placeholder=
"$t('pub.pleaseSel')"
>
<span
v-for=
"childItem in DiningPriceTypeList"
:key=
"childItem.ID"
v-if=
"childItem.ID==addMsg.DiningPriceType"
>
{{
childItem
.
Name
}}
</span>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'SelectDefaultValue'
></el-option>
</
template
>
<el-option
v-for=
"item in DiningPriceTypeList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
<
template
v-else
>
</el-option>
{{
$t
(
'pub.unlimitedSel'
)
}}
</el-select>
</
template
>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('ground.hezuofangshi')"
>
<el-form-item
:label=
"$t('ground.hezuofangshi')"
>
<
template
v-if=
"CooperationTypeList&&CooperationTypeList.length>0&&addMsg.CooperationType>0"
>
<el-select
disabled
v-model=
"addMsg.CooperationType"
class=
'multiple_input w300'
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'SelectDefaultValue'
></el-option>
<span
v-for=
"childItem in CooperationTypeList"
:key=
"childItem.ID"
v-if=
"childItem.ID==addMsg.CooperationType"
>
{{
childItem
.
Name
}}
</span>
<el-option
v-for=
"item in CooperationTypeList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
</
template
>
</el-option>
<
template
v-else
>
</el-select>
{{
$t
(
'pub.unlimitedSel'
)
}}
</
template
>
</el-form-item>
</el-form-item>
</div>
</div>
<div
class=
"resource-imginfo"
>
<div
class=
"resource-imginfo"
>
...
@@ -824,47 +822,55 @@ margin-right:5px;
...
@@ -824,47 +822,55 @@ margin-right:5px;
<div
class=
"RabateDiv clearfix"
>
<div
class=
"RabateDiv clearfix"
>
<div
class=
"RebateCount reOne"
>
<div
class=
"RebateCount reOne"
>
<div
class=
"leftPnum"
>
{{$t('admin.admin_personNumber')}}
</div>
<div
class=
"leftPnum"
>
{{$t('admin.admin_personNumber')}}
</div>
<
span
class=
"toolInput inpuOne spanRebateCount"
>
{{addMsg.RebateCount}}
</span>
<
input
disabled
type=
"text"
class=
"toolInput inpuOne"
v-model=
"addMsg.RebateCount"
onkeyup=
"value=value.replace(/[^\d]/g,'')"
maxlength=
"20"
>
</div>
</div>
<div
class=
"RebateCount reTwo"
>
<div
class=
"RebateCount reTwo"
>
<div
class=
"fanNum"
>
{{$t('restaurant.res_return')}}
</div>
<div
class=
"fanNum"
>
{{$t('restaurant.res_return')}}
</div>
<
span
class=
"toolInput inpuTwo spanRebateCount"
>
{{addMsg.RebateRatio}}
</span>
<
input
disabled
type=
"text"
class=
"toolInput inpuTwo"
v-model=
"addMsg.RebateRatio"
onkeyup=
"value=value.replace(/[^\d]/g,'')"
maxlength=
"20"
>
<div
class=
"percentCon"
>
%
</div>
<div
class=
"percentCon"
>
%
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"toolOne"
>
<div
class=
"toolOne"
>
<span
class=
"toolSpan"
style=
"margin-right:5px;"
>
{{$t('scen.sc_fdTag')}}
</span>
<span
class=
"toolSpan"
>
{{$t('scen.sc_fdTag')}}
</span>
<el-tag
:key=
"tag"
type=
"info"
v-for=
"tag in tipsList"
>
{{tag}}
</el-tag>
<div
class=
"footabs"
>
<el-tag
:key=
"tag"
v-for=
"tag in foodTagList"
:disable-transitions=
"false"
@
close=
"handleCloseFoodTag(tag)"
>
{{tag}}
</el-tag>
</div>
</div>
</div>
<div
class=
"toolOne"
>
<div
class=
"toolOne"
>
<span
class=
"toolSpan"
style=
"margin-right:5px;"
>
{{$t('scen.sc_dlTag')}}
</span>
<span
class=
"toolSpan"
>
{{$t('scen.sc_dlTag')}}
</span>
<el-tag
:key=
"tag"
type=
"info"
v-for=
"tag in Geographic"
>
{{tag}}
</el-tag>
<div
class=
"footabs"
>
<el-tag
:key=
"tag"
v-for=
"tag in Geographic"
:disable-transitions=
"false"
@
close=
"handleClose2(tag)"
>
{{tag}}
</el-tag>
</div>
</div>
</div>
<el-form-item
:label=
"$t('restaurant.res_special')"
>
<el-form-item
:label=
"$t('restaurant.res_special')"
>
<div
class=
"divConten"
>
{{addMsg.Feature}}
</div
>
<el-input
disabled
type=
"textarea"
class=
"w300"
v-model=
"addMsg.Feature"
></el-input
>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('Operation.Op_Warmprompt')"
prop=
"About"
>
<el-form-item
:label=
"$t('Operation.Op_Warmprompt')"
prop=
"About"
>
<div
class=
"divConten"
>
{{addMsg.About}}
</div
>
<el-input
disabled
type=
"textarea"
maxlength=
"1000"
v-model=
"addMsg.About"
class=
"w300"
></el-input
>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('restaurant.res_bookInformation')"
prop=
"BookingInfo"
>
<el-form-item
:label=
"$t('restaurant.res_bookInformation')"
prop=
"BookingInfo"
>
<el-input
disabled
type=
"textarea"
maxlength=
"1000"
v-model=
"addMsg.BookingInfo"
class=
"w300"
></el-input>
<div
class=
"divConten"
>
{{addMsg.BookingInfo}}
</div>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('restaurant.res_WhetherToConfirm')"
>
<el-form-item
:label=
"$t('restaurant.res_WhetherToConfirm')"
>
<el-switch
disabled
v-model=
"addMsg.Sure"
active-value=
"1"
inactive-value=
"0"
></el-switch>
<el-switch
disabled
v-model=
"addMsg.Sure"
active-value=
"1"
inactive-value=
"0"
></el-switch>
</el-form-item>
</el-form-item>
<el-form-item
label=
"预订方式"
>
<el-form-item
label=
"预订方式"
>
<el-radio
v-model=
"addMsg.IsSelfBook"
disabled
:label=
"0"
>
自订
</el-radio>
<el-radio
disabled
v-model=
"addMsg.IsSelfBook"
:label=
"0"
>
自订
</el-radio>
<el-radio
v-model=
"addMsg.IsSelfBook"
disabled
:label=
"1"
>
供应商预订
</el-radio>
<el-radio
disabled
v-model=
"addMsg.IsSelfBook"
:label=
"1"
>
供应商预订
</el-radio>
</el-form-item>
</el-form-item>
<el-form-item
label=
"是否推荐"
>
<el-form-item
label=
"是否推荐"
>
<el-radio
v-model=
"addMsg.IsRecommend"
disabled
:label=
"1"
>
推荐
</el-radio>
<el-radio
disabled
v-model=
"addMsg.IsRecommend"
:label=
"1"
>
推荐
</el-radio>
<el-radio
v-model=
"addMsg.IsRecommend"
disabled
:label=
"0"
>
不推荐
</el-radio>
<el-radio
disabled
v-model=
"addMsg.IsRecommend"
:label=
"0"
>
不推荐
</el-radio>
</el-form-item>
</el-form-item>
</div>
</div>
<span
class=
"resource-lititle"
>
{{$t('hotel.hotel_imgintroduce')}}
</span>
<span
class=
"resource-lititle"
>
{{$t('hotel.hotel_imgintroduce')}}
</span>
...
@@ -872,13 +878,14 @@ margin-right:5px;
...
@@ -872,13 +878,14 @@ margin-right:5px;
<div
class=
"resource-imglist clearfix"
>
<div
class=
"resource-imglist clearfix"
>
<div
class=
"re-img"
v-for=
"(item,index) in DiningImageArray"
:key=
"index"
>
<div
class=
"re-img"
v-for=
"(item,index) in DiningImageArray"
:key=
"index"
>
<img
v-if=
"!item"
src=
"../../assets/img/bg_c3@3x.png"
>
<img
v-if=
"!item"
src=
"../../assets/img/bg_c3@3x.png"
>
<
el-image
<
img
:src=
"item.ShowPath"
:onerror=
'defaultImg'
/>
style=
"width: 100px; height: 100px"
<div
class=
"imgzhe"
>
:src=
"item.ShowPath"
<div
class=
"re-delte"
><i
@
click
.
stop=
"showImg(item.ShowPath)"
class=
"iconfont icon-img_cz"
></i></div>
:preview-src-list=
"DiningImageUrlArray"
>
</el-image
>
</div
>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</el-form>
</el-form>
...
@@ -891,6 +898,10 @@ margin-right:5px;
...
@@ -891,6 +898,10 @@ margin-right:5px;
<googleMap
@
refList=
"googleMap"
v-on:headCallBack=
"headCall"
v-bind:address=
"addMsg.Address"
></googleMap>
<googleMap
@
refList=
"googleMap"
v-on:headCallBack=
"headCall"
v-bind:address=
"addMsg.Address"
></googleMap>
</el-dialog>
</el-dialog>
<div
class=
"btn-list"
>
<span
class=
"common-lefttit"
></span>
<button
class=
"cancel-Btn"
@
click=
"goUrl('restaurantList')"
>
返回
</button>
</div>
<viewer
:images=
"images"
:options=
'imageOptions'
@
inited=
"inited"
class=
"viewer"
ref=
"viewer"
>
<viewer
:images=
"images"
:options=
'imageOptions'
@
inited=
"inited"
class=
"viewer"
ref=
"viewer"
>
<img
v-for=
"src in images"
:src=
"src"
:key=
"src"
>
<img
v-for=
"src in images"
:src=
"src"
:key=
"src"
>
</viewer>
</viewer>
...
@@ -920,7 +931,7 @@ margin-right:5px;
...
@@ -920,7 +931,7 @@ margin-right:5px;
totalimg
:
""
,
totalimg
:
""
,
selecnum
:
0
,
selecnum
:
0
,
ID
:
""
,
ID
:
""
,
tipsList
:
[],
foodTagList
:
[],
//实物标签
tipsItem
:
""
,
tipsItem
:
""
,
Geographic
:
[],
Geographic
:
[],
GeoItem
:
""
,
GeoItem
:
""
,
...
@@ -945,7 +956,6 @@ margin-right:5px;
...
@@ -945,7 +956,6 @@ margin-right:5px;
district
:
[],
district
:
[],
//上传的文件数组
//上传的文件数组
DiningImageArray
:
[],
DiningImageArray
:
[],
DiningImageUrlArray
:[],
//删除的图片文件数组
//删除的图片文件数组
DeleteImageArray
:
[],
DeleteImageArray
:
[],
inActive
:
1
,
//已选中
inActive
:
1
,
//已选中
...
@@ -1002,9 +1012,6 @@ margin-right:5px;
...
@@ -1002,9 +1012,6 @@ margin-right:5px;
UseTypeList
:
[],
//适用类型
UseTypeList
:
[],
//适用类型
},
},
DiningUseTypeList
:
[],
DiningUseTypeList
:
[],
DiningUseTypeNowList
:[],
openplatList
:[],
rules
:
{
rules
:
{
//表单必填验证
//表单必填验证
Name
:
[{
Name
:
[{
...
@@ -1119,7 +1126,7 @@ margin-right:5px;
...
@@ -1119,7 +1126,7 @@ margin-right:5px;
picPathArr
.
push
(
x
.
Path
);
picPathArr
.
push
(
x
.
Path
);
});
});
this
.
addMsg
.
PicPath
=
picPathArr
.
join
(
","
);
this
.
addMsg
.
PicPath
=
picPathArr
.
join
(
","
);
this
.
addMsg
.
FoodTag
=
this
.
tips
List
.
join
(
","
);
this
.
addMsg
.
FoodTag
=
this
.
foodTag
List
.
join
(
","
);
this
.
addMsg
.
GeographicTag
=
this
.
Geographic
.
join
(
","
);
this
.
addMsg
.
GeographicTag
=
this
.
Geographic
.
join
(
","
);
this
.
addMsg
.
DiningImageList
=
this
.
DiningImageArray
;
this
.
addMsg
.
DiningImageList
=
this
.
DiningImageArray
;
this
.
addMsg
.
DeleteImageList
=
this
.
DeleteImageArray
;
this
.
addMsg
.
DeleteImageList
=
this
.
DeleteImageArray
;
...
@@ -1197,7 +1204,6 @@ margin-right:5px;
...
@@ -1197,7 +1204,6 @@ margin-right:5px;
this
.
GetSubAreaList
(
this
.
addMsg
.
City
,
3
);
this
.
GetSubAreaList
(
this
.
addMsg
.
City
,
3
);
}
}
if
(
this
.
addMsg
.
OpenPlatform
!=
null
)
{
if
(
this
.
addMsg
.
OpenPlatform
!=
null
)
{
this
.
openplatString
=
[];
if
(
this
.
addMsg
.
OpenPlatform
!=
""
)
{
if
(
this
.
addMsg
.
OpenPlatform
!=
""
)
{
this
.
OpenPlatformStrings
=
this
.
addMsg
.
OpenPlatform
.
split
(
","
);
this
.
OpenPlatformStrings
=
this
.
addMsg
.
OpenPlatform
.
split
(
","
);
this
.
OpenPlatformStrings
.
forEach
(
x
=>
{
this
.
OpenPlatformStrings
.
forEach
(
x
=>
{
...
@@ -1205,29 +1211,8 @@ margin-right:5px;
...
@@ -1205,29 +1211,8 @@ margin-right:5px;
});
});
}
}
}
}
if
(
this
.
OpenPlatformStrings
&&
this
.
OpenPlatformStrings
.
length
>
0
&&
this
.
openplatform
&&
this
.
openplatform
.
length
>
0
){
this
.
openplatList
=
[];
this
.
openplatform
.
forEach
((
item
,
index
)
=>
{
this
.
OpenPlatformStrings
.
forEach
((
item1
,
index1
)
=>
{
if
(
item1
==
item
.
ID
){
this
.
openplatList
.
push
(
item
);
}
});
});
}
if
(
this
.
addMsg
.
UseTypeList
&&
this
.
addMsg
.
UseTypeList
.
length
>
0
&&
this
.
DiningUseTypeList
&&
this
.
DiningUseTypeList
.
length
>
0
){
this
.
DiningUseTypeNowList
=
[];
this
.
DiningUseTypeList
.
forEach
((
item
,
index
)
=>
{
this
.
addMsg
.
UseTypeList
.
forEach
((
item1
,
index1
)
=>
{
if
(
item1
==
item
.
ID
){
this
.
DiningUseTypeNowList
.
push
(
item
);
}
});
});
}
if
(
res
.
data
.
data
.
FoodTag
!=
""
)
{
if
(
res
.
data
.
data
.
FoodTag
!=
""
)
{
this
.
tips
List
=
res
.
data
.
data
.
FoodTag
.
split
(
","
);
this
.
foodTag
List
=
res
.
data
.
data
.
FoodTag
.
split
(
","
);
}
}
if
(
res
.
data
.
data
.
GeographicTag
!=
""
)
{
if
(
res
.
data
.
data
.
GeographicTag
!=
""
)
{
this
.
Geographic
=
res
.
data
.
data
.
GeographicTag
.
split
(
","
);
this
.
Geographic
=
res
.
data
.
data
.
GeographicTag
.
split
(
","
);
...
@@ -1244,11 +1229,8 @@ margin-right:5px;
...
@@ -1244,11 +1229,8 @@ margin-right:5px;
x
+
x
+
"?x-oss-process=image/resize,l_140"
;
"?x-oss-process=image/resize,l_140"
;
this
.
DiningImageArray
.
push
(
obj
);
this
.
DiningImageArray
.
push
(
obj
);
this
.
DiningImageUrlArray
.
push
(
this
.
domainManager
().
ViittoFileUrl
+
x
);
}
}
});
});
console
.
log
(
"this.DiningImageUrlArray"
,
this
.
DiningImageUrlArray
);
}
else
{
}
else
{
this
.
tips
(
res
.
data
.
message
,
"error"
);
this
.
tips
(
res
.
data
.
message
,
"error"
);
}
}
...
@@ -1307,28 +1289,30 @@ margin-right:5px;
...
@@ -1307,28 +1289,30 @@ margin-right:5px;
},
},
getItemList
(
type
)
{
getItemList
(
type
)
{
if
(
type
==
1
)
{
if
(
type
==
1
)
{
this
.
tips
List
.
push
(
this
.
tipsItem
);
this
.
foodTag
List
.
push
(
this
.
tipsItem
);
this
.
tipsItem
=
""
;
this
.
tipsItem
=
""
;
}
else
{
}
else
{
this
.
Geographic
.
push
(
this
.
GeoItem
);
this
.
Geographic
.
push
(
this
.
GeoItem
);
this
.
GeoItem
=
""
;
this
.
GeoItem
=
""
;
}
}
},
},
handleClose
(
tag
)
{
handleClose
FoodTag
(
tag
)
{
this
.
tipsList
.
splice
(
this
.
tips
List
.
indexOf
(
tag
),
1
);
this
.
foodTagList
.
splice
(
this
.
foodTag
List
.
indexOf
(
tag
),
1
);
},
},
showFoodTag
()
{
showInput
()
{
this
.
inputVisible
=
true
;
this
.
inputVisible
=
true
;
if
(
this
.
foodTagList
&&
this
.
foodTagList
.
length
==
0
)
{
this
.
foodTagList
.
push
(
"徐總推薦"
)
}
this
.
$nextTick
(
_
=>
{
this
.
$nextTick
(
_
=>
{
this
.
$refs
.
saveTagInput
.
$refs
.
input
.
focus
();
this
.
$refs
.
saveTagInput
.
$refs
.
input
.
focus
();
});
});
},
},
handleFoodTagInputConfirm
()
{
handleInputConfirm
()
{
let
inputValue
=
this
.
inputValue
;
let
inputValue
=
this
.
inputValue
;
if
(
inputValue
)
{
if
(
inputValue
)
{
this
.
tips
List
.
push
(
inputValue
);
this
.
foodTag
List
.
push
(
inputValue
);
}
}
this
.
inputVisible
=
false
;
this
.
inputVisible
=
false
;
this
.
inputValue
=
""
;
this
.
inputValue
=
""
;
...
@@ -1336,14 +1320,12 @@ margin-right:5px;
...
@@ -1336,14 +1320,12 @@ margin-right:5px;
handleClose2
(
tag
)
{
handleClose2
(
tag
)
{
this
.
Geographic
.
splice
(
this
.
Geographic
.
indexOf
(
tag
),
1
);
this
.
Geographic
.
splice
(
this
.
Geographic
.
indexOf
(
tag
),
1
);
},
},
showInput2
()
{
showInput2
()
{
this
.
inputVisible2
=
true
;
this
.
inputVisible2
=
true
;
this
.
$nextTick
(
_
=>
{
this
.
$nextTick
(
_
=>
{
this
.
$refs
.
saveTagInput
.
$refs
.
input
.
focus
();
this
.
$refs
.
saveTagInput
.
$refs
.
input
.
focus
();
});
});
},
},
handleInputConfirm2
()
{
handleInputConfirm2
()
{
let
inputValue
=
this
.
inputValue2
;
let
inputValue
=
this
.
inputValue2
;
if
(
inputValue
)
{
if
(
inputValue
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment