认证-参数项-变更:添加"标题"控件类型
This commit is contained in:
@@ -1055,6 +1055,7 @@ module.exports = {
|
||||
NcontrolType: 'Control Type',
|
||||
NcontrolVerification: 'Control Verify',
|
||||
NcontrolAlternatives: 'Control Values',
|
||||
DefaultValue: 'Default Value',
|
||||
NattachmentTemplate: 'File Template',
|
||||
Ntext: 'Text',
|
||||
NDropdownradio: 'Pull single',
|
||||
@@ -1066,6 +1067,7 @@ module.exports = {
|
||||
Dtext: 'Pull single+File',
|
||||
Etext: 'Pull more+File',
|
||||
Ftext: 'Text+Pull single+File',
|
||||
Gtext: 'Title',
|
||||
Nnothing: 'Null',
|
||||
Nchinese: 'Chinese',
|
||||
NpositiveInteger: 'Integer',
|
||||
|
||||
@@ -1065,6 +1065,7 @@ module.exports = {
|
||||
NcontrolType: '控件类型',
|
||||
NcontrolVerification: '控件校验',
|
||||
NcontrolAlternatives: '控件备选值',
|
||||
DefaultValue: '默认值',
|
||||
NattachmentTemplate: '附件模板',
|
||||
Ntext: '文本',
|
||||
NDropdownradio: '下拉单选',
|
||||
@@ -1076,6 +1077,7 @@ module.exports = {
|
||||
Dtext: '下拉单选+附件',
|
||||
Etext:'下拉多选+附件',
|
||||
Ftext: '文本+下拉单选+附件',
|
||||
Gtext: '标题',
|
||||
Nnothing: '无',
|
||||
Nchinese: '中文',
|
||||
NpositiveInteger: '整数',
|
||||
|
||||
@@ -191,6 +191,22 @@
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
</a-col>
|
||||
<a-col :span="12" v-if='this.formInline.controlType =="11"'>
|
||||
<div class="box-title-text">
|
||||
<div class="title-text">
|
||||
<span class="Required">*</span>
|
||||
<span class="title-text-text"
|
||||
:title="$t('DefaultValue')">{{$t('DefaultValue')}}</span>
|
||||
</div>
|
||||
<a-form-model-item class="itemModel" prop="titleDefaultValue">
|
||||
<a-input class="box-input add-input"
|
||||
:disabled="disabled"
|
||||
:maxlength="100"
|
||||
v-model="formInline.titleDefaultValue"
|
||||
:placeholder="$t('PleaseEnter')+$t('DefaultValue')"/>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<!-- 控件备选值-->
|
||||
<a-row :gutter="24">
|
||||
@@ -210,6 +226,8 @@
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
</a-col>
|
||||
|
||||
|
||||
<!-- 附件模板-->
|
||||
<a-col :span="12" v-if='this.formInline.controlType =="4" || this.formInline.controlType =="7" || this.formInline.controlType =="8" || this.formInline.controlType =="9" || this.formInline.controlType =="10"'>
|
||||
<div class="box-title-text">
|
||||
@@ -332,6 +350,7 @@ export default {
|
||||
{value:'8', label: this.$t('Dtext') },
|
||||
{value:'9', label: this.$t('Etext') },
|
||||
{value:'10', label: this.$t('Ftext') },
|
||||
{value:'11', label: this.$t('Gtext') },
|
||||
],
|
||||
controlVerification: [ // 控件校验
|
||||
{value:'1', label: this.$t('Nnothing') },
|
||||
@@ -391,6 +410,10 @@ export default {
|
||||
{ required: true, message: this.$t('PleaseEnter')+this.$t('controlAlternatives'), trigger: 'blur' },
|
||||
{ min:1, max: 500, message: this.$t('cantExeed')+'500'+this.$t('characters'), trigger: 'blur' },
|
||||
],
|
||||
titleDefaultValue: [
|
||||
{ required: true, message: this.$t('PleaseEnter')+this.$t('DefaultValue'), trigger: 'blur' },
|
||||
{ min:1, max: 100, message: this.$t('cantExeed')+'100'+this.$t('characters'), trigger: 'blur' },
|
||||
],
|
||||
},
|
||||
rulesItem: {
|
||||
paramsNumber: [
|
||||
|
||||
Reference in New Issue
Block a user