修改参数收集增加数据
This commit is contained in:
@@ -205,7 +205,7 @@
|
|||||||
style="display: inline-block" class='valflex'>
|
style="display: inline-block" class='valflex'>
|
||||||
<div style='display: inline-block' v-if='itemval.type==="file"'>
|
<div style='display: inline-block' v-if='itemval.type==="file"'>
|
||||||
<a-button type="primary" class="button-text inputWid"
|
<a-button type="primary" class="button-text inputWid"
|
||||||
@click="clickButtonToUpload(itemval)">
|
@click="clickButtonToUpload(item,itemval,index1)">
|
||||||
{{ (itemval.dataValue === 'null' || itemval.dataValue === '' ||
|
{{ (itemval.dataValue === 'null' || itemval.dataValue === '' ||
|
||||||
itemval.dataValue == null) ? $t('clickUpload') : $t('viewUploadedFiles')}}
|
itemval.dataValue == null) ? $t('clickUpload') : $t('viewUploadedFiles')}}
|
||||||
</a-button>
|
</a-button>
|
||||||
@@ -554,7 +554,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div style='display: inline-block' v-if='itemval.type==="file"'>
|
<div style='display: inline-block' v-if='itemval.type==="file"'>
|
||||||
<a-button type="primary" class="button-text inputWid"
|
<a-button type="primary" class="button-text inputWid"
|
||||||
@click="clickButtonToUpload(itemval)">
|
@click="clickButtonToUpload(item,itemval,index1)">
|
||||||
{{ (itemval.dataValue === 'null' || itemval.dataValue === '' ||
|
{{ (itemval.dataValue === 'null' || itemval.dataValue === '' ||
|
||||||
itemval.dataValue == null) ? $t('clickUpload') : $t('viewUploadedFiles')}}
|
itemval.dataValue == null) ? $t('clickUpload') : $t('viewUploadedFiles')}}
|
||||||
</a-button>
|
</a-button>
|
||||||
@@ -589,7 +589,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div style='display: inline-block' v-else-if='itemval.type==="file"'>
|
<div style='display: inline-block' v-else-if='itemval.type==="file"'>
|
||||||
<a-button type="primary" class="button-text inputWid"
|
<a-button type="primary" class="button-text inputWid"
|
||||||
@click="clickButtonToUpload(itemval)">
|
@click="clickButtonToUpload(item,itemval,index1)">
|
||||||
{{ (itemval.dataValue === 'null' || itemval.dataValue === '' ||
|
{{ (itemval.dataValue === 'null' || itemval.dataValue === '' ||
|
||||||
itemval.dataValue == null) ? $t('clickUpload') : $t('viewUploadedFiles')}}
|
itemval.dataValue == null) ? $t('clickUpload') : $t('viewUploadedFiles')}}
|
||||||
</a-button>
|
</a-button>
|
||||||
@@ -625,7 +625,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div style='display: inline-block' v-else-if='itemval.type==="file"'>
|
<div style='display: inline-block' v-else-if='itemval.type==="file"'>
|
||||||
<a-button type="primary" class="button-text inputWid"
|
<a-button type="primary" class="button-text inputWid"
|
||||||
@click="clickButtonToUpload(itemval)">
|
@click="clickButtonToUpload(item,itemval,index1)">
|
||||||
{{ (itemval.dataValue === 'null' || itemval.dataValue === '' ||
|
{{ (itemval.dataValue === 'null' || itemval.dataValue === '' ||
|
||||||
itemval.dataValue == null) ? $t('clickUpload') : $t('viewUploadedFiles')}}
|
itemval.dataValue == null) ? $t('clickUpload') : $t('viewUploadedFiles')}}
|
||||||
</a-button>
|
</a-button>
|
||||||
@@ -753,7 +753,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div style='display: inline-block' v-if='itemval.type==="file"'>
|
<div style='display: inline-block' v-if='itemval.type==="file"'>
|
||||||
<a-button type="primary" class="button-text inputWid"
|
<a-button type="primary" class="button-text inputWid"
|
||||||
@click="clickButtonToUpload(itemval)">
|
@click="clickButtonToUpload(item,itemval,index1)">
|
||||||
{{ (itemval.dataValue === 'null' || itemval.dataValue === '' ||
|
{{ (itemval.dataValue === 'null' || itemval.dataValue === '' ||
|
||||||
itemval.dataValue == null) ? $t('clickUpload') : $t('viewUploadedFiles')}}
|
itemval.dataValue == null) ? $t('clickUpload') : $t('viewUploadedFiles')}}
|
||||||
</a-button>
|
</a-button>
|
||||||
@@ -810,7 +810,10 @@
|
|||||||
visible: false,
|
visible: false,
|
||||||
detailDatetransformation: [],
|
detailDatetransformation: [],
|
||||||
detailDateList: [],
|
detailDateList: [],
|
||||||
paramsConfigData: {}
|
paramsConfigData: {},
|
||||||
|
fileNameOne:'',
|
||||||
|
fileNameTwo:'',
|
||||||
|
fileIndex:'',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
@@ -884,14 +887,17 @@
|
|||||||
// console.log('form',this.formInline)
|
// console.log('form',this.formInline)
|
||||||
|
|
||||||
}
|
}
|
||||||
this.detailDateList.forEach((item, index) => {
|
this.detailDate.paramsConfigData[this.fileNameOne][this.fileIndex].dataValue = attIdList.join(',')
|
||||||
if (item.type === 'file') {
|
// this.detailDateList.forEach((item, index) => {
|
||||||
item.dataValue = attIdList.join(',')
|
// if (item.type === 'file') {
|
||||||
}
|
// item.dataValue = attIdList.join(',')
|
||||||
})
|
// }
|
||||||
|
// })
|
||||||
},
|
},
|
||||||
clickButtonToUpload(item) {
|
clickButtonToUpload(name,item,index) {
|
||||||
if (item.isLock == '1') {
|
this.fileNameOne = name
|
||||||
|
this.fileIndex = index
|
||||||
|
if (item.isLock && item.isLock == '1') {
|
||||||
this.$refs.uploadFile.disabled = true
|
this.$refs.uploadFile.disabled = true
|
||||||
} else {
|
} else {
|
||||||
this.$refs.uploadFile.disabled = false
|
this.$refs.uploadFile.disabled = false
|
||||||
|
|||||||
Reference in New Issue
Block a user