cloud-web-corejs 1.0.54-dev.83 → 1.0.54-dev.84

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.
@@ -10,7 +10,8 @@
10
10
  <el-button type="primary" plain class="button-sty" @click="reloadContent" icon="el-icon-refresh-right">
11
11
  {{ $t1('重置') }}
12
12
  </el-button>
13
- <el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{$t1('保存')}}</el-button>
13
+ <el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{ $t1('保存') }}
14
+ </el-button>
14
15
  </div>
15
16
  </div>
16
17
  <div class="d-cont">
@@ -24,23 +25,11 @@
24
25
  {{ $t1('登录名') }}
25
26
  </th>
26
27
  <td>
27
- <el-form-item prop="loginAccount" :rules="[{ required: true, trigger: 'blur' }]">
28
- <template v-if="dataId">
29
- <el-input size="small" v-model="user.loginAccount" maxlength="255" autocomplete="off"
30
- lay-verify="required" required="" :readonly="true"/>
31
- </template>
32
- <template v-else>
33
- <el-input size="small" v-model="user.loginAccount" maxlength="255" autocomplete="off"
34
- lay-verify="required" required="" clearable/>
35
- </template>
36
- </el-form-item>
28
+ {{ user.loginAccount }}
37
29
  </td>
38
30
  <th>{{ $t1('手机') }}</th>
39
31
  <td>
40
- <el-form-item prop="mobile" :rules="[{ required: false, trigger: 'blur' }]">
41
- <el-input size="small" v-model="user.mobile" type="text" maxlength="255" autocomplete="off"
42
- lay-verify="required|phone" clearable/>
43
- </el-form-item>
32
+ {{ user.mobile }}
44
33
  </td>
45
34
  <th>{{ $t1('密码') }}</th>
46
35
  <td>
@@ -79,36 +68,34 @@
79
68
  </td>
80
69
  <th>{{ $t1('性别') }}</th>
81
70
  <td>
82
- <el-radio-group v-model="user.gender">
83
- <el-radio :label="1">{{ $t1('') }}</el-radio>
84
- <el-radio :label="2">{{ $t1('女') }}</el-radio>
85
- </el-radio-group>
71
+ <template v-if="user.gender==1">{{ $t1('男') }}</template>
72
+ <template v-if="user.gender==2">{{ $t1('') }}</template>
86
73
  </td>
87
74
  <th>{{ $t1('出生日期') }}</th>
88
75
  <td>
89
- <el-date-picker size="small" v-model="user.birth" type="date" placeholder="选择日期"
90
- value-format="yyyy-MM-dd" clearable/>
76
+ {{ user.birth }}
91
77
  </td>
92
78
  <th>{{ $t1('邮编') }}</th>
93
79
  <td>
94
- <el-input size="small" id="zipCode" v-model="user.zipCode" name="zipCode" maxlength="255" clearable/>
80
+ {{user.zipCode}}
95
81
  </td>
96
82
  </tr>
97
83
  <tr>
98
84
  <th>{{ $t1('地址') }}</th>
99
85
  <td colspan="3">
100
- <el-input size="small" v-model="user.address" class="b" maxlength="255" clearable/>
86
+ {{user.address}}
101
87
  </td>
102
88
  <th>{{ $t1('设置') }}</th>
103
89
  <td colspan="3">
104
- <el-checkbox :label="$t1('是否启用')" v-model="user.enabled"></el-checkbox>
90
+ <div class="txt-status" v-if="user.enabled">{{ $t1('启用') }}</div>
91
+ <div class="txt-status s-3" v-else>{{$t1('禁用')}}</div>
105
92
  </td>
106
93
  </tr>
107
94
  <tr>
108
95
  <th>{{ $t1('头像') }}</th>
109
96
  <td colspan="7">
110
97
  <baseUpload :limit="1" accept="image/png, image/jpeg" multi="false" :file.sync="user.headPhotoUrl"
111
- dataType="medium"></baseUpload>
98
+ dataType="medium" :edit="false"></baseUpload>
112
99
  </td>
113
100
  </tr>
114
101
  <tr>
@@ -467,7 +467,7 @@ export default {
467
467
  width: 200
468
468
  },
469
469
  {
470
- width: 150,
470
+ width: 100,
471
471
  fixed: 'right',
472
472
  sortable: false,
473
473
  title: '',
@@ -497,18 +497,6 @@ export default {
497
497
  popper-class="tooltip-skin">
498
498
  <i class="iconfont icon-liuchengguanli-shejiqi_liucheng"/>
499
499
  </el-tooltip>
500
- </a>,
501
- <a
502
- href="javascript:void(0);"
503
- onClick={() => {
504
- this.openWfBizDataSettingDialog(row, this.currentRow.serviceId);
505
- }}
506
- class="a-link"
507
- >
508
- <el-tooltip enterable={false} effect="dark" content={this.$t1('过程更改业务数据')} placement="top"
509
- popper-class="tooltip-skin">
510
- <i class="el-icon-setting"/>
511
- </el-tooltip>
512
500
  </a>
513
501
  ];
514
502
  }