cloud-web-corejs 1.0.69 → 1.0.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/package.json +2 -2
  2. package/src/components/VabUpload/mixins.js +1 -1
  3. package/src/components/excelExport/mixins.js +1 -2
  4. package/src/components/fileLibrary/index.vue +3 -3
  5. package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +0 -2
  6. package/src/components/fileLibrary/mixins/propertiesDialogMixins.js +2 -1
  7. package/src/components/jsonImport/index.js +17 -17
  8. package/src/components/jsonImport/mixins.js +1 -1
  9. package/src/components/table/index.js +1 -1
  10. package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +35 -5
  11. package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +3 -1
  12. package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +4 -1
  13. package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +2 -1
  14. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +8 -6
  15. package/src/components/xform/form-designer/setting-panel/form-setting.vue +1 -1
  16. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +6 -0
  17. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +13 -0
  18. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onAfterConfirmFile-editor.vue +5 -3
  19. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +3 -0
  20. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +26 -7
  21. package/src/components/xform/form-designer/setting-panel/property-editor/wfFlag-editor.vue +103 -18
  22. package/src/components/xform/form-render/container-item/data-table-item.vue +5 -4
  23. package/src/components/xform/form-render/container-item/data-table-mixin.js +1 -1
  24. package/src/components/xform/form-render/indexMixin.js +1 -1
  25. package/src/mixins/selectDialog/index.js +1 -1
  26. package/src/store/config/index.js +1 -1
  27. package/src/store/modules/permission.js +1 -1
  28. package/src/utils/request.js +1 -1
  29. package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +2 -2
  30. package/src/views/bd/setting/form_template/edit.vue +6 -2
  31. package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +2 -2
  32. package/src/views/bd/setting/form_template/list.vue +4 -2
  33. package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +1 -1
  34. package/src/views/bd/setting/form_template/mixins/edit.js +1 -1
  35. package/src/views/bd/setting/form_template/mixins/list.js +1 -1
  36. package/src/views/bd/setting/form_template/mixins/wf_list.js +1 -1
  37. package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +4 -4
  38. package/src/views/bd/setting/form_template/wf_list.vue +1 -1
  39. package/src/views/bd/setting/table_model/edit.vue +1 -1
  40. package/src/views/bd/setting/table_model/list.vue +4 -2
  41. package/src/views/bd/setting/table_model/mixins/list.js +14 -14
  42. package/src/views/user/bill_setting/edit.vue +1 -1
  43. package/src/views/user/bill_setting/list.vue +1 -1
  44. package/src/views/user/common_attribute/itemEdit.vue +2 -2
  45. package/src/views/user/common_attribute/list.vue +1 -1
  46. package/src/views/user/common_script/edit.vue +1 -1
  47. package/src/views/user/common_script/list.vue +1 -1
  48. package/src/views/user/company_info/dialog.vue +19 -9
  49. package/src/views/user/company_info/edit.vue +1 -1
  50. package/src/views/user/extend_datasource/dialog.vue +1 -0
  51. package/src/views/user/extend_datasource/edit.vue +3 -0
  52. package/src/views/user/extend_datasource/list.vue +2 -1
  53. package/src/views/user/groups/edit.vue +2 -0
  54. package/src/views/user/groups/list.vue +1 -0
  55. package/src/views/user/home/dev.vue +29 -0
  56. package/src/views/user/home/index.vue +16 -6
  57. package/src/views/user/outLink/index.vue +17 -0
  58. package/src/views/user/push_setting/list.vue +2 -2
  59. package/src/views/user/user/edit.vue +2 -2
  60. package/src/views/user/user/form_edit.vue +117 -49
  61. package/src/views/user/user/form_list.vue +1 -0
  62. package/src/views/user/user/info.vue +21 -91
  63. package/src/views/user/user/list.vue +563 -563
