认证 加减
This commit is contained in:
@@ -735,6 +735,11 @@
|
|||||||
default: {},
|
default: {},
|
||||||
require: true
|
require: true
|
||||||
},
|
},
|
||||||
|
recordList: {
|
||||||
|
type: Object,
|
||||||
|
default: {},
|
||||||
|
require: true
|
||||||
|
},
|
||||||
watermark: {
|
watermark: {
|
||||||
type: String,
|
type: String,
|
||||||
default: ''
|
default: ''
|
||||||
@@ -753,6 +758,7 @@
|
|||||||
uploadFileChangeDown
|
uploadFileChangeDown
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
console.log(this.recordList)
|
||||||
for (const key in this.detailDate.paramsConfigData){
|
for (const key in this.detailDate.paramsConfigData){
|
||||||
this.detailDateList = this.detailDate.paramsConfigData[key]
|
this.detailDateList = this.detailDate.paramsConfigData[key]
|
||||||
}
|
}
|
||||||
@@ -822,20 +828,22 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
addconfig(){
|
addconfig(){
|
||||||
for (const key in this.detailDate.paramsConfigData){
|
postAction('params/configData/add', { paramsCollectManifestId: this.recordList.id , paramsConfigId :this.detailDate.configId }).then((res) => {
|
||||||
console.log(key)
|
|
||||||
let paramsConfigId = key
|
|
||||||
}
|
|
||||||
postAction('params/configData/add', { paramsCollectManifestId: this.$route.query.id , paramsConfigId :paramsConfigId }).then((res) => {
|
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$refs.uploadFile.perentHandleFunc(res.result)
|
this.$emit('collectionForm')
|
||||||
} else {
|
} else {
|
||||||
this.$refs.uploadFile.perentHandleFunc()
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
delconfig(){
|
delconfig(){
|
||||||
|
for (const key in this.detailDate.paramsConfigData){
|
||||||
|
deleteAction('params/configData/delete', { id :key }).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$emit('collectionForm')
|
||||||
|
} else {
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|||||||
@@ -74,7 +74,7 @@
|
|||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span slot="detailClick" slot-scope="text,record">
|
<span slot="detailClick" slot-scope="text,record">
|
||||||
<collection-type :detailDate='text'/>
|
<collection-type :detailDate='text' :recordList = 'record' @collectionForm='collectionForm'/>
|
||||||
</span>
|
</span>
|
||||||
</a-table>
|
</a-table>
|
||||||
</div>
|
</div>
|
||||||
@@ -716,6 +716,9 @@
|
|||||||
this.pageNohistory = 1
|
this.pageNohistory = 1
|
||||||
this.visible = false
|
this.visible = false
|
||||||
},
|
},
|
||||||
|
collectionForm(){
|
||||||
|
this.getTableList()
|
||||||
|
},
|
||||||
getAndUserId(result) {
|
getAndUserId(result) {
|
||||||
let query = {
|
let query = {
|
||||||
paramsManifestId: this.$route.query.id,
|
paramsManifestId: this.$route.query.id,
|
||||||
|
|||||||
Reference in New Issue
Block a user