Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
banManager
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
余苗苗
banManager
Commits
3f78a99c
Commit
3f78a99c
authored
May 21, 2019
by
余苗苗
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
delet floder
parent
a0f0608f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
198 deletions
+0
-198
cooperate.html
new/cooperate.html
+0
-163
message.html
new/message.html
+0
-35
No files found.
new/cooperate.html
deleted
100644 → 0
View file @
a0f0608f
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<link
rel=
"stylesheet"
href=
"https://unpkg.com/element-ui/lib/theme-chalk/index.css"
>
<link
rel=
"stylesheet"
href=
"./static/css/main.css"
>
<link
rel=
"stylesheet"
href=
"./static/css/cooperate.css"
>
</head>
<body>
<div
id=
"app"
v-loading=
'loading'
>
<common-header
:modal-data=
"active_header"
></common-header>
<div
class=
"content"
>
<div
class=
"cooperate"
>
<div
class=
'cooperate-left'
>
<div
class=
"cooperate-title"
>
合作资源
</div>
<el-menu
:default-active=
"activeIndex"
:unique-opened=
"false"
@
select=
"handleSelect"
background-color=
"#ffffff"
text-color=
"#666"
class=
'cooperate-menu'
>
<el-menu-item
:index=
"item.value"
:key=
'index'
v-for=
'(item,index) in menus'
>
<i
:class=
"item.icon"
></i>
{{item.name}}
</el-menu-item>
</el-menu>
</div>
<div
class=
"cooperate-right"
>
<div
class=
"all-cooperate-serch"
>
<el-select
class=
"seach-select"
v-model=
"search.type"
@
change=
''
placeholder=
"选择品类"
>
<el-option
:label=
"item.label"
:value=
"item.value"
:key=
'item.label'
v-for=
'(item,index) in search.options2'
></el-option>
</el-select>
<el-select
class=
"seach-select"
v-model=
"search.area"
@
change=
''
placeholder=
"选择区域"
>
<el-option
:label=
"item.label"
:value=
"item.value"
:key=
'item.label'
v-for=
'(item,index) in search.options1'
></el-option>
</el-select>
<el-input
class=
"seach-input"
v-model=
'search.name'
prefix-icon=
"el-icon-search"
placeholder=
'输入名称、联系人或区域'
></el-input>
<el-button
type=
'primary'
class=
'button-color'
>
搜索
</el-button>
<el-button
type=
'primary'
class=
'button-color addbutton'
@
click=
''
>
新增授权点
</el-button>
</div>
<div
class=
"cooperate-content"
>
<el-table
:data=
"tableData"
style=
"width: 100%"
@
row-click=
'checkData'
>
<el-table-column
prop=
"date"
label=
"授权点"
></el-table-column>
<el-table-column
label=
"负责人"
>
<template
slot-scope=
"scope"
>
<span
class=
'cursor'
style=
' color: #5B76D1; '
>
{{scope.row.name }}
</span>
<span
style=
' color: #999;'
>
{{scope.row.phone}}
</span>
</template>
</el-table-column>
<el-table-column
prop=
"address"
label=
"合作区域"
>
</el-table-column>
<el-table-column
prop=
"type"
label=
"合作品类"
>
</el-table-column>
<el-table-column
label=
"合作状态"
width=
'80px'
>
<template
slot-scope=
"scope"
>
<div
class=
'text_center'
>
<i
class=
'el-icon-success'
v-if=
'scope.row.status==1'
style=
'color:#6FC152;font-size:16px;'
></i>
<i
class=
'el-icon-success'
v-else
style=
'color:#F05050;font-size:16px'
></i>
</div>
</template>
</el-table-column>
</el-table>
</div>
<div
class=
"cooperate-bottom"
>
<el-pagination
@
current-change=
"handleCurrentChange"
background
:current-page=
"table.current_page"
layout=
"total, prev, pager, next"
:page-size=
"15"
:pager-count=
"table.page_count"
:total=
"table.total"
>
</el-pagination>
</div>
</div>
</div>
<component
:modal-Data=
"modalData"
:is=
"modal"
@
close=
"closeChild"
></component>
</div>
</div>
</body>
<!-- 先引入 Vue -->
<script
src=
"https://unpkg.com/vue/dist/vue.js"
></script>
<!-- 引入组件库 -->
<script
src=
"https://unpkg.com/element-ui/lib/index.js"
></script>
<script
src=
"./static/js/common.js"
></script>
<script
src=
"./static/js/cooperate/detail.js"
></script>
<script>
new
Vue
({
el
:
'#app'
,
components
:
{
commonHeader
,
vDetail
},
data
:
function
()
{
return
{
activeIndex
:
'3'
,
tabindex
:
'3'
,
modal
:
null
,
loading
:
true
,
active_header
:
'./cooperate.html'
,
modalData
:[],
menus
:[
{
name
:
'正常'
,
value
:
'1'
,
icon
:
'el-icon-upload2'
},
{
name
:
'停用'
,
value
:
'2'
,
icon
:
'el-icon-sort'
},
{
name
:
'全部'
,
value
:
'3'
,
icon
:
'el-icon-date'
},
],
search
:{
type
:
''
,
area
:
''
,
options1
:[],
options2
:[],
name
:
''
},
table
:{
current_page
:
1
,
page_count
:
7
,
total
:
50
,
},
tableData
:[
{
date
:
'精诚维修'
,
name
:
'张无极'
,
phone
:
'13800009999'
,
address
:
'上海市'
,
type
:
'空调 冰洗'
,
status
:
1
},
{
date
:
'精诚维修'
,
name
:
'张无极'
,
phone
:
'13800009999'
,
address
:
'上海市'
,
type
:
'空调 冰洗'
,
status
:
0
},
{
date
:
'精诚维修'
,
name
:
'张无极'
,
phone
:
'13800009999'
,
address
:
'上海市'
,
type
:
'空调 冰洗'
,
status
:
1
},
{
date
:
'精诚维修'
,
name
:
'张无极'
,
phone
:
'13800009999'
,
address
:
'上海市'
,
type
:
'空调 冰洗'
,
status
:
0
},
]
}
},
created
(){
setTimeout
(()
=>
{
this
.
loading
=
false
;
},
1000
)
},
methods
:{
handleSelect
(
key
,
keyPath
)
{
this
.
tabindex
=
key
;
switch
(
Number
(
key
)){
case
1
:
// this.modal = VAll
break
;
default
:
this
.
modal
=
null
break
;
}
},
handleCurrentChange
(
page
)
{
},
checkData
(
row
,
event
,
column
){
// debugger
this
.
modalData
=
row
;
this
.
modal
=
vDetail
;
console
.
log
(
this
.
modal
)
},
closeChild
(){
this
.
modal
=
null
},
}
})
</script>
</html>
new/message.html
deleted
100644 → 0
View file @
a0f0608f
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<link
rel=
"stylesheet"
href=
"https://unpkg.com/element-ui/lib/theme-chalk/index.css"
>
<link
rel=
"stylesheet"
href=
"./static/css/main.css"
>
<link
rel=
"stylesheet"
href=
"./static/css/animate.css"
>
</head>
<body>
<div
id=
"app"
>
<common-header
:modal-data=
"active_header"
></common-header>
<div
class=
"content"
>
</div>
</div>
</body>
<!-- 先引入 Vue -->
<script
src=
"https://unpkg.com/vue/dist/vue.js"
></script>
<!-- 引入组件库 -->
<script
src=
"https://unpkg.com/element-ui/lib/index.js"
></script>
<script
src=
"./static/js/common.js"
></script>
<script>
new
Vue
({
el
:
'#app'
,
components
:
{
commonHeader
},
data
:
function
()
{
return
{
activeIndex
:
'1'
,
tabindex
:
'1'
,
active_header
:
'./message.html'
,
}
},
methods
:{
}
})
</script>
</html>
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