Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzuaa
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzuaa
提交
15fe40a8
提交
15fe40a8
编写于
6月 15, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ibiz4j 部署微服务应用
上级
19533c75
变更
12
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
12 个修改的文件
包含
286 行增加
和
341 行删除
+286
-341
app-form-group.less
app_web/src/components/app-form-group/app-form-group.less
+11
-3
app-form-group.vue
app_web/src/components/app-form-group/app-form-group.vue
+12
-12
app-form-item.less
app_web/src/components/app-form-item/app-form-item.less
+32
-34
app-form-item.vue
app_web/src/components/app-form-item/app-form-item.vue
+227
-214
interceptor.ts
app_web/src/utils/interceptor/interceptor.ts
+4
-1
main-grid-service.ts
app_web/src/widgets/sys-app/main-grid/main-grid-service.ts
+0
-11
main-grid-service.ts
...b/src/widgets/sys-auth-log/main-grid/main-grid-service.ts
+0
-11
main-grid-service.ts
...src/widgets/sys-permission/main-grid/main-grid-service.ts
+0
-11
main-grid-service.ts
...idgets/sys-role-permission/main-grid/main-grid-service.ts
+0
-11
main-grid-service.ts
app_web/src/widgets/sys-role/main-grid/main-grid-service.ts
+0
-11
main-grid-service.ts
.../src/widgets/sys-user-role/main-grid/main-grid-service.ts
+0
-11
main-grid-service.ts
app_web/src/widgets/sys-user/main-grid/main-grid-service.ts
+0
-11
未找到文件。
app_web/src/components/app-form-group/app-form-group.less
浏览文件 @
15fe40a8
.app-form-group {
>.ivu-card-head {
>p {
>i {
...
...
@@ -7,9 +8,12 @@
}
}
}
>.ivu-card-extra {
.item-extract-mode {
display: flex;
.item {
margin-left: 12px;
}
...
...
@@ -18,6 +22,7 @@
}
.app-form-group.app-group-collapse-contant {
.ivu-card-body {
display: none;
}
...
...
@@ -25,9 +30,12 @@
.app-group-flex {
height: 100%;
overflow: auto;
> .ivu-card-body {
overflow-y: auto;
overflow-x: hidden;
>.ivu-card-body {
height: calc(100% - 51px);
overflow: auto;
overflow-y: auto;
overflow-x: hidden;
}
}
\ No newline at end of file
app_web/src/components/app-form-group/app-form-group.vue
浏览文件 @
15fe40a8
<
template
>
<div
class=
"app-form-group
"
>
<
div
v-if=
"uiStyle=='STYLE2'"
>
<div
:class=
"classes
"
>
<
template
v-if=
"uiStyle=='STYLE2'"
>
<app-form-group2
:caption=
"caption"
:uiStyle=
"uiStyle"
...
...
@@ -10,8 +10,8 @@
:titleBarCloseMode=
"titleBarCloseMode"
>
<slot></slot>
</app-form-group2>
</
div
>
<
div
v-else
>
</
template
>
<
template
v-else
>
<card
v-if=
"isShowCaption === true"
:bordered=
"false"
:dis-hover=
"true"
:class=
"classes"
>
<p
class=
''
slot=
'title'
>
<icon
v-if=
"titleBarCloseMode !== 0"
:type=
"collapseContant ? 'ios-arrow-dropright-circle' : 'ios-arrow-dropdown-circle'"
...
...
@@ -87,17 +87,17 @@
<
/template
>
<
/a
>
<
/template
>
<
div
v
-
if
=
"Object.is(layoutType, 'FLEX')"
>
<
template
v
-
if
=
"Object.is(layoutType, 'FLEX')"
>
<
slot
><
/slot
>
<
/
div
>
<
div
v
-
if
=
"!Object.is(layoutType, 'FLEX')"
>
<
/
template
>
<
template
v
-
if
=
"!Object.is(layoutType, 'FLEX')"
>
<
row
:
gutter
=
"10"
><
slot
><
/slot></
row
>
<
/
div
>
<
/
template
>
<
/card
>
<
row
v
-
if
=
"isShowCaption === false"
:
class
=
"classes
"
>
<
slot
><
/slot
>
<
/
row
>
<
/
div
>
<
template
v
-
if
=
"isShowCaption === false
"
>
<
slot
><
/slot
>
<
/
template
>
<
/
template
>
<
/div
>
<
/template
>
...
...
app_web/src/components/app-form-item/app-form-item.less
浏览文件 @
15fe40a8
.app-form-item {
// margin-bottom: 16px;
>.ivu-form-item-label {
text-decoration: none;
display: block;
overflow: hidden;
white-space: nowrap;
}
>.ivu-form-item-content {
min-height: 36px;
}
height: 100%;
.editor {
height: 100%;
.ivu-form-item-content {
height: 100%;
min-height: 36px;
}
}
.app-form-item-label {
padding: 6px 12px 6px 0px;
}
}
.app-form-item-label-top {
>.ivu-form-item-label {
float: none;
display: inline-block;
padding: 0 0 10px;
}
.app-form-item.label-top, .app-form-item.label-bottom {
.app-form-item-label {
display: block;
}
}
.app-form-item-label-left{
.app-form-item-label{
float: left;
text-align: right;
padding-right: 12px;
.app-form-item.label-left, .app-form-item.label-right {
.app-form-item-label, .editor {
height: 100%;
}
}
.app-form-item-label-right{
.app-form-item-label{
float: right;
text-align: left;
padding-left: 12px;
.app-form-item.label-left {
.app-form-item-label {
float: left;
}
}
.app-form-item-label-top{
.app-form-item-label{
display: block;
padding-bottom: 10px;
.app-form-item.label-right {
.app-form-item-label {
float: right;
padding-left: 12px;
}
}
.app-form-item-label-bottom{
.app-form-item-label
{
display: block;
padding-top: 10px
;
.app-form-item.label-none
{
.app-form-item-label {
display: none !important
;
}
}
\ No newline at end of file
app_web/src/components/app-form-item/app-form-item.vue
浏览文件 @
15fe40a8
此差异已折叠。
点击以展开。
app_web/src/utils/interceptor/interceptor.ts
浏览文件 @
15fe40a8
...
...
@@ -132,13 +132,16 @@ export class Interceptors {
* @memberof Interceptors
*/
private
doNoLogin
(
data
:
any
=
{}):
void
{
// 清除user
和token
// 清除user
、token和cookie
if
(
localStorage
.
getItem
(
'user'
)){
localStorage
.
removeItem
(
'user'
);
}
if
(
localStorage
.
getItem
(
'token'
)){
localStorage
.
removeItem
(
'token'
);
}
let
leftTime
=
new
Date
();
leftTime
.
setTime
(
leftTime
.
getSeconds
()
-
1
);
document
.
cookie
=
"ibzuaa-token=;expires="
+
leftTime
.
toUTCString
();
if
(
data
.
loginurl
&&
!
Object
.
is
(
data
.
loginurl
,
''
)
&&
data
.
originurl
&&
!
Object
.
is
(
data
.
originurl
,
''
))
{
let
_url
=
encodeURIComponent
(
encodeURIComponent
(
window
.
location
.
href
));
let
loginurl
:
string
=
data
.
loginurl
;
...
...
app_web/src/widgets/sys-app/main-grid/main-grid-service.ts
浏览文件 @
15fe40a8
...
...
@@ -267,7 +267,6 @@ export default class MainService extends ControlService {
response
.
data
.
id
=
Util
.
createUUID
();
}
this
.
handleResponse
(
action
,
response
,
true
);
this
.
mergeDefaults
(
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
...
...
@@ -275,16 +274,6 @@ export default class MainService extends ControlService {
});
}
/**
* 合并配置的默认值
* @param {*}
* @memberof MainService
*/
public
mergeDefaults
(
response
:
any
=
{}){
if
(
response
.
data
){
}
}
/**
* 前台逻辑
...
...
app_web/src/widgets/sys-auth-log/main-grid/main-grid-service.ts
浏览文件 @
15fe40a8
...
...
@@ -267,7 +267,6 @@ export default class MainService extends ControlService {
response
.
data
.
logid
=
Util
.
createUUID
();
}
this
.
handleResponse
(
action
,
response
,
true
);
this
.
mergeDefaults
(
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
...
...
@@ -275,16 +274,6 @@ export default class MainService extends ControlService {
});
}
/**
* 合并配置的默认值
* @param {*}
* @memberof MainService
*/
public
mergeDefaults
(
response
:
any
=
{}){
if
(
response
.
data
){
}
}
/**
* 前台逻辑
...
...
app_web/src/widgets/sys-permission/main-grid/main-grid-service.ts
浏览文件 @
15fe40a8
...
...
@@ -267,7 +267,6 @@ export default class MainService extends ControlService {
response
.
data
.
permissionid
=
Util
.
createUUID
();
}
this
.
handleResponse
(
action
,
response
,
true
);
this
.
mergeDefaults
(
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
...
...
@@ -275,16 +274,6 @@ export default class MainService extends ControlService {
});
}
/**
* 合并配置的默认值
* @param {*}
* @memberof MainService
*/
public
mergeDefaults
(
response
:
any
=
{}){
if
(
response
.
data
){
}
}
/**
* 前台逻辑
...
...
app_web/src/widgets/sys-role-permission/main-grid/main-grid-service.ts
浏览文件 @
15fe40a8
...
...
@@ -267,7 +267,6 @@ export default class MainService extends ControlService {
response
.
data
.
rolepermissionid
=
Util
.
createUUID
();
}
this
.
handleResponse
(
action
,
response
,
true
);
this
.
mergeDefaults
(
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
...
...
@@ -275,16 +274,6 @@ export default class MainService extends ControlService {
});
}
/**
* 合并配置的默认值
* @param {*}
* @memberof MainService
*/
public
mergeDefaults
(
response
:
any
=
{}){
if
(
response
.
data
){
}
}
/**
* 前台逻辑
...
...
app_web/src/widgets/sys-role/main-grid/main-grid-service.ts
浏览文件 @
15fe40a8
...
...
@@ -267,7 +267,6 @@ export default class MainService extends ControlService {
response
.
data
.
roleid
=
Util
.
createUUID
();
}
this
.
handleResponse
(
action
,
response
,
true
);
this
.
mergeDefaults
(
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
...
...
@@ -275,16 +274,6 @@ export default class MainService extends ControlService {
});
}
/**
* 合并配置的默认值
* @param {*}
* @memberof MainService
*/
public
mergeDefaults
(
response
:
any
=
{}){
if
(
response
.
data
){
}
}
/**
* 前台逻辑
...
...
app_web/src/widgets/sys-user-role/main-grid/main-grid-service.ts
浏览文件 @
15fe40a8
...
...
@@ -267,7 +267,6 @@ export default class MainService extends ControlService {
response
.
data
.
userroleid
=
Util
.
createUUID
();
}
this
.
handleResponse
(
action
,
response
,
true
);
this
.
mergeDefaults
(
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
...
...
@@ -275,16 +274,6 @@ export default class MainService extends ControlService {
});
}
/**
* 合并配置的默认值
* @param {*}
* @memberof MainService
*/
public
mergeDefaults
(
response
:
any
=
{}){
if
(
response
.
data
){
}
}
/**
* 前台逻辑
...
...
app_web/src/widgets/sys-user/main-grid/main-grid-service.ts
浏览文件 @
15fe40a8
...
...
@@ -267,7 +267,6 @@ export default class MainService extends ControlService {
response
.
data
.
userid
=
Util
.
createUUID
();
}
this
.
handleResponse
(
action
,
response
,
true
);
this
.
mergeDefaults
(
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
...
...
@@ -275,16 +274,6 @@ export default class MainService extends ControlService {
});
}
/**
* 合并配置的默认值
* @param {*}
* @memberof MainService
*/
public
mergeDefaults
(
response
:
any
=
{}){
if
(
response
.
data
){
}
}
/**
* 前台逻辑
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录