认证 加减

This commit is contained in:
zyx.net
2023-01-10 11:16:08 +08:00
parent e6c2350c39
commit 67ae6c8e23
2 changed files with 20 additions and 9 deletions
@@ -735,6 +735,11 @@
default: {},
require: true
},
recordList: {
type: Object,
default: {},
require: true
},
watermark: {
type: String,
default: ''
@@ -753,6 +758,7 @@
uploadFileChangeDown
},
mounted() {
console.log(this.recordList)
for (const key in this.detailDate.paramsConfigData){
this.detailDateList = this.detailDate.paramsConfigData[key]
}
@@ -822,20 +828,22 @@
})
},
addconfig(){
for (const key in this.detailDate.paramsConfigData){
console.log(key)
let paramsConfigId = key
}
postAction('params/configData/add', { paramsCollectManifestId: this.$route.query.id , paramsConfigId :paramsConfigId }).then((res) => {
postAction('params/configData/add', { paramsCollectManifestId: this.recordList.id , paramsConfigId :this.detailDate.configId }).then((res) => {
if (res.success) {
this.$refs.uploadFile.perentHandleFunc(res.result)
this.$emit('collectionForm')
} else {
this.$refs.uploadFile.perentHandleFunc()
}
})
},
delconfig(){
for (const key in this.detailDate.paramsConfigData){
deleteAction('params/configData/delete', { id :key }).then((res) => {
if (res.success) {
this.$emit('collectionForm')
} else {
}
})
}
},
},
watch: {
@@ -74,7 +74,7 @@
</span>
<span slot="detailClick" slot-scope="text,record">
<collection-type :detailDate='text'/>
<collection-type :detailDate='text' :recordList = 'record' @collectionForm='collectionForm'/>
</span>
</a-table>
</div>
@@ -716,6 +716,9 @@
this.pageNohistory = 1
this.visible = false
},
collectionForm(){
this.getTableList()
},
getAndUserId(result) {
let query = {
paramsManifestId: this.$route.query.id,