[add] 认证参数收集

This commit is contained in:
zhaomeijing
2022-05-05 17:36:55 +08:00
parent 5b3f3908a8
commit c9d7795e04
3 changed files with 78 additions and 9 deletions
@@ -386,10 +386,11 @@ export default {
})
},
Onchangelabel(val) {
let _tt = []
console.log(val,'val,,,,')
// this.formInline.certCategoryParamsInfoEOList = []
val.forEach((item) => {
this.contentList.push({
_tt.push({
textVal: item.text, // tab
certCategory: '', // 所属认证类别
paramsNumber: '', // 编号
@@ -397,6 +398,7 @@ export default {
description: ''// 参数说明
})
})
this.contentList = _tt
},
Onchange() {
@@ -49,15 +49,20 @@
</span>
</a-table>
</div>
<a-modal v-model="areaVisible">
<parameter-template v-if='areaVisible'></parameter-template>
</a-modal>
</a-card>
</template>
<script>
import ImportFile from '@/components/ImportFile/index'
import ParameterTemplate from '../dialog/ParameterTemplate'
export default {
name: 'TaskParameterCollection',
components:{
ImportFile
ImportFile,
ParameterTemplate
},
data(){
return{
@@ -70,7 +75,7 @@
{
title: this.$t('status'),
align: 'center',
dataIndex: 'status',
dataIndex: 'title',
},
{
title: this.$t('parameterTemplateName'),
@@ -80,22 +85,22 @@
{
title: this.$t('collectionCompletionTime'),
align: 'center',
dataIndex: 'status',
dataIndex: 'title',
},
{
title: this.$t('Version'),
align: 'center',
dataIndex: 'Version',
dataIndex: 'title',
},
{
title: this.$t('creator'),
align: 'center',
dataIndex: 'Version',
dataIndex: 'title',
},
{
title: this.$t('createTime'),
align: 'center',
dataIndex: 'Version',
dataIndex: 'title',
},
{
title: this.$t('operation'),
@@ -109,7 +114,8 @@
queryParam: {},
url: {},
loading: false,
dataSource: []
dataSource: [],
areaVisible: false, // 弹框的控制
}
},
mounted() {
@@ -131,7 +137,7 @@
},
handleAdd(){
this.areaVisible = true
},
handleModule(){
@@ -0,0 +1,61 @@
<template>
<a-spin :spinning="spinLoading">
<a-form-model
class="tag-module"
ref="ruleForm"
:model="form"
:rules="rules"
:label-col="labelCol"
:wrapper-col="wrapperCol"
>
<a-form-model-item :label="$t('Module')" prop="isModel">
<!-- <j-dict-select-tag type="list" v-model="form.isModel" dictCode="module" :placeholder="$t('PleaseSelectModule')" />-->
</a-form-model-item>
<a-form-model-item ref="showArea" :label="$t('DisplayArea')" prop="showArea">
<!-- <a-input-->
<!-- v-model="form.showArea"-->
<!-- @blur="-->
<!-- () => {-->
<!-- $refs.showArea.onFieldBlur();-->
<!-- }-->
<!-- "-->
<!-- />-->
</a-form-model-item>
<a-form-model-item ref="enName" :label="$t('enName')" prop="enName">
<!-- <a-input
v-model="form.enName"
@blur="
() => {
$refs.enName.onFieldBlur();
}
"
/>-->
</a-form-model-item>
<a-form-model-item ref="sort" :label="$t('SortNumber')" prop="sort">
<!-- <a-input-number v-decorator="['input-number', { initialValue: 3 }]" :min="1" :max="100" />-->
<!-- <a-input-number-->
<!-- style="width:100%"-->
<!-- v-model="form.sort"-->
<!-- :min="1"-->
<!-- :formatter="limitNumber"-->
<!-- :parser="limitNumber"-->
<!-- @blur="-->
<!-- () => {-->
<!-- $refs.sort.onFieldBlur();-->
<!-- }-->
<!-- "-->
<!-- />-->
</a-form-model-item>
</a-form-model>
</a-spin>
</template>
<script>
export default {
name: 'ParameterTemplate',
data() {
return {
spinLoading: false
}
}
}
</script>