mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-23 21:36:37 +08:00
Compare commits
2 Commits
9c8438cac3
...
6cbcfa5062
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6cbcfa5062 | ||
|
|
ab9b555fd7 |
@ -111,7 +111,6 @@ export default {
|
||||
li {
|
||||
padding: 10px;
|
||||
cursor: pointer;
|
||||
border-bottom: 1px solid #eee;
|
||||
transition: all 0.3s;
|
||||
|
||||
&:hover {
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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'
|
||||
})
|
||||
},
|
||||
|
||||
@ -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: '员工电话',
|
||||
|
||||
@ -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'
|
||||
})
|
||||
},
|
||||
|
||||
@ -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'))
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user