Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨建斌
/
page
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
1
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
2678a10d
authored
2018-03-29 23:16:16 +0800
by
wang
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop
2 parents
706b5826
d205e0b7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
2 deletions
application/views/work/审批/电核添加.php
application/views/work/审批/电核添加.php
View file @
2678a10
...
...
@@ -2,6 +2,7 @@
<body>
<form
action=
""
id=
"form1"
>
<input
type=
"hidden"
name=
"orderId"
value=
"
<?=
$id
?>
"
>
<div
class=
"panel panel-default mb-20"
>
<div
class=
"panel-body cl"
>
<div
class=
"row cl"
>
...
...
@@ -34,7 +35,7 @@
<div
class=
"row cl col-sm-12"
>
<div
class=
"col-sm-2"
>
<button
class=
"btn btn-primary btn-block"
onclick=
"
save
();"
>
保存
</button>
<button
class=
"btn btn-primary btn-block"
onclick=
"
pass
();"
>
保存
</button>
</div>
</div>
...
...
@@ -42,7 +43,35 @@
</body>
<script>
function
pass
()
{
var
data
=
$
(
"#form1"
).
serializeJson
();
$
.
ajax
({
type
:
'post'
,
url
:
apiBaseUrl
+
'audit/phoneAudit/record'
,
cache
:
false
,
data
:
JSON
.
stringify
(
data
),
dataType
:
'json'
,
contentType
:
"application/json; charset=UTF-8"
,
success
:
function
(
data
)
{
if
(
data
.
msg
)
{
layer
.
alert
(
data
.
msg
);
}
else
if
(
data
.
code
!=
0
)
{
layer
.
alert
(
'操作失败'
);
}
else
{
layer
.
alert
(
'操作成功'
);
}
if
(
!
data
.
code
){
setTimeout
(
function
()
{
layer_close
();
},
500
)
}
},
error
:
function
()
{
layer
.
alert
(
"操作失败"
)
}
})
}
</script>
</html>
\ No newline at end of file
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment