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
e2150d44
Commit
e2150d44
authored
Mar 20, 2020
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
332ec86c
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
66 additions
and
35 deletions
+66
-35
add-undertake.vue
src/pages/contractCreate/add-undertake.vue
+36
-20
create-base-info.vue
src/pages/contractCreate/create-base-info.vue
+24
-12
baseInfo.vue
src/pages/userBindNew/org/baseInfo.vue
+3
-3
index.js
src/router/index.js
+3
-0
No files found.
src/pages/contractCreate/add-undertake.vue
View file @
e2150d44
<
template
>
<h-view
v-if=
"showFlag"
id=
"add-person"
>
<h-header
:proportion=
"[1,4,1]"
class=
"bar-custom"
>
<span
slot=
"center"
style=
"color:#fff"
>
添加担保人
</span>
<span
slot=
"right"
style=
"color:#fff"
@
click=
"showFlag=false"
>
取消
</span>
<h-view
id=
"add-person"
>
<h-header
:proportion=
"[5,1,1]"
class=
"bar-custom"
>
<div
slot=
"left"
class=
"h-header-btn"
>
<img
src=
"@/assets/userBind/arrow.png"
@
click=
"$routeGo()"
>
<span>
合同创建
</span>
</div>
</h-header>
<div
class=
"search has-header"
>
<input
v-model=
"keyWord"
placeholder=
"请输入担保人名称/证件号码"
>
...
...
@@ -26,12 +28,12 @@
</
template
>
<
script
>
export
default
{
props
:
{
bp_agent_id
:
{
type
:
String
,
default
:
''
,
},
},
//
props: {
//
bp_agent_id: {
//
type: String,
//
default: '',
//
},
//
},
data
()
{
return
{
undertakeList
:
[],
// 担保人列表
...
...
@@ -39,10 +41,17 @@ export default {
pagenum
:
1
,
keyWord
:
''
,
showFlag
:
false
,
bp_agent_id
:
this
.
$route
.
params
.
bp_agent_id
,
}
},
watch
:
{
},
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
vm
.
init
()
vm
.
getUndertake
()
})
},
methods
:
{
show
()
{
...
...
@@ -50,7 +59,7 @@ export default {
},
init
()
{
this
.
undertakeList
=
[]
this
.
selectUdertake
=
[]
this
.
selectUdertake
=
{}
this
.
pagenum
=
1
this
.
keyWord
=
''
},
...
...
@@ -105,10 +114,17 @@ export default {
})
},
addUndertake
(
e
)
{
let
vm
=
this
this
.
selectUdertake
=
e
this
.
$emit
(
'addUnder'
,
this
.
selectUdertake
)
//
this.$emit('addUnder', this.selectUdertake)
setTimeout
(()
=>
{
this
.
showFlag
=
false
vm
.
$router
.
replace
({
name
:
'CreateBaseInfo'
,
params
:
{
selectUdertake
:
vm
.
selectUdertake
,
},
})
vm
.
$router
.
go
(
-
1
)
},
100
)
},
getUndertake
()
{
// 担保人查询
...
...
@@ -203,22 +219,22 @@ export default {
top: 0;
}
.scrollContent {
padding-top: 2
.92
rem;
padding-top: 2rem;
padding-bottom: 20px;
}
}
.platform-ios {
#person {
#
add-
person {
.scrollContent {
padding-top:
1
.4rem;
padding-top:
2
.4rem;
}
}
}
@media (device-width: 375px) and (device-height: 812px) and (-webkit-min-device-pixel-ratio: 3) {
.platform-ios {
#person {
#
add-
person {
.scrollContent {
padding-top:
1
.8rem;
padding-top:
2
.8rem;
}
}
}
...
...
@@ -226,9 +242,9 @@ export default {
// iPhoneXR适配
@media (device-width: 414px) and (device-height: 896px) {
.platform-ios {
#person {
#
add-
person {
.scrollContent {
padding-top:
1
.8rem;
padding-top:
2
.8rem;
}
.search {
input {
...
...
src/pages/contractCreate/create-base-info.vue
View file @
e2150d44
...
...
@@ -382,15 +382,15 @@
<tab-button
class=
"before"
@
click
.
native=
"$routeGo()"
>
上一步
</tab-button>
<tab-button
class=
"next"
@
click
.
native=
"save"
>
下一步
</tab-button>
</bottom-tab>
<
AddUnderTake
ref=
"addperson"
:bp_agent_id=
"bp_agent_id"
@
addUnder=
"addUnder"
/
>
<
!--
<AddUnderTake
ref=
"addperson"
:bp_agent_id=
"bp_agent_id"
@
addUnder=
"addUnder"
/>
--
>
</h-view>
</
template
>
<
script
>
import
AddUnderTake
from
'../../pages/contractCreate/add-undertake'
//
import AddUnderTake from '../../pages/contractCreate/add-undertake'
export
default
{
components
:
{
AddUnderTake
,
},
//
components: {
//
AddUnderTake,
//
},
data
()
{
return
{
salesEnter
:
''
,
// 页面进入标识,该字段作用:第一次创建时即从销售页面进入进本信息、租赁信息、附件信息。用于判断后面页面录入数据后未保存则点击上一步,再次进入该页面数据丢失问题
...
...
@@ -585,6 +585,10 @@ export default {
vm
.
getSaveInfo
()
vm
.
getBaseInfo
()
},
0
)
}
else
if
(
from
.
name
===
'Addundertake'
)
{
if
(
vm
.
$route
.
params
.
selectUdertake
)
{
vm
.
addUnder
(
vm
.
$route
.
params
.
selectUdertake
)
}
}
})
},
...
...
@@ -664,17 +668,25 @@ export default {
}
},
addPerson
()
{
this
.
$refs
.
addperson
.
init
()
this
.
$refs
.
addperson
.
getUndertake
()
this
.
$refs
.
addperson
.
show
()
// this.$refs.addperson.init()
// this.$refs.addperson.getUndertake()
// this.$refs.addperson.show()
this
.
$router
.
push
({
name
:
'Addundertake'
,
params
:
{
bp_agent_id
:
this
.
bp_agent_id
,
},
})
},
makeData
()
{
let
obj
=
{}
if
(
this
.
selectUdertake
.
length
>
0
)
{
this
.
selectUdertake
.
forEach
((
i
,
index
,
arr
)
=>
{
obj
[
`bp_id_guta_
${
index
+
1
}
`
]
=
i
.
bp_guta_id
})
return
obj
}
},
getAgentInfo
()
{
let
vm
=
this
...
...
src/pages/userBindNew/org/baseInfo.vue
View file @
e2150d44
...
...
@@ -399,12 +399,12 @@
<div
v-if=
"!laImg"
@
click=
"LaUpload()"
>
<img
src=
"@/assets/userBind/camera.png"
>
</div>
<div
v-if=
"laImg
&& !isApproved"
class=
"licenseBox"
@
click=
"LaUpload(''
)"
>
<div
v-if=
"laImg
"
class=
"licenseBox"
@
click=
"LaUpload(
)"
>
<img
:src=
"laImg"
style=
"width: 100%;height: 100%;margin: 0"
>
</div>
<
div
v-if=
"isApproved"
class=
"licenseBox"
>
<!--v-if="licenseImg && isApproved"--
>
<
!--
<div
v-if=
"isApproved"
class=
"licenseBox"
>
<img
v-if=
"laImg"
:src=
"laImg"
style=
"width: 100%;height: 100%;margin: 0"
@
click=
"showBigPicture(laImg)"
>
</div>
</div>
-->
</div>
</div>
<!--
...
...
src/router/index.js
View file @
e2150d44
...
...
@@ -126,6 +126,7 @@ import CreateBaseInfo from '@/pages/contractCreate/create-base-info'
import
CreateRentInfo
from
'@/pages/contractCreate/creat-rent-info'
import
CreateEnclosureInfo
from
'@/pages/contractCreate/create-enclosure-info'
import
previewPdf
from
'@/pages/contractSigning/previewPdf'
import
Addundertake
from
'@/pages/contractCreate/add-undertake'
import
About
from
'@/pages/myInfo/About'
import
UserAgree
from
'@/pages/myInfo/UserAgreement'
...
...
@@ -302,6 +303,8 @@ export default new Router({
{
path
:
'/create-rent-info'
,
component
:
CreateRentInfo
,
name
:
'CreateRentInfo'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/create-enclosure-info'
,
component
:
CreateEnclosureInfo
,
name
:
'CreateEnclosureInfo'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/previewPdf'
,
component
:
previewPdf
,
name
:
'previewPdf'
,
meta
:
{
keepAlive
:
false
}},
{
path
:
'/add-undertake'
,
component
:
Addundertake
,
name
:
'Addundertake'
,
meta
:
{
keepAlive
:
false
}},
// 我的发票
{
path
:
'/invoice'
,
component
:
MyInvoice
,
name
:
'MyInvoice'
,
meta
:
{
keepAlive
:
false
}},
{
...
...
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