[update] 清单编辑
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<template>
|
||||
<a-card :bordered="false">
|
||||
<div class="table-page-search-wrapper">
|
||||
<a-form layout="inline" @keyup.enter.native="searchQuery">
|
||||
<a-row :gutter="24">
|
||||
<a-col :md="6" :sm="8">
|
||||
<a-form layout="inline" @keyup.enter.native="searchQuery" >
|
||||
<a-row :gutter="24" class='add-padding'>
|
||||
<a-col :md="7" :sm="8">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text" :title="$t('title')">
|
||||
<span>{{$t('title')}}</span>
|
||||
@@ -91,6 +91,14 @@
|
||||
:selectedRowKeyS='selectedRowKeys' :rowId='rowId' :version='version'
|
||||
:projectId='this.$route.query.id'></parameter-template-cody>
|
||||
</a-modal>
|
||||
<!-- 项目收集参数-->
|
||||
<a-modal class="show-drawer" :title="titleTag" placement="right" width="700px" @close="drawerVisible = false"
|
||||
:visible="drawerVisible" :footer="null">
|
||||
<project-collection-parameters v-if='drawerVisible' @areaVisible='drawerhandleCancel' :templateTitle='templatetitle'
|
||||
:selectedRowKeyS='selectedRowKeys' :rowId='rowId' :version='version' :url='url'
|
||||
:projectId='this.$route.query.id'></project-collection-parameters>
|
||||
|
||||
</a-modal>
|
||||
</a-card>
|
||||
</template>
|
||||
|
||||
@@ -98,6 +106,7 @@
|
||||
import ImportFile from '@/components/ImportFile/index'
|
||||
import ParameterTemplateAdd from '../dialog/ParameterTemplateAdd'
|
||||
import ParameterTemplateCody from '../dialog/ParameterTemplateCody'
|
||||
import ProjectCollectionParameters from '../dialog/ProjectCollectionParameters'
|
||||
import HistoricalVersion from '../dialog/historicalVersion'
|
||||
import { getAction, postAction } from '../../../api/manage'
|
||||
import Configure from '../dialog/configure'
|
||||
@@ -112,7 +121,8 @@
|
||||
ParameterTemplateAdd,
|
||||
Configure,
|
||||
HistoricalVersion,
|
||||
ParameterTemplateCody
|
||||
ParameterTemplateCody,
|
||||
ProjectCollectionParameters
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -189,7 +199,10 @@
|
||||
itemId: '',
|
||||
historicalVisible: false,
|
||||
historicalRow: {}, // 历史版本得数据
|
||||
areaVisibleCody: false // 复制参数清单得弹框
|
||||
areaVisibleCody: false, // 复制参数清单得弹框
|
||||
drawerVisible: false,
|
||||
drawerVisibleitem: false,
|
||||
titleTag: ''
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
@@ -237,6 +250,10 @@
|
||||
this.areaVisible = val
|
||||
this.getlist()
|
||||
},
|
||||
// 项目收集参数
|
||||
drawerhandleCancel(val) {
|
||||
this.drawerhandleCancel = val
|
||||
},
|
||||
searchQuery() {
|
||||
this.pageNo = 1
|
||||
this.getlist()
|
||||
@@ -337,8 +354,8 @@
|
||||
}
|
||||
},
|
||||
handleCody() {
|
||||
console.log('复制')
|
||||
// this.areaVisibleCody = true
|
||||
this.drawerVisible = true
|
||||
this.titleTag = '项目收集参数'
|
||||
},
|
||||
pageOnChange(page, pageSize) {
|
||||
this.pageNo = page
|
||||
@@ -489,6 +506,9 @@
|
||||
cursor: pointer;
|
||||
border-radius: 4px;
|
||||
}
|
||||
/deep/.add-padding{
|
||||
margin-left: -89px!important;
|
||||
}
|
||||
</style>
|
||||
<style>
|
||||
.box-input .ant-select-selection {
|
||||
|
||||
Reference in New Issue
Block a user