Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
icsales
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9b294834
authored
Jul 12, 2019
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
js
parent
b7fbbe93
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
17 deletions
dist/js/certification/index.js
dist/js/certification/index.js
View file @
9b294834
...
...
@@ -14,7 +14,7 @@
if
(
res
.
errcode
===
0
)
{
//更新时间
$
(
'.time'
).
html
(
'更新时间:'
+
res
.
data
.
update_time
);
$
(
'.time'
).
html
(
'更新时间:'
+
res
.
data
.
update_time
);
//更新认证信息
if
(
id
)
{
...
...
@@ -53,10 +53,10 @@
}
}
else
if
(
res
.
errcode
===
107012
)
{
}
else
if
(
res
.
errcode
===
107012
)
{
$
(
".certisno"
).
show
();
}
});
...
...
@@ -89,26 +89,15 @@
//新增会员认证信息
layui
.
form
.
on
(
'submit(addauth)'
,
function
(
data
)
{
//编辑id
var
id
=
Util
.
getRequest
(
'id'
),
url
=
''
,
params
;
$
(
data
.
elem
).
addClass
(
"layui-btn-disabled"
);
if
(
!
opt
.
isClick
)
{
opt
.
isClick
=
true
;
var
param_add
=
$
.
extend
({},
data
.
field
,
{
token
:
opt
.
token
});
//新增参数
var
param_edit
=
$
.
extend
({},
data
.
field
,
{
token
:
opt
.
token
,
id
:
id
});
//编辑参数
id
?
url
=
apis
.
editAuth
:
url
=
apis
.
addAuth
;
id
?
params
=
param_edit
:
params
=
param_add
;
var
params
=
$
.
extend
({},
data
.
field
,
{
token
:
opt
.
token
});
//新增参数
IcController
.
getData
(
url
,
'GET'
,
params
,
function
(
res
)
{
IcController
.
getData
(
apis
.
addAuth
,
'GET'
,
params
,
function
(
res
)
{
if
(
res
.
errcode
===
0
)
{
...
...
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