[add] 接口对接

This commit is contained in:
zhaomeijing
2022-05-12 10:01:56 +08:00
parent 047fe6983d
commit 09b6dff601
2 changed files with 23 additions and 7 deletions
@@ -124,10 +124,16 @@ export default {
spinLoading: false,
confirmLoading: false,
templatetitle: '',
selectedRowKeys: []
selectedRowKeys: [],
ParameterCollectionRow: {}
}
},
props: {
authenticationParameterCollection: {
type: Object,
default: {},
require: true
}
},
mounted() {
this.loadData()
@@ -135,8 +141,14 @@ export default {
methods: {
loadData() {
this.loading = true
let _tt = {
paramsManifestId: this.ParameterCollectionRow.id,
paramsTemplateId: this.ParameterCollectionRow.paramsTemplateId,
paramsTemplatePublishVersion: this.ParameterCollectionRow.paramsTemplatePublishVersion
}
let params = {
...this.form
...this.form,
..._tt
}
getAction(`params/collectManifest/paramsInfoList`, params).then(res => {
if (res.success) {
@@ -283,8 +295,8 @@ export default {
}
},
watch: {
templateTitle(val) {
this.templatetitle = val
authenticationParameterCollection(val) {
this.ParameterCollectionRow = val
},
selectedRowKeyS(val) {
this.selectedRowKeys = val