Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
token
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
wallet
token
Commits
a0333f16
Commit
a0333f16
authored
Sep 21, 2018
by
rlgy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
937b1504
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
8 deletions
+6
-8
list.js
backend/web/js/coin-publish-rule/list.js
+2
-4
list.js
backend/web/js/coin-publish/list.js
+2
-2
index.js
backend/web/js/investment/index.js
+2
-2
No files found.
backend/web/js/coin-publish-rule/list.js
View file @
a0333f16
...
...
@@ -39,7 +39,6 @@ table.on('tool(table1)', function (obj) {
content
:
rev
,
btn
:
[
'保存'
,
'取消'
],
btn1
:
function
()
{
$btn
=
$
(
'.layui-layer-btn0'
).
button
(
'loading'
);
$
.
post
(
'/admin/coin-publish-rule/set'
,
$
(
"#form_data"
).
serialize
(),
function
(
rev
)
{
layer
.
msg
(
rev
.
msg
);
if
(
rev
.
code
==
0
)
{
...
...
@@ -47,7 +46,6 @@ table.on('tool(table1)', function (obj) {
table
.
reload
(
"table1"
,
{});
}
});
$btn
.
button
(
'reset'
);
}
});
form
.
render
();
...
...
@@ -100,7 +98,7 @@ table.on('toolbar(table1)', function (obj) {
// area: ['500px', 'auto'],
btn
:
[
'确认'
,
'取消'
],
btn1
:
function
()
{
$btn
=
$
(
'.layui-layer-btn0'
).
button
(
'loading'
);
$
.
post
(
'/admin/coin-publish-rule/set'
,
$
(
"#form_data"
).
serialize
(),
function
(
rev
)
{
layer
.
msg
(
rev
.
msg
);
if
(
rev
.
code
==
0
)
{
...
...
@@ -108,7 +106,7 @@ table.on('toolbar(table1)', function (obj) {
table
.
reload
(
"table1"
,
{});
}
});
$btn
.
button
(
'reset'
);
}
});
form
.
render
();
...
...
backend/web/js/coin-publish/list.js
View file @
a0333f16
...
...
@@ -80,7 +80,7 @@ $('#add').click(function () {
var
coin_name_zh
=
$
(
'#addData input[name="coin_name_zh"]'
).
val
();
var
coin_name_en
=
$
(
'#addData input[name="coin_name_en"]'
).
val
();
if
(
company_name
!==
""
&&
company_name
!==
""
&&
coin_name_en
!==
""
)
{
$btn
=
$
(
'.layui-layer-btn0'
).
button
(
'loading'
);
$
.
post
(
'/admin/coin-publish/add'
,
$
(
"#addData"
).
serialize
(),
function
(
rev
)
{
layer
.
msg
(
rev
.
msg
);
if
(
rev
.
code
==
0
)
{
...
...
@@ -88,7 +88,7 @@ $('#add').click(function () {
table
.
reload
(
"table1"
,
{});
}
});
$btn
.
button
(
'reset'
);
}
else
{
layer
.
msg
(
"请输入完整!"
);
}
...
...
backend/web/js/investment/index.js
View file @
a0333f16
...
...
@@ -40,7 +40,7 @@ $('#add1').click(function () {
var
count
=
$
(
'#addData input[name="count"]'
).
val
();
var
type
=
$
(
'#addData input[name="type"]'
).
val
();
if
(
uid
!==
""
&&
count
!==
""
)
{
$btn
=
$
(
'.layui-layer-btn0'
).
button
(
'loading'
);
$
.
post
(
'/admin/investment/add-one'
,
$
(
"#addData"
).
serialize
(),
function
(
rev
)
{
layer
.
msg
(
rev
.
msg
);
if
(
rev
.
code
==
0
)
{
...
...
@@ -48,7 +48,7 @@ $('#add1').click(function () {
table
.
reload
(
"table1"
,
{});
}
});
$btn
.
button
(
'reset'
);
}
else
{
layer
.
msg
(
"请输入完整!"
);
}
...
...
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