Compare commits

...

2 Commits

Author SHA1 Message Date
wuxw
cbeafa7589 v1.9 解决员工关联员工编号不显示bug 2025-08-11 09:45:50 +08:00
wuxw
21d75ed245 v1.9 解决张峰提出的问题 2025-08-11 09:28:48 +08:00
6 changed files with 24 additions and 18 deletions

View File

@ -12,7 +12,7 @@
<el-table :data="staffs" style="width: 100%; margin-top: 15px" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column prop="userId" :label="$t('role.staffName')" align="center" />
<el-table-column prop="userId" :label="$t('role.staffId')" align="center" />
<el-table-column prop="name" :label="$t('role.staffName')" align="center" />
<el-table-column prop="address" :label="$t('role.address')" align="center" />
</el-table>

View File

@ -1,5 +1,5 @@
<template>
<el-dialog :title="$t('systemInfo.editTitle')" :visible="visible" width="70%" :close-on-click-modal="false">
<el-dialog :title="$t('systemInfo.editTitle')" :visible="visible" width="70%" :close-on-click-modal="true" @close="close">
<el-form ref="form" :model="formData" label-width="150px" :rules="rules">
<el-row :gutter="20">
<el-col :span="12">
@ -64,14 +64,12 @@
<el-row :gutter="20">
<el-col :span="12">
<el-form-item :label="$t('systemInfo.propertyTitle')" prop="propertyTitle">
<el-input v-model="formData.propertyTitle"
/>
<el-input v-model="formData.propertyTitle" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item :label="$t('systemInfo.qqMapKey')" prop="qqMapKey">
<el-input v-model="formData.qqMapKey"
/>
<el-input v-model="formData.qqMapKey" />
</el-form-item>
</el-col>
</el-row>
@ -79,8 +77,7 @@
<el-row :gutter="20">
<el-col :span="12">
<el-form-item :label="$t('systemInfo.mallUrl')" prop="mallUrl">
<el-input v-model="formData.mallUrl"
/>
<el-input v-model="formData.mallUrl" />
</el-form-item>
</el-col>
</el-row>
@ -88,7 +85,7 @@
<div slot="footer" class="dialog-footer">
<el-button @click="visible = false">{{ $t('common.cancel') }}</el-button>
<el-button type="primary" @click="submitForm">{{$t('common.save')}}</el-button>
<el-button type="primary" @click="submitForm">{{ $t('common.save') }}</el-button>
</div>
</el-dialog>
@ -164,6 +161,9 @@ export default {
}
}
})
},
close() {
this.visible = false
}
}
}

View File

@ -654,6 +654,10 @@ const routes = [
icon: 'el-icon-s-home'
}
},
{
path: '/login',
redirect: '/views/user/login'
},
{
path: '/views/resource/printEquipmentAccountLabel',
name: '/views/resource/printEquipmentAccountLabel',

View File

@ -315,6 +315,10 @@ export default {
},
_toIndex(){
location.href = '/'
},
_closeSubMenu(){
this.subMenus = []
this.curMenuName = ''
}
}

View File

@ -23,6 +23,7 @@ export const messages = {
communityId: 'Community ID',
communityName: 'Community Name',
operation: 'Operation',
staffId: 'Staff ID',
staffName: 'Staff Name',
tel: 'Phone',
email: 'Email',
@ -59,6 +60,7 @@ export const messages = {
communityId: '小区编号',
communityName: '小区名称',
operation: '操作',
staffId: '员工编号',
staffName: '员工名称',
tel: '手机号',
email: '邮箱',

View File

@ -9,7 +9,7 @@
{{ $t('common.edit') }}
</el-button>
</div>
<el-row :gutter="20">
<el-col :span="8">
<div class="info-item">
@ -91,11 +91,7 @@
</el-col>
</el-row>
<edit-system-info
ref="editSystemInfoRef"
:form-data="systemInfo"
@success="handleEditSuccess"
/>
<edit-system-info ref="editSystemInfoRef" :form-data="systemInfo" @success="handleEditSuccess" />
</div>
</template>
@ -160,16 +156,16 @@ export default {
<style lang="scss" scoped>
.system-info-manage-container {
padding: 20px;
.info-item {
margin-bottom: 20px;
text-align: left;
label {
margin-right: 10px;
}
}
.float-right {
float: right;
}