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
fde3647a
Commit
fde3647a
authored
Jan 30, 2024
by
王建文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改角色切换问题
parent
c6c149fe
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
145 additions
and
113 deletions
+145
-113
choose-user.vue
src/pages/choose-user.vue
+1
-0
contract-detail.vue
src/pages/contractSigning/contract-detail.vue
+24
-6
contract-new.vue
src/pages/contractSigning/contract-new.vue
+22
-6
my-info.vue
src/pages/myInfo/my-info.vue
+98
-101
No files found.
src/pages/choose-user.vue
View file @
fde3647a
...
...
@@ -116,6 +116,7 @@ export default {
},
next
()
{
let
index
=
this
.
hasChecked
;
console
.
log
(
'JSON.stringify(this.list[index])'
+
JSON
.
stringify
(
this
.
list
[
index
]))
if
(
index
>
-
1
)
{
window
.
localStorage
.
setItem
(
'now_user_bp_bind_id'
,
JSON
.
stringify
(
this
.
list
[
index
]));
this
.
$router
.
push
(
'tab'
);
...
...
src/pages/contractSigning/contract-detail.vue
View file @
fde3647a
...
...
@@ -221,7 +221,7 @@
<!--
</item>
-->
<item>
<div
slot=
"name"
class=
"font-color"
>
担保人类型
</div>
<input
slot=
"content"
v-model=
"item.guarantor_type_n"
readonly
>
<input
slot=
"content"
v-model=
"item.guarantor_type_n"
readonly
@
click=
"saveGuarantor(item)"
>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
担保人名称
</div>
...
...
@@ -931,6 +931,12 @@ export default {
vm
.
itemInfo
=
item
vm
.
downNum
=
true
},
// 更新担保人
saveGuarantor
(
item
)
{
let
vm
=
this
vm
.
guarantorInfo
=
item
vm
.
guarantorFlag
=
true
},
saveData
()
{
let
vm
=
this
let
url
=
$config
.
basePath
+
'zm_prj_base_info_save'
...
...
@@ -1323,6 +1329,7 @@ export default {
hlsPopup
.
showLoading
(
'请稍候'
)
return
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
// vm.hlsPopup.hideLoading()
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
res
.
lists
.
forEach
(
item
=>
{
item
[
'url'
]
=
...
...
@@ -1333,18 +1340,25 @@ export default {
window
.
localStorage
.
access_token
})
if
(
code
===
'report'
)
{
vm
.
upload_list_report
=
[]
vm
.
dowload_list_report
=
res
.
lists
}
if
(
code
===
'product'
)
{
}
else
if
(
code
===
'product'
)
{
vm
.
upload_list_product
=
[]
vm
.
dowload_list_product
=
res
.
lists
}
if
(
code
===
'suggest'
)
{
}
else
if
(
code
===
'suggest'
)
{
vm
.
upload_list_suggest
=
[]
vm
.
dowload_list_suggest
=
res
.
lists
}
if
(
code
===
'contract'
)
{
}
else
if
(
code
===
'contract'
)
{
vm
.
upload_list_contract
=
[]
vm
.
dowload_list_contract
=
res
.
lists
}
if
(
code
===
'license'
)
{
}
else
if
(
code
===
'license'
)
{
vm
.
upload_list_license
=
[]
vm
.
dowload_list_license
=
res
.
lists
}
if
(
code
===
'credit'
)
{
}
else
if
(
code
===
'credit'
)
{
vm
.
upload_list_credit
=
[]
vm
.
dowload_list_credit
=
res
.
lists
}
else
{
vm
.
upload_list_mining
=
[]
vm
.
dowload_list_mining
=
res
.
lists
}
}
...
...
@@ -1736,6 +1750,8 @@ export default {
hlsPopup
.
showLongCenter
(
'统一社会信用代码不能为空!'
)
}
else
if
(
!
vm
.
baseInfo
.
registered_capital
)
{
hlsPopup
.
showLongCenter
(
'注册资本不能为空!'
)
}
else
if
(
!
vm
.
baseInfo
.
registered_place
)
{
hlsPopup
.
showLongCenter
(
'注册地址不能为空!'
)
}
else
if
(
!
vm
.
baseInfo
.
business_address
)
{
hlsPopup
.
showLongCenter
(
'经营地址不能为空!'
)
}
else
if
(
!
vm
.
baseInfo
.
phone
)
{
...
...
@@ -1812,6 +1828,7 @@ export default {
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
guarantorInfo
=
{}
hlsPopup
.
showLongCenter
(
'担保人保存成功'
)
vm
.
getGuarantorInfo
()
}
else
{
...
...
@@ -1837,6 +1854,7 @@ export default {
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
itemInfo
=
{}
hlsPopup
.
showLongCenter
(
'设备保存成功'
)
vm
.
getLease
()
}
else
{
...
...
src/pages/contractSigning/contract-new.vue
View file @
fde3647a
...
...
@@ -220,7 +220,7 @@
<!--
</item>
-->
<item>
<div
slot=
"name"
class=
"font-color"
>
担保人类型
</div>
<input
slot=
"content"
v-model=
"item.guarantor_type_n"
readonly
>
<input
slot=
"content"
v-model=
"item.guarantor_type_n"
readonly
@
click=
"saveGuarantor(item)"
>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
担保人名称
</div>
...
...
@@ -817,6 +817,12 @@ export default {
vm
.
itemInfo
=
item
vm
.
downNum
=
true
},
// 更新担保人
saveGuarantor
(
item
)
{
let
vm
=
this
vm
.
guarantorInfo
=
item
vm
.
guarantorFlag
=
true
},
addRows
(
e
)
{
if
(
e
)
{
let
len
=
0
...
...
@@ -1386,18 +1392,25 @@ export default {
window
.
localStorage
.
access_token
})
if
(
code
===
'report'
)
{
vm
.
upload_list_report
=
[]
vm
.
dowload_list_report
=
res
.
lists
}
if
(
code
===
'product'
)
{
}
else
if
(
code
===
'product'
)
{
vm
.
upload_list_product
=
[]
vm
.
dowload_list_product
=
res
.
lists
}
if
(
code
===
'suggest'
)
{
}
else
if
(
code
===
'suggest'
)
{
vm
.
upload_list_suggest
=
[]
vm
.
dowload_list_suggest
=
res
.
lists
}
if
(
code
===
'contract'
)
{
}
else
if
(
code
===
'contract'
)
{
vm
.
upload_list_contract
=
[]
vm
.
dowload_list_contract
=
res
.
lists
}
if
(
code
===
'license'
)
{
}
else
if
(
code
===
'license'
)
{
vm
.
upload_list_license
=
[]
vm
.
dowload_list_license
=
res
.
lists
}
if
(
code
===
'credit'
)
{
}
else
if
(
code
===
'credit'
)
{
vm
.
upload_list_credit
=
[]
vm
.
dowload_list_credit
=
res
.
lists
}
else
{
vm
.
upload_list_mining
=
[]
vm
.
dowload_list_mining
=
res
.
lists
}
}
...
...
@@ -1462,6 +1475,8 @@ export default {
hlsPopup
.
showLongCenter
(
'统一社会信用代码不能为空!'
)
}
else
if
(
!
vm
.
baseInfo
.
registered_capital
)
{
hlsPopup
.
showLongCenter
(
'注册资本不能为空!'
)
}
else
if
(
!
vm
.
baseInfo
.
registered_place
)
{
hlsPopup
.
showLongCenter
(
'注册地址不能为空!'
)
}
else
if
(
!
vm
.
baseInfo
.
business_address
)
{
hlsPopup
.
showLongCenter
(
'经营地址不能为空!'
)
}
else
if
(
!
vm
.
baseInfo
.
phone
)
{
...
...
@@ -1535,6 +1550,7 @@ export default {
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
guarantorInfo
=
{}
hlsPopup
.
showLongCenter
(
'担保人保存成功'
)
vm
.
getGuarantorInfo
()
}
else
{
...
...
src/pages/myInfo/my-info.vue
View file @
fde3647a
This diff is collapsed.
Click to expand it.
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