[add] 认证参数收集

This commit is contained in:
zhaomeijing
2022-05-05 16:25:47 +08:00
parent bd39c3076e
commit ba709306e6
5 changed files with 40 additions and 34 deletions
@@ -202,7 +202,7 @@
</div>
<a-form-model-item class="itemModel" prop="paramsTemplateName">
<a-button type="primary" class="button-text"
@click="clickButtonToUpload()">
@click="clickButtonToUpload('fileTemplateConnectId')">
{{ (formInline.fileTemplateConnectId === 'null' || formInline.fileTemplateConnectId === '' ||
formInline.fileTemplateConnectId == null) ? $t('clickUpload') : $t('viewUploadedFiles')}}
</a-button>
@@ -376,20 +376,17 @@ export default {
this.formInline = { ...this.formInline }
},
clickButtonToUpload(item) {
// this.$refs.uploadFile.perentHandleFunc()
// this.$refs.uploadFile.state = item.flag
this.$refs.uploadFile.visible = true
// this.uploadName = item.db_field_name
// getAction('sys/common/getFileInfos', { id: this.formInline[item.db_field_name] }).then((res) => {
// if (res.success) {
// this.$refs.uploadFile.perentHandleFunc(res.result)
// } else {
// this.$refs.uploadFile.perentHandleFunc()
// }
// })
getAction('sys/common/getFileInfos', { id: this.formInline[item] }).then((res) => {
if (res.success) {
this.$refs.uploadFile.perentHandleFunc(res.result)
} else {
this.$refs.uploadFile.perentHandleFunc()
}
})
},
Onchangelabel(val) {
console.log(val,'val,,,,')
// this.formInline.certCategoryParamsInfoEOList = []
val.forEach((item) => {
this.contentList.push({
@@ -436,6 +433,11 @@ export default {
this.$nextTick(() => {
this.formInline = value
})
// if(value.certCategoryParamsInfoEOList.length > 0 ) {
// this.contentList = value.certCategoryParamsInfoEOList
// }
console.log(this.contentList,'this.contentList')
console.log(value.certCategoryParamsInfoEOList,'lllll')
},
handleCancel() {
this.visible = false