Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
1486f37d
提交
1486f37d
编写于
11月 26, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Mosher 发布系统代码 [后台服务,演示应用]
上级
248091a3
变更
16
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
16 个修改的文件
包含
4137 行增加
和
38 行删除
+4137
-38
ibizbook_en_US.ts
...Web/src/locale/lanres/entities/ibizbook/ibizbook_en_US.ts
+12
-12
ibizbook_zh_CN.ts
...Web/src/locale/lanres/entities/ibizbook/ibizbook_zh_CN.ts
+12
-12
main-menu-appmenu.ts
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
+1
-1
ibizbookrules-edit-view-base.vue
.../ibizbookrules-edit-view/ibizbookrules-edit-view-base.vue
+950
-0
ibizbookrules-edit-view.less
...mple/ibizbookrules-edit-view/ibizbookrules-edit-view.less
+27
-0
ibizbookrules-edit-view.vue
...ample/ibizbookrules-edit-view/ibizbookrules-edit-view.vue
+22
-0
page-register.ts
app_Web/src/pages/sample/index/page-register.ts
+1
-0
router.ts
app_Web/src/pages/sample/index/router.ts
+27
-0
state.ts
app_Web/src/store/modules/view-action/state.ts
+11
-1
main-menu-appmenu-base.vue
.../widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
+37
-11
main-menu-appmenu-model.ts
.../widgets/app/main-menu-appmenu/main-menu-appmenu-model.ts
+1
-1
rules-form-form-base.vue
...widgets/ibizbook/rules-form-form/rules-form-form-base.vue
+2355
-0
rules-form-form-model.ts
...widgets/ibizbook/rules-form-form/rules-form-form-model.ts
+141
-0
rules-form-form-service.ts
...dgets/ibizbook/rules-form-form/rules-form-form-service.ts
+472
-0
rules-form-form.less
...src/widgets/ibizbook/rules-form-form/rules-form-form.less
+54
-0
rules-form-form.vue
.../src/widgets/ibizbook/rules-form-form/rules-form-form.vue
+14
-0
未找到文件。
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_en_US.ts
浏览文件 @
1486f37d
...
...
@@ -168,7 +168,7 @@ export default {
uiactions
:
{
},
},
interfunc
form_form
:
{
rules
form_form
:
{
details
:
{
group1
:
"图书基本信息"
,
formpage1
:
"基本信息"
,
...
...
@@ -201,7 +201,7 @@ export default {
uiactions
:
{
},
},
rules
form_form
:
{
interfunc
form_form
:
{
details
:
{
group1
:
"图书基本信息"
,
formpage1
:
"基本信息"
,
...
...
@@ -843,6 +843,16 @@ export default {
},
usr2gridviewtoolbar_toolbar
:
{
},
ruleseditviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"Save"
,
tip
:
"Save"
,
},
tbitem5
:
{
caption
:
"Save And Close"
,
tip
:
"Save And Close Window"
,
},
},
listviewtoolbar_toolbar
:
{
deuiaction1
:
{
caption
:
"New"
,
...
...
@@ -1087,16 +1097,6 @@ export default {
},
haspanellistviewtoolbar_toolbar
:
{
},
ruleseditviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"Save"
,
tip
:
"Save"
,
},
tbitem5
:
{
caption
:
"Save And Close"
,
tip
:
"Save And Close Window"
,
},
},
tree_treeview
:
{
nodata
:
""
,
nodes
:
{
...
...
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_zh_CN.ts
浏览文件 @
1486f37d
...
...
@@ -167,7 +167,7 @@ export default {
uiactions
:
{
},
},
interfunc
form_form
:
{
rules
form_form
:
{
details
:
{
group1
:
"图书基本信息"
,
formpage1
:
"基本信息"
,
...
...
@@ -200,7 +200,7 @@ export default {
uiactions
:
{
},
},
rules
form_form
:
{
interfunc
form_form
:
{
details
:
{
group1
:
"图书基本信息"
,
formpage1
:
"基本信息"
,
...
...
@@ -842,6 +842,16 @@ export default {
},
usr2gridviewtoolbar_toolbar
:
{
},
ruleseditviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"保存"
,
tip
:
"保存"
,
},
tbitem5
:
{
caption
:
"保存并关闭"
,
tip
:
"保存并关闭"
,
},
},
listviewtoolbar_toolbar
:
{
deuiaction1
:
{
caption
:
"新建"
,
...
...
@@ -1086,16 +1096,6 @@ export default {
},
haspanellistviewtoolbar_toolbar
:
{
},
ruleseditviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"保存"
,
tip
:
"保存"
,
},
tbitem5
:
{
caption
:
"保存并关闭"
,
tip
:
"保存并关闭"
,
},
},
tree_treeview
:
{
nodata
:
""
,
nodes
:
{
...
...
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
浏览文件 @
1486f37d
...
...
@@ -387,7 +387,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
''
,
appfunctag
:
'
AppFunc32
'
,
resourcetag
:
''
,
},
],
...
...
app_Web/src/pages/sample/ibizbookrules-edit-view/ibizbookrules-edit-view-base.vue
0 → 100644
浏览文件 @
1486f37d
此差异已折叠。
点击以展开。
app_Web/src/pages/sample/ibizbookrules-edit-view/ibizbookrules-edit-view.less
0 → 100644
浏览文件 @
1486f37d
.view-card {
>.ivu-card-extra {
top: 5px;
right: 0px;
}
}
.ibizbookrules-edit-view{
position: relative;
}
.toolbar-container {
button {
margin: 6px 0px 4px 4px;
.caption {
margin-left: 4px;
}
}
.seperator {
color: #dcdee2;
margin: 0 0px 0 4px;
}
}
// this is less
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
app_Web/src/pages/sample/ibizbookrules-edit-view/ibizbookrules-edit-view.vue
0 → 100644
浏览文件 @
1486f37d
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
IBIZBOOKRulesEditViewBase
from
'./ibizbookrules-edit-view-base.vue'
;
import
view_form
from
'@widgets/ibizbook/rules-form-form/rules-form-form.vue'
;
@
Component
({
components
:
{
view_form
,
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
if
(
!
Object
.
is
(
vm
.
navModel
,
"route"
)){
vm
.
initNavDataWithTab
(
vm
.
viewCacheData
);
}
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
},
})
export
default
class
IBIZBOOKRulesEditView
extends
IBIZBOOKRulesEditViewBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/pages/sample/index/page-register.ts
浏览文件 @
1486f37d
...
...
@@ -89,6 +89,7 @@ export const PageComponents = {
Vue
.
component
(
'ibizorder-odsp-w10-wfgrid-view'
,
()
=>
import
(
'@pages/sample/ibizorder-odsp-w10-wfgrid-view/ibizorder-odsp-w10-wfgrid-view.vue'
));
Vue
.
component
(
'ibizsample0003-spickup-tree-view'
,
()
=>
import
(
'@pages/sample/ibizsample0003-spickup-tree-view/ibizsample0003-spickup-tree-view.vue'
));
Vue
.
component
(
'ibizorder-f9-edit-view'
,
()
=>
import
(
'@pages/sample/ibizorder-f9-edit-view/ibizorder-f9-edit-view.vue'
));
Vue
.
component
(
'ibizbookrules-edit-view'
,
()
=>
import
(
'@pages/sample/ibizbookrules-edit-view/ibizbookrules-edit-view.vue'
));
Vue
.
component
(
'ibizorder-detail-f6-grid-view'
,
()
=>
import
(
'@pages/sample/ibizorder-detail-f6-grid-view/ibizorder-detail-f6-grid-view.vue'
));
Vue
.
component
(
'ibizorder-wfstart-view'
,
()
=>
import
(
'@pages/sample/ibizorder-wfstart-view/ibizorder-wfstart-view.vue'
));
Vue
.
component
(
'ibizsample0003-f4-tree-exp-view'
,
()
=>
import
(
'@pages/sample/ibizsample0003-f4-tree-exp-view/ibizsample0003-f4-tree-exp-view.vue'
));
...
...
app_Web/src/pages/sample/index/router.ts
浏览文件 @
1486f37d
...
...
@@ -1326,6 +1326,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-f9-edit-view/ibizorder-f9-edit-view.vue'
),
},
{
path
:
'ibizbooks/:ibizbook?/ruleseditview/:ruleseditview?'
,
meta
:
{
caption
:
'entities.ibizbook.views.ruleseditview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'ruleseditview'
,
parameterName
:
'ruleseditview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizbookrules-edit-view/ibizbookrules-edit-view.vue'
),
},
{
path
:
'ibizorderdetails/:ibizorderdetail?/f6gridview/:f6gridview?'
,
meta
:
{
...
...
@@ -2318,6 +2332,19 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizbookauto-group-list-view/ibizbookauto-group-list-view.vue'
),
},
{
path
:
'/ibizbooks/:ibizbook?/ruleseditview/:ruleseditview?'
,
meta
:
{
caption
:
'entities.ibizbook.views.ruleseditview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'ruleseditview'
,
parameterName
:
'ruleseditview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizbookrules-edit-view/ibizbookrules-edit-view.vue'
),
},
{
path
:
'/ibizbooks/:ibizbook?/treegridexview/:treegridexview?'
,
meta
:
{
...
...
app_Web/src/store/modules/view-action/state.ts
浏览文件 @
1486f37d
...
...
@@ -170,6 +170,7 @@ export const viewstate: any = {
'ac9add3724d90fba46e7298ac051fa5f'
,
'39e841c85d9bbfc7ecf009c4202dbf0c'
,
'703686dd4e6aa6f55aca5d92c00d9ee3'
,
'2bf74d5d66fa6d8d38b21b090586529b'
,
'16b68282950fb352dfe27e94bda47304'
,
'658d519f1868979431e7e0da5d967e6b'
,
'59c5d311d09a7f68f8b6962ca652374a'
,
...
...
@@ -220,9 +221,9 @@ export const viewstate: any = {
'a6cb9804bfd40d2542ae2c44e0cc3331'
,
'd3321077dfab8bc6b92c649e5b69daf3'
,
'491c2bc6eab0ad313d4b6f06f6a396f5'
,
'e53fed4d0b4dd614057f426b02115b41'
,
'836bdb4063978b55fedd6a180d60c323'
,
'e54ae8e27a53b3425ac78a229a163bd5'
,
'e53fed4d0b4dd614057f426b02115b41'
,
'369a14f21cbff0d0fe23831aecfca7ba'
,
'794fbfb192285c60dc9ce640270d79c0'
,
'00a0716a2029a7fe79fe03b6f74c7c90'
,
...
...
@@ -293,6 +294,15 @@ export const viewstate: any = {
'b3429ecc4d89a02bc5f5279f1bd7f620'
,
],
},
{
viewtag
:
'2bf74d5d66fa6d8d38b21b090586529b'
,
viewmodule
:
'Sample'
,
viewname
:
'IBIZBOOKRulesEditView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'2ccd29eeaeded3ea5a713a19cd67a83e'
,
viewmodule
:
'Sample'
,
...
...
app_Web/src/widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
浏览文件 @
1486f37d
...
...
@@ -644,12 +644,12 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case
'AppFunc5'
:
this
.
clickAppFunc5
(
item
);
return
;
case
'Auto393'
:
this
.
clickAuto393
(
item
);
return
;
case
'AppFunc16'
:
this
.
clickAppFunc16
(
item
);
return
;
case
'Auto393'
:
this
.
clickAuto393
(
item
);
return
;
case
'Auto319'
:
this
.
clickAuto319
(
item
);
return
;
...
...
@@ -689,6 +689,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case
'Auto145'
:
this
.
clickAuto145
(
item
);
return
;
case
'AppFunc32'
:
this
.
clickAppFunc32
(
item
);
return
;
case
'AppFunc12'
:
this
.
clickAppFunc12
(
item
);
return
;
...
...
@@ -1752,18 +1755,18 @@ export default class MainMenuBase extends Vue implements ControlInterface {
}
/**
*
基础表单项
*
功能名称
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public
clickA
uto393
(
item
:
any
=
{})
{
public
clickA
ppFunc16
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'ibiz
sample0001s'
,
parameterName
:
'ibizsample0001
'
},
{
pathName
:
'
sf2editview'
,
parameterName
:
'sf2edit
view'
},
{
pathName
:
'ibiz
books'
,
parameterName
:
'ibizbook
'
},
{
pathName
:
'
usr3dataview'
,
parameterName
:
'usr3data
view'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
if
(
Object
.
is
(
this
.
$route
.
fullPath
,
path
)){
...
...
@@ -1775,18 +1778,18 @@ export default class MainMenuBase extends Vue implements ControlInterface {
}
/**
*
功能名称
*
基础表单项
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public
clickA
ppFunc16
(
item
:
any
=
{})
{
public
clickA
uto393
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'ibiz
books'
,
parameterName
:
'ibizbook
'
},
{
pathName
:
'
usr3dataview'
,
parameterName
:
'usr3data
view'
},
{
pathName
:
'ibiz
sample0001s'
,
parameterName
:
'ibizsample0001
'
},
{
pathName
:
'
sf2editview'
,
parameterName
:
'sf2edit
view'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
if
(
Object
.
is
(
this
.
$route
.
fullPath
,
path
)){
...
...
@@ -2096,6 +2099,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
})
}
/**
* 图书实体(表单值规则)
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public
clickAppFunc32
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'ruleseditview'
,
parameterName
:
'ruleseditview'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
if
(
Object
.
is
(
this
.
$route
.
fullPath
,
path
)){
return
;
}
this
.
$nextTick
(
function
(){
this
.
$router
.
push
(
path
);
})
}
/**
* 图书列表(自动分组)
*
...
...
app_Web/src/widgets/app/main-menu-appmenu/main-menu-appmenu-model.ts
浏览文件 @
1486f37d
...
...
@@ -411,7 +411,7 @@ export default class MainMenuModel {
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
''
,
appfunctag
:
'
AppFunc32
'
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem108'
,
},
...
...
app_Web/src/widgets/ibizbook/rules-form-form/rules-form-form-base.vue
0 → 100644
浏览文件 @
1486f37d
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizbook/rules-form-form/rules-form-form-model.ts
0 → 100644
浏览文件 @
1486f37d
/**
* RulesForm 部件模型
*
* @export
* @class RulesFormModel
*/
export
default
class
RulesFormModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof RulesFormModel
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'srfwfmemo'
,
prop
:
'srfwfmemo'
,
dataType
:
'TEXT'
,
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name
:
'srffrontuf'
,
prop
:
'srffrontuf'
,
dataType
:
'TEXT'
,
},
{
name
:
'srfupdatedate'
,
prop
:
'updatedate'
,
dataType
:
'DATETIME'
,
},
{
name
:
'srforikey'
,
},
{
name
:
'srfkey'
,
prop
:
'ibizbookid'
,
dataType
:
'GUID'
,
},
{
name
:
'srfmajortext'
,
prop
:
'ibizbookname'
,
dataType
:
'TEXT'
,
},
{
name
:
'srftempmode'
,
},
{
name
:
'srfuf'
,
},
{
name
:
'srfdeid'
,
},
{
name
:
'srfsourcekey'
,
},
{
name
:
'ibizbookid'
,
prop
:
'ibizbookid'
,
dataType
:
'GUID'
,
},
{
name
:
'ibizbookname'
,
prop
:
'ibizbookname'
,
dataType
:
'TEXT'
,
},
{
name
:
'author'
,
prop
:
'author'
,
dataType
:
'TEXT'
,
},
{
name
:
'press'
,
prop
:
'press'
,
dataType
:
'TEXT'
,
},
{
name
:
'price'
,
prop
:
'price'
,
dataType
:
'FLOAT'
,
},
{
name
:
'type'
,
prop
:
'type'
,
dataType
:
'TEXT'
,
},
{
name
:
'booknumber'
,
prop
:
'booknumber'
,
dataType
:
'INT'
,
},
{
name
:
'subtext'
,
prop
:
'subtext'
,
dataType
:
'TEXT'
,
},
{
name
:
'icon'
,
prop
:
'icon'
,
dataType
:
'TEXT'
,
},
{
name
:
'returntime'
,
prop
:
'returntime'
,
dataType
:
'DATE'
,
},
{
name
:
'lendouttime'
,
prop
:
'lendouttime'
,
dataType
:
'DATE'
,
},
{
name
:
'createman'
,
prop
:
'createman'
,
dataType
:
'TEXT'
,
},
{
name
:
'createdate'
,
prop
:
'createdate'
,
dataType
:
'DATETIME'
,
},
{
name
:
'updateman'
,
prop
:
'updateman'
,
dataType
:
'TEXT'
,
},
{
name
:
'updatedate'
,
prop
:
'updatedate'
,
dataType
:
'DATETIME'
,
},
{
name
:
'ibizbook'
,
prop
:
'ibizbookid'
,
dataType
:
'FONTKEY'
,
},
]
}
}
\ No newline at end of file
app_Web/src/widgets/ibizbook/rules-form-form/rules-form-form-service.ts
0 → 100644
浏览文件 @
1486f37d
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizbook/rules-form-form/rules-form-form.less
0 → 100644
浏览文件 @
1486f37d
.ivu-tabs-no-animation>.ivu-tabs-content{
padding: 0 16px;
}
.ivu-card-head{
padding: 14px 0;
}
.app-form {
overflow: auto;
padding: 6px;
> .ivu-row {
> .ivu-tabs {
height: 100%;
display: flex;
flex-direction: column;
> .ivu-tabs-content {
flex-grow: 1;
overflow: auto;
> .ivu-tabs-tabpane {
height: 100%;
}
}
}
}
}
.app-tabpanel-flex {
height: 100%;
> .ivu-tabs-content {
height: calc(100% - 52px);
> .ivu-tabs-tabpane {
height: 100%;
}
}
}
.app-form {
>.ivu-row:nth-child(2) {
>.ivu-col:nth-child(1) {
>.ivu-row.app-form-group.app-group-hiddden-caption:nth-child(1) {
margin-top: 12px;
}
}
}
}
.app-form{
// 表单行间距
.app-form-item{
margin-bottom: 20px;
}
// 表单按钮margin
.app-form-button{
margin:0 6px;
}
}
// this is less
app_Web/src/widgets/ibizbook/rules-form-form/rules-form-form.vue
0 → 100644
浏览文件 @
1486f37d
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
RulesFormBase
from
'./rules-form-form-base.vue'
;
@
Component
({
components
:
{
}
})
export
default
class
RulesForm
extends
RulesFormBase
{
}
</
script
>
\ No newline at end of file
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录