Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
48b417d3
提交
48b417d3
编写于
6月 17, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
497e7bf0
变更
9
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
319 行增加
和
173 行删除
+319
-173
package.json
app_BusinessCentral/package.json
+8
-7
app-register.ts
app_BusinessCentral/src/app-register.ts
+3
-6
app-form-item.less
...ssCentral/src/components/app-form-item/app-form-item.less
+7
-1
app-form-item.vue
...essCentral/src/components/app-form-item/app-form-item.vue
+8
-3
login.vue
app_BusinessCentral/src/components/login/login.vue
+2
-2
user-info.tsx
...entral/src/studio-core/components/user-info/user-info.tsx
+14
-1
default.less
app_BusinessCentral/src/styles/default.less
+156
-142
user-default-register.ts
app_BusinessCentral/src/user-default-register.ts
+1
-2
yarn.lock
app_BusinessCentral/yarn.lock
+120
-9
未找到文件。
app_BusinessCentral/package.json
浏览文件 @
48b417d3
{
"name"
:
"app"
,
"version"
:
"0.1.0"
,
"private"
:
true
,
"name"
:
"ibiz-studio-ftl"
,
"version"
:
"0.0.1"
,
"scripts"
:
{
"serve"
:
"node --max_old_space_size=8102 ./node_modules/@vue/cli-service/bin/vue-cli-service serve --mode development"
,
"dev-serve"
:
"node --max_old_space_size=8102 ./node_modules/@vue/cli-service/bin/vue-cli-service serve --mode development"
,
...
...
@@ -9,7 +8,8 @@
"dev-build"
:
"node --max_old_space_size=8102 ./node_modules/@vue/cli-service/bin/vue-cli-service build --mode development"
,
"test:unit"
:
"vue-cli-service test:unit"
,
"test:e2e"
:
"vue-cli-service test:e2e"
,
"lint"
:
"vue-cli-service lint"
"lint"
:
"vue-cli-service lint"
,
"analyze"
:
"source-map-explorer dist/js/chunk-vendors.*.js"
},
"dependencies"
:
{
"@fullcalendar/core"
:
"^4.4.0"
,
...
...
@@ -36,7 +36,7 @@
"rxjs"
:
"^6.5.4"
,
"tinymce"
:
"4.8.5"
,
"view-design"
:
"^4.2.0"
,
"vue"
:
"^2.6.1
0
"
,
"vue"
:
"^2.6.1
1
"
,
"vue-class-component"
:
"^7.0.2"
,
"vue-grid-layout"
:
"^2.3.7"
,
"vue-i18n"
:
"^8.15.3"
,
...
...
@@ -63,7 +63,8 @@
"less-loader"
:
"^5.0.0"
,
"mockjs"
:
"^1.1.0"
,
"script-loader"
:
"^0.7.2"
,
"typescript"
:
"^3.9.3"
,
"vue-template-compiler"
:
"^2.6.10"
"source-map-explorer"
:
"^2.4.2"
,
"typescript"
:
"^3.9.5"
,
"vue-template-compiler"
:
"^2.6.11"
}
}
app_BusinessCentral/src/app-register.ts
浏览文件 @
48b417d3
...
...
@@ -28,7 +28,6 @@ import AppCheckboxList from './components/app-checkbox-list/app-checkbox-list.vu
import
AppRadioGroup
from
'./components/app-radio-group/app-radio-group.vue'
import
AppEmbedPicker
from
'./components/app-embed-picker/app-embed-picker.vue'
import
AppTreePicker
from
'./components/app-tree-picker/app-tree-picker.vue'
import
AppRichTextEditor
from
'./components/app-rich-text-editor/app-rich-text-editor.vue'
import
AppFileUpload
from
'./components/app-file-upload/app-file-upload.vue'
import
AppImageUpload
from
'./components/app-image-upload/app-image-upload.vue'
import
PropertyLayout
from
'./components/property-layout/property-layout.vue'
...
...
@@ -53,7 +52,6 @@ import AppRate from './components/app-rate/app-rate.vue'
import
AppSwitch
from
'./components/app-switch/app-switch.vue'
import
AppSlider
from
'./components/app-slider/app-slider.vue'
import
AppStepper
from
'./components/app-stepper/app-stepper.vue'
import
AppPortalDesign
from
'./components/app-portal-design/app-portal-design.vue'
import
DatePickerRange
from
'./components/date-picker-range/date-picker-range.vue'
import
AppRangeDate
from
'./components/app-range-date/app-range-date.vue'
import
AppActionBar
from
'./components/app-actionbar/app-actionbar.vue'
...
...
@@ -63,7 +61,6 @@ import AppStudioAction from './components/app-studioaction/app-studioaction.vue'
import
AppDebugActions
from
'./components/app-debug-actions/app-debug-actions.vue'
import
AppHeaderMenus
from
'./components/app-header-menus/app-header-menus.vue'
import
AppColumnLink
from
'./components/app-column-link/app-column-link.vue'
import
AppDataUploadView
from
'./components/app-data-upload/app-data-upload.vue'
import
DropDownListDynamic
from
'./components/dropdown-list-dynamic/dropdown-list-dynamic.vue'
import
AppImagePreview
from
'./components/app-image-preview/app-image-preview.vue'
import
AppFormatData
from
'./components/app-format-data/app-format-data.vue'
...
...
@@ -115,7 +112,7 @@ export const AppComponents = {
v
.
component
(
'app-radio-group'
,
AppRadioGroup
);
v
.
component
(
'app-embed-picker'
,
AppEmbedPicker
);
v
.
component
(
'app-tree-picker'
,
AppTreePicker
);
v
.
component
(
'app-rich-text-editor'
,
AppRichTextEditor
);
v
.
component
(
'app-rich-text-editor'
,
()
=>
import
(
'./components/app-rich-text-editor/app-rich-text-editor.vue'
)
);
v
.
component
(
'app-file-upload'
,
AppFileUpload
);
v
.
component
(
'app-image-upload'
,
AppImageUpload
);
v
.
component
(
'property-layout'
,
PropertyLayout
);
...
...
@@ -140,7 +137,7 @@ export const AppComponents = {
v
.
component
(
'app-switch'
,
AppSwitch
);
v
.
component
(
'app-slider'
,
AppSlider
);
v
.
component
(
'app-stepper'
,
AppStepper
);
v
.
component
(
'app-portal-design'
,
AppPortalDesign
);
v
.
component
(
'app-portal-design'
,
()
=>
import
(
'./components/app-portal-design/app-portal-design.vue'
)
);
v
.
component
(
'date-picker-range'
,
DatePickerRange
);
v
.
component
(
'app-range-date'
,
AppRangeDate
);
v
.
component
(
'app-actionbar'
,
AppActionBar
);
...
...
@@ -150,7 +147,7 @@ export const AppComponents = {
v
.
component
(
'app-debug-actions'
,
AppDebugActions
);
v
.
component
(
'app-header-menus'
,
AppHeaderMenus
);
v
.
component
(
'app-column-link'
,
AppColumnLink
);
v
.
component
(
'app-data-upload'
,
AppDataUploadView
);
v
.
component
(
'app-data-upload'
,
()
=>
import
(
'./components/app-data-upload/app-data-upload.vue'
)
);
v
.
component
(
'dropdown-list-dynamic'
,
DropDownListDynamic
);
v
.
component
(
'app-image-preview'
,
AppImagePreview
);
v
.
component
(
'app-format-data'
,
AppFormatData
);
...
...
app_BusinessCentral/src/components/app-form-item/app-form-item.less
浏览文件 @
48b417d3
...
...
@@ -2,6 +2,7 @@
height: 100%;
.app-form-item-label {
min-height: 32px;
text-decoration: none;
display: block;
overflow: hidden;
...
...
@@ -13,7 +14,12 @@
}
}
>.ivu-form-item-content {
.ivu-form-item {
height: 100%;
margin-bottom: 0px;
}
.ivu-form-item-content {
height: 100%;
min-height: 36px;
...
...
app_BusinessCentral/src/components/app-form-item/app-form-item.vue
浏览文件 @
48b417d3
<
template
>
<div
class=
"app-form-item-wrapper
"
>
<div
:class=
"classes
"
>
<template
v-if=
"this.uiStyle === 'STYLE2'"
>
<app-form-item2
:caption=
"caption"
...
...
@@ -16,7 +16,7 @@
</app-form-item2>
</
template
>
<
template
v-if=
"this.uiStyle !== 'STYLE2'"
>
<form-item
:ref=
"name"
:prop=
"name"
:error=
"error"
:rules=
"rules"
:class=
"classes"
>
<form-item
:ref=
"name"
:prop=
"name"
:error=
"error"
:rules=
"rules"
>
<div
v-if=
"Object.is(this.labelPos,'BOTTOM') || Object.is(this.labelPos,'NONE') || !this.labelPos"
class=
"editor-wrapper"
...
...
@@ -26,8 +26,13 @@
<slot></slot>
</div>
<div
v-if=
"itemRef && itemRef.validateState === 'error'"
class=
"editor-error-tip"
>
<Tooltip
:content=
"itemRef.validateMessage"
placement=
"left"
:transfer=
"true
"
>
<Tooltip
placement=
"left
"
>
<Icon
type=
"ios-alert-outline"
/>
<template
slot=
"content"
>
<span
class=
"editor-error-tip-content"
>
{{
itemRef
.
validateMessage
}}
</span>
</
template
>
</Tooltip>
</div>
</div>
...
...
app_BusinessCentral/src/components/login/login.vue
浏览文件 @
48b417d3
<
template
>
<div
class=
'login'
>
<img
src=
"/assets/img/background.png"
/
>
<img>
<div
class=
'login-con'
>
<card
:bordered=
"false"
>
...
...
@@ -166,7 +166,7 @@ export default class Login extends Vue {
* @memberof Login
*/
public
handleSubmit
():
void
{
le
t
leftTime
=
new
Date
();
cons
t
leftTime
=
new
Date
();
leftTime
.
setTime
(
leftTime
.
getSeconds
()
-
1000
);
document
.
cookie
=
"ibzuaa-token=;expires="
+
leftTime
.
toUTCString
();
const
form
:
any
=
this
.
$refs
.
loginForm
;
...
...
app_BusinessCentral/src/studio-core/components/user-info/user-info.tsx
浏览文件 @
48b417d3
...
...
@@ -55,6 +55,14 @@ export class UserInfo extends Vue {
this
.
changeTheme
(
name
);
return
;
}
if
(
name
===
'custom-logout'
)
{
const
leftTime
=
new
Date
();
leftTime
.
setTime
(
leftTime
.
getSeconds
()
-
1000
);
document
.
cookie
=
"ibzuaa-token=;expires="
+
leftTime
.
toUTCString
();
localStorage
.
removeItem
(
'token'
);
location
.
href
=
location
.
origin
+
location
.
pathname
+
'#/login?redirect='
+
encodeURIComponent
(
location
.
href
);
return
;
}
const
item
:
any
=
this
.
findMenuByName
(
name
);
if
(
item
)
{
this
.
menuClick
(
item
);
...
...
@@ -191,10 +199,15 @@ export class UserInfo extends Vue {
<
dropdownItem
name=
"app-theme-blue-dark"
title=
"黑色主题"
>
蓝黑
</
dropdownItem
>
</
dropdownMenu
>
</
dropdown
>
<
dropdown
class=
"user-menu-child"
placement=
"left-start"
>
<
dropdownItem
name=
"custom-logout"
title=
"退出登录"
>
<
icon
type=
"md-log-out"
/>
退出登录
</
dropdownItem
>
</
dropdown
>
</
dropdownMenu
>
</
template
>
</
dropdown
>
return
;
}
}
\ No newline at end of file
app_BusinessCentral/src/styles/default.less
浏览文件 @
48b417d3
此差异已折叠。
点击以展开。
app_BusinessCentral/src/user-default-register.ts
浏览文件 @
48b417d3
import
Vue
from
'vue'
;
import
{
StudioCore
}
from
'./studio-core'
;
import
IBizStudioComponentsVue
from
'ibiz-studio-components-vue'
;
import
AppVuePivotTable
from
'./components/app-vue-pivottable/app-vue-pivottable.vue'
;
// 注册Vue插件
export
const
UserDefaultComponent
=
{
install
(
v
:
any
,
opt
:
any
)
{
Vue
.
use
(
StudioCore
);
Vue
.
use
(
IBizStudioComponentsVue
);
v
.
component
(
'app-vue-pivottable'
,
AppVuePivotTable
);
v
.
component
(
'app-vue-pivottable'
,
()
=>
import
(
'./components/app-vue-pivottable/app-vue-pivottable.vue'
)
);
}
};
\ No newline at end of file
app_BusinessCentral/yarn.lock
浏览文件 @
48b417d3
此差异已折叠。
点击以展开。
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录