[add] 参数项收集清单

This commit is contained in:
zhaomeijing
2022-05-10 16:18:42 +08:00
parent e7db88894f
commit 38bc42f703
5 changed files with 119 additions and 108 deletions
@@ -80,17 +80,6 @@
<div style="width: 100%">
<table-collection ref="CollectionTabel" :url='url' :paramsManifest='paramsManifest'/>
</div>
<div class="page">
<a-pagination
:show-total="total => $t('total')+` ${total} `+$t('strip')"
show-quick-jumper
show-size-changer
:page-size.sync="pageSize"
:total="total"
@change="pageOnChange"
@showSizeChange="SizeChange"
/>
</div>
<a-modal v-model="areaVisible" :title="$t('parameterTemplate')" width='750px' :footer="null">
</a-modal>
</a-card>
@@ -74,7 +74,7 @@
</div>
<a-modal v-model="areaVisible" :title="$t('parameterTemplate')" width='750px' :footer="null">
<parameter-template v-if='areaVisible' @areaVisible='handleCancel' :templateTitle='templatetitle'
:selectedRowKeyS='selectedRowKeys' :rowId='rowId' :version='version'></parameter-template>
:selectedRowKeyS='selectedRowKeys' :rowId='rowId' :version='version' :projectId='this.$route.query.id'></parameter-template>
</a-modal>
<configure ref="configureRef" :url='url' :itemId='itemId'/>
</a-card>
@@ -140,6 +140,11 @@ export default {
type: Number,
default: '',
required: false
},
projectId: {
type: String,
default: '',
require: true
}
},
mounted() {
@@ -200,7 +205,8 @@ export default {
let postDate = {
title: this.templatetitle,
paramsTemplateId: this.rowId || this.selectedRowKeysDate[0].id,
paramsTemplatePublishVersion: this.version || this.selectedRowKeysDate[0].version
paramsTemplatePublishVersion: this.version || this.selectedRowKeysDate[0].version,
projectId: this.projectId
}
if (this.rowId) {
//编辑