Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
web-site
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
张冬
web-site
Commits
4d8143ee
Commit
4d8143ee
authored
Oct 29, 2020
by
吴冠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
审核
parent
08bb019b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
8 deletions
+29
-8
list.js
common/list.js
+9
-0
examine.vue
pages/login/examine.vue
+20
-8
No files found.
common/list.js
View file @
4d8143ee
...
...
@@ -236,3 +236,11 @@ export function getErrorInfo(id){
method
:
'get'
,
})
}
/* 审核失败后提交 */
export
function
getPutInfo
(
data
){
return
request
({
url
:
'/company/edit'
,
method
:
'post'
,
data
:
data
})
}
\ No newline at end of file
pages/login/examine.vue
View file @
4d8143ee
...
...
@@ -671,6 +671,7 @@ import Identify from "~/components/identify";
import
citySelect
from
"~/components/citySelect"
;
import
Cookies
from
"js-cookie"
import
{
getErrorInfo
}
from
'~/common/list.js'
import
{
getPutInfo
}
from
'~/common/list.js'
export
default
{
components
:
{
Identify
,
...
...
@@ -800,6 +801,7 @@ export default {
};
return
{
comId
:
''
,
Verification
:
true
,
timer
:
60
,
centerDialogVisible
:
false
,
...
...
@@ -1104,10 +1106,11 @@ export default {
this
.
perfectForm
.
contactAddress
=
data
.
contactAddress
this
.
perfectForm
.
socialCode
=
data
.
socialCode
this
.
perfectForm
.
companyNature
=
data
.
companyNature
this
.
perfectForm
.
industryType
=
data
.
industry
Nam
e
this
.
perfectForm
.
industryType
=
data
.
industry
Typ
e
this
.
perfectForm
.
bankName
=
data
.
bankName
this
.
perfectForm
.
registeredCapital
=
data
.
registeredCapital
this
.
perfectForm
.
businessScope
=
data
.
businessScope
this
.
comId
=
data
.
id
/* 储存公司Id */
for
(
let
item
of
data
.
fileList
){
item
.
url
=
item
.
fileUrl
item
.
name
=
item
.
fileName
...
...
@@ -1124,10 +1127,7 @@ export default {
this
.
files
.
push
(
item
)
}
}
/* this.cardimg = data.fileList[2].fileUrl */
/* this.perfectForm.businessScope = data.businessScope */
Cookies
.
remove
(
"companyErrorId"
)
Cookies
.
remove
(
"auditStatus"
)
},
prev
(){
this
.
active
--
...
...
@@ -1231,16 +1231,28 @@ export default {
Object
.
assign
(
perfectForm
,
form
);
perfectForm
.
sysUserPO
=
adminform
;
perfectForm
.
fileList
=
file
;
const
{
data
,
code
,
msg
}
=
await
register
(
perfectForm
);
/* 如果是审核失败后请求 则请求编辑接口 */
if
(
Cookies
.
get
(
"auditStatus"
)
==
1
){
perfectForm
.
id
=
this
.
comId
var
{
data
,
code
,
msg
}
=
await
getPutInfo
(
perfectForm
);
if
(
code
===
200
)
{
this
.
$message
.
success
(
msg
);
this
.
active
++
;
}
else
{
this
.
$message
.
error
(
error
)
}
}
else
{
var
{
data
,
code
,
msg
}
=
await
register
(
perfectForm
);
if
(
code
===
200
)
{
this
.
$message
.
success
(
msg
);
this
.
active
++
;
//储存步骤二数据
Cookies
.
set
(
"dataform"
,
this
.
perfectForm
)
}
else
{
this
.
$message
.
error
(
error
)
}
}
Cookies
.
remove
(
"companyErrorId"
)
Cookies
.
remove
(
"auditStatus"
)
}
}
},
refreshCode
()
{
...
...
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