提交 bcf79923 编写于 作者: ibizdev's avatar ibizdev

kuaikuai 发布系统代码 [后台服务,演示应用]

上级 f5fbdb3b
......@@ -384,7 +384,6 @@ function getLocaleResourceBase(){
lendouttime: commonLogic.appcommonhandle("借出日期",null),
returntime: commonLogic.appcommonhandle("归还日期",null),
tag: commonLogic.appcommonhandle("标签",null),
formitem: commonLogic.appcommonhandle("数值",null),
icon: commonLogic.appcommonhandle("图书封面",null),
subtext: commonLogic.appcommonhandle("图书描述",null),
createman: commonLogic.appcommonhandle("建立人",null),
......
......@@ -384,7 +384,6 @@ function getLocaleResourceBase(){
lendouttime: commonLogic.appcommonhandle("借出日期",null),
returntime: commonLogic.appcommonhandle("归还日期",null),
tag: commonLogic.appcommonhandle("标签",null),
formitem: commonLogic.appcommonhandle("数值",null),
icon: commonLogic.appcommonhandle("图书封面",null),
subtext: commonLogic.appcommonhandle("图书描述",null),
createman: commonLogic.appcommonhandle("建立人",null),
......
......@@ -175,27 +175,6 @@
</app-form-item>
</i-col>
<i-col v-show="detailsModel.formitem.visible" :style="{}" :sm="{ span: 8, offset: 0 }" :md="{ span: 8, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 8, offset: 0 }">
<app-form-item name='formitem' :itemRules="this.rules().formitem" class='' :caption="$t('entities.ibizbook.main_form.details.formitem')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem.error" :isEmptyCaption="false" labelPos="LEFT">
<dropdown-list
v-model="data.formitem"
:data="data"
:context="context"
:viewparams="viewparams"
:formState="formState"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.formitem.disabled"
valueType="string"
tag='SCODELIST_NUM'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.icon.visible" :style="{}" :sm="{ span: 8, offset: 1 }" :md="{ span: 8, offset: 1 }" :lg="{ span: 8, offset: 1 }" :xl="{ span: 8, offset: 1 }">
<app-form-item name='icon' :itemRules="this.rules().icon" class='' :caption="$t('entities.ibizbook.main_form.details.icon')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.icon.error" :isEmptyCaption="false" labelPos="LEFT">
......@@ -683,7 +662,6 @@ export default class MainBase extends Vue implements ControlInterface {
lendouttime: null,
returntime: null,
tag: null,
formitem: null,
icon: null,
subtext: null,
createman: null,
......@@ -785,10 +763,6 @@ export default class MainBase extends Vue implements ControlInterface {
{ required: this.detailsModel.tag.required, type: 'string', message: '标签 值不能为空', trigger: 'change' },
{ required: this.detailsModel.tag.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' },
],
icon: [
{ required: this.detailsModel.icon.required, type: 'string', message: '图书封面 值不能为空', trigger: 'change' },
{ required: this.detailsModel.icon.required, type: 'string', message: '图书封面 值不能为空', trigger: 'blur' },
......@@ -965,8 +939,6 @@ export default class MainBase 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 })
,
tag: new FormItemModel({ caption: '标签', detailType: 'FORMITEM', name: 'tag', 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 })
,
icon: new FormItemModel({ caption: '图书封面', detailType: 'FORMITEM', name: 'icon', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
......@@ -1211,18 +1183,6 @@ export default class MainBase extends Vue implements ControlInterface {
this.formDataChange({ name: 'tag', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 formitem 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.formitem')
onFormitemChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 icon 值
*
......@@ -1376,7 +1336,6 @@ export default class MainBase extends Vue implements ControlInterface {
}
......
......@@ -110,11 +110,6 @@ export default class MainModel {
prop: 'tag',
dataType: 'LONGTEXT',
},
{
name: 'formitem',
prop: 'type',
dataType: 'TEXT',
},
{
name: 'icon',
prop: 'icon',
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册