mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-23 21:36:37 +08:00
v1.9 测试组织下相关功能,解决一些国际化问题
This commit is contained in:
parent
9c8438cac3
commit
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
|
||||
|
||||
@ -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,13 +29,13 @@
|
||||
</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>
|
||||
</div>
|
||||
|
||||
<el-table :data="staffCommunityInfo.communitys" border style="width: 100%" v-loading="loading">
|
||||
<el-table :data="staffCommunityInfo.communitys" border style="width: 100%" v-loading="loading">
|
||||
<el-table-column prop="staffName" :label="$t('staffCommunity.staffName')" align="center" />
|
||||
<el-table-column prop="staffId" :label="$t('staffCommunity.staffId')" align="center" />
|
||||
<el-table-column prop="communityId" :label="$t('staffCommunity.communityId')" align="center" />
|
||||
@ -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