Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
e95c0858
提交
e95c0858
编写于
12月 03, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Mosher 发布系统代码 [后台服务,演示应用]
上级
220fdeb0
变更
7
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
179 行增加
和
0 行删除
+179
-0
ibizbook_en_US.ts
...Web/src/locale/lanres/entities/ibizbook/ibizbook_en_US.ts
+3
-0
ibizbook_zh_CN.ts
...Web/src/locale/lanres/entities/ibizbook/ibizbook_zh_CN.ts
+3
-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
+13
-0
inter-func-form-2-form-base.vue
...ok/inter-func-form-2-form/inter-func-form-2-form-base.vue
+120
-0
inter-func-form-2-form-model.ts
...ok/inter-func-form-2-form/inter-func-form-2-form-model.ts
+12
-0
未找到文件。
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_en_US.ts
浏览文件 @
e95c0858
...
...
@@ -371,6 +371,9 @@ export default {
lendouttime
:
"借出日期"
,
returntime
:
"归还日期"
,
borrower
:
"借阅人"
,
formitem
:
"表格选择视图"
,
formitem1
:
"数据选择视图"
,
formitem2
:
"多选数据选择"
,
},
uiactions
:
{
},
...
...
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_zh_CN.ts
浏览文件 @
e95c0858
...
...
@@ -370,6 +370,9 @@ export default {
lendouttime
:
"借出日期"
,
returntime
:
"归还日期"
,
borrower
:
"借阅人"
,
formitem
:
"表格选择视图"
,
formitem1
:
"数据选择视图"
,
formitem2
:
"多选数据选择"
,
},
uiactions
:
{
},
...
...
app_Web/src/pages/sample/index/page-register.ts
浏览文件 @
e95c0858
...
...
@@ -27,6 +27,7 @@ export const PageComponents = {
Vue
.
component
(
'ibizhardware-index-pickup-data-view'
,
()
=>
import
(
'@pages/sample/ibizhardware-index-pickup-data-view/ibizhardware-index-pickup-data-view.vue'
));
Vue
.
component
(
'ibizorder-sgrid-view2'
,
()
=>
import
(
'@pages/sample/ibizorder-sgrid-view2/ibizorder-sgrid-view2.vue'
));
Vue
.
component
(
'ibizbooktree-grid-ex-view'
,
()
=>
import
(
'@pages/sample/ibizbooktree-grid-ex-view/ibizbooktree-grid-ex-view.vue'
));
Vue
.
component
(
'ibizcustomer-mpickup-view'
,
()
=>
import
(
'@pages/sample/ibizcustomer-mpickup-view/ibizcustomer-mpickup-view.vue'
));
Vue
.
component
(
'ibizuniproduct-pickup-grid-view'
,
()
=>
import
(
'@pages/sample/ibizuniproduct-pickup-grid-view/ibizuniproduct-pickup-grid-view.vue'
));
Vue
.
component
(
'ibizorder-odsp-wfexp-view'
,
()
=>
import
(
'@pages/sample/ibizorder-odsp-wfexp-view/ibizorder-odsp-wfexp-view.vue'
));
Vue
.
component
(
'ibizorder-detail-sgrid-view'
,
()
=>
import
(
'@pages/sample/ibizorder-detail-sgrid-view/ibizorder-detail-sgrid-view.vue'
));
...
...
app_Web/src/pages/sample/index/router.ts
浏览文件 @
e95c0858
...
...
@@ -503,6 +503,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizbooktree-grid-ex-view/ibizbooktree-grid-ex-view.vue'
),
},
{
path
:
'ibizcustomers/:ibizcustomer?/mpickupview/:mpickupview?'
,
meta
:
{
caption
:
'entities.ibizcustomer.views.mpickupview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizcustomers'
,
parameterName
:
'ibizcustomer'
},
{
pathName
:
'mpickupview'
,
parameterName
:
'mpickupview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizcustomer-mpickup-view/ibizcustomer-mpickup-view.vue'
),
},
{
path
:
'ibizuniproducts/:ibizuniproduct?/pickupgridview/:pickupgridview?'
,
meta
:
{
...
...
@@ -3909,6 +3923,19 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizuniproduct-pickup-grid-view/ibizuniproduct-pickup-grid-view.vue'
),
},
{
path
:
'/ibizcustomers/:ibizcustomer?/mpickupview/:mpickupview?'
,
meta
:
{
caption
:
'entities.ibizcustomer.views.mpickupview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizcustomers'
,
parameterName
:
'ibizcustomer'
},
{
pathName
:
'mpickupview'
,
parameterName
:
'mpickupview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizcustomer-mpickup-view/ibizcustomer-mpickup-view.vue'
),
},
{
path
:
'/ibizordertypes/:ibizordertype?/usr2editview/:usr2editview?'
,
meta
:
{
...
...
app_Web/src/store/modules/view-action/state.ts
浏览文件 @
e95c0858
...
...
@@ -524,7 +524,10 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'f7ce60a7707de1ef9f926b3f9d5d6954'
,
'b3a27af7c6e3cea3b600057793da2bd1'
,
'81e92e837f6fa81fed5b6beaa75f6bbd'
,
'460fc1d5b6f2e2012b281df34d929f3b'
,
],
},
{
...
...
@@ -926,6 +929,16 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'81e92e837f6fa81fed5b6beaa75f6bbd'
,
viewmodule
:
'Sample'
,
viewname
:
'IBIZCustomerMPickupView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'460fc1d5b6f2e2012b281df34d929f3b'
,
],
},
{
viewtag
:
'82014278d03dfb22039740c03d2a461f'
,
viewmodule
:
'Sample'
,
...
...
app_Web/src/widgets/ibizbook/inter-func-form-2-form/inter-func-form-2-form-base.vue
浏览文件 @
e95c0858
...
...
@@ -41,6 +41,66 @@
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.formitem.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }" :xl="{ span: 8, offset: 0 }">
<app-form-item
name=
'formitem'
:itemRules=
"this.rules().formitem"
class=
''
:caption=
"$t('entities.ibizbook.interfuncform_2_form.details.formitem')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.formitem.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-picker
:formState=
"formState"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }'
:localParam ='{ }'
:disabled="detailsModel.formitem.disabled"
name='formitem'
valueitem='borrower'
:value="data.formitem"
editortype="pickup-no-ac"
:pickupView="{ viewname: 'ibizcustomer-pickup-grid-view', title: $t('entities.ibizcustomer.views.pickupgridview.title'), deResParameters: [], parameters: [{ pathName: 'ibizcustomers', parameterName: 'ibizcustomer' }, { pathName: 'pickupgridview', parameterName: 'pickupgridview' } ], placement:'' }"
style=""
@formitemvaluechange="onFormItemValueChange">
</app-picker>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.formitem1.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }" :xl="{ span: 8, offset: 0 }">
<app-form-item
name=
'formitem1'
:itemRules=
"this.rules().formitem1"
class=
''
:caption=
"$t('entities.ibizbook.interfuncform_2_form.details.formitem1')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.formitem1.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-picker
:formState=
"formState"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }'
:localParam ='{ }'
:disabled="detailsModel.formitem1.disabled"
name='formitem1'
valueitem='borrower'
:value="data.formitem1"
editortype="pickup-no-ac"
:pickupView="{ viewname: 'ibizcustomer-pickup-view', title: $t('entities.ibizcustomer.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'ibizcustomers', parameterName: 'ibizcustomer' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
style=""
@formitemvaluechange="onFormItemValueChange">
</app-picker>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.formitem2.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }" :xl="{ span: 8, offset: 0 }">
<app-form-item
name=
'formitem2'
:itemRules=
"this.rules().formitem2"
class=
''
:caption=
"$t('entities.ibizbook.interfuncform_2_form.details.formitem2')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.formitem2.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.formitem2"
@
enter=
"onEnter($event)"
:disabled=
"detailsModel.formitem2.disabled"
type=
'text'
style=
""
>
</input-box>
</app-form-item>
</i-col>
</row>
...
...
@@ -447,6 +507,9 @@ export default class InterFuncForm_2Base extends Vue implements ControlInterface
lendouttime
:
null
,
returntime
:
null
,
borrower
:
null
,
formitem
:
null
,
formitem1
:
null
,
formitem2
:
null
,
ibizbook
:
null
,
};
...
...
@@ -510,6 +573,18 @@ export default class InterFuncForm_2Base extends Vue implements ControlInterface
{
required
:
this
.
detailsModel
.
returntime
.
required
,
type
:
'string'
,
message
:
'归还日期 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
returntime
.
required
,
type
:
'string'
,
message
:
'归还日期 值不能为空'
,
trigger
:
'blur'
},
],
formitem
:
[
{
required
:
this
.
detailsModel
.
formitem
.
required
,
type
:
'string'
,
message
:
'表格选择视图 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
formitem
.
required
,
type
:
'string'
,
message
:
'表格选择视图 值不能为空'
,
trigger
:
'blur'
},
],
formitem1
:
[
{
required
:
this
.
detailsModel
.
formitem1
.
required
,
type
:
'string'
,
message
:
'数据选择视图 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
formitem1
.
required
,
type
:
'string'
,
message
:
'数据选择视图 值不能为空'
,
trigger
:
'blur'
},
],
formitem2
:
[
{
required
:
this
.
detailsModel
.
formitem2
.
required
,
type
:
'string'
,
message
:
'多选数据选择 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
formitem2
.
required
,
type
:
'string'
,
message
:
'多选数据选择 值不能为空'
,
trigger
:
'blur'
},
],
}
}
...
...
@@ -644,6 +719,12 @@ export default class InterFuncForm_2Base extends Vue implements ControlInterface
returntime
:
new
FormItemModel
({
caption
:
'归还日期'
,
detailType
:
'FORMITEM'
,
name
:
'returntime'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
true
,
disabled
:
false
,
enableCond
:
3
})
,
borrower
:
new
FormItemModel
({
caption
:
'借阅人'
,
detailType
:
'FORMITEM'
,
name
:
'borrower'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
formitem
:
new
FormItemModel
({
caption
:
'表格选择视图'
,
detailType
:
'FORMITEM'
,
name
:
'formitem'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
formitem1
:
new
FormItemModel
({
caption
:
'数据选择视图'
,
detailType
:
'FORMITEM'
,
name
:
'formitem1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
formitem2
:
new
FormItemModel
({
caption
:
'多选数据选择'
,
detailType
:
'FORMITEM'
,
name
:
'formitem2'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
};
...
...
@@ -803,6 +884,42 @@ export default class InterFuncForm_2Base extends Vue implements ControlInterface
this
.
formDataChange
({
name
:
'borrower'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 formitem 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof InterFuncForm_2Base
*/
@
Watch
(
'data.formitem'
)
onFormitemChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'formitem'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 formitem1 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof InterFuncForm_2Base
*/
@
Watch
(
'data.formitem1'
)
onFormitem1Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'formitem1'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 formitem2 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof InterFuncForm_2Base
*/
@
Watch
(
'data.formitem2'
)
onFormitem2Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'formitem2'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 显示更多模式切换操作
...
...
@@ -872,6 +989,9 @@ export default class InterFuncForm_2Base extends Vue implements ControlInterface
}
/**
...
...
app_Web/src/widgets/ibizbook/inter-func-form-2-form/inter-func-form-2-form-model.ts
浏览文件 @
e95c0858
...
...
@@ -80,6 +80,18 @@ export default class InterFuncForm_2Model {
prop
:
'borrower'
,
dataType
:
'TEXT'
,
},
{
name
:
'formitem'
,
dataType
:
'FORMITEM'
,
},
{
name
:
'formitem1'
,
dataType
:
'FORMITEM'
,
},
{
name
:
'formitem2'
,
dataType
:
'FORMITEM'
,
},
{
name
:
'ibizbook'
,
prop
:
'ibizbookid'
,
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录