投诉反馈

This commit is contained in:
chenbo 2023-09-23 15:17:25 +08:00
parent 46264831ae
commit 24393cc887
2 changed files with 10 additions and 2 deletions

View File

@ -9,6 +9,9 @@
@close="handleClose"
>
<el-form ref="formRef" :model="formData" label-width="90px" :rules="formRules">
<el-form-item label="公司" prop="company_id">
<el-input v-model="formData.company_id" clearable placeholder="请输入公司" />
</el-form-item>
<el-form-item label="内容" prop="content">
<el-input v-model="formData.content" clearable placeholder="请输入内容" />
</el-form-item>
@ -43,6 +46,7 @@ const popupTitle = computed(() => {
//
const formData = reactive({
id: '',
company_id: '',
content: '',
})

View File

@ -6,6 +6,9 @@
:model="queryParams"
inline
>
<el-form-item label="公司" prop="company_id">
<el-input class="w-[280px]" v-model="queryParams.company_id" clearable placeholder="请输入公司" />
</el-form-item>
<el-form-item label="内容" prop="content">
<el-input class="w-[280px]" v-model="queryParams.content" clearable placeholder="请输入内容" />
</el-form-item>
@ -32,8 +35,8 @@
<div class="mt-4">
<el-table :data="pager.lists" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" />
<el-table-column label="内容" prop="content" show-overflow-tooltip />
<el-table-column label="创建时间" prop="create_time" show-overflow-tooltip />
<el-table-column label="公司" prop="company_id" show-overflow-tooltip />
<el-table-column label="内容" prop="content" show-overflow-tooltip />
<el-table-column label="操作" width="120" fixed="right">
<template #default="{ row }">
<el-button
@ -79,6 +82,7 @@ const showEdit = ref(false)
//
const queryParams = reactive({
company_id: '',
content: '',
})