Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
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
黄媛媛
ElectricitySheep
Commits
8151297f
Commit
8151297f
authored
Aug 30, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/huangyuanyuan/electricitysheep
parents
025df36e
abdeb83b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
157 additions
and
0 deletions
+157
-0
registrationAdd.vue
src/components/tradePavilion/registrationAdd.vue
+8
-0
registrationLogin.vue
src/components/tradePavilion/registrationLogin.vue
+133
-0
tradePavilionIndex.vue
src/components/tradePavilion/tradePavilionIndex.vue
+4
-0
index.js
src/router/index.js
+12
-0
No files found.
src/components/tradePavilion/registrationAdd.vue
0 → 100644
View file @
8151297f
<
style
>
</
style
>
<
template
>
<div>
123
</div>
</
template
>
\ No newline at end of file
src/components/tradePavilion/registrationLogin.vue
0 → 100644
View file @
8151297f
<
template
>
<div
class=
"brandClassification"
>
<div
class=
"head-title"
>
品牌分类管理
<el-button
style=
"float:right;margin-top: -5px;"
size=
"small"
type=
"primary"
@
click=
"goRegistrationAdd()"
>
新增
</el-button>
</div>
<div
class=
"content"
>
<div>
<div
class=
"searchInput"
style=
"width:250px"
>
<el-input
@
keyup
.
enter
.
native=
"msg.pageIndex=1,getList()"
@
clear=
"msg.pageIndex=1,getList()"
style=
"display:inline-block;width:225px;height:30px"
placeholder=
"请输入品牌分类名称"
v-model=
"msg.ClassName"
size=
"small"
clearable
>
</el-input>
<span
@
click=
"msg.pageIndex=1,getList()"
class=
"el-icon-search"
style=
"color:#979dad;font-size:14px;position:relative;top:1px"
></span>
</div>
</div>
<el-table
:data=
"tableData"
v-loading=
"loading"
border
style=
"width: 100%;margin:20px 0"
>
<el-table-column
prop=
"ID"
label=
"编号"
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"ClassName"
label=
"表单名称"
>
</el-table-column>
<el-table-column
prop=
"Logo"
width=
"150"
label=
"表单名称"
>
</el-table-column>
<el-table-column
prop=
"CreateDate"
width=
"200"
label=
"对应榜单类型"
>
</el-table-column>
<el-table-column
prop=
""
width=
"130"
label=
"表单项目"
>
</el-table-column>
<el-table-column
prop=
"address"
width=
"200"
label=
"操作"
>
<template
slot-scope=
"scope"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"编辑"
placement=
"top"
>
<img
style=
"width:32px;height:32px"
src=
"../../assets/img/userman/edit.png"
alt=
""
>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除"
placement=
"top-start"
>
<img
style=
"width:32px;height:32px;margin:0 10px"
src=
"../../assets/img/userman/del.png"
alt=
""
>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"预览"
placement=
"top-start"
>
<img
style=
"width:32px;height:32px;margin:0 10px"
src=
"../../assets/img/userman/icon-show.png"
alt=
""
>
</el-tooltip>
</
template
>
</el-table-column>
</el-table>
<el-pagination
style=
"text-align:right"
background
@
current-change=
"handleCurrentChange"
:page-size=
"msg.pageSize"
:current-page
.
sync=
"msg.pageIndex"
layout=
"total,prev, pager, next"
:total=
"total"
>
</el-pagination>
</div>
</div>
</template>
<
script
>
export
default
{
components
:
{
},
data
()
{
return
{
msg
:
{
pageIndex
:
1
,
pageSize
:
10
,
ClassName
:
''
,
},
total
:
0
,
tableData
:
[],
//数据列表
loading
:
false
};
},
created
()
{
//this.getList();
},
methods
:
{
getList
()
{
this
.
loading
=
true
;
this
.
apipost
(
"/api/Trade/GetBrandClassPageList"
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
total
=
res
.
data
.
data
.
count
;
let
pageData
=
res
.
data
.
data
.
pageData
;
this
.
tableData
=
pageData
;
}
})
},
handleCurrentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
},
//删除品牌分类
delNews
(
item
)
{
let
that
=
this
;
that
.
Confirm
(
"是否删除?"
,
function
()
{
that
.
apipost
(
"/api/Trade/RemoveBrandClass"
,
{
Id
:
item
.
ID
,
Status
:
1
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
res
.
data
.
message
);
that
.
getList
();
}
else
{
that
.
Error
(
res
.
data
.
message
);
}
},
);
});
},
//新增组件
goRegistrationAdd
(){
this
.
$router
.
push
({
name
:
"registrationAdd"
,
query
:
{
blank
:
"y"
,
},
});
}
},
mounted
()
{}
};
</
script
>
<
style
>
.brandClassification
.content
{
background
:
#fff
;
margin-top
:
10px
;
padding
:
20px
;
box-sizing
:
border-box
;
}
</
style
>
src/components/tradePavilion/tradePavilionIndex.vue
View file @
8151297f
...
...
@@ -238,6 +238,10 @@
@click="isChecked='/billboardList',CommonJump('billboardList')">
<i
class=
"el-icon-menu"
></i><span>
榜单管理
</span>
</li>
<li
class=
"menu_item"
:class=
"
{'Fchecked':isChecked=='registrationLogin'}"
@click="isChecked='registrationLogin',CommonJump('registrationLogin')">
<i
class=
"el-icon-menu"
></i><span>
榜单报名表单
</span>
</li>
</ul>
</div>
</div>
...
...
src/router/index.js
View file @
8151297f
...
...
@@ -717,6 +717,18 @@ export default new Router({
name
:
'newsList'
,
component
:
resolve
=>
require
([
'@/components/tradePavilion/newsList'
],
resolve
),
},
//贸易管理--榜单报名
{
path
:
'/registrationLogin'
,
name
:
'registrationLogin'
,
component
:
resolve
=>
require
([
'@/components/tradePavilion/registrationLogin'
],
resolve
),
},
//贸易管理--新增榜单报名
{
path
:
'/registrationAdd'
,
name
:
'registrationAdd'
,
component
:
resolve
=>
require
([
'@/components/tradePavilion/registrationAdd'
],
resolve
),
},
//贸易管理--服务类型
{
path
:
'/serviceTypeList'
,
...
...
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