修改bug

This commit is contained in:
2022-03-14 10:59:13 +08:00
parent 3d3c802d01
commit 21d45adf22
8 changed files with 165 additions and 89 deletions

View File

@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2020-12-29 15:41:11
* @LastEditors: zwq
* @LastEditTime: 2022-03-11 10:31:39
* @LastEditTime: 2022-03-14 10:35:21
* @Description:
-->
<template>
@@ -15,9 +15,9 @@
size="medium"
label-width="100px"
>
<el-form-item :label="$t('module.art.processList.processName')" prop="processId">
<el-form-item :label="$t('module.art.processList.processName')" prop="key">
<el-select
v-model="listQuery.processId"
v-model="listQuery.key"
:placeholder="$i18nForm(['placeholder.input', $t('module.art.processList.processName')])"
clearable
filterable
@@ -27,7 +27,7 @@
v-for="(item, index) in processArr"
:key="index"
:label="item.name"
:value="item.id"
:value="item.name"
/>
</el-select>
</el-form-item>
@@ -65,6 +65,7 @@ import BaseTable from '@/components/BaseTable'
import Pagination from '@/components/Pagination' // Secondary package based on el-pagination
import MethodBtn from '@/components/BaseTable/subcomponents/MethodBtn'
import i18n from '@/lang'
import { timeFormatter } from '@/filters'
/**
* 表格表头配置项 TypeScript接口注释
* tableConfig<ConfigItem> = []
@@ -101,6 +102,7 @@ const tableProps = [
{
prop: 'createTime',
label: i18n.t('module.art.eqName'),
filter: timeFormatter,
align: 'center'
}
]
@@ -131,7 +133,7 @@ export default {
listQuery: {
current: 1,
size: 10,
processId: ''
key: ''
}
}
},