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

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

上级 d7d10a90
......@@ -277,8 +277,8 @@ export default {
formitem9: "磁盘文件",
formitem8: "支持拖拽",
formitem5: "信息展示",
formitem6: "图片路径",
formitem10: "磁盘图片",
formitem6: "图片路径",
formitem18: "更新时间",
formitem2: "用户自定义",
ibizsample0001id: "IBIZSAMPLE0001标识",
......
......@@ -276,8 +276,8 @@ export default {
formitem9: "磁盘文件",
formitem8: "支持拖拽",
formitem5: "信息展示",
formitem6: "图片路径",
formitem10: "磁盘图片",
formitem6: "图片路径",
formitem18: "更新时间",
formitem2: "用户自定义",
ibizsample0001id: "IBIZSAMPLE0001标识",
......
......@@ -234,14 +234,7 @@ dataType="LONGTEXT" :precision="0"
</app-form-item>
</i-col>
<i-col v-show="detailsModel.formitem6.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='formitem6' :itemRules="this.rules().formitem6" class='' :caption="$t('entities.ibizsample0001.main5_form.details.formitem6')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem6.error" :isEmptyCaption="false" labelPos="LEFT">
<app-image-romate :formState="formState" :ignorefieldvaluechange="ignorefieldvaluechange" @formitemvaluechange="onFormItemValueChange" :data="this.data" name='formitem6' :disabled="detailsModel.formitem6.disabled" style=""></app-image-romate>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.formitem10.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<i-col v-show="detailsModel.formitem10.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='formitem10' :itemRules="this.rules().formitem10" class='' :caption="$t('entities.ibizsample0001.main5_form.details.formitem10')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem10.error" :isEmptyCaption="false" labelPos="LEFT">
<disk-image-upload
:data="data"
......@@ -258,6 +251,13 @@ dataType="LONGTEXT" :precision="0"
</disk-image-upload>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.formitem6.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='formitem6' :itemRules="this.rules().formitem6" class='' :caption="$t('entities.ibizsample0001.main5_form.details.formitem6')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem6.error" :isEmptyCaption="false" labelPos="LEFT">
<app-image-romate :formState="formState" :ignorefieldvaluechange="ignorefieldvaluechange" @formitemvaluechange="onFormItemValueChange" :data="this.data" name='formitem6' :disabled="detailsModel.formitem6.disabled" style=""></app-image-romate>
</app-form-item>
</i-col>
</row>
......@@ -691,8 +691,8 @@ export default class Main5Base extends Vue implements ControlInterface {
formitem9: null,
formitem8: null,
formitem5: null,
formitem6: null,
formitem10: null,
formitem6: null,
formitem18: null,
formitem2: null,
ibizsample0001id: null,
......@@ -815,14 +815,14 @@ export default class Main5Base extends Vue implements ControlInterface {
{ required: this.detailsModel.formitem5.required, type: 'string', message: '信息展示 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem5.required, type: 'string', message: '信息展示 值不能为空', trigger: 'blur' },
],
formitem6: [
{ required: this.detailsModel.formitem6.required, type: 'string', message: '图片路径 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem6.required, type: 'string', message: '图片路径 值不能为空', trigger: 'blur' },
],
formitem10: [
{ required: this.detailsModel.formitem10.required, type: 'string', message: '磁盘图片 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem10.required, type: 'string', message: '磁盘图片 值不能为空', trigger: 'blur' },
],
formitem6: [
{ required: this.detailsModel.formitem6.required, type: 'string', message: '图片路径 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem6.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' },
......@@ -1001,10 +1001,10 @@ export default class Main5Base extends Vue implements ControlInterface {
formitem8: new FormItemModel({ caption: '支持拖拽', detailType: 'FORMITEM', name: 'formitem8', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem5: new FormItemModel({ caption: '信息展示', detailType: 'FORMITEM', name: 'formitem5', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem6: new FormItemModel({ caption: '图片路径', detailType: 'FORMITEM', name: 'formitem6', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem10: new FormItemModel({ caption: '磁盘图片', detailType: 'FORMITEM', name: 'formitem10', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem6: new FormItemModel({ caption: '图片路径', detailType: 'FORMITEM', name: 'formitem6', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem18: new FormItemModel({ caption: '更新时间', detailType: 'FORMITEM', name: 'formitem18', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
......@@ -1327,27 +1327,27 @@ export default class Main5Base extends Vue implements ControlInterface {
}
/**
* 监控表单属性 formitem6
* 监控表单属性 formitem10
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main5Base
*/
@Watch('data.formitem6')
onFormitem6Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem6', newVal: newVal, oldVal: oldVal });
@Watch('data.formitem10')
onFormitem10Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem10', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 formitem10
* 监控表单属性 formitem6
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main5Base
*/
@Watch('data.formitem10')
onFormitem10Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem10', newVal: newVal, oldVal: oldVal });
@Watch('data.formitem6')
onFormitem6Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem6', newVal: newVal, oldVal: oldVal });
}
/**
......
......@@ -143,16 +143,16 @@ export default class Main5Model {
prop: 'picture',
dataType: 'TEXT',
},
{
name: 'formitem6',
prop: 'field02',
dataType: 'LONGTEXT_1000',
},
{
name: 'formitem10',
prop: 'picture',
dataType: 'TEXT',
},
{
name: 'formitem6',
prop: 'field02',
dataType: 'LONGTEXT_1000',
},
{
name: 'formitem18',
prop: 'updatedate',
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册