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

ibiz4j 发布系统代码

上级 c2526507
......@@ -40,8 +40,6 @@ export default {
redirect_uri: "RedirectURI",
region_id: "RegionId",
disabled: "是否禁用",
lic: "授权",
image: "图片",
accessid: "开放平台接入标识",
},
uiactions: {
......
......@@ -39,8 +39,6 @@ export default {
redirect_uri: "RedirectURI",
region_id: "RegionId",
disabled: "是否禁用",
lic: "授权",
image: "图片",
accessid: "开放平台接入标识",
},
uiactions: {
......
......@@ -109,42 +109,6 @@
</app-form-item>
</i-col>
<i-col v-show="detailsModel.lic.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='lic' :itemRules="this.rules().lic" class='' :caption="$t('entities.sysopenaccess.main_form.details.lic')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.lic.error" :isEmptyCaption="false" labelPos="LEFT">
<ibiz-file-upload
:data="data"
formItemName="lic"
:value="data.lic"
:formState="formState"
folder="sysopenaccess"
ownertype="lic"
:ownerid="data.srfkey"
:show-ocrview="true"
:show-preview="true"
:show-edit="true"
:show-drag="false"
:persistence="false"
@formitemvaluechange="onFormItemValueChange"></ibiz-file-upload>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.image.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='image' :itemRules="this.rules().image" class='' :caption="$t('entities.sysopenaccess.main_form.details.image')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.lic.error" :isEmptyCaption="false" labelPos="LEFT">
<ibiz-image-upload
:data="data"
formItemName="image"
:value="data.image"
:formState="formState"
folder="sysopenaccess"
ownertype="image"
:ownerid="data.srfkey"
:show-ocrview="true"
:show-preview="true"
:persistence="false"
@formitemvaluechange="onFormItemValueChange"></ibiz-image-upload>
</app-form-item>
</i-col>
</row>
......@@ -497,8 +461,6 @@ export default class MainBase extends Vue implements ControlInterface {
redirect_uri: null,
region_id: null,
disabled: null,
lic: null,
image: null,
accessid: null,
sysopenaccess:null,
};
......@@ -627,18 +589,6 @@ export default class MainBase extends Vue implements ControlInterface {
{ required: false, type: 'number', message: '是否禁用 值不能为空', trigger: 'change' },
{ required: false, type: 'number', message: '是否禁用 值不能为空', trigger: 'blur' },
],
lic: [
{ type: 'string', message: '授权 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '授权 值必须为字符串类型', trigger: 'blur' },
{ 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' },
......@@ -764,10 +714,6 @@ export default class MainBase extends Vue implements ControlInterface {
region_id: new FormItemModel({ caption: 'RegionId', detailType: 'FORMITEM', name: 'region_id', visible: true, isShowCaption: true, form: this, isControlledContent: false , disabled: false, enableCond: 3 })
,
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 })
,
......@@ -941,30 +887,6 @@ export default class MainBase extends Vue implements ControlInterface {
this.formDataChange({ name: 'disabled', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 lic 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.lic')
onLicChange(newVal: any, oldVal: any) {
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 值
*
......@@ -1048,8 +970,6 @@ export default class MainBase extends Vue implements ControlInterface {
}
/**
......
......@@ -85,14 +85,6 @@ export default class MainModel {
prop: 'disabled',
dataType: 'YESNO',
},
{
name: 'lic',
dataType:'FORMITEM',
},
{
name: 'image',
dataType:'FORMITEM',
},
{
name: 'accessid',
prop: 'id',
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册