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
7d4a9700
Commit
7d4a9700
authored
Dec 22, 2023
by
王建文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
融资方案
parent
eaeb85f4
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
282 additions
and
13 deletions
+282
-13
prod.env.js
config/prod.env.js
+1
-1
contract-detail.vue
src/pages/contractSigning/contract-detail.vue
+146
-12
contract-new.vue
src/pages/contractSigning/contract-new.vue
+135
-0
No files found.
config/prod.env.js
View file @
7d4a9700
...
...
@@ -11,5 +11,5 @@ module.exports = {
ocrPath
:
'"http://210.12.156.64:9090/r/api"'
,
fileUploadSvcPath
:
'"http://210.12.156.64:9090/r/api/app/fileUploadSvc?sysName=XCMG_UAT&apiName="'
,
appId
:
'"com.xcmg.app.dev"'
,
currentVersion
:
'"3.6.
0
"'
currentVersion
:
'"3.6.
1
"'
}
src/pages/contractSigning/contract-detail.vue
View file @
7d4a9700
This diff is collapsed.
Click to expand it.
src/pages/contractSigning/contract-new.vue
View file @
7d4a9700
...
...
@@ -34,6 +34,42 @@
</div>
</div>
</transition>
<transition
name=
"trans"
>
<div
v-show=
"guarantorFlag"
class=
"modal-show"
>
<div
class=
"down"
>
<div
class=
"top"
>
录入担保人信息
<img
src=
"@/assets/intoApproval/close.png"
@
click=
"guarantorFlag = false"
>
</div>
<div
class=
"down-content"
>
<list-item
:item-height=
"44"
>
<item>
<div
slot=
"name"
class=
"required"
>
担保人类型
</div>
<input
slot=
"content"
v-model=
"guarantorInfo.guarantor_type_n"
placeholder=
"请选择担保人类型"
readonly
@
click=
"selectGuarantorType"
>
</item>
<item>
<div
slot=
"name"
class=
"required"
>
担保人名称
</div>
<input
slot=
"content"
v-model=
"guarantorInfo.guarantor_name"
placeholder=
"请输入担保人名称"
>
</item>
</list-item>
</div>
<button
@
click=
"prjGuarantorSave"
>
保存
</button>
</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()"
>
...
...
@@ -151,6 +187,25 @@
<textarea
slot=
"content"
v-model=
"baseInfo.control_living_address"
/>
</item>
</list-item>
<div
class=
"equipment-list-fund"
style=
"color:#00469c"
>
<span/>
<p>
担保人信息
</p>
<div
style=
"width: 75%;text-align: right;"
@
click=
"guarantorFlag=true"
>
新增
</div>
</div>
<list-item
v-for=
"(item, index) in guarantorList"
:item-height=
"76"
: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=
"item.guarantor_type_n"
readonly
>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
担保人名称
</div>
<input
slot=
"content"
v-model=
"item.guarantor_name"
readonly
>
</item>
</list-item>
<div
class=
"equipment-list"
>
采矿权许可证
</div>
...
...
@@ -594,6 +649,10 @@ export default {
downNum
:
false
,
leaseList
:
[],
approverBpList
:
[],
guarantorTypeList
:
[],
guarantorList
:
[],
guarantorFlag
:
false
,
guarantorInfo
:
{},
baseInfo
:
{
},
// 基本信息
...
...
@@ -666,6 +725,7 @@ export default {
this
.
getTaxpayer
()
this
.
repayPeriod
()
this
.
getProjectApprover
()
this
.
getGuarantorType
()
},
methods
:
{
...
...
@@ -789,6 +849,37 @@ export default {
}
})
},
getGuarantorType
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'zm_bp_type_query'
let
param
=
{}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
guarantorTypeList
=
res
.
lists
.
map
(
item
=>
{
return
{
code
:
item
.
value_code
,
code_name
:
item
.
value_name
,
}
})
}
})
},
selectGuarantorType
()
{
let
vm
=
this
vm
.
hlsPopup
.
selectList
({
list
:
vm
.
guarantorTypeList
,
code
:
'guarantor_type'
,
object
:
{},
returnItem
:
function
(
index
,
obj
)
{
vm
.
$set
(
vm
.
guarantorInfo
,
'guarantor_type'
,
obj
.
guarantor_type
)
vm
.
$set
(
vm
.
guarantorInfo
,
'guarantor_type_n'
,
obj
.
guarantor_type_n
)
// console.log('obj', vm.baseInfo)
},
})
},
selectApproverBp
(
e
)
{
let
vm
=
this
...
...
@@ -1283,6 +1374,50 @@ export default {
this
.
calculationSave
()
}
},
// 担保人信息
getGuarantorInfo
()
{
let
vm
=
this
let
url
=
$config
.
basePath
+
'zm_prj_project_ref_info'
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
.
guarantorList
=
res
.
lists
vm
.
guarantorFlag
=
false
}
})
},
// 保存担保人
prjGuarantorSave
()
{
let
vm
=
this
if
(
!
vm
.
project_id
)
{
hlsPopup
.
showLongCenter
(
'请先保存基本信息'
)
return
}
let
url
=
$config
.
basePath
+
'zm_prj_ref_info_save'
let
param
=
{
master
:
{
lists
:
[{
'project_id'
:
vm
.
project_id
,
...
vm
.
guarantorInfo
,
}],
},
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
hlsPopup
.
showLongCenter
(
'担保人保存成功'
)
vm
.
getGuarantorInfo
()
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
// 保存融租方案接口
prjBaseInfoSave
()
{
...
...
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