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
Hide 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
<
template
>
<h-view
id=
"contract-details"
class=
"public-style"
>
<div
v-show=
"isshow"
class=
"all"
>
<div
class=
"prompt"
>
<div
class=
"top"
>
<div>
<img
src=
"@/assets/constractSigning/prompt.png"
alt
/>
<span>
提示
</span>
<transition
name=
"trans"
>
<div
v-show=
"downNum"
class=
"modal-show"
>
<div
class=
"down"
>
<div
class=
"top"
>
录入产品信息
<img
src=
"@/assets/intoApproval/close.png"
@
click=
"downNum = false"
>
</div>
<div>
请前往【农行代扣授权书】界面完成银行卡信息录入!
</div>
</div>
<div
class=
"bottom"
@
click=
"isshow = !isshow"
>
我知道了
</div>
</div>
</div>
<div
v-show=
"downNum"
class=
"modal-show"
>
<div
class=
"down"
>
<div
class=
"top"
>
录入产品信息
<img
src=
"@/assets/intoApproval/close.png"
@
click=
"downNum = false"
>
</div>
<div
class=
"down-content"
>
<list-item
:item-height=
"44"
>
<item>
<div
slot=
"name"
class=
"required"
>
产品名称
</div>
<input
slot=
"content"
v-model=
"info.product_name"
placeholder=
"请输入产品名称"
>
</item>
<item>
<div
slot=
"name"
class=
"required"
>
产品数量
</div>
<input
slot=
"content"
v-model=
"info.product_num"
placeholder=
"请输入产品数量"
>
</item>
</list-item>
<div
class=
"down-content"
>
<list-item
:item-height=
"44"
>
<item>
<div
slot=
"name"
class=
"required"
>
产品名称
</div>
<input
slot=
"content"
v-model=
"itemInfo.ref_v02"
placeholder=
"请输入产品名称"
>
</item>
<item>
<div
slot=
"name"
class=
"required"
>
产品数量
</div>
<input
slot=
"content"
v-model=
"itemInfo.quantity"
placeholder=
"请输入产品数量"
>
</item>
</list-item>
</div>
<button
@
click
.
native=
"prjLeaseItemSave"
>
保存
</button>
</div>
<butto>
保存
</butto>
</div>
</
div
>
</
transition
>
<h-header
:proportion=
"[5, 1, 1]"
class=
"bar-custom"
>
<div
slot=
"left"
class=
"h-header-btn"
>
<img
src=
"@/assets/userBind/arrow.png"
@
click=
"$routeGo()"
/
>
<img
src=
"@/assets/userBind/arrow.png"
@
click=
"$routeGo()"
>
<span>
方案详情
</span>
</div>
</h-header>
<div
class=
"tab-style"
>
<div
:class=
"
{ 'done': num === 0, 'undone': num !== 0 }" @click="num = 0;">
<img
:src=
"num === 0 ? check1 : uncheck1"
/
>
基本信息
<img
:src=
"num === 0 ? check1 : uncheck1"
>
基本信息
</div>
<div
:class=
"
{ 'done': num === 1, 'undone': num !== 1 }" @click="num = 1;">
<img
:src=
"num === 1 ? check3 : uncheck3"
/
>
方案信息
<img
:src=
"num === 1 ? check3 : uncheck3"
>
方案信息
</div>
<!--
<div
:class=
"
{ 'done': num === 2, 'undone': num !== 2 }" @click="num = 2;">-->
<!--
<img
:src=
"num === 2 ? check2 : uncheck2"
/>
征信授权书-->
<!--
</div>
-->
</div>
<h-content
v-if=
"num === 0"
class=
"business-condition"
>
<!-- 法人信息 -->
<LegalPerson
:baseInfo=
"baseInfo"
/>
<!-- 个人信息(自然人) -->
<!--
<Personal
v-if=
"!bp_flag"
:baseInfo=
"baseInfo"
/>
-->
<list-item
:item-height=
"44"
class=
"second-part"
>
<item>
<div
slot=
"name"
class=
"font-color"
>
业务经办
</div>
<input
slot=
"content"
v-model=
"baseInfo.bp_user_id_n"
readonly
>
</item>
</list-item>
<div
class=
"equipment-list"
>
承租人信息
</div>
<list-item
:item-height=
"44"
class=
"second-part"
>
<item>
<div
slot=
"name"
class=
"font-color"
>
公司名称
</div>
<input
slot=
"content"
v-model=
"baseInfo.bp_name"
type=
"text"
readonly
placeholder=
"请选择"
@
click=
"selectBpTenant"
>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
营业执照号
</div>
<input
slot=
"content"
v-model=
"baseInfo.organization_code"
>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
注册资本
</div>
<input
slot=
"content"
v-model=
"baseInfo.registered_capital"
>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
注册地址
</div>
<span
slot=
"content"
>
{{
baseInfo
.
registered_place
}}
</span>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
经营地址
</div>
<input
slot=
"content"
v-model=
"baseInfo.business_address"
>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
固定电话
</div>
<input
slot=
"content"
v-model=
"baseInfo.phone"
>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
是否授权
</div>
<input
slot=
"content"
v-model=
"baseInfo.auth_flag"
>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
是否征信授权
</div>
<input
slot=
"content"
v-model=
"baseInfo.auth_flag"
>
</item>
</list-item>
<div
class=
"equipment-list"
>
法定代表人
</div>
<list-item
:item-height=
"44"
class=
"second-part"
>
<item>
<div
slot=
"name"
class=
"font-color"
>
姓名
</div>
<input
slot=
"content"
v-model=
"baseInfo.legal_person"
readonly
>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
证件号
</div>
<input
slot=
"content"
v-model=
"baseInfo.id_card_no"
readonly
>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
手机号码
</div>
<input
slot=
"content"
v-model=
"baseInfo.cell_phone"
readonly
>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
联系地址
</div>
<span
slot=
"content"
>
{{
baseInfo
.
living_address
}}
</span>
</item>
</list-item>
<div
class=
"equipment-list"
>
担保人信息
<span
v-if=
"guarantorInfo.length === 0"
>
(无)
</span>
...
...
@@ -80,9 +128,9 @@
<span
class=
"card-num"
>
证件号
</span>
</div>
<div
slot=
"content"
class=
"right"
>
<img
src=
"@/assets/intoApproval/introduce.png"
/
>
<img
src=
"@/assets/intoApproval/introduce.png"
>
<span
:title=
"item.bp_name"
>
{{
item
.
bp_name
}}
</span>
<br
/
>
<br
>
<span>
{{
item
.
bp_class
===
'NP'
?
item
.
id_card_no
:
item
.
organization_code
}}
</span>
</div>
</item>
...
...
@@ -95,7 +143,7 @@
<!--待上传图片列表-->
<div
v-for=
"(item, index) in upload_list_mining"
v-if=
"item.check_id ===
c
heckId"
v-if=
"item.check_id ===
miningC
heckId"
:key=
"index+'info2'"
class=
"card-upload"
>
...
...
@@ -106,14 +154,14 @@
</div>
<!--特批 从服务器上下载的图片-->
<div
v-for=
"(pic, index) in dowload_list_mining"
:key=
"index+'mining'"
>
<div
v-if=
"pic.check_id==
c
heckId"
:key=
"index+'info3'"
class=
"card-upload"
>
<div
v-if=
"pic.check_id==
miningC
heckId"
:key=
"index+'info3'"
class=
"card-upload"
>
<img
:src=
"pic.url"
@
click=
"showBigPicture(pic.url)"
>
<div
class=
"close"
@
click=
"delete_pic(pic.attachment_id,'mining')"
>
<img
src=
"@/assets/userBind/deleteIcon.png"
>
</div>
</div>
</div>
<div
class=
"card-upload plus"
@
click=
"ocrShow('采矿权许可证',
c
heckId,'mining')"
>
<div
class=
"card-upload plus"
@
click=
"ocrShow('采矿权许可证',
miningC
heckId,'mining')"
>
<img
src=
"@/assets/userBind/camera.png"
class=
"upload-btn"
>
</div>
</div>
...
...
@@ -190,13 +238,13 @@
<list-item
:item-height=
"44"
>
<item>
<div
slot=
"name"
>
账户名称
</div>
<input
slot=
"content"
v-model=
"ba
nk_lists
.bank_account_name"
placeholder=
"请输入账户名称"
>
<input
slot=
"content"
v-model=
"ba
seInfo
.bank_account_name"
placeholder=
"请输入账户名称"
>
</item>
<item>
<div
slot=
"name"
>
开户行
</div>
<input
slot=
"content"
v-model=
"ba
nk_lists
.bank_full_name"
v-model=
"ba
seInfo
.bank_full_name"
placeholder=
"请输入开户行"
>
</item>
...
...
@@ -204,13 +252,13 @@
<div
slot=
"name"
>
银行账号
</div>
<input
slot=
"content"
v-model=
"ba
nk_lists
.bank_account_num"
v-model=
"ba
seInfo
.bank_account_num"
placeholder=
"请输入银行账号"
>
</item>
<item>
<div
slot=
"name"
>
联行号
</div>
<input
slot=
"content"
v-model=
"ba
nk_lists
.bank_branch_name"
placeholder=
"请输入联行号"
>
<input
slot=
"content"
v-model=
"ba
seInfo
.bank_branch_name"
placeholder=
"请输入联行号"
>
</item>
</list-item>
<div
class=
"equipment-list"
>
...
...
@@ -219,13 +267,13 @@
<list-item
:item-height=
"44"
>
<item>
<div
slot=
"name"
>
联系人姓名
</div>
<input
slot=
"content"
v-model=
"ba
nk_lists.bank_accoun
t_name"
placeholder=
"请输入联系人姓名"
>
<input
slot=
"content"
v-model=
"ba
seInfo.contac
t_name"
placeholder=
"请输入联系人姓名"
>
</item>
<item>
<div
slot=
"name"
>
身份证号码
</div>
<input
slot=
"content"
v-model=
"ba
nk_lists.bank_full_name
"
v-model=
"ba
seInfo.contact_card_no
"
placeholder=
"请输入身份证号码"
>
</item>
...
...
@@ -233,13 +281,13 @@
<div
slot=
"name"
>
联系电话
</div>
<input
slot=
"content"
v-model=
"ba
nk_lists.bank_account_num
"
v-model=
"ba
seInfo.contact_tel
"
placeholder=
"请输入联系电话"
>
</item>
<item>
<div
slot=
"name"
>
联系地址
</div>
<input
slot=
"content"
v-model=
"ba
nk_lists.bank_branch_name
"
placeholder=
"请输入联系地址"
>
<input
slot=
"content"
v-model=
"ba
seInfo.contact_adds
"
placeholder=
"请输入联系地址"
>
</item>
</list-item>
<div
class=
"equipment-list"
>
...
...
@@ -250,7 +298,7 @@
<!--待上传图片列表-->
<div
v-for=
"(item, index) in upload_list_report"
v-if=
"item.check_id ===
c
heckId"
v-if=
"item.check_id ===
reportC
heckId"
:key=
"index+'info2'"
class=
"card-upload"
>
...
...
@@ -261,224 +309,131 @@
</div>
<!--特批 从服务器上下载的图片-->
<div
v-for=
"(pic, index) in dowload_list_report"
:key=
"index+'report'"
>
<div
v-if=
"pic.check_id==
c
heckId"
:key=
"index+'info3'"
class=
"card-upload"
>
<div
v-if=
"pic.check_id==
reportC
heckId"
:key=
"index+'info3'"
class=
"card-upload"
>
<img
:src=
"pic.url"
@
click=
"showBigPicture(pic.url)"
>
<div
class=
"close"
@
click=
"delete_pic(pic.attachment_id,'report')"
>
<img
src=
"@/assets/userBind/deleteIcon.png"
>
</div>
</div>
</div>
<div
class=
"card-upload plus"
@
click=
"ocrShow('财务报表',
c
heckId,'report')"
>
<div
class=
"card-upload plus"
@
click=
"ocrShow('财务报表',
reportC
heckId,'report')"
>
<img
src=
"@/assets/userBind/camera.png"
class=
"upload-btn"
>
</div>
</div>
</list-item>
<div
class=
"alert"
>
<div
class=
"alert-content"
>
<div
class=
"title"
>
<img
src=
"@/assets/intoApproval/info.png"
/>
<span
class=
"info-word"
>
温馨提示
</span>
</div>
<p
class=
"top-info"
>
绑定成功后,您即可使用APP中合同查询、还款查询等功能。
</p>
<div
class=
"top-word"
>
<p>
本人保证所提供信息的真实性、完整性及准确性。
</p>
<p>
本人在此授权汉得信息租赁有限公司通过中国人民银行个人信用信息基础数据库及其他征信机构、金融机构查询本人的个人信息、信用记录和工作情况。
</p>
<p>
本人同意接收来自于汉得信息租赁有限公司或第三方发出的提醒付款、确认付款、催款等短信(不含广告),同意接收来自于汉得信息租赁有限公司的录音电话,并积极配合。
</p>
</div>
</div>
</div>
</h-content>
<!--
<h-content
v-if=
"num === 2"
>
-->
<!--
<list-item
:item-height=
"56"
class=
"contract-text"
style=
"background-color:rgb(250,250,250);"
>
-->
<!--
<item
v-for=
"(item,index) in attachArray"
:proportion=
"[7, 1]"
:key=
"index"
>
-->
<!--
<div
slot=
"name"
class=
"aguremrnt-list"
>
-->
<!--
<img
src=
"@/assets/constractSigning/npack.png"
alt
class=
"pics"
/>
-->
<!--
<p
class=
"second first"
>
{{
item
.
attachment_file
}}
</p>
-->
<!--
<img-->
<!-- v-if="item.read_status === 'N'"-->
<!-- class="unread"-->
<!-- src="@/assets/constractSigning/unread.png"-->
<!-- />-->
<!--
<img-->
<!-- v-if="item.read_status === 'Y'"-->
<!-- class="unread"-->
<!-- src="@/assets/constractSigning/read.png"-->
<!-- />-->
<!--
<div-->
<!-- v-if="item.template_code === 'PRE_ABC_PAYMENT'"-->
<!-- class="wrap-img"-->
<!-- @click="entryInfo"-->
<!-- >-->
<!--
<img
src=
"@/assets/constractSigning/scan.png"
/>
-->
<!--
</div>
-->
<!--
</div>
-->
<!--
<div
slot=
"content"
class=
"in-detail"
@
click=
"goContent(item, index)"
>
-->
<!--
<img
src=
"@/assets/constractSigning/detail.png"
alt
/>
-->
<!--
</div>
-->
<!--
</item>
-->
<!--
</list-item>
-->
<!-- <!–
<iframe-->
<!-- v-if="attachFlag" :src="attachUrl"-->
<!-- frameborder="0" scrolling="yes" width="100%"-->
<!-- height="100%" />–>-->
<!--
</h-content>
-->
<h-content
v-if=
"num === 1"
>
<list-item
:item-height=
"44"
class=
"second-part"
>
<!--
<item>
-->
<!--
<div
slot=
"name"
class=
"font-color"
>
商务政策
</div>
-->
<!--
<input
slot=
"content"
v-model=
"info.product_plan_id_n"
readonly
/>
-->
<!--
</item>
-->
<!--
<item>
-->
<!--
<div
slot=
"name"
class=
"font-color"
>
商务政策
</div>
-->
<!--
<input
slot=
"content"
v-model=
"info.product_plan_id_n"
readonly
/>
-->
<!--
</item>
-->
<item>
<div
slot=
"name"
class=
"font-color"
>
设备总价
</div>
<!--
<span
slot=
"content"
>
{{
info
.
equip_price
*
info
.
product_num
|
currency
}}
</span>
-->
<CurrencyInput
slot=
"content"
v-model=
"
i
nfo.equip_price"
placeholder=
"请输入设备总价"
/>
<!--
<span
slot=
"content"
>
{{
info
.
equip_price
*
info
.
product_num
|
currency
}}
</span>
-->
<CurrencyInput
slot=
"content"
v-model=
"
quotationI
nfo.equip_price"
placeholder=
"请输入设备总价"
/>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
融资金额
</div>
<!--
<span
slot=
"content"
>
{{
info
.
finance_amount
*
info
.
product_num
|
currency
}}
</span>
-->
<CurrencyInput
slot=
"content"
v-model=
"
i
nfo.finance_amount"
placeholder=
"请输入融资金额"
/>
<!--
<span
slot=
"content"
>
{{
info
.
finance_amount
*
info
.
product_num
|
currency
}}
</span>
-->
<CurrencyInput
slot=
"content"
v-model=
"
quotationI
nfo.finance_amount"
placeholder=
"请输入融资金额"
/>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
首付款
</div>
<!--
<span
slot=
"content"
>
{{
info
.
down_payment
*
info
.
product_num
|
currency
}}
</span>
-->
<CurrencyInput
slot=
"content"
v-model=
"
i
nfo.down_payment"
placeholder=
"请输入首付款"
/>
<!--
<span
slot=
"content"
>
{{
info
.
down_payment
*
info
.
product_num
|
currency
}}
</span>
-->
<CurrencyInput
slot=
"content"
v-model=
"
quotationI
nfo.down_payment"
placeholder=
"请输入首付款"
/>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
保证金比例
</div>
<!--
<span
slot=
"content"
>
{{
info
.
deposit_ratio_n
}}
</span>
-->
<RateInput
slot=
"content"
v-model=
"
i
nfo.deposit_ratio_n"
placeholder=
"请输入保证金比例"
/>
<!--
<span
slot=
"content"
>
{{
info
.
deposit_ratio_n
}}
</span>
-->
<RateInput
slot=
"content"
v-model=
"
quotationI
nfo.deposit_ratio_n"
placeholder=
"请输入保证金比例"
/>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
保证金
</div>
<!--
<span
slot=
"content"
>
{{
info
.
deposit
*
info
.
product_num
|
currency
}}
</span>
-->
<CurrencyInput
slot=
"content"
v-model=
"
i
nfo.deposit"
placeholder=
"请输入保证金"
/>
<!--
<span
slot=
"content"
>
{{
info
.
deposit
*
info
.
product_num
|
currency
}}
</span>
-->
<CurrencyInput
slot=
"content"
v-model=
"
quotationI
nfo.deposit"
placeholder=
"请输入保证金"
/>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
手续费比例
</div>
<!--
<input
slot=
"content"
v-model=
"info.lease_charge_ratio_n"
readonly
/>
-->
<RateInput
slot=
"content"
v-model=
"
i
nfo.lease_charge_ratio_n"
placeholder=
"请输入手续费比例"
/>
<!--
<input
slot=
"content"
v-model=
"info.lease_charge_ratio_n"
readonly
/>
-->
<RateInput
slot=
"content"
v-model=
"
quotationI
nfo.lease_charge_ratio_n"
placeholder=
"请输入手续费比例"
/>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
手续费
</div>
<!--
<span
slot=
"content"
>
{{
parseFloat
(
info
.
lease_charge
*
info
.
product_num
).
toFixed
(
2
)
|
currency
}}
</span>
-->
<CurrencyInput
slot=
"content"
v-model=
"
i
nfo.lease_charge"
placeholder=
"请输入手续费"
/>
<!--
<span
slot=
"content"
>
{{
parseFloat
(
info
.
lease_charge
*
info
.
product_num
).
toFixed
(
2
)
|
currency
}}
</span>
-->
<CurrencyInput
slot=
"content"
v-model=
"
quotationI
nfo.lease_charge"
placeholder=
"请输入手续费"
/>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
保险押金
</div>
<!--
<span
slot=
"content"
>
{{
info
.
insurance_fee
*
info
.
product_num
|
currency
}}
</span>
-->
<CurrencyInput
slot=
"content"
v-model=
"
i
nfo.insurance_fee"
placeholder=
"请输入保险押金"
/>
<!--
<span
slot=
"content"
>
{{
info
.
insurance_fee
*
info
.
product_num
|
currency
}}
</span>
-->
<CurrencyInput
slot=
"content"
v-model=
"
quotationI
nfo.insurance_fee"
placeholder=
"请输入保险押金"
/>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
GPS费用
</div>
<!--
<span
slot=
"content"
>
{{
info
.
gps_fee
*
info
.
product_num
|
currency
}}
</span>
-->
<CurrencyInput
slot=
"content"
v-model=
"
i
nfo.gps_fee"
placeholder=
"请输入GPS费用"
/>
<!--
<span
slot=
"content"
>
{{
info
.
gps_fee
*
info
.
product_num
|
currency
}}
</span>
-->
<CurrencyInput
slot=
"content"
v-model=
"
quotationI
nfo.gps_fee"
placeholder=
"请输入GPS费用"
/>
</item>
<item>
<div
slot=
"name"
>
首次付款合计
</div>
<!--
<span
slot=
"content"
>
{{
parseFloat
(
info
.
first_pay
).
toFixed
(
2
)
|
currency
}}
</span>
-->
<CurrencyInput
slot=
"content"
v-model=
"
i
nfo.first_pay"
placeholder=
"请输入首次付款合计"
/>
<!--
<span
slot=
"content"
>
{{
parseFloat
(
info
.
first_pay
).
toFixed
(
2
)
|
currency
}}
</span>
-->
<CurrencyInput
slot=
"content"
v-model=
"
quotationI
nfo.first_pay"
placeholder=
"请输入首次付款合计"
/>
</item>
<!--
<item>
-->
<!--
<div
slot=
"name"
class=
"font-color"
>
预计付款日
</div>
-->
<!--
<span
slot=
"content"
>
{{
dateConverse
(
info
.
lease_start_date
)
}}
</span>
-->
<!--
</item>
-->
<item
@
click
.
native=
"showTime('YYYY-MM-DD')"
>
<!--
<item>
-->
<!--
<div
slot=
"name"
class=
"font-color"
>
预计付款日
</div>
-->
<!--
<span
slot=
"content"
>
{{
dateConverse
(
info
.
lease_start_date
)
}}
</span>
-->
<!--
</item>
-->
<item
:show-arrow=
"true"
@
click
.
native=
"showTime('YYYY-MM-DD')"
>
<div
slot=
"name"
class=
"font-color"
>
预计付款日
</div>
<div
slot=
"content"
class=
"autoColor"
>
{{
info
.
lease_start_date
}}
</div>
<img
src=
"@/assets/trial/date.png"
alt=
""
class=
"date-pic"
>
<div
slot=
"content"
class=
"autoColor"
>
{{
quotationInfo
.
lease_start_date
}}
</div>
</item>
<!--
<item>
-->
<!--
<div
slot=
"name"
class=
"font-color"
>
还款周期
</div>
-->
<!--
<input
slot=
"content"
v-model=
"info.annual_pay_times_n"
readonly
/>
-->
<!--
</item>
-->
<!--
<item>
-->
<!--
<div
slot=
"name"
class=
"font-color"
>
还款周期
</div>
-->
<!--
<input
slot=
"content"
v-model=
"info.annual_pay_times_n"
readonly
/>
-->
<!--
</item>
-->
<item
:show-arrow=
"true"
@
click
.
native=
"periodPull"
>
<div
slot=
"name"
class=
"font-color"
>
还款周期
</div>
<span
slot=
"content"
>
{{
i
nfo
.
annual_pay_times_n
}}
</span>
<span
slot=
"content"
>
{{
quotationI
nfo
.
annual_pay_times_n
}}
</span>
<!--
<input
slot=
"content"
v-model=
"info.annual_pay_times_n"
placeholder=
"月"
>
-->
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
租赁期数
</div>
<!--
<input
slot=
"content"
v-model=
"info.lease_times"
readonly
/>
-->
<input
slot=
"content"
v-model=
"
i
nfo.lease_times"
placeholder=
"请输入租赁期数"
type=
"number"
>
<!--
<input
slot=
"content"
v-model=
"info.lease_times"
readonly
/>
-->
<input
slot=
"content"
v-model=
"
quotationI
nfo.lease_times"
placeholder=
"请输入租赁期数"
type=
"number"
>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
年利率
</div>
<!--
<span
slot=
"content"
>
{{
info
.
int_rate_n
}}
</span>
-->
<RateInput
slot=
"content"
v-model=
"
i
nfo.int_rate_n"
placeholder=
"请输入年利率"
/>
<RateInput
slot=
"content"
v-model=
"
quotationI
nfo.int_rate_n"
placeholder=
"请输入年利率"
/>
</item>
</list-item>
<!--
<div
class=
"repay-plan"
>
-->
<!--
<p
@
click=
"repayPlan"
>
查看还款计划
</p>
-->
<!--
</div>
-->
<!--
<div
class=
"repay-plan"
>
-->
<!--
<p
@
click=
"repayPlan"
>
查看还款计划
</p>
-->
<!--
</div>
-->
<div
class=
"equipment-list-fund"
>
<span
/>
<p>
设备清单
</p>
<div
style=
"width: 75%;text-align: right;"
@
click=
"downNum=true"
>
新增
</div>
</div>
<list-item
:item-height=
"44
"
class=
"second-part"
>
<!--
<item>
-->
<!--
<div
slot=
"name"
class=
"font-color"
>
设备识别号
</div>
-->
<!--
<input
slot=
"content"
v-model=
"info.product_code"
readonly
/>
-->
<!--
</item>
-->
<list-item
v-for=
"(item, index) in leaseList"
:item-height=
"44"
:key=
"index
"
class=
"second-part"
>
<!--
<item>
-->
<!--
<div
slot=
"name"
class=
"font-color"
>
设备识别号
</div>
-->
<!--
<input
slot=
"content"
v-model=
"info.product_code"
readonly
/>
-->
<!--
</item>
-->
<item>
<div
slot=
"name"
class=
"font-color"
>
产品名称
</div>
<input
slot=
"content"
v-model=
"i
nfo.product_name"
readonly
/
>
<input
slot=
"content"
v-model=
"i
tem.ref_v02"
readonly
>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
产品数量
</div>
<input
slot=
"content"
v-model=
"i
nfo.product_num"
readonly
/
>
<input
slot=
"content"
v-model=
"i
tem.quantity"
readonly
>
</item>
</list-item>
<div
class=
"alert alert-fund"
>
<div
class=
"alert-content"
>
<div
class=
"title"
>
<img
src=
"@/assets/intoApproval/info.png"
/>
<span
class=
"info-word"
>
提示
</span>
</div>
<p
class=
"top-info"
>
绑定成功后,您即可使用APP中合同查询、还款查询等功能。
<span>
为了确保您的权益,请查看全部
</span>
</p>
</div>
</div>
</h-content>
<bottom-tab
class=
"add-box"
>
<!--
<tab-button
class=
"before"
@
click
.
native=
"takePhonto"
>
-->
<!--
<img
src=
"@/assets/constractSigning/certification.png"
/>
征信签约-->
<!--
</tab-button>
-->
<!--
<tab-button
class=
"next"
@
click
.
native=
"inSure"
>
-->
<!--
<img
src=
"@/assets/intoApproval/approve.png"
/>
提交审核-->
<!--
</tab-button>
-->
<tab-button
class=
"next"
>
<img
src=
"@/assets/intoApproval/approve.png"
/
>
保存
<img
src=
"@/assets/intoApproval/approve.png"
@
click
.
native=
""
>
保存
</tab-button>
</bottom-tab>
<h-modal
v-if=
"con_confirm_status !== 'APPROVED'"
ref=
"modal"
v-model=
"showModalValue"
position=
"bottom"
cus-class=
"sign-modal"
>
<h-view>
<h-content
class=
"approveContent"
>
<div
class=
"approveBottom"
>
<span>
审批意见
<img
src=
"@/assets/intoApproval/close1.png"
@
click=
"showModalValue = false"
/>
</span>
<textarea
v-model=
"confirm_note"
cols=
"8"
rows=
"20"
placeholder=
"请输入"
/>
</div>
</h-content>
<bottom-tab>
<tab-button
class=
"reject"
@
click
.
native=
"showModalValue = true; charge('拒绝', 'REJECTED')"
>
<img
src=
"@/assets/intoApproval/reject.png"
/>
拒绝
</tab-button>
<tab-button
class=
"same"
@
click
.
native=
"showModalValue = true; charge('同意', 'APPROVED')"
>
<img
src=
"@/assets/intoApproval/approve.png"
/>
同意
</tab-button>
</bottom-tab>
</h-view>
</h-modal>
</h-view>
</
template
>
...
...
@@ -504,7 +459,7 @@ export default {
LegalPerson
,
// bodyCheck,
},
data
()
{
data
()
{
return
{
pages
:
0
,
pdfDoc
:
null
,
...
...
@@ -573,29 +528,26 @@ export default {
bank_full_name
:
''
,
// 银行名称
bank_branch_name
:
''
,
// 支行
},
quotationInfo
:
{},
leaseList
:
[],
itemInfo
:{},
downNum
:
false
,
checkId
:
''
,
reportCheckId
:
''
,
miningCheckId
:
''
,
upload_list_mining
:
[],
dow
n
_list_mining
:
[],
dow
load
_list_mining
:
[],
upload_list_report
:
[],
dow
n
_list_report
:
[],
dow
load
_list_report
:
[],
}
},
computed
:
{},
watch
:
{
$route
(
to
,
from
)
{
$route
(
to
,
from
)
{
hlsPopup
.
hideConfirm
()
},
// ischecked: function (newVal, oldVal) {
// let appro = document.querySelector('.appro') // 同意按钮
// if (newVal) {
// appro.style.backgroundColor = '#00469c'
// } else {
// appro.style.backgroundColor = 'rgba(56, 63, 69, 0.5)'
// }
// },
bp_class
()
{
bp_class
()
{
if
(
this
.
bp_class
===
'NP'
)
{
this
.
bp_flag
=
false
// this.getBseMsg()
...
...
@@ -604,7 +556,7 @@ export default {
}
},
},
beforeRouteEnter
(
to
,
from
,
next
)
{
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
if
(
from
.
name
===
'ContractSigning'
)
{
// vm.$refs.body.hideBody()
...
...
@@ -631,138 +583,25 @@ export default {
}
else
{
vm
.
bp_flag
=
true
}
// vm.conditionQuery()
vm
.
bankCardQuery
()
vm
.
getBseMsg
()
vm
.
getPrjBaseInfo
()
vm
.
getMiningLicenseList
()
vm
.
getFinancialStatementsList
()
vm
.
getPrjQuotationList
()
vm
.
getLease
()
vm
.
getGuarantor
()
// vm.getContractLists() // 合同列表
// 合同文本附件查询
vm
.
getAttachment
()
}
else
if
(
from
.
name
===
'EntryInfo'
)
{
vm
.
bankCardQuery
()
}
})
},
activated
()
{
// this.bankCardQuery()
activated
()
{
},
mounted
()
{
if
(
this
.
con_confirm_status
!==
'APPROVED'
)
{
// this.popProtocol()
}
mounted
()
{
this
.
getBpTenantSelects
()
this
.
getInvoiceType
()
this
.
getTaxpayer
()
this
.
repayPeriod
()
},
/* beforeRoutrLeave (to, from, next) {
next(vm => {
consoloe.log('&&&&&&&&&&&&&&')
hlsPopup.hideConfirm()
})
},
destroyed () {
consoloe.log('&&&&&&&&&&&&&&')
hlsPopup.hideConfirm()
}, */
methods
:
{
// 签约校验
async
signCheck
()
{
let
vm
=
this
hlsPopup
.
showLoading
(
'请稍候'
)
let
url
=
process
.
env
.
basePath
+
'sign_check'
let
param
=
{
confirm_id
:
vm
.
confirm_id
,
data_class
:
'PRJ_CONFIRM'
,
}
let
res
=
await
vm
.
hlsHttp
.
post
(
url
,
param
)
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
return
true
}
else
{
vm
.
signMsg
=
res
.
message
return
false
}
},
async
goContent
(
item
,
index
,
isJump
=
true
)
{
// 详情
// 合同状态更新保存
let
vm
=
this
vm
.
attachFlag
=
true
vm
.
attachUrl
=
item
.
attachment_file_path
let
url
=
process
.
env
.
basePath
+
'prj_content_status_save'
let
param
=
{
master
:
{
content_id
:
item
.
content_id
,
read_status
:
'Y'
,
bp_id
:
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'now_user_bp_bind_id'
)).
bp_id
},
}
hlsPopup
.
showLoading
(
'请稍候'
)
let
res
=
await
vm
.
hlsHttp
.
post
(
url
,
param
)
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
let
temp
=
vm
.
attachArray
[
index
]
// let item = temp
temp
.
read_status
=
'Y'
if
(
isJump
){
vm
.
$router
.
push
({
name
:
'previewPdf'
,
params
:
{
attachUrl
:
vm
.
attachUrl
},
})
}
vm
.
attachArray
.
splice
(
index
,
1
,
temp
)
// debugger
}
else
{
vm
.
hlsPopup
.
showLongCenter
(
res
.
message
)
}
},
// 合同文本详情附件查询
getAttachment
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'get_content_app'
let
param
=
{
confirm_id
:
vm
.
confirm_id
,
data_class
:
'PRJ_CONFIRM'
,
bp_id
:
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'now_user_bp_bind_id'
)).
bp_id
}
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
res
=>
{
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
attachArray
=
res
.
attachments
// vm.getBook()
}
else
{
vm
.
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
// 征信授权书
getBook
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'get_content_app'
let
param
=
{
confirm_id
:
vm
.
confirm_id
,
data_class
:
'PRJ_CONFIRM'
,
bp_id
:
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'now_user_bp_bind_id'
)).
bp_id
}
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
res
=>
{
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
attachments
[
0
].
read_status
===
'Y'
)
{
vm
.
bookFlag
=
false
}
else
if
(
res
.
attachments
[
0
].
read_status
===
'N'
)
{
vm
.
bookFlag
=
true
vm
.
content_id
=
res
.
attachments
[
0
].
content_id
vm
.
_loadFile
(
res
.
attachments
[
0
].
attachment_file_path
)
}
}
else
{
vm
.
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
_renderPage
(
num
)
{
_renderPage
(
num
)
{
this
.
pdfDoc
.
getPage
(
num
).
then
((
page
)
=>
{
let
canvas
=
document
.
getElementById
(
'the-canvas'
+
num
)
console
.
log
(
canvas
)
...
...
@@ -790,7 +629,7 @@ export default {
}
})
},
_loadFile
(
url
)
{
_loadFile
(
url
)
{
console
.
log
(
'URL ==== '
+
url
)
PDFJS
.
getDocument
(
url
).
then
((
pdf
)
=>
{
this
.
pdfDoc
=
pdf
...
...
@@ -801,208 +640,8 @@ export default {
})
})
},
// 征信查询
creditCheck
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'bp_credit_check'
let
param
=
{
bp_class
:
vm
.
baseInfo
.
bp_class
,
bp_id
:
vm
.
baseInfo
.
bp_id
,
}
vm
.
hlsPopup
.
showLoading
(
'请稍候!'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
credit_status
=
res
.
info
.
credit_status
// N查过征信, Y未查过
}
else
{
vm
.
hlsPopup
.
showLongCenter
(
res
.
info
.
msg
)
}
})
},
goElectronicSign
()
{
// 电子签
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'get_sign_url'
let
param
=
{
confirm_id
:
vm
.
confirm_id
,
data_class
:
'PRJ_CONFIRM'
,
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
info
.
msg
===
'success'
)
{
vm
.
$router
.
push
({
name
:
'ElectronicSign'
,
params
:
{
url
:
res
.
info
.
data
.
url
,
},
})
}
else
{
vm
.
hlsPopup
.
showLongCenter
(
res
.
info
.
msg
)
}
})
},
charge
(
val
,
status
)
{
let
vm
=
this
this
.
hlsPopup
.
showConfirm
({
title
:
'提示'
,
content
:
`您确认
${
val
}
吗?`
,
onConfirm
:
async
data
=>
{
if
(
data
)
{
// 需要先校验是否认证通过
await
vm
.
attachArray
.
forEach
(
async
(
ele
,
i
)
=>
{
await
vm
.
goContent
(
ele
,
i
,
false
);
});
vm
.
doConfirm
(
status
)
}
},
})
},
async
takePhonto
()
{
let
vm
=
this
vm
.
goElectronicSign
()
},
// async takePhonto () {
// let vm = this
// let flag = await this.signCheck()
// if (flag) {
// vm.hlsPopup.showLongCenter('已经验证过!')
// return
// }
// let url = process.env.basePath + 'bp_query'
// let param = {
// bp_id: window.localStorage.bp_id,
// }
// hlsPopup.showLoading('请稍候')
// vm.hlsHttp.post(url, param).then(res => {
// hlsPopup.hideLoading()
// if (res.result === 'S') {
// let data = res.lists[0]
// cordova.plugins.IdCardPlugin.faceContrast({'idNum': data.id_card_no, 'idName': data.bp_name}, function (suc) {
// let success = JSON.parse(suc)
// if (success.code === 1) {
// let filePath = JSON.stringify(success.message, '\\', null)
// filePath = 'file:\/\/' + filePath.replace('\"', '')
// filePath = filePath.substr(0, filePath.length - 1)
// console.log('filePath ==== ' + filePath)
// // 回调成功上传图片
// vm.uploadImg(filePath)
// vm.goElectronicSign()
// }
// }, function (reason) {
// let error = JSON.parse(reason)
// vm.hlsPopup.showLongCenter('认证失败: ' + error.message)
// })
// } else {
// vm.hlsPopup.showLongCenter(res.message)
// }
// })
// },
// 图片上传
uploadImg
(
img
)
{
let
vm
=
this
vm
.
faceListUpload
=
[]
let
obj
=
{
pkvalue
:
vm
.
check_id
,
source_type
:
'PRJ_CDD_ITEM_CHECK'
,
picture
:
''
,
filePath
:
img
,
attachment_id
:
''
,
user_id
:
1
,
fileName
:
'face'
,
}
vm
.
faceListUpload
.
push
(
obj
)
vm
.
save_picture
(
vm
.
faceListUpload
)
},
// 确认签约逻辑
doConfirm
(
status
)
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'do_confrim_bp'
let
param
=
{
master
:
{
confirm_id
:
vm
.
confirm_id
,
confirm_status
:
status
,
confirm_note
:
this
.
confirm_note
,
},
}
vm
.
hlsPopup
.
showLoading
(
'提交数据中!'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
hlsPopup
.
showSuccess
(
'审批成功'
)
window
.
localStorage
.
setItem
(
'backFlag'
,
true
)
vm
.
$routeGo
()
}
else
{
vm
.
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
// 图片保存
save_picture
(
list
)
{
// alert('list' + JSON.stringify(list))
let
vm
=
this
if
(
list
.
length
)
{
// hlsPopup.showLoading('图片上传请稍候')
var
alreadyUploadNum
=
0
var
attLength
=
0
var
recordUploadInterval
=
setInterval
(
function
()
{
if
(
alreadyUploadNum
===
attLength
)
{
clearInterval
(
recordUploadInterval
)
/* hlsPopup.hideLoading()
hlsPopup.showLongCenter('图片上传成功') */
}
},
500
)
for
(
var
i
=
0
;
i
<
list
.
length
;
i
++
)
{
let
uploadSuccess
=
function
(
res
)
{
if
(
res
.
result
===
'S'
)
{
alreadyUploadNum
++
for
(
var
j
=
0
;
j
<
list
.
length
;
j
++
)
{
if
(
list
[
j
].
filePath
===
res
.
response
.
filePath
)
{
list
[
j
].
attachment_id
=
res
.
response
.
attachment_id
vm
.
faceListUpload
.
push
(
list
[
j
])
console
.
log
(
'faceListUpload ==== '
+
JSON
.
stringify
(
vm
.
faceListUpload
))
break
}
}
}
else
{
hlsPopup
.
hideLoading
()
}
}
if
(
!
list
[
i
].
attachment_id
)
{
attLength
++
hlsUtil
.
fileUploadSvc
(
list
[
i
],
uploadSuccess
)
}
}
}
else
{
hlsPopup
.
hideLoading
()
}
},
// 授权书勾选
select
()
{
this
.
ischecked
=
!
this
.
ischecked
},
// 授权书同意
confirm
()
{
this
.
ischecked
?
(
this
.
isConfirm
=
true
)
:
(
this
.
isConfirm
=
false
)
let
vm
=
this
let
url
=
$config
.
basePath
+
'prj_content_status_save'
let
param
=
{
master
:
{
content_id
:
vm
.
content_id
,
read_status
:
'Y'
,
bp_id
:
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'now_user_bp_bind_id'
)).
bp_id
},
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
bookFlag
=
false
}
})
},
// 担保人
getGuarantor
()
{
getGuarantor
()
{
let
vm
=
this
let
url
=
$config
.
basePath
+
'prj_guarantor_list_query'
let
param
=
{
...
...
@@ -1016,13 +655,13 @@ export default {
}
})
},
dateConverse
(
date
)
{
dateConverse
(
date
)
{
return
date
.
replace
(
/
\/
/g
,
'-'
)
},
//
租赁
信息
getLease
()
{
//
设备
信息
getLease
()
{
let
vm
=
this
let
url
=
$config
.
basePath
+
'
prj_lease
_query'
let
url
=
$config
.
basePath
+
'
zm_prj_lease_item
_query'
let
param
=
{
project_id
:
vm
.
project_id
,
}
...
...
@@ -1030,12 +669,12 @@ export default {
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
info
=
res
.
info
vm
.
leaseList
=
res
.
info
}
})
},
// 基本信息
getBseMsg
()
{
getBseMsg
()
{
let
vm
=
this
let
url
=
''
let
url1
=
$config
.
basePath
+
'prj_np_info_query'
...
...
@@ -1057,119 +696,6 @@ export default {
}
})
},
// 合同列表查询
getContractLists
()
{
let
vm
=
this
let
url
=
$config
.
basePath
+
'prj_contract_text_query'
let
param
=
{
project_id
:
vm
.
project_id
,
}
vm
.
hlsPopup
.
showLoading
(
'数据加载中'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
console
.
log
(
'合同列表'
,
res
)
if
(
res
.
result
===
'S'
)
{
vm
.
conLists
=
res
.
lists
}
})
},
// 还款计划
repayPlan
()
{
this
.
$router
.
push
({
name
:
'ContractRepayPlan'
,
params
:
{
project_id
:
this
.
project_id
,
product_num
:
this
.
info
.
product_num
,
},
})
},
// 跳转合同详情
goContractContent
(
name
)
{
this
.
$router
.
push
({
name
:
'ContractContent'
,
params
:
{
name
,
business_type
:
this
.
baseInfo
.
business_type
,
},
})
if
(
name
===
'经销商担保协议'
)
{
setTimeout
(()
=>
{
this
.
agentPic
=
this
.
readed
},
1000
)
}
else
if
(
name
===
'租赁主合同'
)
{
setTimeout
(()
=>
{
this
.
leasePic
=
this
.
readed
},
1000
)
}
},
// 跳转银行信息录入
entryInfo
()
{
let
idCard
=
''
if
(
this
.
baseInfo
.
auth_flag
)
{
this
.
baseInfo
.
auth_flag
===
'是'
?
(
idCard
=
this
.
baseInfo
.
auth_person_id_card
)
:
this
.
baseInfo
.
id_card_no
console
.
log
(
',,,,,,,,,,,'
,
idCard
)
}
else
{
idCard
=
this
.
baseInfo
.
id_card_no
}
this
.
$router
.
push
({
name
:
'EntryInfo'
,
params
:
{
id_card_no
:
idCard
,
bp_name
:
this
.
bp_name
,
project_id
:
this
.
project_id
,
confirm_status
:
this
.
con_confirm_status
,
entry_info_flag
:
this
.
entry_info_flag
,
user_bp_type
:
this
.
user_bp_type
,
bp_id
:
this
.
baseInfo
.
bp_id
,
},
})
},
async
inSure
()
{
let
flag
=
await
this
.
signCheck
()
if
(
flag
)
{
// 只有认证通过后方可进行签约操作
// window.localStorage.bp_type === 'TENANT'
if
(
JSON
.
parse
(
window
.
localStorage
.
now_user_bp_bind_id
).
bp_type
===
'TENANT'
)
{
if
(
!
this
.
bank_flag
&&
this
.
abc_deduction_flag
===
'Y'
)
{
this
.
isshow
=
true
// 未查到农行卡给出提示且勾选农行代扣
}
else
{
this
.
showModalValue
=
true
// 审批内容框显示
}
}
else
{
this
.
showModalValue
=
true
// 审批内容框显示
}
}
else
{
this
.
hlsPopup
.
showLongCenter
(
this
.
signMsg
)
}
},
// 银行卡查询
bankCardQuery
()
{
let
vm
=
this
let
url
=
$config
.
basePath
+
'con_bank_query'
let
param
=
{
project_id
:
vm
.
project_id
,
bp_id
:
JSON
.
parse
(
window
.
localStorage
.
now_user_bp_bind_id
).
bp_id
,
}
// vm.hlsPopup.showLoading('数据加载中')
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
// vm.hlsPopup.hideLoading()
if
(
res
.
result
===
'S'
)
{
// console.log(res.info.bank_full_name === ' ')
// if (res.info.bank_full_name) {
// vm.bank_flag = true
// vm.bankPic = vm.readed
// } else {
vm
.
bank_flag
=
false
vm
.
bankPic
=
vm
.
unRead
// }
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
invoiceQuery
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'bp_invoice_query'
...
...
@@ -1192,12 +718,6 @@ export default {
addRows
(
e
)
{
if
(
e
)
{
// let addNum = Math.ceil(e.length / 16)
// if (addNum === 0) {
// this.$refs.myTestarea.rows = 1
// } else if (addNum >= addNum - 1 && addNum
<
addNum
+
1
)
{
// this.$refs.myTestarea.rows = addNum + 1
// }
let
len
=
0
for
(
let
i
=
0
;
i
<
e
.
length
;
i
++
)
{
var
c
=
e
.
charCodeAt
(
i
)
...
...
@@ -1214,12 +734,6 @@ export default {
},
addRowsLive
(
e
)
{
if
(
e
)
{
// let addNum = Math.ceil(e.length / 16)
// if (addNum === 0) {
// this.$refs.myTestareaLive.rows = 1
// } else if (addNum >= addNum - 1 && addNum
<
addNum
+
1
)
{
// this.$refs.myTestareaLive.rows = addNum + 1
// }
let
len
=
0
for
(
let
i
=
0
;
i
<
e
.
length
;
i
++
)
{
var
c
=
e
.
charCodeAt
(
i
)
...
...
@@ -1234,6 +748,128 @@ export default {
this
.
$refs
.
myTestareaLive
.
rows
=
addNum
}
},
getPrjBaseInfo
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'zm_prj_base_info_query'
let
param
=
{
project_id
:
vm
.
project_id
,
bp_id
:
JSON
.
parse
(
window
.
localStorage
.
now_user_bp_bind_id
).
bp_id
,
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
baseInfo
=
res
.
lists
[
0
]
}
})
},
getMiningLicenseList
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'bp_mining_license_query'
let
param
=
{
project_id
:
vm
.
project_id
,
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
miningCheckId
=
res
.
lists
[
0
].
check_id
vm
.
getAttachmentList
(
vm
.
reportCheckId
,
'mining'
)
}
})
},
getFinancialStatementsList
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'bp_financial_statements_query'
let
param
=
{
project_id
:
vm
.
project_id
,
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
reportCheckId
=
res
.
lists
[
0
].
check_id
vm
.
getAttachmentList
(
vm
.
reportCheckId
,
'report'
)
}
})
},
getPrjQuotationList
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'zm_prj_quotation_query'
let
param
=
{
project_id
:
vm
.
project_id
,
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
quotationInfo
=
res
.
lists
[
0
]
}
})
},
getBpTenantSelects
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'bp_tenant_query'
let
param
=
{}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
bpTenantList
=
res
.
lists
.
map
(
item
=>
{
item
.
code
=
item
.
bp_id
item
.
code_name
=
item
.
bp_name
return
item
})
}
})
},
selectBpTenant
(
e
)
{
let
vm
=
this
vm
.
hlsPopup
.
selectList
({
list
:
vm
.
bpTenantList
,
code
:
'bp_id'
,
object
:
{},
returnItem
:
function
(
index
,
obj
)
{
debugger
console
.
log
(
vm
.
bpTenantList
[
index
])
vm
.
baseInfo
=
{
...
vm
.
baseInfo
,
...
vm
.
bpTenantList
[
index
],
}
vm
.
invoiceInfo
=
{
...
vm
.
invoiceInfo
,
...
vm
.
bpTenantList
[
index
],
}
},
})
},
getAttachmentList
(
checkId
,
code
)
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'attachment_list_query'
// 附件查询
let
param
=
{
check_id
:
checkId
,
}
hlsPopup
.
showLoading
(
'请稍候'
)
return
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
// vm.hlsPopup.hideLoading()
if
(
res
.
result
===
'S'
)
{
res
.
lists
.
forEach
(
item
=>
{
item
[
'url'
]
=
process
.
env
.
filePath
+
'attachment_id='
+
item
.
attachment_id
+
'&access_token='
+
window
.
localStorage
.
access_token
})
if
(
code
===
'report'
)
{
vm
.
dowload_list_report
=
res
.
lists
}
else
{
vm
.
dowload_list_mining
=
res
.
lists
}
}
})
},
getInvoiceType
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'bp_invoice_kind_query'
...
...
@@ -1278,8 +914,6 @@ export default {
returnItem
:
function
(
index
,
obj
)
{
vm
.
$set
(
vm
.
invoiceInfo
,
'taxpayer_type'
,
obj
.
bp_type
)
vm
.
$set
(
vm
.
invoiceInfo
,
'taxpayer_type_n'
,
obj
.
bp_type_n
)
/* vm.invoiceInfo.taxpayer_type = obj.bp_type
vm.invoiceInfo.taxpayer_type_n = obj.bp_type_n */
console
.
log
(
'obj'
,
vm
.
invoiceInfo
)
},
})
...
...
@@ -1293,8 +927,6 @@ export default {
returnItem
:
function
(
index
,
obj
)
{
vm
.
$set
(
vm
.
invoiceInfo
,
'invoice_kind'
,
obj
.
bp_type
)
vm
.
$set
(
vm
.
invoiceInfo
,
'invoice_kind_n'
,
obj
.
bp_type_n
)
/* vm.invoiceInfo.invoice_kind = obj.bp_type
vm.invoiceInfo.invoice_kind_n = obj.bp_type_n */
},
})
},
...
...
@@ -1399,11 +1031,11 @@ export default {
for
(
var
j
=
0
;
j
<
list
.
length
;
j
++
)
{
if
(
list
[
j
].
filePath
===
res
.
response
.
filePath
)
{
list
[
j
].
attachment_id
=
res
.
response
.
attachment_id
if
(
code
===
'
spec
'
)
{
vm
.
spec_upload_lis
t
.
push
(
list
[
j
])
if
(
code
===
'
report
'
)
{
vm
.
upload_list_repor
t
.
push
(
list
[
j
])
break
}
else
if
(
code
===
'm
ort
'
)
{
vm
.
mort_upload_list
.
push
(
list
[
j
])
}
else
if
(
code
===
'm
ining
'
)
{
vm
.
upload_list_mining
.
push
(
list
[
j
])
break
}
}
...
...
@@ -1444,12 +1076,12 @@ export default {
},
remove_upload_list
(
attachment_id
,
index
,
code
)
{
let
vm
=
this
if
(
code
===
'
spec
'
)
{
vm
.
spec_upload_lis
t
.
remove
(
index
)
vm
.
spec_upload_lis
t
.
sort
()
}
else
if
(
code
===
'm
ort
'
)
{
vm
.
mort_upload_list
.
remove
(
index
)
vm
.
mort_upload_list
.
sort
()
if
(
code
===
'
report
'
)
{
vm
.
upload_list_repor
t
.
remove
(
index
)
vm
.
upload_list_repor
t
.
sort
()
}
else
if
(
code
===
'm
ining
'
)
{
vm
.
upload_list_mining
.
remove
(
index
)
vm
.
upload_list_mining
.
sort
()
}
},
// 删除图片
...
...
@@ -1476,150 +1108,16 @@ export default {
remove_dowload_list
(
attachment_id
,
code
)
{
console
.
log
(
'attachment_id'
,
attachment_id
)
let
vm
=
this
if
(
code
===
'
spec
'
)
{
vm
.
spec_dowload_list
=
vm
.
spec_dowload_lis
t
.
filter
(
item
=>
{
if
(
code
===
'
report
'
)
{
vm
.
dowload_list_report
=
vm
.
dowload_list_repor
t
.
filter
(
item
=>
{
return
item
.
attachment_id
!==
attachment_id
})
}
else
if
(
code
===
'm
ort
'
)
{
vm
.
mort_dowload_list
=
vm
.
mort_dowload_list
.
filter
(
item
=>
{
}
else
if
(
code
===
'm
ining
'
)
{
vm
.
dowload_list_mining
=
vm
.
dowload_list_mining
.
filter
(
item
=>
{
return
item
.
attachment_id
!==
attachment_id
})
}
},
loadItemList
()
{
let
vm
=
this
let
bp_id_tenant
=
window
.
localStorage
.
getItem
(
'bp_id_tenant'
)
if
(
bp_id_tenant
===
'undefined'
)
{
bp_id_tenant
=
null
}
let
url
=
process
.
env
.
basePath
+
'prj_cdd_check_list'
let
group
=
''
if
(
vm
.
bpClass
===
'NP'
)
{
group
=
'HLS_NP'
}
else
{
window
.
localStorage
.
auth_flag
===
'是'
?
group
=
'HLS_ORG_AUTH'
:
group
=
'HLS_ORG_NAUTH'
}
let
param
=
{
master
:
{
document_id
:
bp_id_tenant
,
document_table
:
'HLS_BP_MASTER'
,
tab_group
:
group
,
},
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
// vm.hlsPopup.hideLoading()
console
.
log
(
res
)
vm
.
cddItemList
=
res
.
lists
if
(
res
.
result
===
'S'
)
{
let
listTemp
=
[...
res
.
lists
]
listTemp
.
forEach
(
item
=>
{
switch
(
item
.
cdd_item
)
{
// case 'NP_ID_CARD_F': // 自然人身份证正面
// vm.idCardFrontCheck_id = item.check_id
// break
// case 'LEGAL_ID_CARD_F': // 法人代表身份证正面
// vm.idCardFrontCheck_id = item.check_id
// break
// case 'NP_ID_CARD_B': // 身份证背面
// vm.idCardBackCheck_id = item.check_id
// break
// case 'LEGAL_ID_CARD_B': // 身份证背面
// vm.idCardBackCheck_id = item.check_id
// break
// case 'HOUSE_CARD': // 房产证
// vm.house_id = item.check_id
// break
// case 'CAR_CARD': // 行驶证
// vm.car_id = item.check_id
// break
case
'ORG_CODE'
:
// 营业执照
vm
.
license_id
=
item
.
check_id
break
default
:
}
})
// 查询图片
// hlsPopup.showLoading('请稍候')
listTemp
.
forEach
((
item
,
index
)
=>
{
vm
.
load_picture
(
item
.
check_id
,
index
,
item
.
cdd_item
)
if
(
index
===
listTemp
.
length
-
1
)
{
vm
.
hlsPopup
.
hideLoading
()
}
})
}
})
},
load_picture
(
check_id
,
index
,
cdd_item
)
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'attachment_list_query'
+
'&index'
+
index
// 附件查询
let
param
=
{
check_id
:
check_id
,
}
// hlsPopup.showLoading('请稍候')
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
// vm.hlsPopup.hideLoading()
if
(
res
.
result
===
'S'
)
{
res
.
lists
.
forEach
(
item
=>
{
item
[
'url'
]
=
process
.
env
.
filePath
+
'attachment_id='
+
item
.
attachment_id
+
'&access_token='
+
window
.
localStorage
.
access_token
})
console
.
log
(
'图片查询'
,
res
.
lists
)
switch
(
cdd_item
)
{
case
'NP_ID_CARD_F'
:
// 自然人身份证正面
if
(
!
vm
.
idCardFrontUrlFlag
)
{
vm
.
idCardFront
=
res
.
lists
[
0
].
url
}
// vm.idCardFrontAttachmentId = res.lists[0].attachment_id
break
case
'LEGAL_ID_CARD_F'
:
// 身份证正面
if
(
!
vm
.
idCardFrontUrlFlag
)
{
vm
.
idCardFront
=
res
.
lists
[
0
].
url
}
// vm.idCardFrontAttachmentId = res.lists[0].attachment_id
break
case
'NP_ID_CARD_B'
:
// 承租人身份证背面
if
(
!
vm
.
idCardBackUrlFlag
)
{
vm
.
idCardBack
=
res
.
lists
[
0
].
url
}
// vm.idCardBackAttachmentId = res.lists[0].attachment_id
break
case
'LEGAL_ID_CARD_B'
:
// 承租人身份证背面
if
(
!
vm
.
idCardBackUrlFlag
)
{
vm
.
idCardBack
=
res
.
lists
[
0
].
url
}
// vm.idCardBackAttachmentId = res.lists[0].attachment_id
break
case
'HOUSE_CARD'
:
// 房产证
if
(
!
vm
.
houseFlag
)
{
vm
.
houseImg
=
res
.
lists
[
0
].
url
}
// vm.house_id = res.lists[0].attachment_id
break
case
'CAR_CARD'
:
// 房产证
if
(
!
vm
.
carFlag
)
{
vm
.
carImg
=
res
.
lists
[
0
].
url
}
// vm.house_id = res.lists[0].attachment_id
break
case
'ORG_CODE'
:
// 营业执照
if
(
!
vm
.
licenseFlag
)
{
vm
.
licenseImg
=
res
.
lists
[
0
].
url
}
// vm.house_id = res.lists[0].attachment_id
break
default
:
}
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
// 还款周期查询
repayPeriod
()
{
let
vm
=
this
...
...
@@ -1655,6 +1153,89 @@ export default {
},
})
},
// 保存融租方案接口
prjBaseInfoSave
()
{
let
vm
=
this
let
url
=
$config
.
basePath
+
'zm_prj_base_info_save'
let
param
=
{
'project_id'
:
vm
.
project_id
,
'operator_id'
:
''
,
...
vm
.
baseInfo
,
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
// 保存设备
prjLeaseItemSave
()
{
let
vm
=
this
let
url
=
$config
.
basePath
+
'zm_prj_lease_item_save'
let
param
=
{
master
:
{
lists
:
[{
'project_id'
:
vm
.
project_id
,
...
vm
.
itemInfo
,
}],
},
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
getLease
()
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
// 方案信息保存&更新接口
calculationSave
()
{
let
vm
=
this
if
(
!
vm
.
quotationInfo
.
equip_price
)
{
hlsPopup
.
showLongCenter
(
'请输入设备总价'
)
}
else
if
(
!
vm
.
quotationInfo
.
price_date_to
)
{
hlsPopup
.
showLongCenter
(
'请选择时间'
)
}
else
if
(
!
vm
.
quotationInfo
.
gps_fee
)
{
hlsPopup
.
showLongCenter
(
'请输入GPS费用'
)
}
else
if
(
!
vm
.
quotationInfo
.
insurance_fee
)
{
hlsPopup
.
showLongCenter
(
'请输入保险押金费用'
)
}
else
{
let
url
=
$config
.
basePath
+
'zm_prj_quotation_save'
let
param
=
{
'project_id'
:
vm
.
project_id
,
'quotation_id'
:
vm
.
quotationInfo
.
quotation_id
,
'equip_price'
:
vm
.
quotationInfo
.
equip_price
,
'down_payment'
:
vm
.
quotationInfo
.
down_payment
,
'deposit'
:
vm
.
quotationInfo
.
deposit
,
'lease_charge'
:
vm
.
quotationInfo
.
lease_charge
,
'due_date'
:
vm
.
quotationInfo
.
due_date
,
'lease_times'
:
vm
.
quotationInfo
.
lease_times
,
'insurance_fee'
:
vm
.
quotationInfo
.
insurance_fee
,
'gps_fee'
:
vm
.
quotationInfo
.
gps_fee
,
'annual_pay_times'
:
vm
.
quotationInfo
.
annual_pay_times
,
'finance_amount'
:
vm
.
quotationInfo
.
finance_amount
,
'deposit_ratio'
:
vm
.
quotationInfo
.
deposit_ratio
,
'lease_charge_ratio'
:
vm
.
quotationInfo
.
lease_charge_ratio
,
'lease_start_date'
:
vm
.
quotationInfo
.
lease_start_date
,
'int_rate'
:
vm
.
quotationInfo
.
int_rate
,
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
quotationInfo
.
quotation_id
=
res
.
quotation_id
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
}
},
},
}
</
script
>
...
...
@@ -2442,5 +2023,96 @@ export default {
background-color: rgba(0, 0, 0, 0) !important;
}
.trans-enter-active,
.trans-leave-active {
transition: opacity 0.5s;
}
.trans-enter,
.trans-leave-active {
opacity: 0;
}
.hide {
display: flex;
justify-content: flex-start;
align-items: center;
img {
width: 30px;
height: 30px;
margin-left: 65%;
}
}
.wrap {
padding-top: 92px;
}
.modal-show {
width: 100%;
height: 100%;
position: absolute;
display: flex;
z-index: 900;
background-color: rgba(56, 63, 69, 0.3);
justify-content: center;
align-items: center;
.down {
position: relative;
width: 314px;
height: 516px;
z-index: 999;
background-size: 301px 24.7px;
background-color: #fff;
}
.top {
width: 100%;
height: 44px;
font-family: PingFangSC-Semibold;
font-size: 16px;
letter-spacing: 0;
text-align: center;
line-height: 44px;
color: #fff;
background: #0041c4;
img {
width: 16px;
height: 16px;
float: right;
margin-top: 13px;
margin-right: 20px;
}
}
.down-content {
margin-top: 8px;
span:first-child {
font-family: PingFangSC-Regular;
font-size: 13px;
color: #656464;
letter-spacing: 0;
margin-left: 15px;
}
.photo {
width: 172px;
height: 120px;
border: 1px solid #dcdcdd;
border-radius: 2px;
margin: 0 auto;
margin-top: 12px;
background: url("../../assets/contractStart/photo.png") 70px no-repeat;
background-size: 24px 20px;
img {
width: 100%;
height: 100%;
}
}
}
button {
width: 240px;
height: 40px;
position: absolute;
color: #fff;
bottom: 10px;
left: 30.5px;
background-color: #0041c4;
border-radius: 4px;
}
}
</
style
>
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