[add] 认证参数收集
This commit is contained in:
@@ -386,10 +386,11 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
Onchangelabel(val) {
|
Onchangelabel(val) {
|
||||||
|
let _tt = []
|
||||||
console.log(val,'val,,,,')
|
console.log(val,'val,,,,')
|
||||||
// this.formInline.certCategoryParamsInfoEOList = []
|
// this.formInline.certCategoryParamsInfoEOList = []
|
||||||
val.forEach((item) => {
|
val.forEach((item) => {
|
||||||
this.contentList.push({
|
_tt.push({
|
||||||
textVal: item.text, // tab
|
textVal: item.text, // tab
|
||||||
certCategory: '', // 所属认证类别
|
certCategory: '', // 所属认证类别
|
||||||
paramsNumber: '', // 编号
|
paramsNumber: '', // 编号
|
||||||
@@ -397,6 +398,7 @@ export default {
|
|||||||
description: ''// 参数说明
|
description: ''// 参数说明
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
this.contentList = _tt
|
||||||
},
|
},
|
||||||
Onchange() {
|
Onchange() {
|
||||||
|
|
||||||
|
|||||||
@@ -49,15 +49,20 @@
|
|||||||
</span>
|
</span>
|
||||||
</a-table>
|
</a-table>
|
||||||
</div>
|
</div>
|
||||||
|
<a-modal v-model="areaVisible">
|
||||||
|
<parameter-template v-if='areaVisible'></parameter-template>
|
||||||
|
</a-modal>
|
||||||
</a-card>
|
</a-card>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import ImportFile from '@/components/ImportFile/index'
|
import ImportFile from '@/components/ImportFile/index'
|
||||||
|
import ParameterTemplate from '../dialog/ParameterTemplate'
|
||||||
export default {
|
export default {
|
||||||
name: 'TaskParameterCollection',
|
name: 'TaskParameterCollection',
|
||||||
components:{
|
components:{
|
||||||
ImportFile
|
ImportFile,
|
||||||
|
ParameterTemplate
|
||||||
},
|
},
|
||||||
data(){
|
data(){
|
||||||
return{
|
return{
|
||||||
@@ -70,7 +75,7 @@
|
|||||||
{
|
{
|
||||||
title: this.$t('status'),
|
title: this.$t('status'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'status',
|
dataIndex: 'title',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('parameterTemplateName'),
|
title: this.$t('parameterTemplateName'),
|
||||||
@@ -80,22 +85,22 @@
|
|||||||
{
|
{
|
||||||
title: this.$t('collectionCompletionTime'),
|
title: this.$t('collectionCompletionTime'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'status',
|
dataIndex: 'title',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('Version'),
|
title: this.$t('Version'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'Version',
|
dataIndex: 'title',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('creator'),
|
title: this.$t('creator'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'Version',
|
dataIndex: 'title',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('createTime'),
|
title: this.$t('createTime'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'Version',
|
dataIndex: 'title',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('operation'),
|
title: this.$t('operation'),
|
||||||
@@ -109,7 +114,8 @@
|
|||||||
queryParam: {},
|
queryParam: {},
|
||||||
url: {},
|
url: {},
|
||||||
loading: false,
|
loading: false,
|
||||||
dataSource: []
|
dataSource: [],
|
||||||
|
areaVisible: false, // 弹框的控制
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
@@ -131,7 +137,7 @@
|
|||||||
|
|
||||||
},
|
},
|
||||||
handleAdd(){
|
handleAdd(){
|
||||||
|
this.areaVisible = true
|
||||||
},
|
},
|
||||||
handleModule(){
|
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>
|
||||||
Reference in New Issue
Block a user