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

View File

@ -1,5 +1,5 @@
<template> <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-form ref="form" :model="formData" label-width="150px" :rules="rules">
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12"> <el-col :span="12">
@ -64,14 +64,12 @@
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12"> <el-col :span="12">
<el-form-item :label="$t('systemInfo.propertyTitle')" prop="propertyTitle"> <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-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item :label="$t('systemInfo.qqMapKey')" prop="qqMapKey"> <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-form-item>
</el-col> </el-col>
</el-row> </el-row>
@ -79,8 +77,7 @@
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12"> <el-col :span="12">
<el-form-item :label="$t('systemInfo.mallUrl')" prop="mallUrl"> <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-form-item>
</el-col> </el-col>
</el-row> </el-row>
@ -88,7 +85,7 @@
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button @click="visible = false">{{ $t('common.cancel') }}</el-button> <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> </div>
</el-dialog> </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' icon: 'el-icon-s-home'
} }
}, },
{
path: '/login',
redirect: '/views/user/login'
},
{ {
path: '/views/resource/printEquipmentAccountLabel', path: '/views/resource/printEquipmentAccountLabel',
name: '/views/resource/printEquipmentAccountLabel', name: '/views/resource/printEquipmentAccountLabel',

View File

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

View File

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

View File

@ -91,11 +91,7 @@
</el-col> </el-col>
</el-row> </el-row>
<edit-system-info <edit-system-info ref="editSystemInfoRef" :form-data="systemInfo" @success="handleEditSuccess" />
ref="editSystemInfoRef"
:form-data="systemInfo"
@success="handleEditSuccess"
/>
</div> </div>
</template> </template>