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
4c65c9a8
authored
2018-03-30 22:59:36 +0800
by
yangjianbin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
3e1c02b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
0 deletions
application/views/work/尽调报告/index.php
application/views/work/尽调报告/index.php
View file @
4c65c9a
...
...
@@ -7,6 +7,7 @@
<span>
资料清单
</span>
</div>
<form
action=
""
id=
"form1"
>
<div
class=
"tabCon"
>
<?php
if
(
$clientUnitOutputVO
->
jobType
==
1
){
//打工类
...
...
@@ -16,6 +17,7 @@
}
?>
</div>
</form>
<div
class=
"tabCon"
>
<?php
$this
->
load
->
view
(
'work/图片上传'
);
?>
...
...
@@ -48,6 +50,39 @@
uploadList
();
function
submit
()
{
layer
.
confirm
(
'确认要提交尽调?'
,
{
btn
:
[
'是'
,
'否'
],
title
:
'确认'
,
icon
:
3
},
function
(){
var
targetUrl
=
'dueDiligence'
;
var
data
=
$
(
"form1"
).
serializeJson
();
$
.
ajax
({
type
:
'post'
,
url
:
apiBaseUrl
+
targetUrl
,
cache
:
false
,
dataType
:
'json'
,
data
:
JSON
.
stringify
(
data
),
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
(
'操作成功'
);
}
setTimeout
(
function
()
{
if
(
!
data
.
code
)
{
table
.
fnDraw
();
layer_close
();
}
},
500
);
},
error
:
function
()
{
layer
.
alert
(
"操作失败"
)
}
})
}
</script>
...
...
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