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
ba95392f
Commit
ba95392f
authored
Nov 19, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
组件调整
parent
b151e310
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
161 additions
and
116 deletions
+161
-116
fill.js
src/assets/common/lang/EN/fill.js
+2
-0
fill.js
src/assets/common/lang/Japan/fill.js
+2
-0
fill.js
src/assets/common/lang/zhCN/fill.js
+2
-0
fill.js
src/assets/common/lang/zhTW/fill.js
+2
-0
WebSiteEdit.vue
src/components/WebSet/WebSiteEdit.vue
+0
-4
indexNav.vue
src/components/WebSet/home/indexNav.vue
+69
-51
indexRoll1.vue
src/components/WebSet/home/indexRoll1.vue
+28
-21
indexRoll2.vue
src/components/WebSet/home/indexRoll2.vue
+28
-20
indexSlider1.vue
src/components/WebSet/home/indexSlider1.vue
+28
-20
No files found.
src/assets/common/lang/EN/fill.js
View file @
ba95392f
...
@@ -969,6 +969,7 @@ export const obj = {
...
@@ -969,6 +969,7 @@ export const obj = {
chanpingbj
:
'Product quote'
,
chanpingbj
:
'Product quote'
,
chanpinglx
:
'Product type'
,
chanpinglx
:
'Product type'
,
fubiaoti
:
'Subtitle'
,
fubiaoti
:
'Subtitle'
,
dibudaohang
:
"Bottom navigation"
,
suozaichengshi
:
'City in'
,
suozaichengshi
:
'City in'
,
tiqianquxiaosj
:
'Advance cancellation time'
,
tiqianquxiaosj
:
'Advance cancellation time'
,
jichanghzl
:
'Airport terminal'
,
jichanghzl
:
'Airport terminal'
,
...
@@ -2381,6 +2382,7 @@ export const obj = {
...
@@ -2381,6 +2382,7 @@ export const obj = {
xiugaiqxcd
:
'Modify permissions menu'
,
xiugaiqxcd
:
'Modify permissions menu'
,
caidan
:
'Menu'
,
caidan
:
'Menu'
,
caidantubiao
:
'Menu ICONS'
,
caidantubiao
:
'Menu ICONS'
,
daohangshezhi
:
"Navigation settings"
,
caidanbjpz
:
'Menu background Configuration'
,
caidanbjpz
:
'Menu background Configuration'
,
xitongcd
:
'System Menu'
,
xitongcd
:
'System Menu'
,
zicancd
:
'Asset Menu'
,
zicancd
:
'Asset Menu'
,
...
...
src/assets/common/lang/Japan/fill.js
View file @
ba95392f
...
@@ -969,6 +969,7 @@ export const obj = {
...
@@ -969,6 +969,7 @@ export const obj = {
chanpingbj
:
'製品オファー'
,
chanpingbj
:
'製品オファー'
,
chanpinglx
:
'製品の種類'
,
chanpinglx
:
'製品の種類'
,
fubiaoti
:
'副題'
,
fubiaoti
:
'副題'
,
dibudaohang
:
"下へ移動"
,
suozaichengshi
:
'所在都市'
,
suozaichengshi
:
'所在都市'
,
tiqianquxiaosj
:
'早めにキャンセルします'
,
tiqianquxiaosj
:
'早めにキャンセルします'
,
jichanghzl
:
'空港ターミナル'
,
jichanghzl
:
'空港ターミナル'
,
...
@@ -2381,6 +2382,7 @@ export const obj = {
...
@@ -2381,6 +2382,7 @@ export const obj = {
xiugaiqxcd
:
'修正権限メニュー'
,
xiugaiqxcd
:
'修正権限メニュー'
,
caidan
:
'メニュー'
,
caidan
:
'メニュー'
,
caidantubiao
:
'メニューアイコン'
,
caidantubiao
:
'メニューアイコン'
,
daohangshezhi
:
"ナビゲーション設定"
,
caidanbjpz
:
'メニュー背景配置'
,
caidanbjpz
:
'メニュー背景配置'
,
xitongcd
:
'システムメニュー'
,
xitongcd
:
'システムメニュー'
,
zicancd
:
'資産メニュー'
,
zicancd
:
'資産メニュー'
,
...
...
src/assets/common/lang/zhCN/fill.js
View file @
ba95392f
...
@@ -969,6 +969,7 @@ export const obj = {
...
@@ -969,6 +969,7 @@ export const obj = {
chanpingbj
:
'产品报价'
,
chanpingbj
:
'产品报价'
,
chanpinglx
:
'产品类型'
,
chanpinglx
:
'产品类型'
,
fubiaoti
:
'副标题'
,
fubiaoti
:
'副标题'
,
dibudaohang
:
"底部导航"
,
suozaichengshi
:
'所在城市'
,
suozaichengshi
:
'所在城市'
,
tiqianquxiaosj
:
'提前取消时间'
,
tiqianquxiaosj
:
'提前取消时间'
,
jichanghzl
:
'机场航站楼'
,
jichanghzl
:
'机场航站楼'
,
...
@@ -2381,6 +2382,7 @@ export const obj = {
...
@@ -2381,6 +2382,7 @@ export const obj = {
xiugaiqxcd
:
'修改权限菜单'
,
xiugaiqxcd
:
'修改权限菜单'
,
caidan
:
'菜单'
,
caidan
:
'菜单'
,
caidantubiao
:
'菜单图标'
,
caidantubiao
:
'菜单图标'
,
daohangshezhi
:
"导航设置"
,
caidanbjpz
:
'菜单背景配置'
,
caidanbjpz
:
'菜单背景配置'
,
xitongcd
:
'系统菜单'
,
xitongcd
:
'系统菜单'
,
zicancd
:
'资产菜单'
,
zicancd
:
'资产菜单'
,
...
...
src/assets/common/lang/zhTW/fill.js
View file @
ba95392f
...
@@ -969,6 +969,7 @@ export const obj = {
...
@@ -969,6 +969,7 @@ export const obj = {
chanpingbj
:
'産品報價'
,
chanpingbj
:
'産品報價'
,
chanpinglx
:
'産品類型'
,
chanpinglx
:
'産品類型'
,
fubiaoti
:
'副標題'
,
fubiaoti
:
'副標題'
,
dibudaohang
:
"底部導航"
,
suozaichengshi
:
'所在城市'
,
suozaichengshi
:
'所在城市'
,
tiqianquxiaosj
:
'提前取消時間'
,
tiqianquxiaosj
:
'提前取消時間'
,
jichanghzl
:
'機場航站樓'
,
jichanghzl
:
'機場航站樓'
,
...
@@ -2381,6 +2382,7 @@ export const obj = {
...
@@ -2381,6 +2382,7 @@ export const obj = {
xiugaiqxcd
:
'修改權限菜單'
,
xiugaiqxcd
:
'修改權限菜單'
,
caidan
:
'菜單'
,
caidan
:
'菜單'
,
caidantubiao
:
'菜單圖標'
,
caidantubiao
:
'菜單圖標'
,
daohangshezhi
:
"導航設置"
,
caidanbjpz
:
'菜單背景配置'
,
caidanbjpz
:
'菜單背景配置'
,
xitongcd
:
'系統菜單'
,
xitongcd
:
'系統菜單'
,
zicancd
:
'資產菜單'
,
zicancd
:
'資產菜單'
,
...
...
src/components/WebSet/WebSiteEdit.vue
View file @
ba95392f
...
@@ -216,10 +216,6 @@
...
@@ -216,10 +216,6 @@
</div>
</div>
</div>
</div>
<div
class=
"WebSite_Left"
>
<div
class=
"WebSite_Left"
>
<!-- <el-select v-model="countryId" @change="changeCountry" style="margin-bottom:12px;">
<el-option v-for="x in tempCountry" :label="x.name" :value="x.val" :key="x.val">
</el-option>
</el-select> -->
<el-select
v-model=
"templateId"
@
change=
"getTemplateDetails()"
>
<el-select
v-model=
"templateId"
@
change=
"getTemplateDetails()"
>
<el-option
:label=
"$t('pub.pleaseSel')"
:value=
"0"
:key=
"0"
>
<el-option
:label=
"$t('pub.pleaseSel')"
:value=
"0"
:key=
"0"
>
</el-option>
</el-option>
...
...
src/components/WebSet/home/indexNav.vue
View file @
ba95392f
This diff is collapsed.
Click to expand it.
src/components/WebSet/home/indexRoll1.vue
View file @
ba95392f
...
@@ -115,24 +115,24 @@
...
@@ -115,24 +115,24 @@
<tbody
v-for=
"(item,index) in plugData.NavList"
:key=
"index"
>
<tbody
v-for=
"(item,index) in plugData.NavList"
:key=
"index"
>
<tr>
<tr>
<td
class=
"caidantext"
>
<td
class=
"caidantext"
>
{{
$t
(
'objFill.
caidan
'
)
}}{{
index
+
1
}}
:
{{
$t
(
'objFill.
daohangshezhi
'
)
}}{{
index
+
1
}}
:
</td>
</td>
<td></td>
<td></td>
<td
class=
"rowEnd"
>
<td
class=
"rowEnd"
>
<div>
<div>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"'+ '+$t('objFill.caidan')"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"'+ '+$t('objFill.caidan')"
placement=
"top"
>
<el-button
type=
"primary"
icon=
"el-icon-plus"
size=
"mini"
circle
@
click=
"addMenu(
1
)"
></el-button>
<el-button
type=
"primary"
icon=
"el-icon-plus"
size=
"mini"
circle
@
click=
"addMenu()"
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
v-show=
"plugData.NavList.length>1"
class=
"item"
effect=
"dark"
<el-tooltip
v-show=
"plugData.NavList.length>1"
class=
"item"
effect=
"dark"
:content=
"'- '+$t('objFill.caidan')"
placement=
"top"
>
:content=
"'- '+$t('objFill.caidan')"
placement=
"top"
>
<el-button
type=
"danger"
icon=
"el-icon-minus"
size=
"mini"
circle
@
click=
"delMenu(
1,
index)"
>
<el-button
type=
"danger"
icon=
"el-icon-minus"
size=
"mini"
circle
@
click=
"delMenu(index)"
>
</el-button>
</el-button>
</el-tooltip>
</el-tooltip>
</div>
</div>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td
class=
"w350"
>
<td
class=
"w350"
rowspan=
"3"
>
<el-form-item
:label=
"$t('objFill.v101.fengmian')"
style=
"margin-bottom: 0;"
>
<el-form-item
:label=
"$t('objFill.v101.fengmian')"
style=
"margin-bottom: 0;"
>
<div
class=
"webSliderDiv"
@
click=
"clickIndex=index"
>
<div
class=
"webSliderDiv"
@
click=
"clickIndex=index"
>
<el-upload
v-if=
"item.FileType==1"
:http-request=
"UploadAttachment"
:multiple=
"true"
<el-upload
v-if=
"item.FileType==1"
:http-request=
"UploadAttachment"
:multiple=
"true"
...
@@ -166,24 +166,33 @@
...
@@ -166,24 +166,33 @@
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('objFill.v101.activity.lianjie')+(index+1)"
style=
"margin-bottom: 0;"
>
<el-input
type=
"text"
v-model=
"item.LinkUrl"
>
<el-button
slot=
"append"
icon=
"el-icon-search"
@
click=
"ShowMenuDialog(item)"
></el-button>
</el-input>
</el-form-item>
<el-form-item
:label=
"$t('hotel.hotel_describle')+(index+1)"
>
<el-input
type=
"textarea"
:rows=
"2"
v-model=
"item.SubDescribe"
></el-input>
</el-form-item>
</td>
</td>
<td
class=
"colAs"
>
<td
class=
"colAs"
>
<el-form-item
:label=
"$t('objFill.v101.zhubiaoti')+(index+1)"
style=
"margin-bottom: 0;"
>
<el-form-item
:label=
"$t('objFill.v101.zhubiaoti')+(index+1)"
style=
"margin-bottom: 0;"
>
<el-input
type=
"text"
v-model=
"item.SubName"
></el-input>
<el-input
type=
"text"
v-model=
"item.SubName"
></el-input>
</el-form-item>
</el-form-item>
</td>
</tr>
<tr>
<td>
<el-form-item
:label=
"$t('objFill.fubiaoti')+(index+1)"
style=
"margin-bottom: 0;"
>
<el-form-item
:label=
"$t('objFill.fubiaoti')+(index+1)"
style=
"margin-bottom: 0;"
>
<el-input
type=
"text"
v-model=
"item.SubEnName"
></el-input>
<el-input
type=
"text"
v-model=
"item.SubEnName"
></el-input>
</el-form-item>
</el-form-item>
</td>
</td>
<td>
<el-form-item
:label=
"$t('objFill.v101.activity.lianjie')+(index+1)"
style=
"margin-bottom: 0;"
>
<el-input
type=
"text"
v-model=
"item.LinkUrl"
>
<el-button
slot=
"append"
icon=
"el-icon-search"
@
click=
"ShowMenuDialog(item)"
></el-button>
</el-input>
</el-form-item>
</td>
</tr>
<tr>
<td
colspan=
"2"
>
<el-form-item
:label=
"$t('hotel.hotel_describle')+(index+1)"
>
<el-input
type=
"textarea"
:rows=
"2"
v-model=
"item.SubDescribe"
></el-input>
</el-form-item>
</td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
...
@@ -217,7 +226,6 @@
...
@@ -217,7 +226,6 @@
Id
:
2
Id
:
2
},
},
],
],
clickType
:
0
,
//1主菜单 2二级菜单
MenuList
:
{
MenuList
:
{
FileType
:
1
,
FileType
:
1
,
FileUrl
:
''
,
FileUrl
:
''
,
...
@@ -233,15 +241,14 @@
...
@@ -233,15 +241,14 @@
},
},
methods
:
{
methods
:
{
addMenu
(
type
,
index
)
{
addMenu
()
{
this
.
clickType
=
type
this
.
plugData
.
NavList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
MenuList
)))
this
.
plugData
.
NavList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
MenuList
)))
},
},
delMenu
(
type
,
index
,
i
)
{
delMenu
(
index
)
{
this
.
clickType
=
type
var
that
=
this
;
if
(
type
==
1
)
{
that
.
Confirm
(
this
.
$t
(
'tips.shifoushanchu'
),
function
(
)
{
th
is
.
plugData
.
NavList
.
splice
(
index
,
1
)
th
at
.
plugData
.
NavList
.
splice
(
index
,
1
)
}
}
);
},
},
//上传图片
//上传图片
UploadAttachment
(
file
)
{
UploadAttachment
(
file
)
{
...
...
src/components/WebSet/home/indexRoll2.vue
View file @
ba95392f
...
@@ -113,24 +113,24 @@
...
@@ -113,24 +113,24 @@
<tbody
v-for=
"(item,index) in plugData.NavList"
:key=
"index"
>
<tbody
v-for=
"(item,index) in plugData.NavList"
:key=
"index"
>
<tr>
<tr>
<td
class=
"caidantext"
>
<td
class=
"caidantext"
>
{{
$t
(
'objFill.
caidan
'
)
}}{{
index
+
1
}}
:
{{
$t
(
'objFill.
daohangshezhi
'
)
}}{{
index
+
1
}}
:
</td>
</td>
<td></td>
<td></td>
<td
class=
"rowEnd"
>
<td
class=
"rowEnd"
>
<div>
<div>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"'+ '+$t('objFill.caidan')"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"'+ '+$t('objFill.caidan')"
placement=
"top"
>
<el-button
type=
"primary"
icon=
"el-icon-plus"
size=
"mini"
circle
@
click=
"addMenu(
1
)"
></el-button>
<el-button
type=
"primary"
icon=
"el-icon-plus"
size=
"mini"
circle
@
click=
"addMenu()"
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
v-show=
"plugData.NavList.length>1"
class=
"item"
effect=
"dark"
<el-tooltip
v-show=
"plugData.NavList.length>1"
class=
"item"
effect=
"dark"
:content=
"'- '+$t('objFill.caidan')"
placement=
"top"
>
:content=
"'- '+$t('objFill.caidan')"
placement=
"top"
>
<el-button
type=
"danger"
icon=
"el-icon-minus"
size=
"mini"
circle
@
click=
"delMenu(
1,
index)"
>
<el-button
type=
"danger"
icon=
"el-icon-minus"
size=
"mini"
circle
@
click=
"delMenu(index)"
>
</el-button>
</el-button>
</el-tooltip>
</el-tooltip>
</div>
</div>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td
class=
"w350"
>
<td
class=
"w350"
rowspan=
"3"
>
<el-form-item
:label=
"$t('objFill.v101.fengmian')"
style=
"margin-bottom: 0;"
>
<el-form-item
:label=
"$t('objFill.v101.fengmian')"
style=
"margin-bottom: 0;"
>
<div
class=
"webSliderDiv"
@
click=
"clickIndex=index"
>
<div
class=
"webSliderDiv"
@
click=
"clickIndex=index"
>
<el-upload
v-if=
"item.FileType==1"
:http-request=
"UploadAttachment"
:multiple=
"true"
<el-upload
v-if=
"item.FileType==1"
:http-request=
"UploadAttachment"
:multiple=
"true"
...
@@ -164,23 +164,33 @@
...
@@ -164,23 +164,33 @@
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('objFill.v101.activity.lianjie')+(index+1)"
style=
"margin-bottom: 0;"
>
<el-input
type=
"text"
v-model=
"item.LinkUrl"
>
<el-button
slot=
"append"
icon=
"el-icon-search"
@
click=
"ShowMenuDialog(item)"
></el-button>
</el-input>
</el-form-item>
<el-form-item
:label=
"$t('hotel.hotel_describle')+(index+1)"
>
<el-input
type=
"textarea"
:rows=
"2"
v-model=
"item.SubDescribe"
></el-input>
</el-form-item>
</td>
</td>
<td
class=
"colAs"
>
<td
class=
"colAs"
>
<el-form-item
:label=
"$t('objFill.v101.zhubiaoti')+(index+1)"
style=
"margin-bottom: 0;"
>
<el-form-item
:label=
"$t('objFill.v101.zhubiaoti')+(index+1)"
style=
"margin-bottom: 0;"
>
<el-input
type=
"text"
v-model=
"item.SubName"
></el-input>
<el-input
type=
"text"
v-model=
"item.SubName"
></el-input>
</el-form-item>
</el-form-item>
</td>
</tr>
<tr>
<td>
<el-form-item
:label=
"$t('objFill.fubiaoti')+(index+1)"
style=
"margin-bottom: 0;"
>
<el-form-item
:label=
"$t('objFill.fubiaoti')+(index+1)"
style=
"margin-bottom: 0;"
>
<el-input
type=
"text"
v-model=
"item.SubEnName"
></el-input>
<el-input
type=
"text"
v-model=
"item.SubEnName"
></el-input>
</el-form-item>
</el-form-item>
</td>
</td>
<td>
<el-form-item
:label=
"$t('objFill.v101.activity.lianjie')+(index+1)"
style=
"margin-bottom: 0;"
>
<el-input
type=
"text"
v-model=
"item.LinkUrl"
>
<el-button
slot=
"append"
icon=
"el-icon-search"
@
click=
"ShowMenuDialog(item)"
></el-button>
</el-input>
</el-form-item>
</td>
</tr>
<tr>
<td
colspan=
"2"
>
<el-form-item
:label=
"$t('hotel.hotel_describle')+(index+1)"
>
<el-input
type=
"textarea"
:rows=
"2"
v-model=
"item.SubDescribe"
></el-input>
</el-form-item>
</td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
...
@@ -214,7 +224,6 @@
...
@@ -214,7 +224,6 @@
Id
:
2
Id
:
2
},
},
],
],
clickType
:
0
,
//1主菜单 2二级菜单
MenuList
:
{
MenuList
:
{
FileType
:
1
,
FileType
:
1
,
FileUrl
:
''
,
FileUrl
:
''
,
...
@@ -230,15 +239,14 @@
...
@@ -230,15 +239,14 @@
},
},
methods
:
{
methods
:
{
addMenu
(
type
,
index
)
{
addMenu
()
{
this
.
clickType
=
type
this
.
plugData
.
NavList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
MenuList
)))
this
.
plugData
.
NavList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
MenuList
)))
},
},
delMenu
(
type
,
index
,
i
)
{
delMenu
(
index
)
{
this
.
clickType
=
type
var
that
=
this
;
if
(
type
==
1
)
{
that
.
Confirm
(
this
.
$t
(
'tips.shifoushanchu'
),
function
(
)
{
th
is
.
plugData
.
NavList
.
splice
(
index
,
1
)
th
at
.
plugData
.
NavList
.
splice
(
index
,
1
)
}
}
);
},
},
//上传图片
//上传图片
UploadAttachment
(
file
)
{
UploadAttachment
(
file
)
{
...
...
src/components/WebSet/home/indexSlider1.vue
View file @
ba95392f
...
@@ -114,24 +114,24 @@
...
@@ -114,24 +114,24 @@
<tbody
v-for=
"(item,index) in plugData.NavList"
:key=
"index"
>
<tbody
v-for=
"(item,index) in plugData.NavList"
:key=
"index"
>
<tr>
<tr>
<td
class=
"caidantext"
>
<td
class=
"caidantext"
>
{{
$t
(
'objFill.
caidan
'
)
}}{{
index
+
1
}}
:
{{
$t
(
'objFill.
daohangshezhi
'
)
}}{{
index
+
1
}}
:
</td>
</td>
<td></td>
<td></td>
<td
class=
"rowEnd"
>
<td
class=
"rowEnd"
>
<div>
<div>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"'+ '+$t('objFill.caidan')"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"'+ '+$t('objFill.caidan')"
placement=
"top"
>
<el-button
type=
"primary"
icon=
"el-icon-plus"
size=
"mini"
circle
@
click=
"addMenu(
1
)"
></el-button>
<el-button
type=
"primary"
icon=
"el-icon-plus"
size=
"mini"
circle
@
click=
"addMenu()"
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
v-show=
"plugData.NavList.length>1"
class=
"item"
effect=
"dark"
<el-tooltip
v-show=
"plugData.NavList.length>1"
class=
"item"
effect=
"dark"
:content=
"'- '+$t('objFill.caidan')"
placement=
"top"
>
:content=
"'- '+$t('objFill.caidan')"
placement=
"top"
>
<el-button
type=
"danger"
icon=
"el-icon-minus"
size=
"mini"
circle
@
click=
"delMenu(
1,
index)"
>
<el-button
type=
"danger"
icon=
"el-icon-minus"
size=
"mini"
circle
@
click=
"delMenu(index)"
>
</el-button>
</el-button>
</el-tooltip>
</el-tooltip>
</div>
</div>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td
class=
"w350"
>
<td
class=
"w350"
rowspan=
"3"
>
<el-form-item
:label=
"$t('objFill.v101.fengmian')"
style=
"margin-bottom: 0;"
>
<el-form-item
:label=
"$t('objFill.v101.fengmian')"
style=
"margin-bottom: 0;"
>
<div
class=
"webSliderDiv"
@
click=
"clickIndex=index"
>
<div
class=
"webSliderDiv"
@
click=
"clickIndex=index"
>
<el-upload
v-if=
"item.FileType==1"
:http-request=
"UploadAttachment"
:multiple=
"true"
<el-upload
v-if=
"item.FileType==1"
:http-request=
"UploadAttachment"
:multiple=
"true"
...
@@ -165,23 +165,33 @@
...
@@ -165,23 +165,33 @@
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('objFill.v101.activity.lianjie')+(index+1)"
style=
"margin-bottom: 0;"
>
<el-input
type=
"text"
v-model=
"item.LinkUrl"
>
<el-button
slot=
"append"
icon=
"el-icon-search"
@
click=
"ShowMenuDialog(item)"
></el-button>
</el-input>
</el-form-item>
<el-form-item
:label=
"$t('hotel.hotel_describle')+(index+1)"
>
<el-input
type=
"textarea"
:rows=
"2"
v-model=
"item.SubDescribe"
></el-input>
</el-form-item>
</td>
</td>
<td
class=
"colAs"
>
<td
class=
"colAs"
>
<el-form-item
:label=
"$t('objFill.v101.zhubiaoti')+(index+1)"
style=
"margin-bottom: 0;"
>
<el-form-item
:label=
"$t('objFill.v101.zhubiaoti')+(index+1)"
style=
"margin-bottom: 0;"
>
<el-input
type=
"text"
v-model=
"item.SubName"
></el-input>
<el-input
type=
"text"
v-model=
"item.SubName"
></el-input>
</el-form-item>
</el-form-item>
</td>
</tr>
<tr>
<td>
<el-form-item
:label=
"$t('objFill.fubiaoti')+(index+1)"
style=
"margin-bottom: 0;"
>
<el-form-item
:label=
"$t('objFill.fubiaoti')+(index+1)"
style=
"margin-bottom: 0;"
>
<el-input
type=
"text"
v-model=
"item.SubEnName"
></el-input>
<el-input
type=
"text"
v-model=
"item.SubEnName"
></el-input>
</el-form-item>
</el-form-item>
</td>
</td>
<td>
<el-form-item
:label=
"$t('objFill.v101.activity.lianjie')+(index+1)"
style=
"margin-bottom: 0;"
>
<el-input
type=
"text"
v-model=
"item.LinkUrl"
>
<el-button
slot=
"append"
icon=
"el-icon-search"
@
click=
"ShowMenuDialog(item)"
></el-button>
</el-input>
</el-form-item>
</td>
</tr>
<tr>
<td
colspan=
"2"
>
<el-form-item
:label=
"$t('hotel.hotel_describle')+(index+1)"
>
<el-input
type=
"textarea"
:rows=
"2"
v-model=
"item.SubDescribe"
></el-input>
</el-form-item>
</td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
...
@@ -215,7 +225,6 @@
...
@@ -215,7 +225,6 @@
Id
:
2
Id
:
2
},
},
],
],
clickType
:
0
,
//1主菜单 2二级菜单
MenuList
:
{
MenuList
:
{
FileType
:
1
,
FileType
:
1
,
FileUrl
:
''
,
FileUrl
:
''
,
...
@@ -231,15 +240,14 @@
...
@@ -231,15 +240,14 @@
},
},
methods
:
{
methods
:
{
addMenu
(
type
,
index
)
{
addMenu
()
{
this
.
clickType
=
type
this
.
plugData
.
NavList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
MenuList
)))
this
.
plugData
.
NavList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
MenuList
)))
},
},
delMenu
(
type
,
index
,
i
)
{
delMenu
(
index
)
{
this
.
clickType
=
type
var
that
=
this
;
if
(
type
==
1
)
{
that
.
Confirm
(
this
.
$t
(
'tips.shifoushanchu'
),
function
(
)
{
th
is
.
plugData
.
NavList
.
splice
(
index
,
1
)
th
at
.
plugData
.
NavList
.
splice
(
index
,
1
)
}
}
);
},
},
//上传图片
//上传图片
UploadAttachment
(
file
)
{
UploadAttachment
(
file
)
{
...
...
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