Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_electricity
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
zhengke
jz_electricity
Commits
94816e4c
Commit
94816e4c
authored
May 24, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
7704eb25
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
9 deletions
+25
-9
choiceDmc.vue
src/components/common/choiceDmc.vue
+25
-9
No files found.
src/components/common/choiceDmc.vue
View file @
94816e4c
...
...
@@ -5,14 +5,14 @@
<el-tab-pane
label=
"酒店"
name=
"first"
>
酒店
</el-tab-pane>
<el-tab-pane
label=
"餐食"
name=
"second"
>
餐食
</el-tab-pane>
<el-tab-pane
label=
"门票"
name=
"third"
>
门票
</el-tab-pane>
</el-tabs>
<template>
</
template
>
<el-input
size=
"mini"
v-model=
"msg.Name"
placeholder=
"根据名称搜索"
:clearable=
"true"
@
clear=
"msg.pageIndex=1,getList()"
@
keyup
.
enter
.
native=
"msg.pageIndex=1,getList
()"
>
<el-button
slot=
"append"
@
click=
"msg.pageIndex=1,get
List
()"
>
搜索
</el-button>
<el-input
size=
"mini"
v-model=
"msg.Name"
placeholder=
"根据名称搜索"
:clearable=
"true"
@
clear=
"msg.pageIndex=1,getHotelPage()"
@
keyup
.
enter
.
native=
"msg.pageIndex=1,getHotelPage
()"
>
<el-button
slot=
"append"
@
click=
"msg.pageIndex=1,get
HotelPage
()"
>
搜索
</el-button>
</el-input>
<el-table
ref=
"multipleTable"
:data=
"dataList"
tooltip-effect=
"dark"
height=
"450"
style=
"width: 100%"
@
selection-change=
"handleSelectionChange"
>
...
...
@@ -65,7 +65,7 @@
GoodsStatus
:
1
,
//上架中
IsGetSpec
:
0
},
activeName
:
"first"
,
activeName
:
"first"
,
total
:
0
,
selectRow
:
[],
};
...
...
@@ -76,12 +76,11 @@
}
},
methods
:
{
handleClick
()
{
handleClick
()
{
},
//获取
所有菜单
get
List
()
{
//获取
酒店分页
get
HotelPage
()
{
this
.
apipost
(
"/api/Hotel/GetHotelPage"
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
total
=
res
.
data
.
data
.
count
;
...
...
@@ -100,6 +99,23 @@
handleSelectionChange
(
val
)
{
this
.
selectRow
=
JSON
.
parse
(
JSON
.
stringify
(
val
));
},
//获取餐食分页
getDinnerPage
()
{
this
.
apipost
(
"/api/AppletDining/DiningPage"
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
total
=
res
.
data
.
data
.
count
;
var
tempArray
=
res
.
data
.
data
.
pageData
;
if
(
tempArray
&&
tempArray
.
length
>
0
)
{
tempArray
.
forEach
(
item
=>
{
item
.
IsChecked
=
false
;
});
}
this
.
dataList
=
JSON
.
parse
(
JSON
.
stringify
(
tempArray
));
}
else
{
this
.
Info
(
res
.
data
.
message
);
}
})
},
getTemplateRow
(
index
,
row
)
{
this
.
selectRow
=
[];
if
(
this
.
dataList
&&
this
.
dataList
.
length
>
0
)
{
...
...
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