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
a5887454
Commit
a5887454
authored
Dec 27, 2019
by
786817560
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'特批申请书保存'
parent
764a182e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
49 additions
and
13 deletions
+49
-13
contract-create-list.vue
src/pages/contractCreate/contract-create-list.vue
+1
-1
creat-rent-info.vue
src/pages/contractCreate/creat-rent-info.vue
+6
-6
create-enclosure-info.vue
src/pages/contractCreate/create-enclosure-info.vue
+42
-6
No files found.
src/pages/contractCreate/contract-create-list.vue
View file @
a5887454
<!--
* @Author: your name
* @Date: 2019-09-29 10:02:11
* @LastEditTime : 2019-12-27
09:44:12
* @LastEditTime : 2019-12-27
10:28:37
* @LastEditors : Please set LastEditors
* @Description: In User Settings Edit
-->
...
...
src/pages/contractCreate/creat-rent-info.vue
View file @
a5887454
...
...
@@ -403,9 +403,9 @@ export default {
},
save
()
{
let
vm
=
this
vm
.
$router
.
push
({
name
:
'CreateEnclosureInfo'
,
})
//
vm.$router.push({
//
name: 'CreateEnclosureInfo',
//
})
let
url
=
process
.
env
.
basePath
+
'prj_lease_info_save'
vm
.
saveInfo
.
down_payment_ratio
=
(
vm
.
saveInfo
.
down_payment_ratio_n
.
replace
(
'%'
,
''
)
/
100
).
toFixed
(
2
)
vm
.
saveInfo
.
lease_charge_ratio
=
(
vm
.
saveInfo
.
lease_charge_ratio_n
.
replace
(
'%'
,
''
)
/
100
).
toFixed
(
2
)
...
...
@@ -426,9 +426,9 @@ export default {
},
next
()
{
let
vm
=
this
vm
.
$router
.
push
({
name
:
'CreateEnclosureInfo'
,
})
//
vm.$router.push({
//
name: 'CreateEnclosureInfo',
//
})
if
(
vm
.
isComputed
)
{
let
url
=
process
.
env
.
basePath
+
'prj_product_info_save'
let
param
=
{
...
...
src/pages/contractCreate/create-enclosure-info.vue
View file @
a5887454
...
...
@@ -94,7 +94,7 @@
</div>
</div>
</div>
<div
class=
"card-upload plus"
@
click=
"ocrShow('
',''
)"
>
<div
class=
"card-upload plus"
@
click=
"ocrShow('
特批申请书',checkId
)"
>
<img
src=
"@/assets/userBind/camera.png"
class=
"upload-btn"
>
</div>
</div>
...
...
@@ -125,7 +125,6 @@ export default {
houseImg
:
''
,
carImg
:
''
,
marryImg
:
''
,
applicationImg
:
''
,
licenseImg
:
''
,
house_id
:
''
,
car_id
:
''
,
...
...
@@ -140,16 +139,56 @@ export default {
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
if
(
from
.
name
===
'CreateRentInfo'
)
{
vm
.
idCardFront
=
''
vm
.
idCardBack
=
''
vm
.
houseImg
=
''
vm
.
carImg
=
''
vm
.
marryImg
=
''
vm
.
licenseImg
=
''
vm
.
upload_list
=
[]
vm
.
dowload_list
=
[]
vm
.
cddItemList
=
[]
vm
.
bpClass
=
window
.
localStorage
.
bp_class
vm
.
status
=
window
.
localStorage
.
user_bp_status
vm
.
loadItemList
()
// vm.getPrj
Id()
vm
.
queryCheck
Id
()
}
})
},
methods
:
{
// 特批证书check_id查询
queryCheckId
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'prj_atm_query'
let
param
=
{
project_id
:
window
.
localStorage
.
project_id
,
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
console
.
log
(
'特批证书check_id查询'
,
res
)
if
(
res
.
result
===
'S'
)
{
vm
.
checkId
=
res
.
info
.
check_id
vm
.
certificateQuery
()
}
})
},
// 特批证书查询
certificateQuery
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'attachment_list_query'
// 附件查询
let
param
=
{
check_id
:
vm
.
checkId
,
}
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
dowload_list
=
res
.
lists
}
})
},
// 查看大图
showBigPicture
(
pic
)
{
let
vm
=
this
...
...
@@ -441,9 +480,6 @@ export default {
}
// vm.house_id = res.lists[0].attachment_id
break
case
'XXX'
:
// 特批申请书
vm
.
dowload_list
=
[...
res
.
lists
]
break
default
:
}
}
else
{
...
...
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