[add] 参数项收集清单

This commit is contained in:
zhaomeijing
2022-05-11 11:03:24 +08:00
parent 9c32d240b5
commit 0f78e9fc6c
@@ -5,7 +5,7 @@
<div v-if='detailDate.controlType === "1"'>
<div v-for='(item,index) in detailDate.list' :key='index'>
<div v-if='item.type==="text"'>
<a-input class="box-input"
<a-input class="box-input inputWid"
:disabled="disabled"
v-model="formInline.nioNumber"
:placeholder="$t('PleaseEnter')+$t('NiONumber')"/>
@@ -16,7 +16,7 @@
<div v-if='detailDate.controlType === "2"'>
<div v-for='(item,index) in detailDate.list' :key='index'>
<div v-if='item.type === "pull"'>
<a-select :placeholder="$t('PleaseSelect')+$t('controlType')" v-model="formInline.controlType">
<a-select :placeholder="$t('PleaseSelect')+$t('controlType')" v-model="formInline.controlType" class='selectWid'>
<a-select-option v-for="(item, key) in item.controlValue" :key="key" :value="item.value">
<span style="display: inline-block;width: 100%" :title=" item.lable ">
{{ item.lable }}
@@ -30,7 +30,7 @@
<div v-if='detailDate.controlType === "3"'>
<div v-for='(item,index) in detailDate.list' :key='index' style='flex: 1'>
<div v-if='item.type==="pull_more"'>
<a-select :placeholder="$t('PleaseSelect')+$t('controlType')" v-model="formInline.controlType" mode="multiple">
<a-select :placeholder="$t('PleaseSelect')+$t('controlType')" v-model="formInline.controlType" mode="multiple" class='selectWid'>
<a-select-option v-for="(item, key) in item.controlValue" :key="key" :value="item.value">
<span style="display: inline-block;width: 100%" :title=" item.lable ">
{{ item.lable }}
@@ -44,7 +44,7 @@
<div v-if='detailDate.controlType === "4"'>
<div v-for='(item,index) in detailDate.list' :key='index' style='flex: 1'>
<div v-if='item.type==="file"'>
<a-button type="primary" class="button-text"
<a-button type="primary" class="button-text inputWid"
@click="clickButtonToUpload('fileTemplateConnectId')">
{{ (formInline.fileTemplateConnectId === 'null' || formInline.fileTemplateConnectId === '' ||
formInline.fileTemplateConnectId == null) ? $t('clickUpload') : $t('viewUploadedFiles')}}
@@ -56,7 +56,7 @@
<div v-if='detailDate.controlType === "5"' class='add_flex'>
<div v-for='(item,index) in detailDate.list' :key='index' class='add_flex_item'>
<div v-if='item.type==="pull"'>
<a-select :placeholder="$t('PleaseSelect')+$t('controlType')" v-model="formInline.controlType">
<a-select :placeholder="$t('PleaseSelect')+$t('controlType')" v-model="formInline.controlType" class='selectWid'>
<a-select-option v-for="(itemin, key) in item.controlValue" :key="key" :value="itemin.value">
<span style="display: inline-block;width: 100%" :title=" itemin.lable ">
{{ itemin.lable }}
@@ -65,7 +65,7 @@
</a-select>
</div>
<div v-if='item.type==="text"'>
<a-input class="box-input"
<a-input class="box-input inputWid"
:disabled="disabled"
v-model="formInline.nioNumber"
:placeholder="$t('PleaseEnter')+$t('NiONumber')"/>
@@ -76,13 +76,13 @@
<div v-if='detailDate.controlType === "6"' class='add_flex'>
<div v-for='(item,index) in detailDate.list' :key='index' class='add_flex_item'>
<div v-if='item.type==="text"'>
<a-input class="box-input"
<a-input class="box-input inputWid"
:disabled="disabled"
v-model="formInline.nioNumber"
:placeholder="$t('PleaseEnter')+$t('NiONumber')"/>
</div>
<div v-if='item.type==="pull_more"'>
<a-select :placeholder="$t('PleaseSelect')+$t('controlType')" v-model="formInline.controlType" mode="multiple">
<a-select :placeholder="$t('PleaseSelect')+$t('controlType')" v-model="formInline.controlType" mode="multiple" class='selectWid'>
<a-select-option v-for="(item, key) in item.controlValue" :key="key" :value="item.value">
<span style="display: inline-block;width: 100%" :title=" item.lable ">
{{ item.lable }}
@@ -96,13 +96,13 @@
<div v-if='detailDate.controlType === "7"' class='add_flex'>
<div v-for='(item,index) in detailDate.list' :key='index' class='add_flex_item'>
<div v-if='item.type==="text"'>
<a-input class="box-input"
<a-input class="box-input inputWid"
:disabled="disabled"
v-model="formInline.nioNumber"
:placeholder="$t('PleaseEnter')+$t('NiONumber')"/>
</div>
<div v-if='item.type==="file"'>
<a-button type="primary" class="button-text"
<a-button type="primary" class="button-text inputWid"
@click="clickButtonToUpload('fileTemplateConnectId')">
{{ (formInline.fileTemplateConnectId === 'null' || formInline.fileTemplateConnectId === '' ||
formInline.fileTemplateConnectId == null) ? $t('clickUpload') : $t('viewUploadedFiles')}}
@@ -114,7 +114,7 @@
<div v-if='detailDate.controlType === "8"' class='add_flex'>
<div v-for='(item,index) in detailDate.list' :key='index' class='add_flex_item'>
<div v-if='item.type==="pull"'>
<a-select :placeholder="$t('PleaseSelect')+$t('controlType')" v-model="formInline.controlType">
<a-select :placeholder="$t('PleaseSelect')+$t('controlType')" v-model="formInline.controlType" class='selectWid'>
<a-select-option v-for="(itemin, key) in item.controlValue" :key="key" :value="itemin.value">
<span style="display: inline-block;width: 100%" :title=" itemin.lable ">
{{ itemin.lable }}
@@ -123,7 +123,7 @@
</a-select>
</div>
<div v-if='item.type==="file"'>
<a-button type="primary" class="button-text"
<a-button type="primary" class="button-text inputWid"
@click="clickButtonToUpload('fileTemplateConnectId')">
{{ (formInline.fileTemplateConnectId === 'null' || formInline.fileTemplateConnectId === '' ||
formInline.fileTemplateConnectId == null) ? $t('clickUpload') : $t('viewUploadedFiles')}}
@@ -135,7 +135,7 @@
<div v-if='detailDate.controlType === "9"' class='add_flex'>
<div v-for='(item,index) in detailDate.list' :key='index' class='add_flex_item'>
<div v-if='item.type==="pull_more"'>
<a-select :placeholder="$t('PleaseSelect')+$t('controlType')" v-model="formInline.controlType" mode="multiple">
<a-select :placeholder="$t('PleaseSelect')+$t('controlType')" v-model="formInline.controlType" mode="multiple" class='selectWid'>
<a-select-option v-for="(item, key) in item.controlValue" :key="key" :value="item.value">
<span style="display: inline-block;width: 100%" :title=" item.lable ">
{{ item.lable }}
@@ -143,20 +143,20 @@
</a-select-option>
</a-select>
</div>
<!-- <div v-if='item.type==="file"'>-->
<!-- <a-button type="primary" class="button-text"-->
<!-- @click="clickButtonToUpload('fileTemplateConnectId')">-->
<!-- {{ (formInline.fileTemplateConnectId === 'null' || formInline.fileTemplateConnectId === '' ||-->
<!-- formInline.fileTemplateConnectId == null) ? $t('clickUpload') : $t('viewUploadedFiles')}}-->
<!-- </a-button>-->
<!-- </div>-->
<div v-if='item.type==="file"'>
<a-button type="primary" class="button-text inputWid"
@click="clickButtonToUpload('fileTemplateConnectId')">
{{ (formInline.fileTemplateConnectId === 'null' || formInline.fileTemplateConnectId === '' ||
formInline.fileTemplateConnectId == null) ? $t('clickUpload') : $t('viewUploadedFiles')}}
</a-button>
</div>
</div>
</div>
<!-- 文本+下拉单选+附件-->
<div v-if='detailDate.controlType === "10"' class='add_flex'>
<div v-for='(item,index) in detailDate.list' :key='index' class='add_flex_item'>
<div v-if='item.type==="pull"'>
<a-select :placeholder="$t('PleaseSelect')+$t('controlType')" v-model="formInline.controlType">
<a-select :placeholder="$t('PleaseSelect')+$t('controlType')" v-model="formInline.controlType" class='selectWid'>
<a-select-option v-for="(itemin, key) in item.controlValue" :key="key" :value="itemin.value">
<span style="display: inline-block;width: 100%" :title=" itemin.lable ">
{{ itemin.lable }}
@@ -165,13 +165,13 @@
</a-select>
</div>
<div v-if='item.type==="text"'>
<a-input class="box-input"
<a-input class="box-input inputWid"
:disabled="disabled"
v-model="formInline.nioNumber"
:placeholder="$t('PleaseEnter')+$t('NiONumber')"/>
</div>
<div v-if='item.type==="file"'>
<a-button type="primary" class="button-text"
<a-button type="primary" class="button-text inputWid"
@click="clickButtonToUpload('fileTemplateConnectId')">
{{ (formInline.fileTemplateConnectId === 'null' || formInline.fileTemplateConnectId === '' ||
formInline.fileTemplateConnectId == null) ? $t('clickUpload') : $t('viewUploadedFiles')}}
@@ -254,4 +254,10 @@ export default {
.add_flex_item{
flex: 1;
}
.selectWid{
min-width: 150px;
}
.inputWid{
min-width: 150px;
}
</style>