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

laizhilong 发布系统代码

上级 3e997c64
......@@ -41,6 +41,7 @@ export default {
region_id: "RegionId",
disabled: "是否禁用",
lic: "授权",
image: "图片",
accessid: "开放平台接入标识",
},
uiactions: {
......
......@@ -40,6 +40,7 @@ export default {
region_id: "RegionId",
disabled: "是否禁用",
lic: "授权",
image: "图片",
accessid: "开放平台接入标识",
},
uiactions: {
......
......@@ -128,6 +128,10 @@
@formitemvaluechange="onFormItemValueChange"></ibiz-file-upload>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.image.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
</i-col>
</row>
......@@ -481,6 +485,7 @@ export default class MainBase extends Vue implements ControlInterface {
region_id: null,
disabled: null,
lic: null,
image: null,
accessid: null,
sysopenaccess:null,
};
......@@ -615,6 +620,12 @@ export default class MainBase extends Vue implements ControlInterface {
{ required: false, type: 'string', message: '授权 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '授权 值不能为空', trigger: 'blur' },
],
image: [
{ type: 'string', message: '图片 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '图片 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '图片 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '图片 值不能为空', trigger: 'blur' },
],
accessid: [
{ type: 'string', message: '开放平台接入标识 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '开放平台接入标识 值必须为字符串类型', trigger: 'blur' },
......@@ -742,6 +753,8 @@ export default class MainBase extends Vue implements ControlInterface {
disabled: new FormItemModel({ caption: '是否禁用', detailType: 'FORMITEM', name: 'disabled', visible: true, isShowCaption: true, form: this, isControlledContent: false , disabled: false, enableCond: 3 })
,
lic: new FormItemModel({ caption: '授权', detailType: 'FORMITEM', name: 'lic', visible: true, isShowCaption: true, form: this, isControlledContent: false , disabled: false, enableCond: 3 })
,
image: new FormItemModel({ caption: '图片', detailType: 'FORMITEM', name: 'image', visible: true, isShowCaption: true, form: this, isControlledContent: false , disabled: false, enableCond: 3 })
,
accessid: new FormItemModel({ caption: '开放平台接入标识', detailType: 'FORMITEM', name: 'accessid', visible: true, isShowCaption: true, form: this, isControlledContent: false , disabled: false, enableCond: 3 })
,
......@@ -927,6 +940,18 @@ export default class MainBase extends Vue implements ControlInterface {
this.formDataChange({ name: 'lic', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 image 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.image')
onImageChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'image', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 accessid 值
*
......@@ -1011,6 +1036,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
/**
......
......@@ -89,6 +89,10 @@ export default class MainModel {
name: 'lic',
dataType:'FORMITEM',
},
{
name: 'image',
dataType:'FORMITEM',
},
{
name: 'accessid',
prop: 'id',
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册