Compare commits

...

2 Commits

8 changed files with 15 additions and 17 deletions

View File

@ -111,7 +111,6 @@ export default {
li {
padding: 10px;
cursor: pointer;
border-bottom: 1px solid #eee;
transition: all 0.3s;
&:hover {

View File

@ -104,7 +104,7 @@ export default {
this.$refs.deleteRoleStaff.show(staff, this.pgId)
},
viewDetail(staff) {
this.$router.push(`/staff/detail/${staff.userId}`)
this.$router.push(`/views/staff/staffDetail?staffId=${staff.userId}`)
},
handleSizeChange(size) {
this.page.size = size

View File

@ -42,21 +42,21 @@
<el-table-column :label="$t('simplifyOwnerCar.operation')" align="center">
<template #default="{row}">
<el-button
v-if="row.psId != '-1' && row.state == '1001'"
v-if="row.psId != '-1' && row.state == '1001' && hasPrivilege('502023032855861676')"
type="text"
@click="_deleteCarParkingSpace(row)">
{{ $t('simplifyOwnerCar.releaseSpace') }}
</el-button>
<el-button
v-if="row.psId != '-1' && row.state == '3003'"
v-if="row.psId != '-1' && row.state == '3003' && hasPrivilege('502023032809021678')"
type="text"
@click="_addCarParkingSpace(row)">
{{ $t('simplifyOwnerCar.renewSpace') }}
</el-button>
<el-button type="text" @click="_openEditOwnerCar(row)">
<el-button type="text" @click="_openEditOwnerCar(row)" v-if="hasPrivilege('502023032804261679')">
{{ $t('simplifyOwnerCar.edit') }}
</el-button>
<el-button type="text" @click="_openDelOwnerCarModel(row)">
<el-button type="text" @click="_openDelOwnerCarModel(row)" v-if="hasPrivilege('502023032822121680')">
{{ $t('simplifyOwnerCar.delete') }}
</el-button>
</template>

View File

@ -27,10 +27,7 @@
<div slot="header" class="flex justify-between ">
<span>{{ $t('classesManage.list.title') }}</span>
<div style="float: right">
<el-button type="primary" size="small" @click="handleShowDocument">
<i class="el-icon-document"></i>
{{ $t('common.document') }}
</el-button>
<el-button type="primary" size="small" @click="handleAdd">
<i class="el-icon-plus"></i>
{{ $t('common.add') }}
@ -158,14 +155,14 @@ export default {
handleEnable(row) {
this.$refs.classesState.open({
classesId: row.classesId,
stateName: this.$t('common.enable'),
stateName: this.$t('common.enabled'),
state: '1001'
})
},
handleDisable(row) {
this.$refs.classesState.open({
classesId: row.classesId,
stateName: this.$t('common.disable'),
stateName: this.$t('common.disabled'),
state: '2002'
})
},

View File

@ -28,6 +28,7 @@ export const messages = {
confirmDeleteOrg: 'Are you sure to delete this organization?',
confirmDeleteOrgRel: 'Are you sure to delete this organization relationship?',
staffTitle: 'Staff',
selectOrgFirst: 'Please select an organization first',
staff: {
name: 'Name',
phone: 'Phone',
@ -66,6 +67,7 @@ export const messages = {
confirmDeleteOrg: '确定删除组织管理',
confirmDeleteOrgRel: '确定删除组织关系',
staffTitle: '员工',
selectOrgFirst: '请先选择一个组织',
staff: {
name: '员工名称',
phone: '员工电话',

View File

@ -156,14 +156,14 @@ export default {
handleEnable(row) {
this.$refs.stateDialog.open({
scheduleId: row.scheduleId,
stateName: this.$t('common.enable'),
stateName: this.$t('common.enabled'),
state: '1001'
})
},
handleDisable(row) {
this.$refs.stateDialog.open({
scheduleId: row.scheduleId,
stateName: this.$t('common.disable'),
stateName: this.$t('common.disabled'),
state: '2002'
})
},

View File

@ -200,6 +200,7 @@ export default {
}
await exportData(params)
this.$message.success(this.$t('common.operationSuccess'))
this.$router.push('/pages/property/downloadTempFile?tab=下载中心')
} catch (error) {
console.error('导出失败:', error)
this.$message.error(this.$t('common.exportFailed'))

View File

@ -29,7 +29,7 @@
</el-col>
<el-col :span="20">
<el-card class="box-card">
<div class="text-right" v-if="staffCommunityInfo.curStaffId">
<div class="text-right margin-bottom" v-if="staffCommunityInfo.curStaffId" >
<el-button type="primary" size="small" @click="openAddModal">
{{ $t('staffCommunity.linkCommunity') }}
</el-button>
@ -197,7 +197,6 @@ export default {
padding: 10px;
text-align: center;
cursor: pointer;
border-bottom: 1px solid #eee;
&:hover {
background-color: #f5f7fa;