[add] 提交附件
This commit is contained in:
@@ -46,8 +46,8 @@
|
||||
<div v-if='item.type==="file"' class='add-width'>
|
||||
<a-button type="primary" class="button-text inputWid"
|
||||
@click="clickButtonToUpload('fileTemplateConnectId')">
|
||||
{{ (item.controlValue === 'null' || item.controlValue === '' ||
|
||||
item.controlValue == null) ? $t('clickUpload') : $t('viewUploadedFiles')}}
|
||||
{{ (item.dataValue === 'null' || item.dataValue === '' ||
|
||||
item.dataValue == null) ? $t('clickUpload') : $t('viewUploadedFiles')}}
|
||||
</a-button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -104,8 +104,8 @@
|
||||
<div v-if='item.type==="file"' class='add-width'>
|
||||
<a-button type="primary" class="button-text inputWid"
|
||||
@click="clickButtonToUpload('fileTemplateConnectId')">
|
||||
{{ (item.controlValue === 'null' || item.controlValue === '' ||
|
||||
item.controlValue == null) ? $t('clickUpload') : $t('viewUploadedFiles')}}
|
||||
{{ (item.dataValue === 'null' || item.dataValue === '' ||
|
||||
item.dataValue == null) ? $t('clickUpload') : $t('viewUploadedFiles')}}
|
||||
</a-button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -125,8 +125,8 @@
|
||||
<div v-if='item.type==="file"' class='add-width'>
|
||||
<a-button type="primary" class="button-text inputWid"
|
||||
@click="clickButtonToUpload('fileTemplateConnectId')">
|
||||
{{ (item.controlValue === 'null' || item.controlValue === '' ||
|
||||
item.controlValue == null) ? $t('clickUpload') : $t('viewUploadedFiles')}}
|
||||
{{ (item.dataValue === 'null' || item.dataValue === '' ||
|
||||
item.dataValue == null) ? $t('clickUpload') : $t('viewUploadedFiles')}}
|
||||
</a-button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -146,8 +146,8 @@
|
||||
<div v-if='item.type==="file"' class='add-width'>
|
||||
<a-button type="primary" class="button-text inputWid"
|
||||
@click="clickButtonToUpload('fileTemplateConnectId')">
|
||||
{{ (item.controlValue === 'null' || item.controlValue === '' ||
|
||||
item.controlValue == null) ? $t('clickUpload') : $t('viewUploadedFiles')}}
|
||||
{{ (item.dataValue === 'null' || item.dataValue === '' ||
|
||||
item.dataValue == null) ? $t('clickUpload') : $t('viewUploadedFiles')}}
|
||||
</a-button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -173,8 +173,8 @@
|
||||
<div v-if='item.type==="file"'>
|
||||
<a-button type="primary" class="button-text inputWid"
|
||||
@click="clickButtonToUpload('fileTemplateConnectId')">
|
||||
{{ (item.controlValue === 'null' || item.controlValue === '' ||
|
||||
item.controlValue == null) ? $t('clickUpload') : $t('viewUploadedFiles')}}
|
||||
{{ (item.dataValue === 'null' || item.dataValue === '' ||
|
||||
item.dataValue == null) ? $t('clickUpload') : $t('viewUploadedFiles')}}
|
||||
</a-button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -217,7 +217,7 @@ export default {
|
||||
})
|
||||
this.detailDate.list.forEach((item, index) => {
|
||||
if(item.type === 'file') {
|
||||
item.controlValue = attIdList.join(',')
|
||||
item.dataValue = attIdList.join(',')
|
||||
}
|
||||
})
|
||||
/** 赋值给当前对应的表单文件 */
|
||||
|
||||
Reference in New Issue
Block a user