对接法规意见收集
This commit is contained in:
@@ -100,7 +100,13 @@
|
||||
title: {
|
||||
type: String,
|
||||
default: ''
|
||||
}
|
||||
},
|
||||
feedbackDataList:{
|
||||
type: Array,
|
||||
default: (()=>{
|
||||
return []
|
||||
})
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -108,16 +114,24 @@
|
||||
disabled:false,
|
||||
rules: {},
|
||||
uploadIndex:'',
|
||||
dataList: [
|
||||
{
|
||||
relatedSection: '',
|
||||
issueOrSuggest: '',
|
||||
reason: '',
|
||||
accessoryFile: ''
|
||||
}
|
||||
]
|
||||
dataList: []
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
if (this.feedbackDataList && this.feedbackDataList.length > 0){
|
||||
this.dataList = this.feedbackDataList
|
||||
this.dataList = [...this.dataList]
|
||||
}else{
|
||||
this.dataList = [
|
||||
{
|
||||
relatedSection: '',
|
||||
issueOrSuggest: '',
|
||||
reason: '',
|
||||
accessoryFile: ''
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
clickButtonToUpload(item,index) {
|
||||
this.$refs.uploadFile.perentHandleFunc()
|
||||
|
||||
Reference in New Issue
Block a user