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
acb0de8c
Commit
acb0de8c
authored
May 24, 2019
by
余苗苗
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set 修改
parent
2a6ebfe4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
9 deletions
+29
-9
index.html
new/cooperate/index.html
+5
-5
addOperate.js
new/cooperate/js/addOperate.js
+11
-2
detail.js
new/cooperate/js/detail.js
+13
-2
No files found.
new/cooperate/index.html
View file @
acb0de8c
...
...
@@ -46,18 +46,18 @@
</table>
<table
class=
"table-body table-cell"
v-for=
"(item,index) in tableData"
:key=
'index'
>
<tr
>
<td>
{{item.date}}
</td>
<td
class=
"firsttext_font"
>
{{item.date}}
</td>
<td>
<span
class=
'cursor firsttext_blue'
>
<span
class=
'cursor firsttext_blue
font-12
'
>
{{item.name }}
</span>
<span
clas
=
"thirdtext_font
"
>
{{item.phone}}
</span>
<span
clas
s=
"firsttext_font font-12
"
>
{{item.phone}}
</span>
</td>
<td>
<span>
{{item.address }}
</span>
<span
class=
"firsttext_font font-12"
>
{{item.address }}
</span>
</td>
<td>
<span>
{{item.type }}
</span>
<span
class=
"firsttext_font font-12"
>
{{item.type }}
</span>
</td>
<td
@
click=
'checkData(item)'
class=
"cursor"
>
<div
class=
'text_center'
>
...
...
new/cooperate/js/addOperate.js
View file @
acb0de8c
// 新增授权点
var
addOperate
=
{
template
:
`
<el-dialog width="660px" :visible.sync="dialog.show" custom-class='cooperate-detail add-operate ' @close="handleClose" :append-to-body="true" :show-close='true'>
<el-dialog width="660px"
:top="resizeTop"
:visible.sync="dialog.show" custom-class='cooperate-detail add-operate ' @close="handleClose" :append-to-body="true" :show-close='true'>
<div slot='title' class="el-dialog__title">
<i class="iconfont iconhezuo"></i>
{{dialog.title}}
...
...
@@ -140,7 +140,7 @@ var addOperate={
},
data
(){
return
{
uoploadApi
:
''
,
uoploadApi
:
''
,
resizeTop
:
'5vh'
,
dialog
:{
show
:
true
,
title
:
''
,
tab
:
'1'
,
},
...
...
@@ -188,6 +188,7 @@ var addOperate={
}
},
created
(){
this
.
resizeTop
=
(
document
.
documentElement
.
clientHeight
/
2
-
319
)
+
'px'
;
if
(
this
.
modalData
.
type
==
'creat'
){
this
.
dialog
.
title
=
'新增授权点'
;
this
.
isCreat
=
true
;
...
...
@@ -196,6 +197,14 @@ var addOperate={
this
.
isCreat
=
false
;
this
.
getinfo
()
}
//屏幕缩放时大小适应
const
that
=
this
;
window
.
onresize
=
function
temp
()
{
that
.
resizeTop
=
(
document
.
documentElement
.
clientHeight
/
2
-
319
)
+
'px'
;
};
},
beforeDestroy
()
{
window
.
onresize
=
null
},
methods
:{
getinfo
(){
...
...
new/cooperate/js/detail.js
View file @
acb0de8c
// 详情
var
vDetail
=
{
template
:
`
<el-dialog width="570px" :visible.sync="dialog.show" custom-class='cooperate-detail animated slideInRight' @close="handleClose" :append-to-body="true" :show-close='true'>
<el-dialog width="570px"
:top="resizeTop"
:visible.sync="dialog.show" custom-class='cooperate-detail animated slideInRight' @close="handleClose" :append-to-body="true" :show-close='true'>
<div slot='title' class="el-dialog__title">
<i class="iconfont iconhezuo"></i>
{{dialog.title}}
...
...
@@ -69,12 +69,23 @@ var vDetail={
},
data
(){
return
{
detail
:{
},
detail
:{
},
resizeTop
:
'5vh'
,
dialog
:{
show
:
true
,
title
:
'授权点--精诚维修'
,
tab
:
'1'
,
},
}
},
created
(){
this
.
resizeTop
=
(
document
.
documentElement
.
clientHeight
/
2
-
319
)
+
'px'
;
//屏幕缩放时大小适应
const
that
=
this
;
window
.
onresize
=
function
temp
()
{
that
.
resizeTop
=
(
document
.
documentElement
.
clientHeight
/
2
-
319
)
+
'px'
;
};
},
beforeDestroy
()
{
window
.
onresize
=
null
},
methods
:{
handleClose
()
{
this
.
$emit
(
'close'
)
...
...
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