提交 42102902 authored 作者: 刘旭's avatar 刘旭

添加 字段

上级 73807d1a
......@@ -11,6 +11,7 @@
<el-button type="primary" @click="addlicInfo" style="margin-bottom: 20px;">添加信息</el-button>
<el-table :data="licInfoTable.licInfoData" border style="width: 100%" v-loading="licInfoTable.loading">
<el-table-column prop="macAddress" label="MAC地址" width="200" />
<el-table-column prop="lqLicName" label="Lic名称" width="200" />
<el-table-column prop="effectiveTime" label="导入有效时间" />
<el-table-column prop="fileEffectiveTime" label="文件有效时间" />
<el-table-column prop="verificationInterval" label="验证间隔时间(s)" />
......@@ -39,6 +40,9 @@
<el-form-item label="MAC地址" prop="macAddress">
<el-input v-model="licInfoForm.formLicInfo.macAddress" placeholder="请输入MAC地址"></el-input>
</el-form-item>
<el-form-item label="Lic名称" prop="lqLicName">
<el-input v-model="licInfoForm.formLicInfo.lqLicName" placeholder="请输入MAC地址"></el-input>
</el-form-item>
<el-form-item label="导入有效时间" prop="effectiveTime">
<el-date-picker v-model="licInfoForm.formLicInfo.effectiveTime" type="datetime" placeholder="请输入有效时间"
value-format="YYYY-MM-DD HH:mm:ss" />
......@@ -81,8 +85,6 @@ const licInfoRef = ref()
const searchValue = ref()
const isClick = ref(false)
const licInfoForm = reactive<any>({
dialogVisible: false,
title: '新增',
......@@ -91,10 +93,12 @@ const licInfoForm = reactive<any>({
effectiveTime: '',
fileEffectiveTime: '',
verificationInterval: '',
moduleVerification: ''
moduleVerification: '',
lqLicName: ''
},
rules: {
macAddress: [{ required: true, message: '', trigger: 'blur' }],
lqLicName: [{ required: true, message: '', trigger: 'blur' }],
effectiveTime: [{
type: 'date',
required: true,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论