[update] 参数清单复制

This commit is contained in:
zhaomeijing
2022-05-20 11:46:40 +08:00
parent bc02af774c
commit aab82baa84
4 changed files with 357 additions and 2 deletions
@@ -83,12 +83,18 @@
<a-modal v-model="historicalVisible" :title="$t('historicalVersion')" width='750px' :footer="null">
<historical-version v-if='historicalVisible' :historicalRow='historicalRow'></historical-version>
</a-modal>
<!-- 复制参数模板-->
<a-modal v-model="areaVisibleCody" :title="$t('CopyProjectCollectionparameters')" width='750px' :footer="null">
<parameter-template-cody v-if='areaVisibleCody' @areaVisible='handleCancel' :templateTitle='templatetitle'
:selectedRowKeyS='selectedRowKeys' :rowId='rowId' :version='version' :projectId='this.$route.query.id'></parameter-template-cody>
</a-modal>
</a-card>
</template>
<script>
import ImportFile from '@/components/ImportFile/index'
import ParameterTemplateAdd from '../dialog/ParameterTemplateAdd'
import ParameterTemplateCody from '../dialog/ParameterTemplateCody'
import HistoricalVersion from '../dialog/historicalVersion'
import { getAction,postAction } from '../../../api/manage'
import Configure from '../dialog/configure'
@@ -100,7 +106,8 @@
ImportFile,
ParameterTemplateAdd,
Configure,
HistoricalVersion
HistoricalVersion,
ParameterTemplateCody
},
data(){
return{
@@ -176,6 +183,7 @@
itemId: '',
historicalVisible: false,
historicalRow: {}, // 历史版本得数据
areaVisibleCody: false, // 复制参数清单得弹框
}
},
mounted() {
@@ -283,7 +291,7 @@
}
},
handleCody() {
this.areaVisibleCody = true
},
getPersonnelList(){