去掉租户i在列表里的显示。
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -2,9 +2,6 @@
|
||||
<div class="app-container">
|
||||
<el-card class="filter-container" shadow="never">
|
||||
<el-form :model="queryParams" :inline="true" label-width="90px">
|
||||
<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.applyUser" clearable placeholder="请输入申请人" style="width: 180px" />
|
||||
</el-form-item>
|
||||
@@ -40,7 +37,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="140" show-overflow-tooltip />
|
||||
<el-table-column label="申请人" prop="applyUser" min-width="120" />
|
||||
<el-table-column label="申请电话" prop="applyPhone" min-width="130" />
|
||||
<el-table-column label="同事姓名" prop="colleagueName" min-width="120" />
|
||||
@@ -78,11 +74,6 @@
|
||||
<el-dialog :title="dialogTitle" :visible.sync="dialogVisible" width="720px" @close="resetForm">
|
||||
<el-form ref="dataForm" :model="form" :rules="formRules" label-width="110px">
|
||||
<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="applyUser">
|
||||
<el-input v-model="form.applyUser" placeholder="请输入申请人" />
|
||||
@@ -153,7 +144,6 @@ export default {
|
||||
queryParams: {
|
||||
current: 1,
|
||||
size: 10,
|
||||
tenantId: '',
|
||||
applyUser: '',
|
||||
applyPhone: '',
|
||||
colleagueName: '',
|
||||
@@ -162,7 +152,6 @@ export default {
|
||||
},
|
||||
form: {
|
||||
id: '',
|
||||
tenantId: '',
|
||||
applyUser: '',
|
||||
applyPhone: '',
|
||||
colleagueName: '',
|
||||
@@ -170,7 +159,6 @@ export default {
|
||||
applyDate: ''
|
||||
},
|
||||
formRules: {
|
||||
tenantId: [{ required: true, message: '请输入租户ID', trigger: 'blur' }],
|
||||
applyUser: [{ required: true, message: '请输入申请人', trigger: 'blur' }],
|
||||
applyPhone: [{ required: true, message: '请输入申请电话', trigger: 'blur' }]
|
||||
}
|
||||
@@ -206,7 +194,6 @@ export default {
|
||||
const params = {
|
||||
current: this.queryParams.current,
|
||||
size: this.queryParams.size,
|
||||
tenantId: this.queryParams.tenantId || undefined,
|
||||
applyUser: this.queryParams.applyUser || undefined,
|
||||
applyPhone: this.queryParams.applyPhone || undefined,
|
||||
colleagueName: this.queryParams.colleagueName || undefined,
|
||||
@@ -226,7 +213,6 @@ export default {
|
||||
this.queryParams = {
|
||||
current: 1,
|
||||
size: 10,
|
||||
tenantId: '',
|
||||
applyUser: '',
|
||||
applyPhone: '',
|
||||
colleagueName: '',
|
||||
@@ -257,7 +243,6 @@ export default {
|
||||
this.isEdit = true
|
||||
this.form = {
|
||||
id: row.id || '',
|
||||
tenantId: row.tenantId || '',
|
||||
applyUser: row.applyUser || '',
|
||||
applyPhone: row.applyPhone || '',
|
||||
colleagueName: row.colleagueName || '',
|
||||
@@ -298,7 +283,6 @@ export default {
|
||||
},
|
||||
buildPayload() {
|
||||
const payload = {
|
||||
tenantId: this.form.tenantId,
|
||||
applyUser: this.form.applyUser,
|
||||
applyPhone: this.form.applyPhone,
|
||||
colleagueName: this.form.colleagueName || undefined,
|
||||
@@ -318,7 +302,6 @@ export default {
|
||||
resetFormData() {
|
||||
this.form = {
|
||||
id: '',
|
||||
tenantId: '',
|
||||
applyUser: '',
|
||||
applyPhone: '',
|
||||
colleagueName: '',
|
||||
|
||||
Reference in New Issue
Block a user