去掉租户i在列表里的显示。

This commit is contained in:
zhonghua.li
2026-04-29 21:20:37 +08:00
parent a3d86b3fcd
commit fa14955504
2 changed files with 0 additions and 34 deletions

View File

@@ -2,9 +2,6 @@
<div class="app-container">
<el-card class="filter-container" shadow="never">
<el-form :model="queryParams" :inline="true" label-width="100px">
<el-form-item label="租户ID">
<el-input v-model="queryParams.tenantId" clearable placeholder="请输入租户ID" style="width: 180px" />
</el-form-item>
<el-form-item label="申请人">
<el-input v-model="queryParams.applicantName" clearable placeholder="请输入申请人" style="width: 180px" />
</el-form-item>
@@ -30,7 +27,6 @@
<el-card class="table-container" shadow="never">
<el-table v-loading="loading" :data="list" style="width: 100%">
<el-table-column label="租户ID" prop="tenantId" min-width="120" />
<el-table-column label="申请人" prop="applicantName" min-width="120" />
<el-table-column label="申请人电话" prop="applicantPhone" min-width="140" />
<el-table-column label="年龄" prop="applicantAge" min-width="80" />
@@ -75,11 +71,6 @@
<el-dialog :title="dialogTitle" :visible.sync="dialogVisible" width="760px" @close="resetForm">
<el-form ref="dataForm" :model="form" :rules="formRules" label-width="120px">
<el-row :gutter="16">
<el-col :span="12">
<el-form-item label="租户ID" prop="tenantId">
<el-input v-model="form.tenantId" placeholder="请输入租户ID" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="申请人" prop="applicantName">
<el-input v-model="form.applicantName" placeholder="请输入申请人" />
@@ -172,7 +163,6 @@ export default {
queryParams: {
current: 1,
size: 10,
tenantId: '',
applicantName: '',
applicantPhone: '',
colleagueName: '',
@@ -180,7 +170,6 @@ export default {
},
form: {
id: '',
tenantId: '',
applicantName: '',
applicantPhone: '',
applicantAge: undefined,
@@ -191,7 +180,6 @@ export default {
applicationDatetime: ''
},
formRules: {
tenantId: [{ required: true, message: '请输入租户ID', trigger: 'blur' }],
applicantName: [{ required: true, message: '请输入申请人', trigger: 'blur' }],
applicantPhone: [{ required: true, message: '请输入申请人电话', trigger: 'blur' }]
}
@@ -227,7 +215,6 @@ export default {
const params = {
current: this.queryParams.current,
size: this.queryParams.size,
tenantId: this.queryParams.tenantId || undefined,
applicantName: this.queryParams.applicantName || undefined,
applicantPhone: this.queryParams.applicantPhone || undefined,
colleagueName: this.queryParams.colleagueName || undefined,
@@ -246,7 +233,6 @@ export default {
this.queryParams = {
current: 1,
size: 10,
tenantId: '',
applicantName: '',
applicantPhone: '',
colleagueName: '',
@@ -276,7 +262,6 @@ export default {
this.isEdit = true
this.form = {
id: row.id || '',
tenantId: row.tenantId || '',
applicantName: row.applicantName || '',
applicantPhone: row.applicantPhone || '',
applicantAge: row.applicantAge === null || row.applicantAge === undefined ? undefined : Number(row.applicantAge),
@@ -320,7 +305,6 @@ export default {
},
buildPayload() {
const payload = {
tenantId: this.form.tenantId,
applicantName: this.form.applicantName,
applicantPhone: this.form.applicantPhone,
applicantAge: this.form.applicantAge,
@@ -343,7 +327,6 @@ export default {
resetFormData() {
this.form = {
id: '',
tenantId: '',
applicantName: '',
applicantPhone: '',
applicantAge: undefined,