فهرست منبع

新增用户字段

zs 8 ماه پیش
والد
کامیت
4e3b87dae2
3فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 1 0
      src/lang/package/zh-cn/pages.js
  2. 1 0
      src/views/user/user/index.vue
  3. 1 0
      src/views/user/user/parts/user.vue

+ 1 - 0
src/lang/package/zh-cn/pages.js

@@ -58,6 +58,7 @@ export default {
   user: {
     dialogTitle: '用户信息',
     examDialogTitle: '用户审核',
+    openid: '微信唯一标识',
     account: '账号',
     password: '密码',
     industry: '所属产业',

+ 1 - 0
src/views/user/user/index.vue

@@ -95,6 +95,7 @@ onMounted(async () => {
   loading.value = false
 })
 const fields = [
+  { label: t('pages.user.openid'), model: 'openid' },
   { label: t('pages.user.account'), model: 'account', filter: true },
   { label: t('pages.user.industry'), model: 'industry', filter: true, type: 'select' },
   { label: t('pages.user.nick_name'), model: 'nick_name', filter: true },

+ 1 - 0
src/views/user/user/parts/user.vue

@@ -21,6 +21,7 @@ const { t } = useI18n()
 const form = inject('form')
 const getRole = inject('getRole')
 const formFields = ref([
+  { label: t('pages.user.openid'), model: 'openid', options: { readonly: true } },
   { label: t('pages.user.account'), model: 'account', options: { readonly: true } },
   { label: t('pages.user.nick_name'), model: 'nick_name', options: { readonly: true } },
   { label: t('pages.user.industry'), model: 'industry', type: 'select' },