[update] 认证参数收集-配置

This commit is contained in:
zhaomeijing
2022-05-07 00:20:14 +08:00
parent a200c37cb8
commit f5145baa2e
4 changed files with 552 additions and 1 deletions
@@ -51,8 +51,10 @@
:rowSelection='{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}'
@change='handleTableChange'>
<span slot="operation" slot-scope="text,record">
<a class="text-operation" @click="configure(record)">{{$t('configure')}}</a>
<a class="text-operation" @click="edit(record)">{{$t('edit')}}</a>
<a class="text-operation" @click="deleteLib(record)">{{$t('deleteLib')}}</a>
<a class="text-operation" @click="historicalVersion(record)">{{$t('historicalVersion')}}</a>
</span>
</a-table>
</div>
@@ -71,6 +73,7 @@
<parameter-template v-if='areaVisible' @areaVisible='handleCancel' :templateTitle='templatetitle'
:selectedRowKeyS='selectedRowKeys' :rowId='rowId' :version='version'></parameter-template>
</a-modal>
<configure ref="configureRef"/>
</a-card>
</template>
@@ -78,13 +81,15 @@
import ImportFile from '@/components/ImportFile/index'
import ParameterTemplate from '../dialog/ParameterTemplate'
import { getAction,postAction } from '../../../api/manage'
import Configure from '../dialog/configure'
import axios from 'axios'
export default {
name: 'TaskParameterCollection',
components:{
ImportFile,
ParameterTemplate
ParameterTemplate,
Configure
},
data(){
return{
@@ -145,6 +150,7 @@
loading: false,
dataSource: [],
areaVisible: false, // 弹框的控制
configureareaVisible: false, // 配置的彈框
pageNo: 1,
pageSize: 10,
total: 0,
@@ -177,6 +183,14 @@
},
handleTableChange() {
},
//
historicalVersion() {
},
// 配置
configure() {
this.$refs.configureRef.addModel()
},
handleCancel(val) {
this.areaVisible = val