上报库-参数项查看-保存

This commit is contained in:
zyx.net
2022-08-03 16:32:02 +08:00
parent 9d029392da
commit 061341d589
6 changed files with 912 additions and 117 deletions
+44 -44
View File
@@ -1,36 +1,36 @@
<template>
<div class='diolag-area'>
<a-spin :spinning='spinLoading'>
<a-form-model
class='tag-module'
ref='ruleForm'
:model='formData'
:rules='rules'
:label-col='labelCol'
:wrapper-col='wrapperCol'
>
<a-row :gutter='24'>
<a-col :span='9'>
<a-form-model-item :label="$t('entryName')" prop='projectName'>
<a-input
:placeholder="$t('PleaseEnter')+$t('entryName')"
v-model='formData.projectName' />
</a-form-model-item>
</a-col>
<a-col :span='9'>
<a-form-model-item :label="$t('ListTitle')" prop='ListTitle'>
<a-input
:placeholder="$t('PleaseEnter')+$t('ListTitle')"
v-model='formData.title' />
</a-form-model-item>
</a-col>
<a-col :span='6' style='margin-top: 4px;'>
<a-button class='box-button' type='primary' @click='searchQuery'>{{ $t('query') }}</a-button>
<a-button class='box-button' style='margin-left: 8px' @click='searchReset'>{{ $t('reset') }}</a-button>
</a-col>
</a-row>
</a-form-model>
</a-spin>
<!-- <a-spin :spinning='spinLoading'>-->
<!-- <a-form-model-->
<!-- class='tag-module'-->
<!-- ref='ruleForm'-->
<!-- :model='formData'-->
<!-- :rules='rules'-->
<!-- :label-col='labelCol'-->
<!-- :wrapper-col='wrapperCol'-->
<!-- >-->
<!-- <a-row :gutter='24'>-->
<!-- <a-col :span='9'>-->
<!-- <a-form-model-item :label="$t('entryName')" prop='projectName'>-->
<!-- <a-input-->
<!-- :placeholder="$t('PleaseEnter')+$t('entryName')"-->
<!-- v-model='formData.projectName' />-->
<!-- </a-form-model-item>-->
<!-- </a-col>-->
<!-- <a-col :span='9'>-->
<!-- <a-form-model-item :label="$t('ListTitle')" prop='ListTitle'>-->
<!-- <a-input-->
<!-- :placeholder="$t('PleaseEnter')+$t('ListTitle')"-->
<!-- v-model='formData.title' />-->
<!-- </a-form-model-item>-->
<!-- </a-col>-->
<!-- <a-col :span='6' style='margin-top: 4px;'>-->
<!-- <a-button class='box-button' type='primary' @click='searchQuery'>{{ $t('query') }}</a-button>-->
<!-- <a-button class='box-button' style='margin-left: 8px' @click='searchReset'>{{ $t('reset') }}</a-button>-->
<!-- </a-col>-->
<!-- </a-row>-->
<!-- </a-form-model>-->
<!-- </a-spin>-->
<a-table
class='table-area'
ref='table'
@@ -85,19 +85,19 @@ export default {
loading: false,
editId: '',
columns: [
{
title: this.$t('entryName'),
dataIndex: 'projectName',
key: 'showArea',
align: 'center',
ellipsis: true
},
{
title: this.$t('ListTitle'),
align: 'center',
dataIndex: 'title',
ellipsis: true
},
// {
// title: this.$t('entryName'),
// dataIndex: 'projectName',
// key: 'showArea',
// align: 'center',
// ellipsis: true
// },
// {
// title: this.$t('ListTitle'),
// align: 'center',
// dataIndex: 'title',
// ellipsis: true
// },
{
title: this.$t('Exporttype'),
align: 'center',