Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
149f78d7
Commit
149f78d7
authored
Feb 22, 2019
by
乾坤平台
Committed by
季圣华
Feb 22, 2019
Browse files
!29 修改几个弹窗样式
Merge pull request !29 from 乾坤平台/master
parents
bc49df9d
f08a5c08
Changes
8
Show whitespace changes
Inline
Side-by-side
erp_web/pages/manage/roleApp.html
View file @
149f78d7
...
@@ -77,9 +77,7 @@
...
@@ -77,9 +77,7 @@
else
{
else
{
url
=
'
/userBusiness/update?id=
'
+
id
;
url
=
'
/userBusiness/update?id=
'
+
id
;
}
}
$
.
messager
.
confirm
(
"
提示
"
,
"
您确定要保存吗?
"
,
function
(
data
){
if
(
confirm
(
"
您确定要保存吗?
"
))
{
$
.
ajax
({
$
.
ajax
({
url
:
url
,
url
:
url
,
type
:
"
post
"
,
type
:
"
post
"
,
...
@@ -95,14 +93,14 @@
...
@@ -95,14 +93,14 @@
success
:
function
(
res
)
{
success
:
function
(
res
)
{
if
(
res
&&
res
.
code
===
200
)
{
if
(
res
&&
res
.
code
===
200
)
{
self
.
parent
.
$
.
colorbox
.
close
();
self
.
parent
.
$
.
colorbox
.
close
();
alert
(
"
操作成功!
"
);
$
.
messager
.
alert
(
'
提示
'
,
"
操作成功!
"
,
"
info
"
);
}
}
else
{
else
{
alert
(
"
操作失败!
"
);
$
.
messager
.
alert
(
'
提示
'
,
"
操作失败!
"
,
"
error
"
);
}
}
}
}
});
});
}
}
);
}
}
);
);
...
@@ -135,6 +133,7 @@
...
@@ -135,6 +133,7 @@
});
});
return
flag
;
return
flag
;
}
}
</script>
</script>
</body>
</body>
</html>
</html>
\ No newline at end of file
erp_web/pages/manage/roleFunctions.html
View file @
149f78d7
...
@@ -76,9 +76,7 @@
...
@@ -76,9 +76,7 @@
else
{
else
{
url
=
'
/userBusiness/update?id=
'
+
id
;
url
=
'
/userBusiness/update?id=
'
+
id
;
}
}
$
.
messager
.
confirm
(
"
提示
"
,
"
您确定要保存吗?
"
,
function
(
data
){
if
(
confirm
(
"
您确定要保存吗?
"
))
{
$
.
ajax
({
$
.
ajax
({
url
:
url
,
url
:
url
,
type
:
"
post
"
,
type
:
"
post
"
,
...
@@ -94,14 +92,15 @@
...
@@ -94,14 +92,15 @@
success
:
function
(
res
)
{
success
:
function
(
res
)
{
if
(
res
&&
res
.
code
===
200
)
{
if
(
res
&&
res
.
code
===
200
)
{
self
.
parent
.
$
.
colorbox
.
close
();
self
.
parent
.
$
.
colorbox
.
close
();
alert
(
"
操作成功!
"
);
$
.
messager
.
alert
(
'
提示
'
,
"
操作成功!
"
,
"
info
"
);
}
}
else
{
else
{
alert
(
"
操作失败!
"
);
$
.
messager
.
alert
(
'
提示
'
,
"
操作失败!
"
,
"
error
"
);
}
}
}
}
});
});
}
});
}
}
);
);
...
...
erp_web/pages/manage/rolePushBtn.html
View file @
149f78d7
...
@@ -212,7 +212,7 @@
...
@@ -212,7 +212,7 @@
},
500
);
},
500
);
$
(
"
#btnOK
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
()
{
$
(
"
#btnOK
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
()
{
if
(
confirm
(
"
您确定要保存吗?
"
))
{
$
.
messager
.
confirm
(
"
提示
"
,
"
您确定要保存吗?
"
,
function
(
data
){
var
bindList
=
$
(
"
#pushList .datagrid-view2 .datagrid-body .datagrid-row
"
);
var
bindList
=
$
(
"
#pushList .datagrid-view2 .datagrid-body .datagrid-row
"
);
var
bindArr
=
[];
var
bindArr
=
[];
var
btnStr
=
""
;
var
btnStr
=
""
;
...
@@ -239,7 +239,7 @@
...
@@ -239,7 +239,7 @@
success
:
function
(
res
)
{
success
:
function
(
res
)
{
if
(
res
&&
res
.
code
===
200
)
{
if
(
res
&&
res
.
code
===
200
)
{
self
.
parent
.
$
.
colorbox
.
close
();
self
.
parent
.
$
.
colorbox
.
close
();
alert
(
"
操作成功!
"
);
$
.
messager
.
alert
(
'
提示
'
,
"
操作成功!
"
,
"
info
"
);
}
}
else
{
else
{
$
.
messager
.
show
({
$
.
messager
.
show
({
...
@@ -253,7 +253,7 @@
...
@@ -253,7 +253,7 @@
return
;
return
;
}
}
});
});
}
}
);
});
});
}
}
</script>
</script>
...
...
erp_web/pages/user/userCustomer.html
View file @
149f78d7
...
@@ -76,9 +76,7 @@
...
@@ -76,9 +76,7 @@
else
{
else
{
url
=
'
/userBusiness/update?id=
'
+
id
;
url
=
'
/userBusiness/update?id=
'
+
id
;
}
}
$
.
messager
.
confirm
(
"
提示
"
,
"
您确定要保存吗?
"
,
function
(
data
){
if
(
confirm
(
"
您确定要保存吗?
"
))
{
$
.
ajax
({
$
.
ajax
({
url
:
url
,
url
:
url
,
type
:
"
post
"
,
type
:
"
post
"
,
...
@@ -94,14 +92,15 @@
...
@@ -94,14 +92,15 @@
success
:
function
(
res
)
{
success
:
function
(
res
)
{
if
(
res
&&
res
.
code
===
200
)
{
if
(
res
&&
res
.
code
===
200
)
{
self
.
parent
.
$
.
colorbox
.
close
();
self
.
parent
.
$
.
colorbox
.
close
();
alert
(
"
操作成功!
"
);
$
.
messager
.
alert
(
'
提示
'
,
"
操作成功!
"
,
"
info
"
);
}
}
else
{
else
{
alert
(
"
操作失败!
"
);
$
.
messager
.
alert
(
'
提示
'
,
"
操作失败!
"
,
"
error
"
);
}
}
}
}
});
});
}
});
}
}
);
);
...
...
erp_web/pages/user/userDepot.html
View file @
149f78d7
...
@@ -76,9 +76,7 @@
...
@@ -76,9 +76,7 @@
else
{
else
{
url
=
'
/userBusiness/update?id=
'
+
id
;
url
=
'
/userBusiness/update?id=
'
+
id
;
}
}
$
.
messager
.
confirm
(
"
提示
"
,
"
您确定要保存吗?
"
,
function
(
data
){
if
(
confirm
(
"
您确定要保存吗?
"
))
{
$
.
ajax
({
$
.
ajax
({
url
:
url
,
url
:
url
,
type
:
"
post
"
,
type
:
"
post
"
,
...
@@ -94,14 +92,14 @@
...
@@ -94,14 +92,14 @@
success
:
function
(
res
)
{
success
:
function
(
res
)
{
if
(
res
&&
res
.
code
===
200
)
{
if
(
res
&&
res
.
code
===
200
)
{
self
.
parent
.
$
.
colorbox
.
close
();
self
.
parent
.
$
.
colorbox
.
close
();
alert
(
"
操作成功!
"
);
$
.
messager
.
alert
(
'
提示
'
,
"
操作成功!
"
,
"
info
"
);
}
}
else
{
else
{
alert
(
"
操作失败!
"
);
$
.
messager
.
alert
(
'
提示
'
,
"
操作失败!
"
,
"
error
"
);
}
}
}
}
});
});
}
}
);
}
}
);
);
...
...
erp_web/pages/user/userRole.html
View file @
149f78d7
...
@@ -76,9 +76,7 @@
...
@@ -76,9 +76,7 @@
else
{
else
{
url
=
'
/userBusiness/update?id=
'
+
id
;
url
=
'
/userBusiness/update?id=
'
+
id
;
}
}
$
.
messager
.
confirm
(
"
提示
"
,
"
您确定要保存吗?
"
,
function
(
data
){
if
(
confirm
(
"
您确定要保存吗?
"
))
{
$
.
ajax
({
$
.
ajax
({
url
:
url
,
url
:
url
,
type
:
"
post
"
,
type
:
"
post
"
,
...
@@ -94,14 +92,14 @@
...
@@ -94,14 +92,14 @@
success
:
function
(
res
)
{
success
:
function
(
res
)
{
if
(
res
&&
res
.
code
===
200
)
{
if
(
res
&&
res
.
code
===
200
)
{
self
.
parent
.
$
.
colorbox
.
close
();
self
.
parent
.
$
.
colorbox
.
close
();
alert
(
"
操作成功!
"
);
$
.
messager
.
alert
(
'
提示
'
,
"
操作成功!
"
,
"
info
"
);
}
}
else
{
else
{
alert
(
"
操作失败!
"
);
$
.
messager
.
alert
(
'
提示
'
,
"
操作失败!
"
,
"
error
"
);
}
}
}
}
});
});
}
}
);
}
}
);
);
...
...
src/main/resources/application.properties
View file @
149f78d7
...
@@ -2,7 +2,7 @@ server.port=8080
...
@@ -2,7 +2,7 @@ server.port=8080
spring.datasource.url
=
jdbc:mysql://127.0.0.1:3306/jsh_erp?useUnicode=true&characterEncoding=utf8&useCursorFetch=true&defaultFetchSize=500&allowMultiQueries=true&rewriteBatchedStatements=true&useSSL=false
spring.datasource.url
=
jdbc:mysql://127.0.0.1:3306/jsh_erp?useUnicode=true&characterEncoding=utf8&useCursorFetch=true&defaultFetchSize=500&allowMultiQueries=true&rewriteBatchedStatements=true&useSSL=false
spring.datasource.driverClassName
=
com.mysql.jdbc.Driver
spring.datasource.driverClassName
=
com.mysql.jdbc.Driver
spring.datasource.username
=
root
spring.datasource.username
=
root
spring.datasource.password
=
1234
spring.datasource.password
=
1234
56
#generatorConfig专用属性
#generatorConfig专用属性
project
=
src/main/java
project
=
src/main/java
resource
=
src/main/resources
resource
=
src/main/resources
...
...
src/main/resources/logback-spring.xml
View file @
149f78d7
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<contextName>
logback
</contextName>
<contextName>
logback
</contextName>
<!-- name的值是变量的名称,value的值时变量定义的值。通过定义的值会被插入到logger上下文中。定义变量后,可以使“${}”来使用变量。 -->
<!-- name的值是变量的名称,value的值时变量定义的值。通过定义的值会被插入到logger上下文中。定义变量后,可以使“${}”来使用变量。 -->
<property
name=
"log.path"
value=
"logs/jshERP"
/>
<property
name=
"log.path"
value=
"
../
logs/jshERP"
/>
<!-- 彩色日志 -->
<!-- 彩色日志 -->
<!-- 彩色日志依赖的渲染类 -->
<!-- 彩色日志依赖的渲染类 -->
...
...
Write
Preview
Supports
Markdown
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