去掉租户i在列表里的显示。
This commit is contained in:
@@ -2,9 +2,6 @@
|
|||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<el-card class="filter-container" shadow="never">
|
<el-card class="filter-container" shadow="never">
|
||||||
<el-form :model="queryParams" :inline="true" label-width="100px">
|
<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-form-item label="申请人">
|
||||||
<el-input v-model="queryParams.applicantName" clearable placeholder="请输入申请人" style="width: 180px" />
|
<el-input v-model="queryParams.applicantName" clearable placeholder="请输入申请人" style="width: 180px" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -30,7 +27,6 @@
|
|||||||
|
|
||||||
<el-card class="table-container" shadow="never">
|
<el-card class="table-container" shadow="never">
|
||||||
<el-table v-loading="loading" :data="list" style="width: 100%">
|
<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="applicantName" min-width="120" />
|
||||||
<el-table-column label="申请人电话" prop="applicantPhone" min-width="140" />
|
<el-table-column label="申请人电话" prop="applicantPhone" min-width="140" />
|
||||||
<el-table-column label="年龄" prop="applicantAge" min-width="80" />
|
<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-dialog :title="dialogTitle" :visible.sync="dialogVisible" width="760px" @close="resetForm">
|
||||||
<el-form ref="dataForm" :model="form" :rules="formRules" label-width="120px">
|
<el-form ref="dataForm" :model="form" :rules="formRules" label-width="120px">
|
||||||
<el-row :gutter="16">
|
<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-col :span="12">
|
||||||
<el-form-item label="申请人" prop="applicantName">
|
<el-form-item label="申请人" prop="applicantName">
|
||||||
<el-input v-model="form.applicantName" placeholder="请输入申请人" />
|
<el-input v-model="form.applicantName" placeholder="请输入申请人" />
|
||||||
@@ -172,7 +163,6 @@ export default {
|
|||||||
queryParams: {
|
queryParams: {
|
||||||
current: 1,
|
current: 1,
|
||||||
size: 10,
|
size: 10,
|
||||||
tenantId: '',
|
|
||||||
applicantName: '',
|
applicantName: '',
|
||||||
applicantPhone: '',
|
applicantPhone: '',
|
||||||
colleagueName: '',
|
colleagueName: '',
|
||||||
@@ -180,7 +170,6 @@ export default {
|
|||||||
},
|
},
|
||||||
form: {
|
form: {
|
||||||
id: '',
|
id: '',
|
||||||
tenantId: '',
|
|
||||||
applicantName: '',
|
applicantName: '',
|
||||||
applicantPhone: '',
|
applicantPhone: '',
|
||||||
applicantAge: undefined,
|
applicantAge: undefined,
|
||||||
@@ -191,7 +180,6 @@ export default {
|
|||||||
applicationDatetime: ''
|
applicationDatetime: ''
|
||||||
},
|
},
|
||||||
formRules: {
|
formRules: {
|
||||||
tenantId: [{ required: true, message: '请输入租户ID', trigger: 'blur' }],
|
|
||||||
applicantName: [{ required: true, message: '请输入申请人', trigger: 'blur' }],
|
applicantName: [{ required: true, message: '请输入申请人', trigger: 'blur' }],
|
||||||
applicantPhone: [{ required: true, message: '请输入申请人电话', trigger: 'blur' }]
|
applicantPhone: [{ required: true, message: '请输入申请人电话', trigger: 'blur' }]
|
||||||
}
|
}
|
||||||
@@ -227,7 +215,6 @@ export default {
|
|||||||
const params = {
|
const params = {
|
||||||
current: this.queryParams.current,
|
current: this.queryParams.current,
|
||||||
size: this.queryParams.size,
|
size: this.queryParams.size,
|
||||||
tenantId: this.queryParams.tenantId || undefined,
|
|
||||||
applicantName: this.queryParams.applicantName || undefined,
|
applicantName: this.queryParams.applicantName || undefined,
|
||||||
applicantPhone: this.queryParams.applicantPhone || undefined,
|
applicantPhone: this.queryParams.applicantPhone || undefined,
|
||||||
colleagueName: this.queryParams.colleagueName || undefined,
|
colleagueName: this.queryParams.colleagueName || undefined,
|
||||||
@@ -246,7 +233,6 @@ export default {
|
|||||||
this.queryParams = {
|
this.queryParams = {
|
||||||
current: 1,
|
current: 1,
|
||||||
size: 10,
|
size: 10,
|
||||||
tenantId: '',
|
|
||||||
applicantName: '',
|
applicantName: '',
|
||||||
applicantPhone: '',
|
applicantPhone: '',
|
||||||
colleagueName: '',
|
colleagueName: '',
|
||||||
@@ -276,7 +262,6 @@ export default {
|
|||||||
this.isEdit = true
|
this.isEdit = true
|
||||||
this.form = {
|
this.form = {
|
||||||
id: row.id || '',
|
id: row.id || '',
|
||||||
tenantId: row.tenantId || '',
|
|
||||||
applicantName: row.applicantName || '',
|
applicantName: row.applicantName || '',
|
||||||
applicantPhone: row.applicantPhone || '',
|
applicantPhone: row.applicantPhone || '',
|
||||||
applicantAge: row.applicantAge === null || row.applicantAge === undefined ? undefined : Number(row.applicantAge),
|
applicantAge: row.applicantAge === null || row.applicantAge === undefined ? undefined : Number(row.applicantAge),
|
||||||
@@ -320,7 +305,6 @@ export default {
|
|||||||
},
|
},
|
||||||
buildPayload() {
|
buildPayload() {
|
||||||
const payload = {
|
const payload = {
|
||||||
tenantId: this.form.tenantId,
|
|
||||||
applicantName: this.form.applicantName,
|
applicantName: this.form.applicantName,
|
||||||
applicantPhone: this.form.applicantPhone,
|
applicantPhone: this.form.applicantPhone,
|
||||||
applicantAge: this.form.applicantAge,
|
applicantAge: this.form.applicantAge,
|
||||||
@@ -343,7 +327,6 @@ export default {
|
|||||||
resetFormData() {
|
resetFormData() {
|
||||||
this.form = {
|
this.form = {
|
||||||
id: '',
|
id: '',
|
||||||
tenantId: '',
|
|
||||||
applicantName: '',
|
applicantName: '',
|
||||||
applicantPhone: '',
|
applicantPhone: '',
|
||||||
applicantAge: undefined,
|
applicantAge: undefined,
|
||||||
|
|||||||
@@ -2,9 +2,6 @@
|
|||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<el-card class="filter-container" shadow="never">
|
<el-card class="filter-container" shadow="never">
|
||||||
<el-form :model="queryParams" :inline="true" label-width="90px">
|
<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-form-item label="申请人">
|
||||||
<el-input v-model="queryParams.applyUser" clearable placeholder="请输入申请人" style="width: 180px" />
|
<el-input v-model="queryParams.applyUser" clearable placeholder="请输入申请人" style="width: 180px" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -40,7 +37,6 @@
|
|||||||
|
|
||||||
<el-card class="table-container" shadow="never">
|
<el-card class="table-container" shadow="never">
|
||||||
<el-table v-loading="loading" :data="list" style="width: 100%">
|
<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="applyUser" min-width="120" />
|
||||||
<el-table-column label="申请电话" prop="applyPhone" min-width="130" />
|
<el-table-column label="申请电话" prop="applyPhone" min-width="130" />
|
||||||
<el-table-column label="同事姓名" prop="colleagueName" min-width="120" />
|
<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-dialog :title="dialogTitle" :visible.sync="dialogVisible" width="720px" @close="resetForm">
|
||||||
<el-form ref="dataForm" :model="form" :rules="formRules" label-width="110px">
|
<el-form ref="dataForm" :model="form" :rules="formRules" label-width="110px">
|
||||||
<el-row :gutter="16">
|
<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-col :span="12">
|
||||||
<el-form-item label="申请人" prop="applyUser">
|
<el-form-item label="申请人" prop="applyUser">
|
||||||
<el-input v-model="form.applyUser" placeholder="请输入申请人" />
|
<el-input v-model="form.applyUser" placeholder="请输入申请人" />
|
||||||
@@ -153,7 +144,6 @@ export default {
|
|||||||
queryParams: {
|
queryParams: {
|
||||||
current: 1,
|
current: 1,
|
||||||
size: 10,
|
size: 10,
|
||||||
tenantId: '',
|
|
||||||
applyUser: '',
|
applyUser: '',
|
||||||
applyPhone: '',
|
applyPhone: '',
|
||||||
colleagueName: '',
|
colleagueName: '',
|
||||||
@@ -162,7 +152,6 @@ export default {
|
|||||||
},
|
},
|
||||||
form: {
|
form: {
|
||||||
id: '',
|
id: '',
|
||||||
tenantId: '',
|
|
||||||
applyUser: '',
|
applyUser: '',
|
||||||
applyPhone: '',
|
applyPhone: '',
|
||||||
colleagueName: '',
|
colleagueName: '',
|
||||||
@@ -170,7 +159,6 @@ export default {
|
|||||||
applyDate: ''
|
applyDate: ''
|
||||||
},
|
},
|
||||||
formRules: {
|
formRules: {
|
||||||
tenantId: [{ required: true, message: '请输入租户ID', trigger: 'blur' }],
|
|
||||||
applyUser: [{ required: true, message: '请输入申请人', trigger: 'blur' }],
|
applyUser: [{ required: true, message: '请输入申请人', trigger: 'blur' }],
|
||||||
applyPhone: [{ required: true, message: '请输入申请电话', trigger: 'blur' }]
|
applyPhone: [{ required: true, message: '请输入申请电话', trigger: 'blur' }]
|
||||||
}
|
}
|
||||||
@@ -206,7 +194,6 @@ export default {
|
|||||||
const params = {
|
const params = {
|
||||||
current: this.queryParams.current,
|
current: this.queryParams.current,
|
||||||
size: this.queryParams.size,
|
size: this.queryParams.size,
|
||||||
tenantId: this.queryParams.tenantId || undefined,
|
|
||||||
applyUser: this.queryParams.applyUser || undefined,
|
applyUser: this.queryParams.applyUser || undefined,
|
||||||
applyPhone: this.queryParams.applyPhone || undefined,
|
applyPhone: this.queryParams.applyPhone || undefined,
|
||||||
colleagueName: this.queryParams.colleagueName || undefined,
|
colleagueName: this.queryParams.colleagueName || undefined,
|
||||||
@@ -226,7 +213,6 @@ export default {
|
|||||||
this.queryParams = {
|
this.queryParams = {
|
||||||
current: 1,
|
current: 1,
|
||||||
size: 10,
|
size: 10,
|
||||||
tenantId: '',
|
|
||||||
applyUser: '',
|
applyUser: '',
|
||||||
applyPhone: '',
|
applyPhone: '',
|
||||||
colleagueName: '',
|
colleagueName: '',
|
||||||
@@ -257,7 +243,6 @@ export default {
|
|||||||
this.isEdit = true
|
this.isEdit = true
|
||||||
this.form = {
|
this.form = {
|
||||||
id: row.id || '',
|
id: row.id || '',
|
||||||
tenantId: row.tenantId || '',
|
|
||||||
applyUser: row.applyUser || '',
|
applyUser: row.applyUser || '',
|
||||||
applyPhone: row.applyPhone || '',
|
applyPhone: row.applyPhone || '',
|
||||||
colleagueName: row.colleagueName || '',
|
colleagueName: row.colleagueName || '',
|
||||||
@@ -298,7 +283,6 @@ export default {
|
|||||||
},
|
},
|
||||||
buildPayload() {
|
buildPayload() {
|
||||||
const payload = {
|
const payload = {
|
||||||
tenantId: this.form.tenantId,
|
|
||||||
applyUser: this.form.applyUser,
|
applyUser: this.form.applyUser,
|
||||||
applyPhone: this.form.applyPhone,
|
applyPhone: this.form.applyPhone,
|
||||||
colleagueName: this.form.colleagueName || undefined,
|
colleagueName: this.form.colleagueName || undefined,
|
||||||
@@ -318,7 +302,6 @@ export default {
|
|||||||
resetFormData() {
|
resetFormData() {
|
||||||
this.form = {
|
this.form = {
|
||||||
id: '',
|
id: '',
|
||||||
tenantId: '',
|
|
||||||
applyUser: '',
|
applyUser: '',
|
||||||
applyPhone: '',
|
applyPhone: '',
|
||||||
colleagueName: '',
|
colleagueName: '',
|
||||||
|
|||||||
Reference in New Issue
Block a user