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
2a98bf62
authored
2018-03-18 21:56:01 +0800
by
yangjianbin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
5729705b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
9 deletions
application/views/config/add.php
application/views/work/add.php
application/views/work/added.php
application/views/config/add.php
View file @
2a98bf6
...
...
@@ -88,16 +88,18 @@
contentType
:
"application/json; charset=UTF-8"
,
success
:
function
(
data
)
{
if
(
data
.
msg
)
{
alert
(
data
.
msg
);
layer
.
alert
(
data
.
msg
);
}
else
if
(
data
.
code
!=
0
)
{
alert
(
'请求失败'
);
layer
.
alert
(
'请求失败'
);
}
else
{
alert
(
'请求成功'
);
layer
.
alert
(
'请求成功'
);
}
if
(
!
data
.
code
)
{
layer_close
();
}
},
error
:
function
()
{
alert
(
"请求失败"
)
layer
.
alert
(
"请求失败"
)
}
})
...
...
application/views/work/add.php
View file @
2a98bf6
...
...
@@ -69,15 +69,15 @@
contentType
:
"application/json; charset=UTF-8"
,
success
:
function
(
data
){
if
(
data
.
msg
){
alert
(
data
.
msg
);
layer
.
alert
(
data
.
msg
);
}
else
if
(
data
.
code
!=
0
){
alert
(
'请求失败'
);
layer
.
alert
(
'请求失败'
);
}
else
{
alert
(
'请求成功'
);
layer
.
alert
(
'请求成功'
);
}
},
error
:
function
(){
alert
(
"请求失败"
)
layer
.
alert
(
"请求失败"
)
}
})
...
...
application/views/work/added.php
View file @
2a98bf6
...
...
@@ -16,7 +16,7 @@
<div
class=
"flow pb-20"
>
</div>
<div>
<button
onclick=
"loadIframe('
<?=
site_url
(
'/work'
)
?>
', '全部进件');"
class=
"btn btn-primary size-M radius mr-20"
>
返回【进行记录】
</
a
>
<button
onclick=
"loadIframe('
<?=
site_url
(
'/work'
)
?>
', '全部进件');"
class=
"btn btn-primary size-M radius mr-20"
>
返回【进行记录】
</
button
>
<button
onclick=
"loadIframe('
<?=
site_url
(
'/work/add'
)
?>
', '开始进件');"
class=
"btn btn-primary size-M radius ml-20"
>
继续【添加进行】
</button>
</div>
</div>
...
...
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