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
8dbbfcbb
Commit
8dbbfcbb
authored
Oct 21, 2019
by
linxin
Browse files
Options
Browse Files
Download
Plain Diff
解决冲突
parents
60446c13
f3db6a2e
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
408 additions
and
165 deletions
+408
-165
date.png
src/assets/trial/date.png
+0
-0
contract-detail.vue
src/pages/contractSigning/contract-detail.vue
+50
-18
contract-signing.vue
src/pages/contractSigning/contract-signing.vue
+138
-76
contract-details.vue
src/pages/distributorSign/contract-details.vue
+3
-3
personal.vue
src/pages/distributorSign/personal.vue
+2
-2
financing-details.vue
src/pages/financingTrial/financing-details.vue
+22
-2
base.vue
src/pages/intoApproval/intoApproval/base.vue
+3
-3
product-detailed.vue
src/pages/productQuery/product-detailed.vue
+37
-23
product-list.vue
src/pages/productQuery/product-list.vue
+8
-3
naturePerson.vue
src/pages/userBind/np/naturePerson.vue
+23
-8
enterprise.vue
src/pages/userBind/org/enterprise.vue
+121
-27
filter.js
src/scripts/filter.js
+1
-0
No files found.
src/assets/trial/date.png
0 → 100644
View file @
8dbbfcbb
396 Bytes
src/pages/contractSigning/contract-detail.vue
View file @
8dbbfcbb
<!--
* @Author: your name
* @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-10-21 14:00:54
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
-->
<
template
>
<
template
>
<h-view
id=
"contract-details"
class=
"public-style"
>
<h-view
id=
"contract-details"
class=
"public-style"
>
<div
v-show=
"isshow"
class=
"all"
>
<div
v-show=
"isshow"
class=
"all"
>
...
@@ -23,51 +30,51 @@
...
@@ -23,51 +30,51 @@
<list-item
:item-height=
"44"
class=
"second-part"
>
<list-item
:item-height=
"44"
class=
"second-part"
>
<item>
<item>
<div
slot=
"name"
>
商务政策
</div>
<div
slot=
"name"
>
商务政策
</div>
<section
slot=
"content"
>
零手续费产品
</section>
<section
slot=
"content"
>
{{
conditionInfo
.
product_plan_id_n
}}
</section>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
设备总价
</div>
<div
slot=
"name"
>
设备总价
</div>
<section
slot=
"content"
>
150,0000.00
</section>
<section
slot=
"content"
>
{{
conditionInfo
.
equip_price
|
currency
}}
</section>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
融资金额
</div>
<div
slot=
"name"
>
融资金额
</div>
<section
slot=
"content"
>
100,000.00
</section>
<section
slot=
"content"
>
{{
Math
.
round
(
conditionInfo
.
finance_amount
)
|
currency
}}
</section>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
首付款
</div>
<div
slot=
"name"
>
首付款
</div>
<section
slot=
"content"
>
100,000.00
</section>
<section
slot=
"content"
>
{{
Math
.
round
(
conditionInfo
.
down_payment
)
|
currency
}}
</section>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
保证金比例
</div>
<div
slot=
"name"
>
保证金比例
</div>
<section
slot=
"content"
>
10%
</section>
<section
slot=
"content"
>
{{
conditionInfo
.
deposit_ratio_n
}}
</section>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
保证金
</div>
<div
slot=
"name"
>
保证金
</div>
<section
slot=
"content"
>
150,000.00
</section>
<section
slot=
"content"
>
{{
Math
.
round
(
conditionInfo
.
deposit
)
|
currency
}}
</section>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
手续费比例
</div>
<div
slot=
"name"
>
手续费比例
</div>
<section
slot=
"content"
>
5%
</section>
<section
slot=
"content"
>
{{
conditionInfo
.
lease_charge_ratio_n
}}
</section>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
手续费
</div>
<div
slot=
"name"
>
手续费
</div>
<section
slot=
"content"
>
7,500.00
</section>
<section
slot=
"content"
>
{{
Math
.
round
(
conditionInfo
.
lease_charge
)
|
currency
}}
</section>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
预计付款日
</div>
<div
slot=
"name"
>
预计付款日
</div>
<section
slot=
"content"
>
2019-08-01
</section>
<section
slot=
"content"
>
{{
conditionInfo
.
lease_start_date
}}
</section>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
还款周期
</div>
<div
slot=
"name"
>
还款周期
</div>
<section
slot=
"content"
>
月
</section>
<section
slot=
"content"
>
{{
conditionInfo
.
annual_pay_times_n
}}
</section>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
租赁期数
</div>
<div
slot=
"name"
>
租赁期数
</div>
<section
slot=
"content"
>
6
</section>
<section
slot=
"content"
>
{{
conditionInfo
.
lease_times
}}
</section>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
年利率
</div>
<div
slot=
"name"
>
年利率
</div>
<section
slot=
"content"
>
6.5%
</section>
<section
slot=
"content"
>
{{
conditionInfo
.
int_rate_n
}}
</section>
</item>
</item>
</list-item>
</list-item>
<div
class=
"repay-plan"
>
<div
class=
"repay-plan"
>
...
@@ -77,15 +84,15 @@
...
@@ -77,15 +84,15 @@
<list-item
:item-height=
"44"
class=
"second-part"
>
<list-item
:item-height=
"44"
class=
"second-part"
>
<item>
<item>
<div
slot=
"name"
>
参数项
</div>
<div
slot=
"name"
>
参数项
</div>
<section
slot=
"content"
>
GTZ226
</section>
<section
slot=
"content"
>
{{
conditionInfo
.
product_code
}}
</section>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
产品线
</div>
<div
slot=
"name"
>
产品线
</div>
<section
slot=
"content"
>
起重机
</section>
<section
slot=
"content"
>
{{
conditionInfo
.
product_name
}}
</section>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
产品数量
</div>
<div
slot=
"name"
>
产品数量
</div>
<section
slot=
"content"
>
10
</section>
<section
slot=
"content"
>
{{
conditionInfo
.
product_num
}}
</section>
</item>
</item>
</list-item>
</list-item>
...
@@ -94,8 +101,8 @@
...
@@ -94,8 +101,8 @@
<img
src=
"@/assets/constractSigning/work.png"
alt=
""
style=
"width:32px"
>
<img
src=
"@/assets/constractSigning/work.png"
alt=
""
style=
"width:32px"
>
</div>
</div>
<div
class=
"center"
>
<div
class=
"center"
>
<p>
业务经办:
张三
</p>
<p>
业务经办:
{{
conditionInfo
.
bp_user_id_n
}}
</p>
<p>
联系电话:
17890765336
</p>
<p>
联系电话:
{{
conditionInfo
.
agent_phone
}}
</p>
</div>
</div>
<div
class=
"right"
>
<div
class=
"right"
>
<img
src=
"@/assets/constractSigning/phone.png"
alt=
""
style=
"width:30px"
>
<img
src=
"@/assets/constractSigning/phone.png"
alt=
""
style=
"width:30px"
>
...
@@ -164,6 +171,7 @@ export default {
...
@@ -164,6 +171,7 @@ export default {
return
{
return
{
isshow
:
false
,
// 提示框的显示与隐藏
isshow
:
false
,
// 提示框的显示与隐藏
num
:
1
,
num
:
1
,
conditionInfo
:
{},
check1
:
Check1
,
check1
:
Check1
,
check2
:
Check2
,
check2
:
Check2
,
uncheck1
:
unCheck1
,
uncheck1
:
unCheck1
,
...
@@ -172,7 +180,31 @@ export default {
...
@@ -172,7 +180,31 @@ export default {
},
},
computed
:
{},
computed
:
{},
watch
:
{},
watch
:
{},
beforeRouteEnter
(
to
,
from
,
next
)
{
if
(
from
.
name
===
'ContractSigning'
)
{
next
(
vm
=>
{
vm
.
conditionQuery
()
})
}
next
()
},
methods
:
{
methods
:
{
// 合同商务条件查询
conditionQuery
()
{
let
vm
=
this
let
url
=
$config
.
basePath
+
'con_business_query'
let
param
=
{
project_id
:
this
.
$route
.
params
.
project_id
,
}
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
console
.
log
(
'商务条件'
,
res
)
if
(
res
.
result
===
'S'
)
{
vm
.
conditionInfo
=
res
.
info
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
// 跳转合同详情
// 跳转合同详情
goContractContent
(
name
)
{
goContractContent
(
name
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
...
@@ -194,7 +226,7 @@ export default {
...
@@ -194,7 +226,7 @@ export default {
},
},
}
}
</
script
>
</
script
>
<
style
lang=
'less'
>
<
style
lang=
'less'
type=
"text/less"
>
#contract-details {
#contract-details {
.all{
.all{
position: absolute;
position: absolute;
...
...
src/pages/contractSigning/contract-signing.vue
View file @
8dbbfcbb
<!--
* @Author: your name
* @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-10-21 11:09:20
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
-->
<
template
>
<
template
>
<h-view
class=
"contract-signing"
>
<h-view
class=
"contract-signing"
>
<h-header
:proportion=
"[5,1,1]"
class=
"bar-custom"
>
<h-header
:proportion=
"[5,1,1]"
class=
"bar-custom"
>
...
@@ -17,26 +24,51 @@
...
@@ -17,26 +24,51 @@
</div>
</div>
</div>
</div>
<h-content>
<h-content
v-if=
"num === 1"
>
<div
v-for=
"(item,index) in
contractMsg
"
:key=
"index"
class=
"contract-list"
>
<div
v-for=
"(item,index) in
submitLists
"
:key=
"index"
class=
"contract-list"
>
<div
class=
"item"
>
<div
class=
"item"
>
<img
src=
"@/assets/constractSigning/Incoming.png"
alt=
""
style=
"height:18px"
>
<img
src=
"@/assets/constractSigning/Incoming.png"
alt=
""
style=
"height:18px"
>
<p
class=
"incoming-num"
>
进件号
</p>
<p
class=
"incoming-num"
>
进件号
</p>
<p
class=
"code"
>
{{
item
.
code
}}
</p>
<p
class=
"code"
>
{{
item
.
project_number
}}
</p>
</div>
</div>
<div
class=
"details"
>
<div
class=
"details"
@
click=
"goDetails(item.project_id)"
>
<div
class=
"option"
>
<div
class=
"option"
>
<p
class=
"name"
>
承租人
</p>
<p
class=
"name"
>
承租人
</p>
<p
class=
"full-name normal"
>
{{
item
.
name
}}
</p>
<p
class=
"full-name normal"
>
{{
item
.
bp_
name
}}
</p>
</div>
</div>
<div
class=
"option"
@
click=
"goDetails(index)"
>
<div
class=
"option"
>
<p
class=
"name"
>
合同租金
</p>
<p
class=
"normal money"
>
{{
item
.
total_price
|
currency
}}
</p>
<img
src=
"@/assets/distributorSign/goDetails.png"
alt=
""
>
</div>
<div
class=
"option"
>
<p
class=
"name"
>
申请时间
</p>
<p
class=
"normal"
>
{{
item
.
confirm_start_date
}}
</p>
</div>
</div>
</div>
</h-content>
<h-content
v-if=
"num === 2"
>
<div
v-for=
"(item,index) in approvedLists"
:key=
"index"
class=
"contract-list"
>
<div
class=
"item"
>
<img
src=
"@/assets/constractSigning/Incoming.png"
alt=
""
style=
"height:18px"
>
<p
class=
"incoming-num"
>
进件号
</p>
<p
class=
"code"
>
{{
item
.
project_number
}}
</p>
</div>
<div
class=
"details"
@
click=
"goDetails(item.project_id)"
>
<div
class=
"option"
>
<p
class=
"name"
>
承租人
</p>
<p
class=
"full-name normal"
>
{{
item
.
bp_name
}}
</p>
</div>
<div
class=
"option"
>
<p
class=
"name"
>
合同租金
</p>
<p
class=
"name"
>
合同租金
</p>
<p
class=
"normal money"
>
{{
item
.
money
|
currency
}}
</p>
<p
class=
"normal money"
>
{{
item
.
total_price
|
currency
}}
</p>
<img
src=
"@/assets/distributorSign/goDetails.png"
alt=
""
>
<img
src=
"@/assets/distributorSign/goDetails.png"
alt=
""
>
</div>
</div>
<div
class=
"option"
>
<div
class=
"option"
>
<p
class=
"name"
>
申请时间
</p>
<p
class=
"name"
>
申请时间
</p>
<p
class=
"normal"
>
{{
item
.
date
}}
</p>
<p
class=
"normal"
>
{{
item
.
confirm_start_
date
}}
</p>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -58,25 +90,47 @@ export default {
...
@@ -58,25 +90,47 @@ export default {
check2
:
Check2
,
check2
:
Check2
,
uncheck1
:
unCheck1
,
uncheck1
:
unCheck1
,
uncheck2
:
unCheck2
,
uncheck2
:
unCheck2
,
contractMsg
:
[
submitLists
:
[],
{
name
:
'张三'
,
money
:
90000
,
date
:
'2019-03-1'
,
code
:
'201903022001'
},
approvedLists
:
[],
{
name
:
'李四'
,
money
:
90000
,
date
:
'2019-03-1'
,
code
:
'201903022002'
},
{
name
:
'王五'
,
money
:
90000
,
date
:
'2019-03-1'
,
code
:
'201903022003'
},
{
name
:
'赵六'
,
money
:
90000
,
date
:
'2019-03-1'
,
code
:
'201903022004'
},
{
name
:
'张三'
,
money
:
90000
,
date
:
'2019-03-1'
,
code
:
'201903022001'
},
{
name
:
'李四'
,
money
:
90000
,
date
:
'2019-03-1'
,
code
:
'201903022002'
},
{
name
:
'王五'
,
money
:
90000
,
date
:
'2019-03-1'
,
code
:
'201903022003'
},
{
name
:
'赵六'
,
money
:
90000
,
date
:
'2019-03-1'
,
code
:
'201903022004'
},
],
}
}
},
},
activated
()
{
activated
()
{
},
created
()
{
},
beforeRouteEnter
(
to
,
from
,
next
)
{
if
(
from
.
name
===
'HomePage'
)
{
next
(
vm
=>
{
vm
.
contractList
()
})
}
next
()
},
},
methods
:
{
methods
:
{
goDetails
(
index
)
{
contractList
()
{
let
vm
=
this
let
url
=
$config
.
basePath
+
'con_confirm_list_query'
let
param
=
{
user_phone
:
window
.
localStorage
.
user_phone
,
}
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
console
.
log
(
res
)
if
(
res
.
result
===
'S'
)
{
vm
.
submitLists
=
res
.
lists
.
filter
(
item
=>
item
.
confirm_status
===
'SUBMIT'
)
vm
.
approvedLists
=
res
.
lists
.
filter
(
item
=>
item
.
confirm_status
===
'APPROVED'
)
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
goDetails
(
val
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
'ContractDetail'
,
name
:
'ContractDetail'
,
params
:
{
project_id
:
val
,
},
})
})
},
},
},
},
...
@@ -187,8 +241,7 @@ export default {
...
@@ -187,8 +241,7 @@ export default {
height: 120px;
height: 120px;
// border: 1px solid #ccc;
// border: 1px solid #ccc;
background: #fff;
background: #fff;
margin-top: 8px;
//margin-bottom: 8px;
.item {
.item {
width: 100%;
width: 100%;
height: 34px;
height: 34px;
...
@@ -218,7 +271,7 @@ export default {
...
@@ -218,7 +271,7 @@ export default {
font-size: 14px;
font-size: 14px;
color: #00469C;
color: #00469C;
margin-left: 8px;
margin-left: 8px;
font-weight: 700;
font-weight: bolder
}
}
}
}
...
@@ -228,17 +281,18 @@ export default {
...
@@ -228,17 +281,18 @@ export default {
display: flex;
display: flex;
flex-direction: column;
flex-direction: column;
justify-content: space-around;
justify-content: space-around;
padding: 6px 0;
.option {
.option {
width: 100%;
width: 100%;
// flex: 1
;
height: 18px
;
display: flex;
display: flex;
flex-basis
: row;
flex-direction
: row;
.name {
.name {
font-family: PingFangSC-Regular;
font-family: PingFangSC-Regular;
font-size: 13px;
font-size: 13px;
color: rgba(56,63,69,
0.60);
color: rgba(56, 63, 69,
0.60);
width: 80px;
width: 80px;
height: 18px;
height: 18px;
line-height: 18px;
line-height: 18px;
...
@@ -259,7 +313,15 @@ export default {
...
@@ -259,7 +313,15 @@ export default {
}
}
img {
img {
margin-left: 55%
margin-left: 47%
}
}
.option:nth-of-type(2) {
position: relative;
img{
position: absolute;
right: 10px;
}
}
}
}
}
}
...
...
src/pages/distributorSign/contract-details.vue
View file @
8dbbfcbb
...
@@ -152,7 +152,7 @@
...
@@ -152,7 +152,7 @@
<p>
业务经办:
{{
baseInfo
.
bp_user_id_n
}}
</p>
<p>
业务经办:
{{
baseInfo
.
bp_user_id_n
}}
</p>
<p>
联系电话:
{{
baseInfo
.
phone
}}
</p>
<p>
联系电话:
{{
baseInfo
.
phone
}}
</p>
</div>
</div>
<div
class=
"right1"
@
click=
"callUp"
>
<div
class=
"right1"
@
click=
"callUp
(baseInfo.phone)
"
>
<img
src=
"@/assets/distributorSign/calls.png"
alt=
""
>
<img
src=
"@/assets/distributorSign/calls.png"
alt=
""
>
</div>
</div>
</div>
</div>
...
@@ -367,8 +367,8 @@ export default {
...
@@ -367,8 +367,8 @@ export default {
dateConverse
(
date
)
{
dateConverse
(
date
)
{
return
date
.
replace
(
/
\/
/g
,
'-'
)
return
date
.
replace
(
/
\/
/g
,
'-'
)
},
},
callUp
()
{
callUp
(
phonenumber
)
{
this
.
hlsPopup
.
showSuccess
(
'打电话'
)
window
.
open
(
'tel:'
+
phonenumber
)
},
},
repayPlan
()
{
repayPlan
()
{
this
.
$router
.
push
({
this
.
$router
.
push
({
...
...
src/pages/distributorSign/personal.vue
View file @
8dbbfcbb
...
@@ -48,8 +48,8 @@
...
@@ -48,8 +48,8 @@
<input
slot=
"content"
v-model=
"baseInfo.marital_status_n"
readonly
>
<input
slot=
"content"
v-model=
"baseInfo.marital_status_n"
readonly
>
</item>
</item>
</list-item>
</list-item>
<div
class=
"equipment-list"
>
配偶信息
</div>
<div
class=
"equipment-list"
v-if=
"baseInfo.marital_status == 'MARRIED'"
>
配偶信息
</div>
<list-item
:item-height=
"44"
class=
"second-part"
>
<list-item
:item-height=
"44"
class=
"second-part"
v-if=
"baseInfo.marital_status == 'MARRIED'"
>
<item>
<item>
<div
slot=
"name"
class=
"font-color"
>
姓名
</div>
<div
slot=
"name"
class=
"font-color"
>
姓名
</div>
<input
slot=
"content"
v-model=
"baseInfo.bp_name_sp"
readonly
>
<input
slot=
"content"
v-model=
"baseInfo.bp_name_sp"
readonly
>
...
...
src/pages/financingTrial/financing-details.vue
View file @
8dbbfcbb
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Descrip""/>User Settings Edit
* @Descrip""/>User Settings Edit
* @Author: your name
* @Author: your name
* @Date: 2019-09-29 20:31:00
* @Date: 2019-09-29 20:31:00
* @LastEditTime: 2019-10-
18 16:40:49
* @LastEditTime: 2019-10-
21 15:17:55
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
-->
-->
<
template
>
<
template
>
...
@@ -58,7 +58,9 @@
...
@@ -58,7 +58,9 @@
</item>
</item>
<item>
<item>
<div
slot=
"name"
class=
"font-color"
>
预计付款日
</div>
<div
slot=
"name"
class=
"font-color"
>
预计付款日
</div>
<input
slot=
"content"
placeholder=
"YYYY-MM-DD"
>
<!--
<input
slot=
"content"
placeholder=
"YYYY-MM-DD"
readonly
>
-->
<div
slot=
"content"
>
{{
dates
}}
</div>
<img
src=
"@/assets/trial/date.png"
alt=
""
class=
"date-pic"
@
click=
"showTime('YYYY-MM-DD')"
>
</item>
</item>
<item
:showArrow=
"true"
>
<item
:showArrow=
"true"
>
<div
slot=
"name"
class=
"font-color"
>
还款周期
</div>
<div
slot=
"name"
class=
"font-color"
>
还款周期
</div>
...
@@ -90,6 +92,7 @@ export default {
...
@@ -90,6 +92,7 @@ export default {
name
:
'FinancingDetails'
,
name
:
'FinancingDetails'
,
data
()
{
data
()
{
return
{
return
{
dates
:
''
,
plan_price
:
''
,
plan_price
:
''
,
price_date_to
:
''
,
price_date_to
:
''
,
}
}
...
@@ -116,11 +119,28 @@ export default {
...
@@ -116,11 +119,28 @@ export default {
name
:
'FinancDetails'
,
name
:
'FinancDetails'
,
})
})
},
},
showTime
(
format
)
{
let
vm
=
this
hlsPopup
.
showTime
({
nowDate
:
new
Date
().
toLocaleDateString
(),
format
:
format
,
callback
:
(
date
)
=>
{
// alert(date)
vm
.
dates
=
date
},
})
},
},
},
}
}
</
script
>
</
script
>
<
style
lang=
'less'
scoped
>
<
style
lang=
'less'
scoped
>
#details1 {
#details1 {
.date-pic {
height: 17px;
width: 17px;
margin-top: 13px;
margin-left: 4px;
}
.h-header-btn {
.h-header-btn {
img {
img {
width: 16px;
width: 16px;
...
...
src/pages/intoApproval/intoApproval/base.vue
View file @
8dbbfcbb
...
@@ -193,7 +193,7 @@
...
@@ -193,7 +193,7 @@
<p>
业务经办:
{{
bp_user_id_n
}}
</p>
<p>
业务经办:
{{
bp_user_id_n
}}
</p>
<p>
联系电话:
{{
cell_phone
}}
</p>
<p>
联系电话:
{{
cell_phone
}}
</p>
</div>
</div>
<div
class=
"right1"
@
click=
"callUp"
>
<div
class=
"right1"
@
click=
"callUp
(cell_phone)
"
>
<img
src=
"@/assets/distributorSign/calls.png"
alt=
""
>
<img
src=
"@/assets/distributorSign/calls.png"
alt=
""
>
</div>
</div>
</div>
</div>
...
@@ -465,8 +465,8 @@ export default {
...
@@ -465,8 +465,8 @@ export default {
this
.
isConfirm
=
this
.
$route
.
params
.
isConfirm
this
.
isConfirm
=
this
.
$route
.
params
.
isConfirm
},
},
methods
:
{
methods
:
{
callUp
()
{
callUp
(
phonenumber
)
{
this
.
hlsPopup
.
showSuccess
(
'打电话'
)
window
.
open
(
'tel:'
+
phonenumber
)
},
},
getTabNum
(
i
)
{
getTabNum
(
i
)
{
this
.
tabNum
=
i
this
.
tabNum
=
i
...
...
src/pages/productQuery/product-detailed.vue
View file @
8dbbfcbb
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Descrip: 产品明细
* @Descrip: 产品明细
* @Author: your name
* @Author: your name
* @Date: 2019-10-15 14:30:00
* @Date: 2019-10-15 14:30:00
* @LastEditTime: 2019-10-
18 15:35:42
* @LastEditTime: 2019-10-
21 15:56:00
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
-->
-->
<
template
>
<
template
>
...
@@ -118,14 +118,20 @@ export default {
...
@@ -118,14 +118,20 @@ export default {
bgc_flag
:
true
,
bgc_flag
:
true
,
collect_flag
:
false
,
collect_flag
:
false
,
src
:
require
(
'@/assets/productQuery/collect.png'
),
src
:
require
(
'@/assets/productQuery/collect.png'
),
// collect_status: window.sessionStorage.getItem('collect_status'),
}
}
},
},
computed
:
{},
computed
:
{},
watch
:
{},
watch
:
{
},
beforeRouteEnter
(
to
,
from
,
next
)
{
beforeRouteEnter
(
to
,
from
,
next
)
{
if
(
from
.
name
===
'ProductList'
)
{
if
(
from
.
name
===
'ProductList'
)
{
next
(
vm
=>
{
next
(
vm
=>
{
vm
.
product_id
=
vm
.
$route
.
params
.
product_id
vm
.
product_id
=
vm
.
$route
.
params
.
product_id
// vm.collect_status = vm.$route.params.collect_status
// if (vm.$route.params.collect_status === 'Y') {
// vm.src = require('@/assets/productQuery/coll-success.png')
// }
vm
.
baseMsg
()
vm
.
baseMsg
()
vm
.
detailMsg
()
vm
.
detailMsg
()
vm
.
confgMsg
()
vm
.
confgMsg
()
...
@@ -134,7 +140,10 @@ export default {
...
@@ -134,7 +140,10 @@ export default {
next
()
next
()
},
},
created
()
{
created
()
{
console
.
log
(
'collect........'
,
window
.
sessionStorage
.
getItem
(
'collect_status'
))
if
(
window
.
sessionStorage
.
getItem
(
'collect_status'
)
===
'Y'
)
{
this
.
src
=
require
(
'@/assets/productQuery/coll-success.png'
)
}
},
},
methods
:
methods
:
{
{
...
@@ -144,6 +153,10 @@ export default {
...
@@ -144,6 +153,10 @@ export default {
},
},
// 收藏
// 收藏
collect
()
{
collect
()
{
console
.
log
(
'collect'
,
window
.
sessionStorage
.
getItem
(
'collect_status'
))
if
(
window
.
sessionStorage
.
getItem
(
'collect_status'
)
===
'Y'
)
{
hlsPopup
.
showLongCenter
(
'该产品已收藏过,请勿重复收藏'
)
}
else
{
this
.
collect_flag
=
true
this
.
collect_flag
=
true
console
.
log
(
this
.
collect_flag
)
console
.
log
(
this
.
collect_flag
)
let
vm
=
this
let
vm
=
this
...
@@ -165,6 +178,7 @@ export default {
...
@@ -165,6 +178,7 @@ export default {
hlsPopup
.
showLongCenter
(
res
.
message
)
hlsPopup
.
showLongCenter
(
res
.
message
)
}
}
})
})
}
},
},
// 基本信息查询
// 基本信息查询
baseMsg
()
{
baseMsg
()
{
...
...
src/pages/productQuery/product-list.vue
View file @
8dbbfcbb
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
</div>
</div>
</div>
</div>
<div
slot=
"right-icon"
>
<div
slot=
"right-icon"
>
<img
class=
"arrow"
src=
"@/assets/productQuery/getIn.png"
alt=
""
@
click=
"goDetailed(item.product_id)"
>
<img
class=
"arrow"
src=
"@/assets/productQuery/getIn.png"
alt=
""
@
click=
"goDetailed(item.product_id
,item.collect_status
)"
>
</div>
</div>
</item>
</item>
</list-item>
</list-item>
...
@@ -82,11 +82,13 @@ export default {
...
@@ -82,11 +82,13 @@ export default {
})
})
},
},
// val:产品id
// val:产品id
goDetailed
(
val
)
{
goDetailed
(
val
,
status
)
{
window
.
sessionStorage
.
setItem
(
'collect_status'
,
status
)
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
'ProDetailed'
,
name
:
'ProDetailed'
,
params
:
{
params
:
{
product_id
:
val
,
product_id
:
val
,
// collect_status: status,
},
},
})
})
},
},
...
@@ -149,8 +151,11 @@ export default {
...
@@ -149,8 +151,11 @@ export default {
// margin-left: 30px;
// margin-left: 30px;
margin-top: 16px;
margin-top: 16px;
}
}
// .hls-item .contents .add-name {
// flex: none!important;
// }
.item-pic {
.item-pic {
width: 1
1
0px;
width: 1
0
0px;
//height: 110px;
//height: 110px;
img {
img {
width: 100%;
width: 100%;
...
...
src/pages/userBind/np/naturePerson.vue
View file @
8dbbfcbb
...
@@ -53,8 +53,8 @@
...
@@ -53,8 +53,8 @@
<div
v-if=
"idCardFront && !isApproved"
@
click=
"ocrShow('idCard', 'front')"
>
<div
v-if=
"idCardFront && !isApproved"
@
click=
"ocrShow('idCard', 'front')"
>
<img
:src=
"idCardFront"
style=
"width: 100%;height: 100%;margin: 0"
>
<img
:src=
"idCardFront"
style=
"width: 100%;height: 100%;margin: 0"
>
</div>
</div>
<div
v-if=
"i
dCardFront && i
sApproved"
>
<div
v-if=
"isApproved"
>
<img
:src=
"idCardFront"
style=
"width: 100%;height: 100%;margin: 0"
@
click=
"showBigPicture(idCardFront)"
>
<img
v-if=
"idCardFront"
:src=
"idCardFront"
style=
"width: 100%;height: 100%;margin: 0"
@
click=
"showBigPicture(idCardFront)"
>
</div>
</div>
<div
v-if=
"!idCardBack"
@
click=
"ocrShow('idCard', 'back')"
>
<div
v-if=
"!idCardBack"
@
click=
"ocrShow('idCard', 'back')"
>
<img
src=
"@/assets/userBind/back.png"
>
<img
src=
"@/assets/userBind/back.png"
>
...
@@ -63,8 +63,8 @@
...
@@ -63,8 +63,8 @@
<div
v-if=
"idCardBack && !isApproved"
@
click=
"ocrShow('idCard', 'back')"
>
<div
v-if=
"idCardBack && !isApproved"
@
click=
"ocrShow('idCard', 'back')"
>
<img
:src=
"idCardBack"
style=
"width: 100%;height: 100%;margin: 0"
>
<img
:src=
"idCardBack"
style=
"width: 100%;height: 100%;margin: 0"
>
</div>
</div>
<div
v-if=
"i
dCardBack && i
sApproved"
>
<div
v-if=
"isApproved"
>
<img
:src=
"idCardBack"
style=
"width: 100%;height: 100%;margin: 0"
@
click=
"showBigPicture(idCardBack)"
>
<img
v-if=
"idCardBack"
:src=
"idCardBack"
style=
"width: 100%;height: 100%;margin: 0"
@
click=
"showBigPicture(idCardBack)"
>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -260,12 +260,17 @@
...
@@ -260,12 +260,17 @@
@
click=
"ocrShow('bankCard', '')"
@
click=
"ocrShow('bankCard', '')"
>
>
<img
<img
v-if=
"bankImg
&& !isApproved
"
v-if=
"bankImg"
:src=
"bankImg"
:src=
"bankImg"
class=
"addBack"
class=
"addBack"
style=
"height: 38%;"
style=
"height: 38%;"
@
click=
"ocrShow('bankCard', '')"
@
click=
"ocrShow('bankCard', '')"
>
>
<img
v-if=
"isApproved"
src=
"@/assets/userBind/addBack.png"
class=
"addBack"
>
<list-item
:item-height=
"44"
class=
"card-Info"
>
<list-item
:item-height=
"44"
class=
"card-Info"
>
<item>
<item>
<div
slot=
"name"
>
银行卡卡号
</div>
<div
slot=
"name"
>
银行卡卡号
</div>
...
@@ -483,8 +488,13 @@ export default {
...
@@ -483,8 +488,13 @@ export default {
})
})
switch
(
cdd_item
)
{
switch
(
cdd_item
)
{
case
'NP_ID_CARD'
:
case
'NP_ID_CARD'
:
vm
.
idCardBack
=
res
.
lists
[
0
].
url
res
.
lists
.
forEach
(
item
=>
{
vm
.
idCardFront
=
res
.
lists
[
1
].
url
if
(
item
.
file_name
===
'front.jpg'
)
{
vm
.
idCardFront
=
item
.
url
}
else
{
vm
.
idCardBack
=
item
.
url
}
})
break
break
default
:
default
:
vm
.
dowload_list
.
push
(
res
.
lists
)
vm
.
dowload_list
.
push
(
res
.
lists
)
...
@@ -496,6 +506,7 @@ export default {
...
@@ -496,6 +506,7 @@ export default {
},
},
async
verified
()
{
async
verified
()
{
this
.
dowload_list
=
[]
// 保存之前将图片下载列表清空,防止出现重复的图片
this
.
dowload_list
=
[]
// 保存之前将图片下载列表清空,防止出现重复的图片
this
.
upload_list
=
[]
// 保存之前将待上传列表清空,防止出现重复的图片
let
bpId
=
await
this
.
saveWord
()
let
bpId
=
await
this
.
saveWord
()
this
.
getBankInfo
()
this
.
getBankInfo
()
// 查询资料清单
// 查询资料清单
...
@@ -522,6 +533,9 @@ export default {
...
@@ -522,6 +533,9 @@ export default {
switch
(
item
.
cdd_item
)
{
switch
(
item
.
cdd_item
)
{
case
'NP_ID_CARD'
:
case
'NP_ID_CARD'
:
vm
.
idCardCheck_id
=
item
.
check_id
vm
.
idCardCheck_id
=
item
.
check_id
break
case
'BANK_CARD'
:
break
break
default
:
default
:
vm
.
cddItemList
.
push
(
item
)
vm
.
cddItemList
.
push
(
item
)
...
@@ -833,7 +847,7 @@ export default {
...
@@ -833,7 +847,7 @@ export default {
maxCount
:
1
,
maxCount
:
1
,
}
}
let
success
=
function
(
imgUrl
)
{
let
success
=
function
(
imgUrl
)
{
if
(
!
imgUrl
)
{
if
(
imgUrl
.
length
===
0
)
{
hlsPopup
.
showLongCenter
(
'请选择一张图片'
)
hlsPopup
.
showLongCenter
(
'请选择一张图片'
)
}
else
{
}
else
{
if
(
ocrType
===
'idCard'
)
{
if
(
ocrType
===
'idCard'
)
{
...
@@ -1228,6 +1242,7 @@ export default {
...
@@ -1228,6 +1242,7 @@ export default {
let
vm
=
this
let
vm
=
this
vm
.
hlsPopup
.
showBigPicture
({
vm
.
hlsPopup
.
showBigPicture
({
imgUrl
:
pic
,
imgUrl
:
pic
,
width
:
'100%'
,
})
})
},
},
},
},
...
...
src/pages/userBind/org/enterprise.vue
View file @
8dbbfcbb
...
@@ -49,8 +49,8 @@
...
@@ -49,8 +49,8 @@
<div
v-if=
"licenseImg && !isApproved"
style=
"width: 100%;height: 100%"
@
click=
"ocrShow('license', '')"
>
<div
v-if=
"licenseImg && !isApproved"
style=
"width: 100%;height: 100%"
@
click=
"ocrShow('license', '')"
>
<img
:src=
"licenseImg"
style=
"width: 100%;height: 100%;margin: 0"
>
<img
:src=
"licenseImg"
style=
"width: 100%;height: 100%;margin: 0"
>
</div>
</div>
<div
v-if=
"
licenseImg && isApproved"
>
<div
v-if=
"
isApproved"
>
<!--v-if="licenseImg && isApproved"--
>
<img
:src=
"licenseImg"
style=
"width: 100%;height: 100%;margin: 0"
@
click=
"showBigPicture(licenseImg)"
>
<img
v-if=
"licenseImg"
:src=
"licenseImg"
style=
"width: 100%;height: 100%;margin: 0"
@
click=
"showBigPicture(licenseImg)"
>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -196,8 +196,8 @@
...
@@ -196,8 +196,8 @@
<div
v-if=
"idCardFront && !isApproved"
@
click=
"ocrShow('idCard', 'front')"
>
<div
v-if=
"idCardFront && !isApproved"
@
click=
"ocrShow('idCard', 'front')"
>
<img
:src=
"idCardFront"
style=
"width: 100%;height: 100%;margin: 0"
>
<img
:src=
"idCardFront"
style=
"width: 100%;height: 100%;margin: 0"
>
</div>
</div>
<div
v-if=
"i
dCardFront && i
sApproved"
>
<div
v-if=
"isApproved"
>
<img
:src=
"idCardFront"
style=
"width: 100%;height: 100%;margin: 0"
@
click=
"showBigPicture(idCardFront)"
>
<img
v-if=
"idCardFront"
:src=
"idCardFront"
style=
"width: 100%;height: 100%;margin: 0"
@
click=
"showBigPicture(idCardFront)"
>
</div>
</div>
<div
v-if=
"!idCardBack"
@
click=
"ocrShow('idCard', 'back')"
>
<div
v-if=
"!idCardBack"
@
click=
"ocrShow('idCard', 'back')"
>
<img
src=
"@/assets/userBind/org/back.png"
>
<img
src=
"@/assets/userBind/org/back.png"
>
...
@@ -206,8 +206,8 @@
...
@@ -206,8 +206,8 @@
<div
v-if=
"idCardBack && !isApproved"
@
click=
"ocrShow('idCard', 'back')"
>
<div
v-if=
"idCardBack && !isApproved"
@
click=
"ocrShow('idCard', 'back')"
>
<img
:src=
"idCardBack"
style=
"width: 100%;height: 100%;margin: 0"
>
<img
:src=
"idCardBack"
style=
"width: 100%;height: 100%;margin: 0"
>
</div>
</div>
<div
v-if=
"i
dCardBack && i
sApproved"
>
<div
v-if=
"isApproved"
>
<img
:src=
"idCardBack"
style=
"width: 100%;height: 100%;margin: 0"
@
click=
"showBigPicture(idCardBack)"
>
<img
v-if=
"idCardBack"
:src=
"idCardBack"
style=
"width: 100%;height: 100%;margin: 0"
@
click=
"showBigPicture(idCardBack)"
>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -288,9 +288,15 @@
...
@@ -288,9 +288,15 @@
<div
v-if=
"!flag"
class=
"upload-id-card"
>
<div
v-if=
"!flag"
class=
"upload-id-card"
>
<span>
授权书证件上传
</span>
<span>
授权书证件上传
</span>
<div
class=
"upload-box1"
>
<div
class=
"upload-box1"
>
<
!--
<div>
--
>
<
div
v-if=
"!laImg"
@
click=
"LaUpload()"
>
<img
src=
"@/assets/userBind/camera.png"
>
<img
src=
"@/assets/userBind/camera.png"
>
<!--
</div>
-->
</div>
<div
v-if=
"laImg && !isApproved"
style=
"width: 100%;height: 100%"
@
click=
"LaUpload('')"
>
<img
:src=
"laImg"
style=
"width: 100%;height: 100%;margin: 0"
>
</div>
<div
v-if=
"isApproved"
>
<!--v-if="licenseImg && isApproved"-->
<img
v-if=
"laImg"
:src=
"laImg"
style=
"width: 100%;height: 100%;margin: 0"
@
click=
"showBigPicture(laImg)"
>
</div>
</div>
</div>
</div>
</div>
...
@@ -358,12 +364,17 @@
...
@@ -358,12 +364,17 @@
@
click=
"ocrShow('bankCard', '')"
@
click=
"ocrShow('bankCard', '')"
>
>
<img
<img
v-if=
"bankImg
&& !isApproved
"
v-if=
"bankImg"
:src=
"bankImg"
:src=
"bankImg"
class=
"addBack"
class=
"addBack"
style=
"height: 38%;"
style=
"height: 38%;"
@
click=
"ocrShow('bankCard', '')"
@
click=
"ocrShow('bankCard', '')"
>
>
<img
v-if=
"isApproved"
src=
"@/assets/userBind/addBack.png"
class=
"addBack"
>
<list-item
:item-height=
"44"
class=
"card-Info"
>
<list-item
:item-height=
"44"
class=
"card-Info"
>
<item>
<item>
<div
slot=
"name"
>
银行卡卡号
</div>
<div
slot=
"name"
>
银行卡卡号
</div>
...
@@ -489,21 +500,25 @@ export default {
...
@@ -489,21 +500,25 @@ export default {
idCardBack
:
''
,
// 身份证反面图片
idCardBack
:
''
,
// 身份证反面图片
licenseImg
:
''
,
// 营业执照照片
licenseImg
:
''
,
// 营业执照照片
bankImg
:
''
,
// 银行卡图片
bankImg
:
''
,
// 银行卡图片
laImg
:
''
,
// 授权书图片
upload_list
:
[],
// 上传图片列表
upload_list
:
[],
// 上传图片列表
dowload_list
:
[],
// 下载图片列表
dowload_list
:
[],
// 下载图片列表
cddItemList
:
[],
// 资料清单列表
cddItemList
:
[],
// 资料清单列表
idCardCheck_id
:
''
,
// 身份证check_id
idCardCheck_id
:
''
,
// 身份证check_id
bankCardCheck_id
:
''
,
// 银行卡check_id
bankCardCheck_id
:
''
,
// 银行卡check_id
licenseCheck_id
:
''
,
// 营业执照check_id
licenseCheck_id
:
''
,
// 营业执照check_id
laCheck_id
:
''
,
// 授权书check_id
idCardImgList
:
[],
// 存身份证图片列表
idCardImgList
:
[],
// 存身份证图片列表
bankCardImgList
:
[],
// 存上传银行卡图片列表
bankCardImgList
:
[],
// 存上传银行卡图片列表
idCardEditFlag
:
false
,
// 身份证修改标识,为true则标识已修改,后续需要重新上传此照片
idCardEditFlag
:
false
,
// 身份证修改标识,为true则标识已修改,后续需要重新上传此照片
licenseEditFlag
:
false
,
// 营业执照照片修改标识,为true则标识已修改,后续需要重新上传此照片
licenseEditFlag
:
false
,
// 营业执照照片修改标识,为true则标识已修改,后续需要重新上传此照片
LaEditFlag
:
false
,
// 授权书图片修改标识,为true则标识已修改,后续需要重新上传此照片
}
}
},
},
computed
:
{},
computed
:
{},
watch
:
{
watch
:
{
'baseInfo.auth_flag'
(
newVal
,
oldVal
)
{
'baseInfo.auth_flag'
(
newVal
,
oldVal
)
{
console
.
log
(
'###########################################'
)
if
(
newVal
===
'是'
)
{
if
(
newVal
===
'是'
)
{
this
.
flag
=
false
this
.
flag
=
false
}
else
if
(
newVal
===
'否'
)
{
}
else
if
(
newVal
===
'否'
)
{
...
@@ -565,7 +580,7 @@ export default {
...
@@ -565,7 +580,7 @@ export default {
vm
.
from
=
true
vm
.
from
=
true
vm
.
getbaseInfo
()
vm
.
getbaseInfo
()
vm
.
getBankInfo
()
vm
.
getBankInfo
()
vm
.
loadItemList
()
// 附件查询
//
vm.loadItemList()// 附件查询
})
})
}
}
next
()
next
()
...
@@ -644,7 +659,7 @@ export default {
...
@@ -644,7 +659,7 @@ export default {
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
vm
.
hlsPopup
.
showSuccess
(
'提交成功'
)
vm
.
hlsPopup
.
showSuccess
(
'提交成功'
)
vm
.
$router
.
push
({
vm
.
$router
.
push
({
name
:
'Home'
,
name
:
'Home
Page
'
,
})
})
}
}
})
})
...
@@ -722,6 +737,7 @@ export default {
...
@@ -722,6 +737,7 @@ export default {
verified
()
{
verified
()
{
this
.
dowload_list
=
[]
// 保存之前将图片下载列表清空,防止出现重复的图片
this
.
dowload_list
=
[]
// 保存之前将图片下载列表清空,防止出现重复的图片
this
.
upload_list
=
[]
// 保存之前将待上传列表清空,防止出现重复的图片
if
(
this
.
flag
)
{
if
(
this
.
flag
)
{
// this.flag = false
// this.flag = false
for
(
let
i
in
this
.
authMsg
)
{
for
(
let
i
in
this
.
authMsg
)
{
...
@@ -954,6 +970,7 @@ export default {
...
@@ -954,6 +970,7 @@ export default {
this
.
baseInfo
.
organization_code
=
val
.
organization_code
this
.
baseInfo
.
organization_code
=
val
.
organization_code
},
},
authorizeChange
()
{
authorizeChange
()
{
console
.
log
(
'!!!!!!!!!!!!!!!!!!!!!!!!!!!'
)
this
.
flag
=
!
this
.
flag
this
.
flag
=
!
this
.
flag
if
(
this
.
flag
)
{
if
(
this
.
flag
)
{
this
.
auth_flag
=
'未授权'
this
.
auth_flag
=
'未授权'
...
@@ -1145,6 +1162,12 @@ export default {
...
@@ -1145,6 +1162,12 @@ export default {
vm
.
legal_personMsg
.
cell_phone
=
res
.
info
.
cell_phone
vm
.
legal_personMsg
.
cell_phone
=
res
.
info
.
cell_phone
vm
.
legal_personMsg
.
living_address
=
res
.
info
.
living_address
vm
.
legal_personMsg
.
living_address
=
res
.
info
.
living_address
Object
.
assign
(
vm
.
saveInfo
,
res
.
info
)
Object
.
assign
(
vm
.
saveInfo
,
res
.
info
)
if
(
vm
.
baseInfo
.
auth_flag
===
'是'
)
{
vm
.
flag
=
false
}
else
if
(
vm
.
baseInfo
.
auth_flag
===
'否'
)
{
vm
.
flag
=
true
}
vm
.
loadItemList
()
// 附件查询
}
else
{
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
hlsPopup
.
showLongCenter
(
res
.
message
)
}
}
...
@@ -1204,7 +1227,7 @@ export default {
...
@@ -1204,7 +1227,7 @@ export default {
maxCount
:
1
,
maxCount
:
1
,
}
}
let
success
=
function
(
imgUrl
)
{
let
success
=
function
(
imgUrl
)
{
if
(
!
imgUrl
)
{
if
(
imgUrl
.
length
===
0
)
{
hlsPopup
.
showLongCenter
(
'请选择一张图片'
)
hlsPopup
.
showLongCenter
(
'请选择一张图片'
)
}
else
{
}
else
{
if
(
ocrType
===
'idCard'
)
{
if
(
ocrType
===
'idCard'
)
{
...
@@ -1288,12 +1311,20 @@ export default {
...
@@ -1288,12 +1311,20 @@ export default {
})
})
switch
(
cdd_item
)
{
switch
(
cdd_item
)
{
case
'NP_ID_CARD'
:
case
'NP_ID_CARD'
:
vm
.
idCardBack
=
res
.
lists
[
0
].
url
res
.
lists
.
forEach
(
item
=>
{
vm
.
idCardFront
=
res
.
lists
[
1
].
url
if
(
item
.
file_name
===
'front.jpg'
)
{
vm
.
idCardFront
=
item
.
url
}
else
{
vm
.
idCardBack
=
item
.
url
}
})
break
break
case
'ORG_CODE'
:
case
'ORG_CODE'
:
vm
.
licenseImg
=
res
.
lists
[
0
].
url
vm
.
licenseImg
=
res
.
lists
[
0
].
url
break
break
case
'L/A'
:
vm
.
laImg
=
res
.
lists
[
0
].
url
break
default
:
default
:
vm
.
dowload_list
.
push
(
res
.
lists
)
vm
.
dowload_list
.
push
(
res
.
lists
)
}
}
...
@@ -1327,6 +1358,12 @@ export default {
...
@@ -1327,6 +1358,12 @@ export default {
case
'ORG_CODE'
:
case
'ORG_CODE'
:
vm
.
licenseCheck_id
=
item
.
check_id
vm
.
licenseCheck_id
=
item
.
check_id
break
break
case
'BANK_CARD'
:
break
case
'L/A'
:
vm
.
laCheck_id
=
item
.
check_id
break
default
:
default
:
vm
.
cddItemList
.
push
(
item
)
vm
.
cddItemList
.
push
(
item
)
}
}
...
@@ -1367,6 +1404,21 @@ export default {
...
@@ -1367,6 +1404,21 @@ export default {
list
.
push
(
obj
)
list
.
push
(
obj
)
vm
.
save_picture
(
list
)
vm
.
save_picture
(
list
)
}
}
if
(
vm
.
LaEditFlag
)
{
// 授权书图片已修改,重新上传
var
list
=
[]
let
obj
=
{
'pkvalue'
:
vm
.
laCheck_id
,
'source_type'
:
'PRJ_CDD_ITEM_CHECK'
,
'picture'
:
''
,
'check_id'
:
vm
.
laCheck_id
,
'filePath'
:
vm
.
laImg
,
'attachment_id'
:
''
,
'user_id'
:
1
,
'fileName'
:
''
,
}
list
.
push
(
obj
)
vm
.
save_picture
(
list
)
}
}
}
})
})
},
},
...
@@ -1431,6 +1483,47 @@ export default {
...
@@ -1431,6 +1483,47 @@ export default {
}
}
vm
.
dowload_list
.
sort
()
vm
.
dowload_list
.
sort
()
},
},
// 授权书上传入口
LaUpload
()
{
let
vm
=
this
hlsPopup
.
showActionSheet
({
titleText
:
'请选择照片'
,
buttonArray
:
[
'拍照'
,
'从相册取'
],
callback
:
index
=>
{
if
(
index
===
0
)
{
vm
.
LaUploadOpenCamera
()
}
else
{
vm
.
LaUploadTakePicture
()
}
},
})
},
LaUploadOpenCamera
()
{
let
vm
=
this
let
cameraoptions
=
{
quality
:
100
,
}
let
success
=
function
(
imgdata
)
{
vm
.
LaEditFlag
=
true
vm
.
laImg
=
imgdata
}
let
error
=
function
()
{
}
hlsUtil
.
openCamera
(
cameraoptions
,
success
,
error
)
},
LaUploadTakePicture
()
{
let
vm
=
this
let
cameraoptions
=
{
quality
:
100
,
}
let
success
=
function
(
imgUrl
)
{
vm
.
LaEditFlag
=
true
vm
.
laImg
=
imgUrl
[
0
]
}
let
error
=
function
()
{
}
vm
.
hlsUtil
.
takePicture
(
cameraoptions
,
success
,
error
)
},
// 图片上传入口
// 图片上传入口
imgUploadShow
(
check_id
)
{
imgUploadShow
(
check_id
)
{
let
vm
=
this
let
vm
=
this
...
@@ -1546,6 +1639,7 @@ export default {
...
@@ -1546,6 +1639,7 @@ export default {
let
vm
=
this
let
vm
=
this
vm
.
hlsPopup
.
showBigPicture
({
vm
.
hlsPopup
.
showBigPicture
({
imgUrl
:
pic
,
imgUrl
:
pic
,
width
:
'100%'
})
})
},
},
},
},
...
...
src/scripts/filter.js
View file @
8dbbfcbb
export
default
(
Vue
)
=>
{
export
default
(
Vue
)
=>
{
Vue
.
filter
(
'currency'
,
function
(
val
)
{
Vue
.
filter
(
'currency'
,
function
(
val
)
{
if
(
!
val
)
return
'0.00'
if
(
!
val
)
return
'0.00'
...
...
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