Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
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
xugong
hls-xcmg-vue-app
Commits
c24d1255
Commit
c24d1255
authored
Dec 27, 2019
by
linxin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'liuxin' into develop
parents
5e430237
3ca48a78
Pipeline
#4364
canceled with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
57 additions
and
20 deletions
+57
-20
add-undertake.vue
src/pages/contractCreate/add-undertake.vue
+55
-17
create-base-info.vue
src/pages/contractCreate/create-base-info.vue
+2
-3
No files found.
src/pages/contractCreate/add-undertake.vue
View file @
c24d1255
...
@@ -35,7 +35,7 @@ export default {
...
@@ -35,7 +35,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
undertakeList
:
[],
// 担保人列表
undertakeList
:
[],
// 担保人列表
selectUdertake
:
[]
,
selectUdertake
:
{}
,
pagenum
:
1
,
pagenum
:
1
,
keyWord
:
''
,
keyWord
:
''
,
showFlag
:
false
,
showFlag
:
false
,
...
@@ -105,20 +105,7 @@ export default {
...
@@ -105,20 +105,7 @@ export default {
})
})
},
},
addUndertake
(
e
)
{
addUndertake
(
e
)
{
if
(
this
.
selectUdertake
.
length
===
0
)
{
this
.
selectUdertake
=
e
this
.
selectUdertake
.
push
(
e
)
}
else
{
let
index
=
this
.
selectUdertake
.
findIndex
(
item
=>
{
if
(
item
.
bp_name
===
e
.
bp_name
)
{
return
true
}
})
if
(
index
!==
-
1
)
{
hlsPopup
.
showLongCenter
(
'您已添加了该担保人'
)
}
else
{
this
.
selectUdertake
.
push
(
e
)
}
}
this
.
$emit
(
'addUnder'
,
this
.
selectUdertake
)
this
.
$emit
(
'addUnder'
,
this
.
selectUdertake
)
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
showFlag
=
false
this
.
showFlag
=
false
...
@@ -167,7 +154,7 @@ export default {
...
@@ -167,7 +154,7 @@ export default {
},
},
}
}
</
script
>
</
script
>
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
>
#add-person {
#add-person {
position: absolute;
position: absolute;
top:0;
top:0;
...
@@ -182,7 +169,6 @@ export default {
...
@@ -182,7 +169,6 @@ export default {
width: 100%;
width: 100%;
height: 1.02rem;
height: 1.02rem;
z-index: 100;
z-index: 100;
margin-bottom: 8px;
input {
input {
background: url("../../assets/contractStart/search1.png") 320px no-repeat;
background: url("../../assets/contractStart/search1.png") 320px no-repeat;
background-size: 16px 16px;
background-size: 16px 16px;
...
@@ -211,5 +197,57 @@ export default {
...
@@ -211,5 +197,57 @@ export default {
border: 2px solid #bcc6ff;
border: 2px solid #bcc6ff;
}
}
}
}
.content {
position: absolute;
top: 0;
}
.scrollContent {
padding-top: 1rem;
padding-bottom: 120px;
}
.tab-style {
width: 100%;
position: absolute;
}
}
.platform-ios {
#confirmList {
.scrollContent {
padding-top: 1.4rem;
}
}
}
@media (device-width: 375px) and (device-height: 812px) and (-webkit-min-device-pixel-ratio: 3) {
.platform-ios {
#person {
.scrollContent {
padding-top: 1.8rem;
}
}
}
}
// iPhoneXR适配
@media (device-width: 414px) and (device-height: 896px) {
.platform-ios {
#person {
.scrollContent {
padding-top: 1.8rem;
}
.search {
input {
background: url("../../assets/contractStart/search1.png") 320px
no-repeat;
background-size: 16px 16px;
background-color: rgba(239, 239, 239, 0.55);
padding: 8px 12px;
border-radius: 4px;
width: 100%;
font-family: PingFangSC-Regular;
font-size: 14px;
color: #888c8f;
}
}
}
}
}
}
</
style
>
</
style
>
src/pages/contractCreate/create-base-info.vue
View file @
c24d1255
...
@@ -383,8 +383,7 @@ export default {
...
@@ -383,8 +383,7 @@ export default {
vm
.
pageNum
=
1
vm
.
pageNum
=
1
vm
.
pageNumSearch
=
1
vm
.
pageNumSearch
=
1
vm
.
undertakeList
=
[]
vm
.
undertakeList
=
[]
vm
.
bp_class
=
'NP'
vm
.
bp_class
=
window
.
localStorage
.
bp_class_tenant
// vm.bp_class = window.localStorage.bp_class_tenant
if
(
from
.
name
===
'SalesInfo'
)
{
if
(
from
.
name
===
'SalesInfo'
)
{
vm
.
fromPutted
=
false
vm
.
fromPutted
=
false
Object
.
keys
(
vm
.
saveInfo
).
forEach
(
i
=>
{
Object
.
keys
(
vm
.
saveInfo
).
forEach
(
i
=>
{
...
@@ -434,7 +433,7 @@ export default {
...
@@ -434,7 +433,7 @@ export default {
if
(
index
!==
-
1
)
{
if
(
index
!==
-
1
)
{
hlsPopup
.
showLongCenter
(
'您已添加了该担保人'
)
hlsPopup
.
showLongCenter
(
'您已添加了该担保人'
)
}
else
{
}
else
{
this
.
selectUdertake
.
push
(
...
e
)
this
.
selectUdertake
.
push
(
e
)
}
}
},
},
addPerson
()
{
addPerson
()
{
...
...
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