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
25b0054d
Commit
25b0054d
authored
Mar 08, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
翻译修改
parent
ed5ad0d6
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
133 additions
and
109 deletions
+133
-109
Ground.js
src/assets/common/lang/EN/Ground.js
+2
-6
fill.js
src/assets/common/lang/EN/fill.js
+22
-0
invoicesManager.js
src/assets/common/lang/EN/invoicesManager.js
+1
-1
en.js
src/assets/common/lang/en.js
+50
-47
jp.js
src/assets/common/lang/jp.js
+4
-1
zh-tw.js
src/assets/common/lang/zh-tw.js
+3
-0
zh.js
src/assets/common/lang/zh.js
+3
-0
HotelInfo.vue
src/components/Hotel/HotelInfo.vue
+40
-45
MyCustomer.vue
src/components/SalesModule/MyCustomer.vue
+8
-9
No files found.
src/assets/common/lang/EN/Ground.js
View file @
25b0054d
...
@@ -63,7 +63,7 @@ export const obj = {
...
@@ -63,7 +63,7 @@ export const obj = {
jiudianleixing
:
"Hotel Type "
,
jiudianleixing
:
"Hotel Type "
,
zhenshimingcheng
:
"Real Name "
,
zhenshimingcheng
:
"Real Name "
,
baojiayukucun
:
"Offer and Inventory "
,
baojiayukucun
:
"Offer and Inventory "
,
jiudianmingzi
:
"Real
name of the hotel
"
,
jiudianmingzi
:
"Real
Name
"
,
shifouyuyue
:
"Whether to make an appointment "
,
shifouyuyue
:
"Whether to make an appointment "
,
zhifufangshi
:
"Payment Method "
,
zhifufangshi
:
"Payment Method "
,
jiudianyouhui
:
"Hotel Deals "
,
jiudianyouhui
:
"Hotel Deals "
,
...
@@ -94,11 +94,7 @@ export const obj = {
...
@@ -94,11 +94,7 @@ export const obj = {
qishiyue
:
"Beginning month "
,
qishiyue
:
"Beginning month "
,
shengyuzongkucun
:
"Total Remaining Inventory "
,
shengyuzongkucun
:
"Total Remaining Inventory "
,
kucunyouxiaoqi
:
"Inventory expiration date "
,
kucunyouxiaoqi
:
"Inventory expiration date "
,
hongri
:
"Red Sun "
,
wangji
:
"Peak season "
,
pingji
:
"Shoulder season "
,
danji
:
"Off season "
,
tebiejia
:
"Special price "
,
dianjichakanxq
:
"Click for details "
,
dianjichakanxq
:
"Click for details "
,
baojiaxinxi
:
"Offer information "
,
baojiaxinxi
:
"Offer information "
,
pici
:
"Batch "
,
pici
:
"Batch "
,
...
...
src/assets/common/lang/EN/fill.js
View file @
25b0054d
...
@@ -382,6 +382,28 @@ export const obj = {
...
@@ -382,6 +382,28 @@ export const obj = {
zhanghuxinxi
:
'Account Information '
,
zhanghuxinxi
:
'Account Information '
,
qingshurutdbz
:
'Please enter team remarks content '
,
qingshurutdbz
:
'Please enter team remarks content '
,
qingxuanzhettname
:
'Please select a header name'
,
qingxuanzhettname
:
'Please select a header name'
,
xiugaikehuxx
:
'Edit Customer Info'
,
kezhijiebc
:
'Save'
,
ruguosgrzwxsh
:
'If it is an individual, there is no need to fill in the tax number. If it is a supplier, the tax number must be filled in;'
,
gouwuche
:
'Shopping Car'
,
hongri
:
"Red Sun"
,
wanji
:
"Peak season"
,
pingji
:
"Shoulder season"
,
danji
:
"Off season "
,
tiebiejia
:
"Special price"
,
xingqianri
:
'Day before departure'
,
tuichu
:
'Log Out'
,
gerenzhongxin
:
'Personal Center'
,
zhinengscexwj
:
'Only Excel files can be uploaded'
,
qingshurtybm
:
'Please enter a unified code'
,
qingshureml
:
'Please enter the email address'
,
qingshurlineid
:
'Please enter LINE ID'
,
mobandaoru
:
'Template import'
,
yichangmicheng
:
'Exception Name'
,
yi
:
'Exception'
,
shuihao
:
'Tax ID'
,
shangchuanshijian
:
'Upload time'
,
diliweizhi
:
'Geographic Location'
,
caravanshopcol
:
{
caravanshopcol
:
{
t1
:
'Car/usage time/days '
,
t1
:
'Car/usage time/days '
,
t2
:
'Car Details '
,
t2
:
'Car Details '
,
...
...
src/assets/common/lang/EN/invoicesManager.js
View file @
25b0054d
...
@@ -29,7 +29,7 @@ export const obj = {
...
@@ -29,7 +29,7 @@ export const obj = {
cwdanju
:
'Financial documents '
,
cwdanju
:
'Financial documents '
,
zanwu
:
'Not yet '
,
zanwu
:
'Not yet '
,
kjneirong
:
'Open content '
,
kjneirong
:
'Open content '
,
shuihao
:
'Tax ID
'
,
shuihao
:
'Tax ID'
,
khuhang
:
'Account bank '
,
khuhang
:
'Account bank '
,
shuihao2
:
'Tax ID: '
,
shuihao2
:
'Tax ID: '
,
qsrshuihao
:
'Please enter your tax ID '
,
qsrshuihao
:
'Please enter your tax ID '
,
...
...
src/assets/common/lang/en.js
View file @
25b0054d
...
@@ -145,19 +145,19 @@
...
@@ -145,19 +145,19 @@
table_Appraise
:
' Appraiser '
,
table_Appraise
:
' Appraiser '
,
table_Auditing
:
' Auditors '
,
table_Auditing
:
' Auditors '
,
table_staffs
:
"staff"
,
table_staffs
:
"staff"
,
table_destName
:
'
destination name
'
,
table_destName
:
'
destination name
'
,
table_country
:
'
country
'
,
table_country
:
'
Country
'
,
table_city
:
'
City
'
,
table_city
:
'
City
'
,
table_destCoun
:
'
Destination country
'
,
table_destCoun
:
'
Destination Country
'
,
table_edit
:
'
Modify
'
,
table_edit
:
'
Modify
'
,
table_delete
:
'
Delete
'
,
table_delete
:
'
Delete
'
,
table_kfPhone
:
' Customer service phone '
,
table_kfPhone
:
' Customer service phone '
,
table_logoImg
:
'logo picture '
,
table_logoImg
:
'logo picture '
,
table_ticketCont
:
' What you need to issue a ticket '
,
table_ticketCont
:
' What you need to issue a ticket '
,
table_chekAll
:
'Select all'
,
table_chekAll
:
'Select all'
,
table_ticketAotu
:
' Whether tickets are automatically issued '
,
table_ticketAotu
:
' Whether tickets are automatically issued '
,
table_groupName
:
' Group name '
,
table_groupName
:
' Group name '
,
table_code
:
'
code
'
,
table_code
:
'
Code
'
,
table_codeTips
:
' (three codes) '
,
table_codeTips
:
' (three codes) '
,
table_LtName
:
' Group name name '
,
table_LtName
:
' Group name name '
,
table_NetLtName
:
' Page group name '
,
table_NetLtName
:
' Page group name '
,
...
@@ -338,38 +338,38 @@
...
@@ -338,38 +338,38 @@
}
}
//zk
//zk
export
const
hotel
=
{
export
const
hotel
=
{
hoetel_red
:
'
Red: inside
'
,
hoetel_red
:
'
Red: inside
'
,
hoetel_green
:
'
Green: B2C'
,
hoetel_green
:
'Green: B2C'
,
hoetel_blu
:
'
Blue: B2B'
,
hoetel_blu
:
'Blue: B2B'
,
hotel_name
:
'
Hotel name
'
,
hotel_name
:
'
Name
'
,
hotel_status
:
'
Status
'
,
hotel_status
:
'
Status
'
,
hotel_country
:
'
country
'
,
hotel_country
:
'
country
'
,
hotel_province
:
'
Province
'
,
hotel_province
:
'
Province
'
,
hotel_city
:
'
city
'
,
hotel_city
:
'
City
'
,
hotel_area
:
'
area
'
,
hotel_area
:
'
area
'
,
hotel_baseinfo
:
'
basic data
'
,
hotel_baseinfo
:
'
Basic Data
'
,
hotel_services
:
'
Facility services
'
,
hotel_services
:
'
Facility Services
'
,
hotel_policy
:
'
Hotel policy
'
,
hotel_policy
:
'
Hotel policy
'
,
hotel_imgintroduce
:
'
Picture introduction
'
,
hotel_imgintroduce
:
'
Picture introduction
'
,
hotel_describle
:
'
Text description
'
,
hotel_describle
:
'
Text Info
'
,
hotel_roomnumber
:
'
Number of rooms
'
,
hotel_roomnumber
:
'
Number of rooms
'
,
hotel_openplatform
:
'
Open p
latform '
,
hotel_openplatform
:
'
P
latform '
,
hotel_brand
:
'
Hotel brand
'
,
hotel_brand
:
'
Brand
'
,
hotel
:
'
Hotel
'
,
hotel
:
'
Hotel
'
,
hotel_starlevel
:
'
Star
'
,
hotel_starlevel
:
'
Star
'
,
hotel_website
:
'
Official website
'
,
hotel_website
:
'
Website
'
,
hotel_landline
:
'
landline
'
,
hotel_landline
:
'
Landline
'
,
hotel_detailinfo
:
'
Detailed address
'
,
hotel_detailinfo
:
'
Address
'
,
hotel_fax
:
'
fax
'
,
hotel_fax
:
'
Fax
'
,
hotel_deadday
:
'
Days in advance
'
,
hotel_deadday
:
'
Advance
'
,
hotel_remark
:
'
Remark
'
,
hotel_remark
:
'
Remark
'
,
hotel_resource
:
'
Hotel resource
'
,
hotel_resource
:
'
Hotel Resource
'
,
hotel_produceDes
:
'
Product Description
'
,
hotel_produceDes
:
'
Product Description
'
,
hotel_remind
:
'
Not filled in
'
,
hotel_remind
:
'
Not filled in
'
,
hotel_day
:
'
day
'
,
hotel_day
:
'
day
'
,
hotel_item
:
'
bar
'
,
hotel_item
:
'
bar
'
,
hotel_mapLocation
:
'
map location
'
,
hotel_mapLocation
:
'
Map Location
'
,
hotel_detailInfo
:
'
Please enter the detailed address
'
,
hotel_detailInfo
:
'
Please enter the detailed address
'
,
hotel_productManage
:
' Product quote Management '
,
hotel_productManage
:
' Product quote Management '
,
hotel_inputholder
:
' unlimited '
,
hotel_inputholder
:
' unlimited '
,
hotel_cost
:
' cost '
,
hotel_cost
:
' cost '
,
...
@@ -377,9 +377,9 @@
...
@@ -377,9 +377,9 @@
hotel_InventoryAdd
:
' add inventory '
,
hotel_InventoryAdd
:
' add inventory '
,
hotel_B2BPrice
:
'B2B price '
,
hotel_B2BPrice
:
'B2B price '
,
hotel_B2CPrice
:
'B2C Price '
,
hotel_B2CPrice
:
'B2C Price '
,
hotel_SalesPrice
:
'
internal price '
,
hotel_SalesPrice
:
'internal price '
,
hotel_DMCPrice
:
'
ground price '
,
hotel_DMCPrice
:
'ground price '
,
hotel_yuan
:
'
yuan
'
,
hotel_yuan
:
'
yuan
'
,
hotel_Supplier
:
' supplier '
,
hotel_Supplier
:
' supplier '
,
hotel_attention
:
' Attention '
,
hotel_attention
:
' Attention '
,
hotel_attentionOne
:
' Only one months data can be processed at a time. '
,
hotel_attentionOne
:
' Only one months data can be processed at a time. '
,
...
@@ -470,7 +470,9 @@
...
@@ -470,7 +470,9 @@
hotel_dataReport
:
' Data report '
,
hotel_dataReport
:
' Data report '
,
hotel_ReturnRoomNumber
:
' Return number '
,
hotel_ReturnRoomNumber
:
' Return number '
,
hotel_zanwu
:
' No modification log '
,
hotel_zanwu
:
' No modification log '
,
hotel_type
:
'Hotel type '
,
hotel_type
:
'Hotel type'
,
hotel_jingdu
:
'Lng'
,
hotel_weidu
:
'Lat'
,
}
}
export
const
leader
=
{
export
const
leader
=
{
...
@@ -520,7 +522,7 @@
...
@@ -520,7 +522,7 @@
res_salePlatform
:
' Platform for sale '
,
res_salePlatform
:
' Platform for sale '
,
res_bookCapacity
:
' Number of people available to book '
,
res_bookCapacity
:
' Number of people available to book '
,
res_advanceDays
:
' Advance booking days '
,
res_advanceDays
:
' Advance booking days '
,
res_commissionColumn
:
'
Commission ratio
'
,
res_commissionColumn
:
'
Commission Ratio
'
,
res_peopleNumber
:
' Enter the number of people '
,
res_peopleNumber
:
' Enter the number of people '
,
res_percentage
:
' Input percentage '
,
res_percentage
:
' Input percentage '
,
res_foodLabels
:
' Food labels '
,
res_foodLabels
:
' Food labels '
,
...
@@ -540,8 +542,8 @@
...
@@ -540,8 +542,8 @@
res_fy
:
' Expected rebate '
,
res_fy
:
' Expected rebate '
,
res_cwsj
:
' Financial documents '
,
res_cwsj
:
' Financial documents '
,
res_history
:
' View historical operations '
,
res_history
:
' View historical operations '
,
res_ContactNumber
:
'
Contact number
'
,
res_ContactNumber
:
'
Contact number
'
,
res_AnnualAccounts
:
'
annual accounting statement '
,
res_AnnualAccounts
:
'annual accounting statement '
,
res_OutStandingBills
:
' outstanding bills '
,
res_OutStandingBills
:
' outstanding bills '
,
res_To
:
' to '
,
res_To
:
' to '
,
res_ContainsAll
:
' Contains all unconsolidated bills '
,
res_ContainsAll
:
' Contains all unconsolidated bills '
,
...
@@ -1903,7 +1905,7 @@
...
@@ -1903,7 +1905,7 @@
enterPhone
:
' Enter the name of your phone or travel agency '
,
enterPhone
:
' Enter the name of your phone or travel agency '
,
notInformalClient
:
' Informal client '
,
notInformalClient
:
' Informal client '
,
UnapprovedClient
:
' failed client '
,
UnapprovedClient
:
' failed client '
,
BlackListCustomers
:
'Blacklist
customers
'
,
BlackListCustomers
:
'Blacklist'
,
addCustomer
:
' New customer '
,
addCustomer
:
' New customer '
,
belongUnion
:
' A union to which you belong '
,
belongUnion
:
' A union to which you belong '
,
InquiryAndDemand
:
' Inquiry and demand '
,
InquiryAndDemand
:
' Inquiry and demand '
,
...
@@ -1916,6 +1918,7 @@
...
@@ -1916,6 +1918,7 @@
TotalVisit
:
' Total visit '
,
TotalVisit
:
' Total visit '
,
OntheBlackList
:
' Added to the blacklist '
,
OntheBlackList
:
' Added to the blacklist '
,
storeName
:
' Store name '
,
storeName
:
' Store name '
,
c_email
:
"EMail"
,
HouseNumber
:
' Please enter, accurate to the house number '
,
HouseNumber
:
' Please enter, accurate to the house number '
,
Belongbrand
:
' Brand to which you belong '
,
Belongbrand
:
' Brand to which you belong '
,
premises
:
' Premises '
,
premises
:
' Premises '
,
...
...
src/assets/common/lang/jp.js
View file @
25b0054d
...
@@ -423,7 +423,9 @@ export const admin={ //行政
...
@@ -423,7 +423,9 @@ export const admin={ //行政
hotel_dataReport
:
'データレポート'
,
hotel_dataReport
:
'データレポート'
,
hotel_ReturnRoomNumber
:
'チエックアウト数'
,
hotel_ReturnRoomNumber
:
'チエックアウト数'
,
hotel_zanwu
:
'暫く改訂レポート無'
,
hotel_zanwu
:
'暫く改訂レポート無'
,
hotel_type
:
'酒店类型'
,
hotel_type
:
'酒店类型'
,
hotel_jingdu
:
'経度'
,
hotel_weidu
:
'緯度'
,
}
}
export
const
leader
=
{
export
const
leader
=
{
...
@@ -1827,6 +1829,7 @@ export const salesModule={
...
@@ -1827,6 +1829,7 @@ export const salesModule={
TotalVisit
:
'累計訪問'
,
TotalVisit
:
'累計訪問'
,
OntheBlackList
:
'ブラックリストに追加しました'
,
OntheBlackList
:
'ブラックリストに追加しました'
,
storeName
:
'店舗名'
,
storeName
:
'店舗名'
,
c_email
:
"メールボックス"
,
HouseNumber
:
'ドアナンバーを正確に入力してください。'
,
HouseNumber
:
'ドアナンバーを正確に入力してください。'
,
Belongbrand
:
'所属ブランド'
,
Belongbrand
:
'所属ブランド'
,
premises
:
'経営の場所'
,
premises
:
'経営の場所'
,
...
...
src/assets/common/lang/zh-tw.js
View file @
25b0054d
...
@@ -469,6 +469,8 @@ export const admin={ //行政
...
@@ -469,6 +469,8 @@ export const admin={ //行政
hotel_ReturnRoomNumber
:
'還房數量'
,
hotel_ReturnRoomNumber
:
'還房數量'
,
hotel_zanwu
:
'暫無修改日誌'
,
hotel_zanwu
:
'暫無修改日誌'
,
hotel_type
:
'酒店类型'
,
hotel_type
:
'酒店类型'
,
hotel_jingdu
:
'經度'
,
hotel_weidu
:
'緯度'
,
}
}
export
const
leader
=
{
export
const
leader
=
{
...
@@ -1903,6 +1905,7 @@ export const salesModule={
...
@@ -1903,6 +1905,7 @@ export const salesModule={
TotalVisit
:
'累計拜訪'
,
TotalVisit
:
'累計拜訪'
,
OntheBlackList
:
'已加入黑名單'
,
OntheBlackList
:
'已加入黑名單'
,
storeName
:
'同行名稱'
,
storeName
:
'同行名稱'
,
c_email
:
"郵箱"
,
HouseNumber
:
'請輸入,精准到門牌號碼'
,
HouseNumber
:
'請輸入,精准到門牌號碼'
,
Belongbrand
:
'所屬品牌'
,
Belongbrand
:
'所屬品牌'
,
premises
:
'經營場所'
,
premises
:
'經營場所'
,
...
...
src/assets/common/lang/zh.js
View file @
25b0054d
...
@@ -471,6 +471,8 @@ export const admin={ //行政
...
@@ -471,6 +471,8 @@ export const admin={ //行政
hotel_ReturnRoomNumber
:
'还房数量'
,
hotel_ReturnRoomNumber
:
'还房数量'
,
hotel_zanwu
:
'暂无修改日志'
,
hotel_zanwu
:
'暂无修改日志'
,
hotel_type
:
'酒店类型'
,
hotel_type
:
'酒店类型'
,
hotel_jingdu
:
'经度'
,
hotel_weidu
:
'纬度'
,
}
}
export
const
leader
=
{
export
const
leader
=
{
...
@@ -1916,6 +1918,7 @@ export const salesModule={
...
@@ -1916,6 +1918,7 @@ export const salesModule={
TotalVisit
:
'累计拜访'
,
TotalVisit
:
'累计拜访'
,
OntheBlackList
:
'已加入黑名单'
,
OntheBlackList
:
'已加入黑名单'
,
storeName
:
'门店名称'
,
storeName
:
'门店名称'
,
c_email
:
"邮箱"
,
HouseNumber
:
'请输入,精准到门牌号码'
,
HouseNumber
:
'请输入,精准到门牌号码'
,
Belongbrand
:
'所属品牌'
,
Belongbrand
:
'所属品牌'
,
premises
:
'经营场所'
,
premises
:
'经营场所'
,
...
...
src/components/Hotel/HotelInfo.vue
View file @
25b0054d
...
@@ -107,15 +107,9 @@
...
@@ -107,15 +107,9 @@
</div>
</div>
<span
class=
"resource-lititle sheshi"
>
{{$t('hotel.hotel_type')}}
</span>
<span
class=
"resource-lititle sheshi"
>
{{$t('hotel.hotel_type')}}
</span>
<div
class=
"res-span"
>
<div
class=
"res-span"
>
<el-tree
<el-tree
:data=
"categoryTree"
default-expand-all
:props=
"{label: 'CategoryName', children: 'SubList'}"
:data=
"categoryTree"
default-expand-all
show-checkbox
node-key=
"Id"
ref=
"treeForm"
@
check-change=
"handleNodeClick"
>
:props=
"{label: 'CategoryName', children: 'SubList'}"
</el-tree>
show-checkbox
node-key=
"Id"
ref=
"treeForm"
@
check-change=
"handleNodeClick"
>
</el-tree>
</div>
</div>
</div>
</div>
<div
class=
"resource-imginfo"
>
<div
class=
"resource-imginfo"
>
...
@@ -176,11 +170,11 @@
...
@@ -176,11 +170,11 @@
<span
class=
"fanbili"
>
{{$t('objFill.diliweizhi')}}
</span>
<span
class=
"fanbili"
>
{{$t('objFill.diliweizhi')}}
</span>
<div
class=
"RabateDiv clearfix"
>
<div
class=
"RabateDiv clearfix"
>
<div
class=
"RebateCount reOne"
>
<div
class=
"RebateCount reOne"
>
<div
class=
"leftPnum"
>
{{$t('
objFill.
jingdu')}}
</div>
<div
class=
"leftPnum"
>
{{$t('
hotel.hotel_
jingdu')}}
</div>
<input
type=
"text"
class=
"toolInput inpuOne"
v-model=
"addMsg.Lng"
maxlength=
"20"
>
<input
type=
"text"
class=
"toolInput inpuOne"
v-model=
"addMsg.Lng"
maxlength=
"20"
>
</div>
</div>
<div
class=
"RebateCount reTwo"
>
<div
class=
"RebateCount reTwo"
>
<div
class=
"fanNum"
>
{{$t('
objFill.
weidu')}}
</div>
<div
class=
"fanNum"
>
{{$t('
hotel.hotel_
weidu')}}
</div>
<input
type=
"text"
class=
"toolInput inpuTwo"
v-model=
"addMsg.Lat"
maxlength=
"20"
>
<input
type=
"text"
class=
"toolInput inpuTwo"
v-model=
"addMsg.Lat"
maxlength=
"20"
>
</div>
</div>
</div>
</div>
...
@@ -651,27 +645,27 @@
...
@@ -651,27 +645,27 @@
addParentId
(
tree
,
idArr
)
{
addParentId
(
tree
,
idArr
)
{
tree
.
forEach
(
item
=>
{
tree
.
forEach
(
item
=>
{
item
.
ids
=
[...
idArr
,
item
.
Id
]
item
.
ids
=
[...
idArr
,
item
.
Id
]
if
(
item
.
SubList
&&
item
.
SubList
.
length
)
{
if
(
item
.
SubList
&&
item
.
SubList
.
length
)
{
this
.
addParentId
(
item
.
SubList
,
item
.
ids
)
this
.
addParentId
(
item
.
SubList
,
item
.
ids
)
}
}
})
})
},
},
setSelectedKeys
()
{
setSelectedKeys
()
{
this
.
arr
=
[]
this
.
arr
=
[]
if
(
this
.
checkedId
.
length
&&
this
.
categoryTree
.
length
)
{
if
(
this
.
checkedId
.
length
&&
this
.
categoryTree
.
length
)
{
this
.
findSelcetedKey
(
this
.
categoryTree
)
this
.
findSelcetedKey
(
this
.
categoryTree
)
if
(
this
.
$refs
.
treeForm
)
{
if
(
this
.
$refs
.
treeForm
)
{
this
.
$refs
.
treeForm
.
setCheckedKeys
(
this
.
arr
)
this
.
$refs
.
treeForm
.
setCheckedKeys
(
this
.
arr
)
}
}
}
}
},
},
findSelcetedKey
(
tree
,)
{
findSelcetedKey
(
tree
,
)
{
tree
.
forEach
(
item
=>
{
tree
.
forEach
(
item
=>
{
if
(
item
.
SubList
&&
item
.
SubList
.
length
)
{
if
(
item
.
SubList
&&
item
.
SubList
.
length
)
{
this
.
findSelcetedKey
(
item
.
SubList
)
this
.
findSelcetedKey
(
item
.
SubList
)
}
else
{
}
else
{
if
(
this
.
checkedId
.
includes
(
item
.
Id
))
{
if
(
this
.
checkedId
.
includes
(
item
.
Id
))
{
this
.
arr
.
push
(
item
.
Id
)
this
.
arr
.
push
(
item
.
Id
)
}
}
}
}
...
@@ -681,20 +675,19 @@
...
@@ -681,20 +675,19 @@
this
.
idsList
=
[]
this
.
idsList
=
[]
this
.
selectedKeys
=
this
.
$refs
.
treeForm
.
getCheckedKeys
()
this
.
selectedKeys
=
this
.
$refs
.
treeForm
.
getCheckedKeys
()
this
.
getSelcetedKeyIds
(
this
.
categoryTree
)
this
.
getSelcetedKeyIds
(
this
.
categoryTree
)
return
[...
new
Set
(
this
.
idsList
)].
join
(
','
)
return
[...
new
Set
(
this
.
idsList
)].
join
(
','
)
},
},
getSelcetedKeyIds
(
tree
)
{
getSelcetedKeyIds
(
tree
)
{
tree
.
forEach
(
item
=>
{
tree
.
forEach
(
item
=>
{
if
(
item
.
SubList
&&
item
.
SubList
.
length
)
{
if
(
item
.
SubList
&&
item
.
SubList
.
length
)
{
this
.
getSelcetedKeyIds
(
item
.
SubList
)
this
.
getSelcetedKeyIds
(
item
.
SubList
)
}
}
if
(
this
.
selectedKeys
.
includes
(
item
.
Id
))
{
if
(
this
.
selectedKeys
.
includes
(
item
.
Id
))
{
this
.
idsList
=
this
.
idsList
.
concat
(
item
.
ids
)
this
.
idsList
=
this
.
idsList
.
concat
(
item
.
ids
)
}
}
})
})
},
},
handleNodeClick
(
data
,
checked
,
node
)
{
handleNodeClick
(
data
,
checked
,
node
)
{},
},
initHotelData
()
{
initHotelData
()
{
var
msg
=
{
var
msg
=
{
hotelID
:
this
.
hotelID
hotelID
:
this
.
hotelID
...
@@ -706,7 +699,8 @@ handleNodeClick(data, checked, node) {
...
@@ -706,7 +699,8 @@ handleNodeClick(data, checked, node) {
msg
,
msg
,
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
checkedId
=
res
.
data
.
data
.
WebSiteCategoryIds
?
res
.
data
.
data
.
WebSiteCategoryIds
.
split
(
','
).
map
(
item
=>
Number
(
item
))
:
[]
this
.
checkedId
=
res
.
data
.
data
.
WebSiteCategoryIds
?
res
.
data
.
data
.
WebSiteCategoryIds
.
split
(
','
).
map
(
item
=>
Number
(
item
))
:
[]
this
.
setSelectedKeys
()
this
.
setSelectedKeys
()
_self
.
addMsg
=
res
.
data
.
data
;
_self
.
addMsg
=
res
.
data
.
data
;
if
(
_self
.
addMsg
.
Country
>
0
)
{
if
(
_self
.
addMsg
.
Country
>
0
)
{
...
@@ -959,7 +953,8 @@ handleNodeClick(data, checked, node) {
...
@@ -959,7 +953,8 @@ handleNodeClick(data, checked, node) {
},
},
mounted
()
{
this
.
checkedId
=
[]
mounted
()
{
this
.
checkedId
=
[]
let
userInfo
=
this
.
getLocalStorage
()
let
userInfo
=
this
.
getLocalStorage
()
//有权限操作的部门
//有权限操作的部门
if
(
userInfo
.
RB_Department_Id
==
240
||
userInfo
.
RB_Department_Id
==
1
||
userInfo
.
RB_Department_Id
==
3
||
if
(
userInfo
.
RB_Department_Id
==
240
||
userInfo
.
RB_Department_Id
==
1
||
userInfo
.
RB_Department_Id
==
3
||
...
...
src/components/SalesModule/MyCustomer.vue
View file @
25b0054d
...
@@ -574,7 +574,6 @@
...
@@ -574,7 +574,6 @@
<p
v-else
>
<p
v-else
>
<span
style=
"cursor: pointer;text-decoration: underline;"
>
{{$t('pub.noMsg')}}
</span></p>
<span
style=
"cursor: pointer;text-decoration: underline;"
>
{{$t('pub.noMsg')}}
</span></p>
</div>
</div>
</td>
</td>
<td
v-if=
"currentUserInfo&¤tUserInfo.RB_Group_id==2"
><span
@
click=
"goUrl(type,item.customerId,2)"
<td
v-if=
"currentUserInfo&¤tUserInfo.RB_Group_id==2"
><span
@
click=
"goUrl(type,item.customerId,2)"
style=
"cursor: pointer;text-decoration: underline;"
>
{{item.visiteCount}}
</span></td>
style=
"cursor: pointer;text-decoration: underline;"
>
{{item.visiteCount}}
</span></td>
...
@@ -651,7 +650,7 @@
...
@@ -651,7 +650,7 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"6"
v-if=
"currentUserInfo&¤tUserInfo.RB_Group_id!=2"
>
<el-col
:span=
"6"
v-if=
"currentUserInfo&¤tUserInfo.RB_Group_id!=2"
>
<el-form-item
label=
"邮箱
"
prop=
"Email"
>
<el-form-item
:label=
"$t('sm.email')
"
prop=
"Email"
>
<el-input
v-model=
"addMsg.Email"
:placeholder=
"$t('pub.pleaseImport')"
maxlength=
"50"
></el-input>
<el-input
v-model=
"addMsg.Email"
:placeholder=
"$t('pub.pleaseImport')"
maxlength=
"50"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -828,8 +827,8 @@
...
@@ -828,8 +827,8 @@
:on-success=
"handleAvatarSuccess"
>
:on-success=
"handleAvatarSuccess"
>
<i
class=
"el-icon-upload"
></i>
<i
class=
"el-icon-upload"
></i>
<div
class=
"el-upload__text"
>
<div
class=
"el-upload__text"
>
{{$t('
Operation
.tuodongwenjian')}}
{{$t('
tips
.tuodongwenjian')}}
<em>
{{$t('
Operation
.dianjishanhcuan')}}
</em>
<em>
{{$t('
tips
.dianjishanhcuan')}}
</em>
</div>
</div>
<div
slot=
"tip"
class=
"el-upload__tip"
>
{{$t('objFill.zhinengscexwj')}}
</div>
<div
slot=
"tip"
class=
"el-upload__tip"
>
{{$t('objFill.zhinengscexwj')}}
</div>
</el-upload>
</el-upload>
...
@@ -864,7 +863,7 @@
...
@@ -864,7 +863,7 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"6"
v-if=
"currentUserInfo&¤tUserInfo.RB_Group_id!=2"
>
<el-col
:span=
"6"
v-if=
"currentUserInfo&¤tUserInfo.RB_Group_id!=2"
>
<el-form-item
label=
"邮箱
"
prop=
"Email"
>
<el-form-item
:label=
"$t('salesModule.c_email')
"
prop=
"Email"
>
<el-input
v-model=
"updateMsg.email"
:placeholder=
"$t('pub.pleaseImport')"
maxlength=
"50"
></el-input>
<el-input
v-model=
"updateMsg.email"
:placeholder=
"$t('pub.pleaseImport')"
maxlength=
"50"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -927,7 +926,7 @@
...
@@ -927,7 +926,7 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
:label=
"$t('hotel
_
.hotel_detailinfo')"
>
<el-form-item
:label=
"$t('hotel.hotel_detailinfo')"
>
<el-input
v-model=
'updateMsg.Address'
maxlength=
"50"
></el-input>
<el-input
v-model=
'updateMsg.Address'
maxlength=
"50"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -1133,17 +1132,17 @@
...
@@ -1133,17 +1132,17 @@
}],
}],
UniqueCode
:
[{
UniqueCode
:
[{
required
:
true
,
required
:
true
,
message
:
this
.
$t
(
'o
n
jFill.qingshurtybm'
),
message
:
this
.
$t
(
'o
b
jFill.qingshurtybm'
),
trigger
:
"blur"
trigger
:
"blur"
}],
}],
LINEID
:
[{
LINEID
:
[{
required
:
true
,
required
:
true
,
message
:
this
.
$t
(
'o
n
jFill.qingshurlineid'
),
message
:
this
.
$t
(
'o
b
jFill.qingshurlineid'
),
trigger
:
"blur"
trigger
:
"blur"
}],
}],
Email
:
[{
Email
:
[{
required
:
true
,
required
:
true
,
message
:
this
.
$t
(
'o
n
jFill.qingshureml'
),
message
:
this
.
$t
(
'o
b
jFill.qingshureml'
),
trigger
:
"blur"
trigger
:
"blur"
}],
}],
},
},
...
...
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