Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
Project
Project
Details
Activity
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
Administrator
dsk-cr20g
Commits
664570e8
Commit
664570e8
authored
Jul 24, 2023
by
danfuman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
9933b2b4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
22 deletions
+22
-22
infoheader.vue
...rc/views/detail/party-a/overview/component/infoheader.vue
+22
-22
No files found.
dsk-operate-ui/src/views/detail/party-a/overview/component/infoheader.vue
View file @
664570e8
...
@@ -204,6 +204,11 @@ export default {
...
@@ -204,6 +204,11 @@ export default {
methods
:
{
methods
:
{
//认领
//认领
async
handleClaim
(){
async
handleClaim
(){
let
res
=
await
api
.
customerStatus
(
this
.
companyInfo
.
companyName
)
if
(
res
.
data
===
1
){
this
.
claimLoading
=
false
this
.
dialogVisible2
=
true
;
}
else
{
if
(
this
.
companyInfo
.
uipId
){
if
(
this
.
companyInfo
.
uipId
){
this
.
claimLoading
=
true
this
.
claimLoading
=
true
let
param
=
{
let
param
=
{
...
@@ -219,11 +224,6 @@ export default {
...
@@ -219,11 +224,6 @@ export default {
registerAddress
:
this
.
companyInfo
.
provinceName
+
(
this
.
companyInfo
.
cityName
?
'-'
+
this
.
companyInfo
.
cityName
:
''
)
+
(
this
.
companyInfo
.
districtName
?
'-'
+
this
.
companyInfo
.
districtName
:
''
),
registerAddress
:
this
.
companyInfo
.
provinceName
+
(
this
.
companyInfo
.
cityName
?
'-'
+
this
.
companyInfo
.
cityName
:
''
)
+
(
this
.
companyInfo
.
districtName
?
'-'
+
this
.
companyInfo
.
districtName
:
''
),
creditCode
:
this
.
companyInfo
.
creditCode
creditCode
:
this
.
companyInfo
.
creditCode
}
}
let
res
=
await
api
.
customerStatus
(
this
.
companyInfo
.
companyName
)
if
(
res
.
data
===
1
){
this
.
claimLoading
=
false
this
.
dialogVisible2
=
true
;
}
else
{
let
res
=
await
claim
(
param
)
let
res
=
await
claim
(
param
)
this
.
claimLoading
=
false
this
.
claimLoading
=
false
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
...
@@ -231,10 +231,10 @@ export default {
...
@@ -231,10 +231,10 @@ export default {
this
.
companyInfo
.
claimStatus
=
1
this
.
companyInfo
.
claimStatus
=
1
this
.
customerId
=
res
.
data
.
customerId
this
.
customerId
=
res
.
data
.
customerId
}
}
}
}
else
{
}
else
{
this
.
$message
.
warning
(
'对不起,当前不能认领'
)
this
.
$message
.
warning
(
'对不起,当前不能认领'
)
}
}
}
},
},
//取消认领
//取消认领
cancelClaimClick
(){
cancelClaimClick
(){
...
...
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