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
fbd77cd9
Commit
fbd77cd9
authored
Dec 16, 2023
by
14699
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix-接口联调
parent
0066ac2d
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
561 additions
and
851 deletions
+561
-851
contract-detail.vue
src/pages/contractSigning/contract-detail.vue
+505
-833
contract-signing.vue
src/pages/contractSigning/contract-signing.vue
+4
-4
base-info.vue
src/pages/userBindNew/np/base-info.vue
+52
-14
No files found.
src/pages/contractSigning/contract-detail.vue
View file @
fbd77cd9
This diff is collapsed.
Click to expand it.
src/pages/contractSigning/contract-signing.vue
View file @
fbd77cd9
...
...
@@ -220,9 +220,9 @@ export default {
contractList
()
{
let
vm
=
this
if
(
vm
.
num
===
1
)
{
let
url
=
$config
.
basePath
+
'
prj_confirm
_list_query'
let
url
=
$config
.
basePath
+
'
zm_prj
_list_query'
let
param
=
{
// user_
phone: window.localStorage.user_phone,
phone
:
window
.
localStorage
.
user_phone
,
bp_id
:
JSON
.
parse
(
window
.
localStorage
.
now_user_bp_bind_id
).
bp_id
,
pagesize
:
10
,
pagenum
:
vm
.
submitPagenum
,
...
...
@@ -248,13 +248,13 @@ export default {
}
})
}
else
if
(
vm
.
num
===
2
)
{
let
url
=
$config
.
basePath
+
'
prj_confirm
_list_query'
let
url
=
$config
.
basePath
+
'
zm_prj
_list_query'
let
param
=
{
pagesize
:
10
,
pagenum
:
vm
.
approvedPagenum
,
searchInput
:
vm
.
searchInput
,
confirm_status
:
'APPROVED'
,
// user_
phone: window.localStorage.user_phone,
phone
:
window
.
localStorage
.
user_phone
,
bp_id
:
JSON
.
parse
(
window
.
localStorage
.
now_user_bp_bind_id
).
bp_id
,
}
vm
.
hlsPopup
.
showLoading
(
'数据加载中'
)
...
...
src/pages/userBindNew/np/base-info.vue
View file @
fbd77cd9
...
...
@@ -27,7 +27,13 @@
</item>
<item>
<div
slot=
"name"
class=
"required"
>
主机厂
</div>
<span
slot=
"content"
>
{{
baseInfo
.
factory_bp_name
}}
</span>
<input
slot=
"content"
v-model=
"baseInfo.bp_factory_name"
placeholder=
"请选择"
type=
"text"
readonly
@
click=
"selectFactoryBpName()"
/>
</item>
<!--
<item-->
<!-- v-if="isApproved && isMultiRole && !hasMultiRole"-->
...
...
@@ -121,7 +127,6 @@
slot=
"content"
v-model=
"baseInfo.bp_name"
placeholder=
"请输入姓名"
class=
"auto"
/>
</item>
<item>
...
...
@@ -130,7 +135,6 @@
slot=
"content"
v-model=
"baseInfo.id_card_no"
placeholder=
"请输入身份证号码"
class=
"auto"
/>
</item>
<item>
...
...
@@ -142,7 +146,6 @@
cols=
"30"
rows=
"1"
placeholder=
"请输入户籍地址"
class=
"auto"
@
input=
"addRows(baseInfo.address_on_resident_booklit)"
/>
</item>
...
...
@@ -153,7 +156,6 @@
v-model=
"baseInfo.id_card_date_from"
readonly
placeholder=
"请输入身份证有效期从"
class=
"auto"
/>
<!--
<span
class=
"auto"
>
{{
baseInfo
.
id_card_date_from
|
dateFormat
}}
</span>
-->
</item>
...
...
@@ -164,7 +166,6 @@
readonly
v-model=
"baseInfo.id_card_date_to"
placeholder=
"请输入身份证有效期到"
class=
"auto"
/>
</item>
<item>
...
...
@@ -421,7 +422,9 @@ export default {
// working_place_sp: '',
// address_sp: '',
user_phone
:
window
.
localStorage
.
user_phone
,
bp_id
:
JSON
.
parse
(
window
.
localStorage
.
handleUser
).
bp_id
bp_id
:
JSON
.
parse
(
window
.
localStorage
.
handleUser
).
bp_id
,
bp_factory_id
:
''
,
bp_factory_name
:
''
,
},
idCardFront
:
''
,
// 身份证正面图片
idCardBack
:
''
,
// 身份证反面图片
...
...
@@ -487,10 +490,11 @@ export default {
},
created
()
{
this
.
getBpType
()
this
.
getEducationBackground
()
this
.
getMarital
()
this
.
getProvince
()
// this.getBpType()
// this.getEducationBackground()
// this.getMarital()
// this.getProvince()
this
.
getFactoryBpName
()
},
beforeRouteEnter
(
to
,
from
,
next
)
{
// 绑定查询入口
...
...
@@ -543,6 +547,8 @@ export default {
address_sp
:
''
,
user_phone
:
window
.
localStorage
.
user_phone
,
bp_id
:
JSON
.
parse
(
window
.
localStorage
.
handleUser
).
bp_id
,
bp_factory_id
:
''
,
bp_factory_name
:
''
,
}
vm
.
idCardFront
=
''
// 身份证正面图片
...
...
@@ -576,8 +582,8 @@ export default {
vm
.
from
=
true
window
.
localStorage
.
setItem
(
'from'
,
true
)
vm
.
basicInfoQuery
()
vm
.
loadItemList
(
true
)
// 附件查询
vm
.
getMultipleRole
()
// 获取第二角色
//
vm.loadItemList(true) // 附件查询
//
vm.getMultipleRole()// 获取第二角色
}
else
if
(
from
.
name
===
'UserBind'
)
{
vm
.
list
=
{}
window
.
localStorage
.
setItem
(
'from'
,
false
)
...
...
@@ -624,6 +630,8 @@ export default {
address_sp
:
''
,
user_phone
:
window
.
localStorage
.
user_phone
,
bp_id
:
JSON
.
parse
(
window
.
localStorage
.
handleUser
).
bp_id
,
bp_factory_id
:
''
,
bp_factory_name
:
''
,
}
vm
.
idCardFrontUpload
=
''
vm
.
idCardBackUpload
=
''
...
...
@@ -1769,7 +1777,37 @@ export default {
},
})
},
getFactoryBpName
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'bp_factory_query'
let
param
=
{}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
factoryBpNameList
=
res
.
lists
.
map
(
item
=>
{
return
{
code
:
item
.
bp_factory_id
,
code_name
:
item
.
bp_factory_name
,
}
})
}
})
},
selectFactoryBpName
(
e
)
{
let
vm
=
this
vm
.
hlsPopup
.
selectList
({
list
:
vm
.
factoryBpNameList
,
code
:
'factory_bp_id'
,
object
:
{},
returnItem
:
function
(
index
,
obj
)
{
console
.
log
(
obj
)
vm
.
baseInfo
.
bp_factory_id
=
obj
.
factory_bp_id
vm
.
baseInfo
.
bp_factory_name
=
obj
.
factory_bp_id_n
},
})
},
},
}
</
script
>
<
style
lang=
"less"
scoped
>
...
...
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