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
2dacb1b1
Commit
2dacb1b1
authored
Jan 31, 2024
by
14699
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:融资方案新增复核
parent
fde3647a
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
104 additions
and
19 deletions
+104
-19
prod.env.js
config/prod.env.js
+1
-1
contract-detail.vue
src/pages/contractSigning/contract-detail.vue
+49
-2
contract-new.vue
src/pages/contractSigning/contract-new.vue
+35
-2
contract-signing.vue
src/pages/contractSigning/contract-signing.vue
+16
-12
my-info.vue
src/pages/myInfo/my-info.vue
+3
-2
No files found.
config/prod.env.js
View file @
2dacb1b1
...
...
@@ -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.7.
1
"'
currentVersion
:
'"3.7.
2
"'
}
src/pages/contractSigning/contract-detail.vue
View file @
2dacb1b1
...
...
@@ -98,6 +98,18 @@
readonly
@
click=
"selectApproverBp"
>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
主办所属公司
</div>
<input
slot=
"content"
v-model=
"baseInfo.corporate_name"
readonly
>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
融租方案复核
</div>
<input
slot=
"content"
v-model=
"baseInfo.director"
readonly
>
</item>
</list-item>
<div
class=
"equipment-list"
>
承租人信息
</div>
<list-item
:item-height=
"44"
class=
"second-part"
>
...
...
@@ -698,6 +710,9 @@
<tab-button
class=
"next"
@
click
.
native=
"handleSave"
>
<img
src=
"@/assets/intoApproval/approve.png"
>
保存
</tab-button>
<tab-button
v-if=
"zm_project_status !== 'APPROVED' && director_flag === 'Y'"
class=
"next"
@
click
.
native=
"handleSubmit"
>
提交复核
</tab-button>
</bottom-tab>
</h-view>
</
template
>
...
...
@@ -868,7 +883,8 @@ export default {
vm
.
abc_deduction_flag
=
vm
.
$route
.
params
.
item
.
abc_deduction_flag
vm
.
project_id
=
vm
.
$route
.
params
.
item
.
project_id
vm
.
confirm_id
=
vm
.
$route
.
params
.
item
.
confirm_id
vm
.
con_confirm_status
=
vm
.
$route
.
params
.
item
.
confirm_status
// 提交状态
vm
.
zm_project_status
=
vm
.
$route
.
params
.
item
.
zm_project_status
// 复核状态
vm
.
director_flag
=
vm
.
$route
.
params
.
item
.
director_flag
// 是否复核岗位
vm
.
agentPic
=
vm
.
unRead
vm
.
leasePic
=
vm
.
unRead
if
(
vm
.
$route
.
params
.
item
.
bp_class
===
'NP'
)
{
...
...
@@ -1786,6 +1802,37 @@ export default {
}
},
handleSubmit
()
{
let
vm
=
this
vm
.
hlsPopup
.
showConfirm
({
title
:
'提示'
,
content
:
'您确定复核完成提交吗?'
,
onConfirm
:
(
data
)
=>
{
if
(
data
===
1
)
{
vm
.
prjBaseInfoSubmit
()
}
},
})
},
prjBaseInfoSubmit
()
{
let
vm
=
this
let
url
=
$config
.
basePath
+
'zm_prj_status_update'
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
.
hlsPopup
.
showSuccess
(
'复核提交成功'
)
setTimeout
(()
=>
{
vm
.
$router
.
go
(
-
1
)
},
1000
)
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
// 保存融租方案接口
prjBaseInfoSave
()
{
let
vm
=
this
...
...
@@ -1828,7 +1875,7 @@ export default {
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
guarantorInfo
=
{}
vm
.
guarantorInfo
=
{}
hlsPopup
.
showLongCenter
(
'担保人保存成功'
)
vm
.
getGuarantorInfo
()
}
else
{
...
...
src/pages/contractSigning/contract-new.vue
View file @
2dacb1b1
...
...
@@ -114,6 +114,18 @@
readonly
@
click=
"selectApproverBp"
>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
主办所属公司
</div>
<input
slot=
"content"
v-model=
"baseInfo.corporate_name"
readonly
>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
融租方案复核
</div>
<input
slot=
"content"
v-model=
"baseInfo.director"
readonly
>
</item>
</list-item>
<div
class=
"equipment-list"
>
承租人信息
</div>
<list-item
:item-height=
"44"
class=
"second-part"
>
...
...
@@ -707,7 +719,8 @@ export default {
guarantorFlag
:
false
,
guarantorInfo
:
{},
baseInfo
:
{
bp_user_id_n
:
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'now_user_bp_bind_id'
)).
bp_name
,
bp_user_id
:
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'now_user_bp_bind_id'
)).
bp_id
,
},
// 基本信息
project_id
:
''
,
check1
:
Check1
,
...
...
@@ -784,6 +797,7 @@ export default {
this
.
repayPeriod
()
this
.
getProjectApprover
()
this
.
getGuarantorType
()
this
.
getHostAffiliatedInfo
()
},
methods
:
{
// 删除设备
...
...
@@ -855,6 +869,25 @@ export default {
this
.
$refs
.
myTestareaLive
.
rows
=
addNum
}
},
getHostAffiliatedInfo
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'zm_host_affiliated_info_query'
let
param
=
{}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
host_affiliated_list
=
res
.
lists
let
list
=
res
.
lists
.
filter
(
item
=>
{
return
item
.
phone
===
window
.
localStorage
.
getItem
(
'user_phone'
)
})
vm
.
baseInfo
=
{
...
vm
.
baseInfo
,
...
list
[
0
],
}
}
})
},
getBpTenantSelects
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'bp_tenant_query'
...
...
@@ -1550,7 +1583,7 @@ export default {
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
guarantorInfo
=
{}
vm
.
guarantorInfo
=
{}
hlsPopup
.
showLongCenter
(
'担保人保存成功'
)
vm
.
getGuarantorInfo
()
}
else
{
...
...
src/pages/contractSigning/contract-signing.vue
View file @
2dacb1b1
...
...
@@ -8,16 +8,16 @@
<div
slot=
"right"
class=
"h-header-btn"
@
click=
"addNew()"
><span>
新增
</span></div>
</h-header>
<
!--
<
div
class=
"tab-style has-header"
>
<div
class=
"tab-style has-header"
>
<div
:class=
"
{ 'done': num === 1, 'undone': num !== 1 }" @click="num = 1; isRadio = false">
<img
:src=
"num === 1 ? check1 : uncheck1"
/>
<span>
待确认
</span>
<span>
未审核方案
</span>
</div>
<div
:class=
"
{ 'done': num === 2, 'undone': num !== 2 }" @click="num = 2; isRadio = false">
<img
:src=
"num === 2 ? check2 : uncheck2"
/>
<span>
已
确认
</span>
<span>
已
审核方案
</span>
</div>
</div>
-->
</div>
<!-- 搜索 -->
<div
class=
"search"
>
<input
v-model=
"searchInput"
type=
"text"
placeholder=
"请输入承租人名称"
>
...
...
@@ -73,6 +73,10 @@
<p>
申请时间
</p>
<p>
{{
dateConverse
(
item
.
sale_date
)
}}
</p>
</div>
<div>
<p>
方案状态
</p>
<p>
{{
item
.
zm_project_status_n
}}
</p>
</div>
</div>
</div>
</div>
...
...
@@ -230,7 +234,7 @@ export default {
bp_id
:
JSON
.
parse
(
window
.
localStorage
.
now_user_bp_bind_id
).
bp_id
,
pagesize
:
10
,
pagenum
:
vm
.
submitPagenum
,
confirm_status
:
'SUBMIT
'
,
zm_project_status
:
'NEW
'
,
searchInput
:
vm
.
searchInput
,
}
vm
.
hlsPopup
.
showLoading
(
'数据加载中'
)
...
...
@@ -257,7 +261,7 @@ export default {
pagesize
:
10
,
pagenum
:
vm
.
approvedPagenum
,
searchInput
:
vm
.
searchInput
,
confirm
_status
:
'APPROVED'
,
zm_project
_status
:
'APPROVED'
,
phone
:
window
.
localStorage
.
user_phone
,
bp_id
:
JSON
.
parse
(
window
.
localStorage
.
now_user_bp_bind_id
).
bp_id
,
}
...
...
@@ -295,7 +299,7 @@ export default {
pagesize
:
10
,
pagenum
:
vm
.
submitPagenum
,
phone
:
window
.
localStorage
.
user_phone
,
confirm_status
:
'SUBMIT
'
,
zm_project_status
:
'NEW
'
,
searchInput
:
vm
.
searchInput
,
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
...
...
@@ -332,7 +336,7 @@ export default {
bp_id
:
JSON
.
parse
(
window
.
localStorage
.
now_user_bp_bind_id
).
bp_id
,
pagesize
:
10
,
pagenum
:
vm
.
approvedPagenum
,
confirm
_status
:
'APPROVED'
,
zm_project
_status
:
'APPROVED'
,
phone
:
window
.
localStorage
.
user_phone
,
searchInput
:
vm
.
searchInput
,
}
...
...
@@ -372,7 +376,7 @@ export default {
pagesize
:
10
,
pagenum
:
vm
.
submitPagenum
,
phone
:
window
.
localStorage
.
user_phone
,
confirm_status
:
'SUBMIT
'
,
zm_project_status
:
'NEW
'
,
searchInput
:
vm
.
searchInput
,
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
...
...
@@ -407,7 +411,7 @@ export default {
bp_id
:
JSON
.
parse
(
window
.
localStorage
.
now_user_bp_bind_id
).
bp_id
,
pagesize
:
10
,
pagenum
:
vm
.
approvedPagenum
,
confirm
_status
:
'APPROVED'
,
zm_project
_status
:
'APPROVED'
,
phone
:
window
.
localStorage
.
user_phone
,
searchInput
:
vm
.
searchInput
,
}
...
...
@@ -481,7 +485,7 @@ export default {
padding-bottom: 8px;
align-items: center;
background-color: #fff;
box-shadow: 0 2px 3px 0 rgba(220, 220, 221, 0.5);
//
box-shadow: 0 2px 3px 0 rgba(220, 220, 221, 0.5);
position: absolute;
z-index: 999;
...
...
@@ -601,7 +605,7 @@ export default {
width: 100%;
z-index: 100;
margin-bottom: 8px;
//
margin-top: 52px;
margin-top: 52px;
input {
padding-left: 12px;
border-radius: 4px;
...
...
src/pages/myInfo/my-info.vue
View file @
2dacb1b1
...
...
@@ -318,9 +318,10 @@ export default {
item
.
bp_identity_name
=
register
[
item
.
bp_identity
]
return
item
}
)
window
.
localStorage
.
setItem
(
'bind-user-list'
,
JSON
.
stringify
(
query
.
lists
))
// window.localStorage.setItem('now_user_bp_bind_id', JSON.stringify(query.lists.length ? query.lists[0] :
{
}
))
if
(
!
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'now_user_bp_bind_id'
)).
bp_id
)
{
window
.
localStorage
.
setItem
(
'now_user_bp_bind_id'
,
JSON
.
stringify
(
query
.
lists
.
length
?
query
.
lists
[
0
]
:
{
}
))
}
if
(
!
query
.
lists
.
length
)
{
window
.
localStorage
.
setItem
(
'now_user_bp_bind_id'
,
JSON
.
stringify
({
}
))
}
this
.
nowBind
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'now_user_bp_bind_id'
))
this
.
bindUserList
=
query
.
lists
...
...
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