@@ -76,6 +76,7 @@ export default {
76
76
  if (this.dataId && !isNaN(this.dataId)) {
77
77
  this.isEdit = true;
78
78
  this.$commonHttp({
79
+ aes:true,
79
80
  url: USER_PREFIX + `/groups/get`,
80
81
  method: `post`,
81
82
  data: {
@@ -95,6 +96,7 @@ export default {
95
96
  this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
96
97
  var url = USER_PREFIX + (this.isEdit ? `/groups/update` : `/groups/save`);
97
98
  this.$http({
99
+ aes:true,
98
100
  url: url,
99
101
  method: `post`,
100
102
  data: this.groups,
@@ -86,6 +86,7 @@ export default {
86
86
  vue: this,
87
87
  tableRef: 'table-m1',
88
88
  tableName: 'user_groups_list-m1',
89
+ aes: true,
89
90
  path: USER_PREFIX + '/groups/listPage',
90
91
  param: () => {
91
92
  return this.formData;
@@ -0,0 +1,29 @@
1
+ <template>
2
+ <div id="containt" class="index-home-sys">
3
+ <i class="iconfont icon-a-kaifa1"></i>
4
+ <span>{{$t1('开发管理平台')}}</span>
5
+ </div>
6
+ </template>
7
+
8
+ <script>
9
+
10
+ export default {
11
+ data() {
12
+ return {
13
+ }
14
+ },
15
+ methods: {
16
+ }
17
+
18
+ };
19
+ </script>
20
+ <style scoped lang="scss">
21
+ .index-home-sys{
22
+ background-color: #DEE9F2 !important;margin-top: 10px !important;height: calc(100vh - 52px);border-radius: 12px !important;text-align: center;line-height: calc(100vh - 60px);letter-spacing: 2px;
23
+ font-size: 48px;font-weight: 600;
24
+ i{vertical-align: middle;font-weight: 400;margin-right: 24px;color:#225076;font-size:48px;}
25
+ span{position: relative;
26
+ &:before{content: "";position: absolute;bottom:0;left:0;width: 223px;height: 16px;background: #96B4CD;z-index: -1;opacity: 0.8;}
27
+ }
28
+ }
29
+ </style>
@@ -36,9 +36,7 @@ export default {
36
36
  let userInfo = res.objx;
37
37
  this.userInfo = userInfo;
38
38
  let flag = userInfo.flag;
39
- if (flag !== 6 && flag !== 7 && flag !== 8) {
40
- this.initHome();
41
- }
39
+ this.initHome();
42
40
  }
43
41
  });
44
42
  },
@@ -59,6 +57,15 @@ export default {
59
57
  });
60
58
  },
61
59
  initHome() {
60
+ let url = null;
61
+ let userInfo = this.userInfo;
62
+ let flag = userInfo.flag;
63
+ if (flag == 6 || flag == 7 || flag == 8) {
64
+ let url = '/user/home/dev.vue'
65
+ this.homeContent = require('@base/views' + url).default;
66
+ this.showHomeContent = true;
67
+ return
68
+ }
62
69
  this.$http({
63
70
  url: USER_PREFIX + '/menu/currentList',
64
71
  data: {},
@@ -68,17 +75,20 @@ export default {
68
75
  let homeMenu = menus.find(menu => menu.type == 2 && menu.enabled);
69
76
  let menuUrl = homeMenu?.url;
70
77
 
78
+ let userInfo = this.userInfo;
79
+ let flag = userInfo.flag;
80
+
71
81
  let str1 = "@base/views";
72
82
  let str2 = "@/views";
73
- let url = null;
74
- if (menuUrl) {
83
+
84
+ if (menuUrl && flag !== 1) {
85
+ //超级管理员不使用角色首页
75
86
  url = menuUrl + '.vue';
76
87
  } else {
77
88
  let defaultHomePage = this.userInfo.defaultHomePage;
78
89
  url = defaultHomePage ? defaultHomePage : '@base/views/user/home/default.vue'
79
90
  }
80
91
  if (url.startsWith(str1)) {
81
- let a = url.slice(str1.length);
82
92
  this.homeContent = require('@base/views' + url.slice(str1.length)).default;
83
93
  } else if (url.startsWith(str2)) {
84
94
  this.homeContent = require('@/views' + url.slice(str2.length)).default;
@@ -8,6 +8,8 @@
8
8
  </template>
9
9
 
10
10
  <script>
11
+ import {getToken} from "@base/utils/auth";
12
+
11
13
  export default {
12
14
  name: 'outLink',
13
15
  data() {
@@ -36,6 +38,21 @@ export default {
36
38
  this.type = 1;
37
39
  }
38
40
  });
41
+ }else if (url.indexOf('token=platform_token') >= 0) {
42
+ this.$http({
43
+ url: YX_PREFIX + `/fundPlatform/getToken`,
44
+ method: `post`,
45
+ data: {},
46
+ isLoading: true,
47
+ success: res => {
48
+ this.url = url.replace('token=platform_token', 'token=' + res.objx);
49
+ this.type = 1;
50
+ }
51
+ });
52
+ } else if (url.indexOf('token=true') >= 0) {
53
+ let token = getToken();
54
+ this.url = url.replace('token=true', ('token=' + token))
55
+ this.type = 1;
39
56
  } else {
40
57
  this.url = url;
41
58
  this.type = 1;
@@ -32,7 +32,7 @@
32
32
  <el-input v-model="formData.dataType" size="small" clearable/>
33
33
  </template>
34
34
  </vxe-form-item>
35
- <vxe-form-item title="推送企业编码:" field="pushCompanyCode">
35
+ <vxe-form-item title="推送组织编码:" field="pushCompanyCode">
36
36
  <template v-slot>
37
37
  <el-input v-model="formData.pushCompanyCode" size="small" clearable/>
38
38
  </template>
@@ -142,7 +142,7 @@ export default {
142
142
  fixed: 'left'
143
143
  },
144
144
  {
145
- title: '推送企业编码',
145
+ title: '推送组织编码',
146
146
  field: 'pushCompanyCode',
147
147
  width: 150
148
148
  },
@@ -698,7 +698,7 @@ export default {
698
698
  if (rows.length > 0) {
699
699
  let outUserCodes = this.outUserCodes;
700
700
  if (this.userType === 1) {
701
- //企业用户
701
+ //组织用户
702
702
  rows = rows.filter(row => !outUserCodes.includes(row.code));
703
703
  } else if (this.userType === 2) {
704
704
  //外部用户
@@ -973,7 +973,7 @@ export default {
973
973
  initRoleDialogParam() {
974
974
  //初始化角色弹框的查询参数
975
975
  if (this.userType == 1) {
976
- //企业用户
976
+ //组织用户
977
977
  this.roleDialogParam = {
978
978
  queryAll: true,
979
979
  neCodes: [...this.outUserCodes]
@@ -116,6 +116,17 @@
116
116
  </table>
117
117
  </template>
118
118
  </baseTabPane>
119
+ <baseTabPane :label="$t1('表单分类信息')">
120
+ <template #default>
121
+ <vxe-grid
122
+ ref="table-m1"
123
+ :data="menuKindAuthDTOs"
124
+ v-bind="vxeOption"
125
+ @resizable-change="$vxeTableUtil.onColumnWitchChange"
126
+ @custom="$vxeTableUtil.customHandle"
127
+ ></vxe-grid>
128
+ </template>
129
+ </baseTabPane>
119
130
  </baseTabs>
120
131
  </el-form>
121
132
  <groudDialog v-if="showGroupDialog" :visiable.sync="showGroupDialog"
@@ -126,6 +137,7 @@
126
137
  <script>
127
138
  import xeUtils from "xe-utils";
128
139
  import groudDialog from "@base/views/user/groups/dialog.vue";
140
+ import {getBdEnv} from "@base/api/user";
129
141
 
130
142
  export default {
131
143
  name: 'UserEdit',
@@ -170,7 +182,6 @@ export default {
170
182
  flag: 8,
171
183
  groupCode: null
172
184
  },
173
- vxeOption: {},
174
185
  companyInfoOption: {},
175
186
  userRoleOption: {},
176
187
  showRoleDialog: false,
@@ -218,7 +229,10 @@ export default {
218
229
  showCountryDialog: false,
219
230
  userInfo: {},
220
231
  userGroups: [],
221
- showGroupDialog: false
232
+ showGroupDialog: false,
233
+ vxeOption: {},
234
+ menuKindAuthDTOs: [],
235
+ isDev: true
222
236
  };
223
237
  },
224
238
  computed: {
@@ -231,19 +245,19 @@ export default {
231
245
  },
232
246
  async mounted() {
233
247
 
234
- // this.getEainsGroupDTO();
235
- // await this.initOutUserRoleCode();
236
- // await this.initDistributorRole();
237
248
  this.getUserInfo()
238
249
  this.getUserGroups()
239
250
  this.getData();
240
251
  this.getConpanyInfo()
252
+ await this.initBdEnv();
253
+ this.initTableM1();
241
254
  },
242
255
  methods: {
243
256
  getData() {
244
257
  if (this.dataId && !isNaN(this.dataId)) {
245
258
  this.isEdit = true;
246
259
  this.$commonHttp({
260
+ aes: true,
247
261
  url: USER_PREFIX + `/user/get`,
248
262
  method: `post`,
249
263
  data: {
@@ -287,6 +301,7 @@ export default {
287
301
  this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
288
302
  var url = USER_PREFIX + (this.isEdit ? '/user/update' : '/user/save');
289
303
  this.$http({
304
+ aes: true,
290
305
  url: url,
291
306
  method: `post`,
292
307
  data: this.user,
@@ -317,6 +332,7 @@ export default {
317
332
  getSaleOrgData() {
318
333
  if (this.dataId) {
319
334
  this.$http({
335
+ aes: true,
320
336
  url: USER_PREFIX + '/user/getUserSaleOrg',
321
337
  method: `post`,
322
338
  data: {id: this.dataId},
@@ -337,6 +353,7 @@ export default {
337
353
  getUserRoleData() {
338
354
  if (this.dataId) {
339
355
  this.$http({
356
+ aes: true,
340
357
  url: USER_PREFIX + '/user/getUserRole',
341
358
  method: `post`,
342
359
  data: {id: this.dataId},
@@ -360,6 +377,7 @@ export default {
360
377
  getCompanyInfoData(callback) {
361
378
  if (this.dataId) {
362
379
  this.$http({
380
+ aes: true,
363
381
  url: USER_PREFIX + '/user/getUserCompanyInfo',
364
382
  method: `post`,
365
383
  data: {id: this.dataId},
@@ -409,6 +427,7 @@ export default {
409
427
  },
410
428
  getConpanyInfo() {
411
429
  this.$http({
430
+ aes: true,
412
431
  url: USER_PREFIX + '/company_info/getCurrent',
413
432
  method: `post`,
414
433
  isLoading: true,
@@ -431,53 +450,11 @@ export default {
431
450
  addCurrentCompany(callback) {
432
451
  this.confirmInsertCompany([this.companyInfo], callback);
433
452
  },
434
- initDistributorRole() {
435
- if (this.outUserCodes && this.outUserCodes.length == 1) {
436
- return this.$http({
437
- url: USER_PREFIX + '/role/list',
438
- method: 'post',
439
- success: res => {
440
- let roleList = res.objx || [];
441
- let distributorCode = this.outUserCodes[0];
442
- this.distributorRole = roleList.find(item => item.code == distributorCode);
443
- }
444
- });
445
- }
446
- },
447
- async initOutUserRoleCode() {
448
- //初始化外部用户编码
449
- return this.$http({
450
- url: USER_PREFIX + '/system_parameter/getByCode',
451
- method: 'post',
452
- data: {"code": "outUserRoleCode"},
453
- success: res => {
454
- let value = (!res.objx || !res.objx.value) ? "distributor" : res.objx.value;
455
- let codes = value.split(',');
456
- this.outUserCodes = codes;//外部用户编码
457
- this.initRoleDialogParam();//初始化角色弹框的查询参数
458
- }
459
- });
460
- },
461
- initRoleDialogParam() {
462
- //初始化角色弹框的查询参数
463
- if (this.userType == 1) {
464
- //企业用户
465
- this.roleDialogParam = {
466
- queryAll: true,
467
- neCodes: [...this.outUserCodes]
468
- };
469
- } else if (this.userType == 2) {
470
- //外部用户
471
- this.roleDialogParam = {
472
- queryAll: true,
473
- eqCodes: [...this.outUserCodes]
474
- };
475
- }
476
- },
477
453
  unlock() {
478
454
  this.$baseConfirm(this.$t1('您确定要解锁吗?')).then(() => {
479
455
  var url = USER_PREFIX + '/user/unlockLoginAccount';
480
456
  this.$http({
457
+ aes: true,
481
458
  url: url,
482
459
  method: `post`,
483
460
  data: {
@@ -506,6 +483,7 @@ export default {
506
483
  },
507
484
  getUserInfo() {
508
485
  return this.$http({
486
+ aes: true,
509
487
  url: USER_PREFIX + '/user/currentUser',
510
488
  method: 'post',
511
489
  success: res => {
@@ -519,6 +497,7 @@ export default {
519
497
  },
520
498
  getUserGroups() {
521
499
  return this.$http({
500
+ aes: true,
522
501
  url: USER_PREFIX + '/groups/listPage',
523
502
  method: 'post',
524
503
  data: {},
@@ -526,7 +505,96 @@ export default {
526
505
  this.userGroups = res.objx?.records || [];
527
506
  }
528
507
  });
529
- }
508
+ },
509
+ initTableM1() {
510
+ const tableOption = {
511
+ vue: this,
512
+ tableRef: 'table-m1',
513
+ tableName: 'edit-user-menuKind-m1',
514
+ columns: [
515
+ {type: 'checkbox', fixed: 'left', width: 48, resizable: false},
516
+ {
517
+ title: this.$t1('表单分类名称'),
518
+ field: 'menuKindName',
519
+ width: 350,
520
+ fixed: 'left'
521
+ },
522
+ {
523
+ title: this.$t1('编辑'),
524
+ field: 'editAuth',
525
+ width: 150,
526
+ slots: {
527
+ default: ({row}) => {
528
+ if (row.editAuth) {
529
+ return [<div class="txt-status">{this.$t1('是')}</div>];
530
+ } else {
531
+ return [<div class="txt-status s-3">{this.$t1('否')}</div>];
532
+ }
533
+ }
534
+ }
535
+ },
536
+ {
537
+ title: this.$t1('导出发布'),
538
+ field: 'exportAuth',
539
+ width: 150,
540
+ slots: {
541
+ default: ({row}) => {
542
+ if (row.exportAuth) {
543
+ return [<div class="txt-status">{this.$t1('是')}</div>];
544
+ } else {
545
+ return [<div class="txt-status s-3">{this.$t1('否')}</div>];
546
+ }
547
+ }
548
+ }
549
+ },
550
+ ...(this.isDev ? [{
551
+ title: this.$t1('可选导出发布类型'),
552
+ field: 'selectTypeAuth',
553
+ width: 200,
554
+ slots: {
555
+ default: ({row}) => {
556
+ if (row.selectTypeAuth) {
557
+ return [<div class="txt-status">{this.$t1('是')}</div>];
558
+ } else {
559
+ return [<div class="txt-status s-3">{this.$t1('否')}</div>];
560
+ }
561
+ }
562
+ }
563
+ }] : []),
564
+ {
565
+ width: 47,
566
+ fixed: 'right',
567
+ title: '',
568
+ sortable: false
569
+ }
570
+ ]
571
+ };
572
+ this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
573
+ this.vxeOption = opts;
574
+ });
575
+ if (this.dataId) {
576
+ this.$http({
577
+ aes: true,
578
+ url: USER_PREFIX + `/menu_kind_auth/list`,
579
+ method: `post`,
580
+ data: {
581
+ userId: this.dataId
582
+ },
583
+ isLoading: true,
584
+ modalStrictly: true,
585
+ success: res => {
586
+ this.menuKindAuthDTOs = res.objx || [];
587
+ }
588
+ });
589
+ }
590
+ },
591
+ initBdEnv() {
592
+ return getBdEnv({
593
+ success: res => {
594
+ this.isDev = res.objx == "dev"
595
+ }
596
+ });
597
+ },
530
598
  }
531
599
  };
532
600
  </script>
@@ -222,6 +222,7 @@ export default {
222
222
  getUserGroups() {
223
223
  return new Promise((resolve, reject) => {
224
224
  this.$http({
225
+ aes: true,
225
226
  url: USER_PREFIX + '/groups/listPage',
226
227
  method: 'post',
227
228
  data: {},
@@ -7,12 +7,12 @@
7
7
  :visible.sync="showDialog"
8
8
  :modal="falseValue"
9
9
  custom-class="dialog-style list-dialog demo-sty_2"
10
- width="1000px"
10
+ width="500px"
11
11
  @close="dialogClose"
12
12
  v-el-drag-dialog
13
13
  v-el-dialog-center
14
14
  >
15
- <div id="containt">
15
+ <div id="containt" style="height: 300px">
16
16
  <div class="detail-wrap">
17
17
  <el-form ref="editForm" :model="user">
18
18
  <div class="d-header clearfix">
@@ -29,7 +29,7 @@
29
29
  </div>
30
30
  </div>
31
31
  <div class="d-cont" style="height: auto">
32
- <div class="d-item">
32
+ <div class="d-item" style="padding-right: 0">
33
33
  <div class="title first"><b>{{ $t1('基本信息') }}</b></div>
34
34
  <table class="table-detail">
35
35
  <tbody>
@@ -38,41 +38,25 @@
38
38
  <em class="f-red">*</em>
39
39
  {{ $t1('登录名') }}
40
40
  </th>
41
- <td>
42
- <el-form-item prop="loginAccount" :rules="[{ required: true, trigger: 'blur' }]">
43
- <template v-if="dataId">
44
- <el-input
45
- size="small"
46
- v-model="user.loginAccount"
47
- maxlength="255"
48
- autocomplete="off"
49
- lay-verify="required"
50
- required=""
51
- :readonly="true"
52
- />
53
- </template>
54
- <template v-else>
55
- <el-input
56
- size="small"
57
- v-model="user.loginAccount"
58
- maxlength="255"
59
- autocomplete="off"
60
- lay-verify="required"
61
- required=""
62
- clearable
63
- />
64
- </template>
65
- </el-form-item>
41
+ <td colspan="3">
42
+ {{ user.loginAccount }}
66
43
  </td>
67
- <th>{{ $t1('手机') }}</th>
68
- <td>
69
- <el-form-item prop="mobile" :rules="[{ required: false, trigger: 'blur' }]">
70
- <el-input size="small" v-model="user.mobile" type="text" maxlength="255" autocomplete="off"
71
- lay-verify="required|phone" clearable/>
44
+ </tr>
45
+ <tr>
46
+ <th>
47
+ <em class="f-red">*</em>
48
+ {{ $t1('姓名') }}
49
+ </th>
50
+ <td colspan="3">
51
+ <el-form-item prop="nickName" :rules="[{ required: true, trigger: 'blur' }]">
52
+ <el-input size="small" v-model="user.nickName" maxlength="200" lay-verify="required" required=""
53
+ clearable/>
72
54
  </el-form-item>
73
55
  </td>
56
+ </tr>
57
+ <tr>
74
58
  <th>{{ $t1('密码') }}</th>
75
- <td>
59
+ <td colspan="3">
76
60
  <el-form-item prop="password" :rules="passRules">
77
61
  <el-input
78
62
  size="small"
@@ -86,8 +70,10 @@
86
70
  />
87
71
  </el-form-item>
88
72
  </td>
73
+ </tr>
74
+ <tr>
89
75
  <th>{{ $t1('确认密码') }}</th>
90
- <td>
76
+ <td colspan="3">
91
77
  <el-form-item prop="rePassword" :rules="pass2Rules">
92
78
  <el-input
93
79
  size="small"
@@ -103,62 +89,6 @@
103
89
  </el-form-item>
104
90
  </td>
105
91
  </tr>
106
- <tr>
107
- <th>
108
- <em class="f-red">*</em>
109
- {{ $t1('姓名') }}
110
- </th>
111
- <td>
112
- <el-form-item prop="nickName" :rules="[{ required: true, trigger: 'blur' }]">
113
- <el-input size="small" v-model="user.nickName" maxlength="200" lay-verify="required" required=""
114
- clearable/>
115
- </el-form-item>
116
- </td>
117
- <th>{{ $t1('性别') }}</th>
118
- <td>
119
- <el-radio-group v-model="user.gender">
120
- <el-radio :label="1">{{ $t1('男') }}</el-radio>
121
- <el-radio :label="2">{{ $t1('女') }}</el-radio>
122
- </el-radio-group>
123
- </td>
124
- <th>{{ $t1('出生日期') }}</th>
125
- <td>
126
- <el-date-picker size="small" v-model="user.birth" type="date" placeholder="选择日期"
127
- value-format="yyyy-MM-dd" clearable/>
128
- </td>
129
- <th>{{ $t1('邮编') }}</th>
130
- <td>
131
- <el-input size="small" id="zipCode" v-model="user.zipCode" name="zipCode" maxlength="255"
132
- clearable/>
133
- </td>
134
- </tr>
135
- <tr>
136
- <th>{{ $t1('地址') }}</th>
137
- <td colspan="3">
138
- <el-input size="small" v-model="user.address" class="b" maxlength="255" clearable/>
139
- </td>
140
- <th>{{ $t1('设置') }}</th>
141
- <td colspan="3">
142
- <el-checkbox label="是否启用" v-model="user.enabled"></el-checkbox>
143
- </td>
144
- </tr>
145
- <tr>
146
- <th>{{ $t1('头像') }}</th>
147
- <td colspan="7">
148
- <baseUpload :limit="1" accept="image/png, image/jpeg" multi="false" :file.sync="user.headPhotoUrl"
149
- dataType="medium"></baseUpload>
150
- </td>
151
- </tr>
152
- <tr>
153
- <th>{{ $t1('创建人') }}</th>
154
- <td>{{ user.createBy }}</td>
155
- <th>{{ $t1('创建时间') }}</th>
156
- <td>{{ user.createDate }}</td>
157
- <th>{{ $t1('更新人') }}</th>
158
- <td>{{ user.modifyBy }}</td>
159
- <th>{{ $t1('更新时间') }}</th>
160
- <td>{{ user.modifyDate }}</td>
161
- </tr>
162
92
  </tbody>
163
93
  </table>
164
94
  </div>