n20-common-lib 2.9.65 → 2.9.68

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n20-common-lib",
3
- "version": "2.9.65",
3
+ "version": "2.9.68",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -16,6 +16,21 @@
16
16
  </el-radio>
17
17
  </template>
18
18
  </el-table-column>
19
+ <el-table-column :label="'单位名称' | $lc" align="center" show-overflow-tooltip>
20
+ <template slot-scope="{ row }">
21
+ {{ row.memberName }}
22
+ </template>
23
+ </el-table-column>
24
+ <el-table-column :label="'角色名称' | $lc" align="center" show-overflow-tooltip>
25
+ <template slot-scope="{ row }">
26
+ {{ row.roleName }}
27
+ </template>
28
+ </el-table-column>
29
+ <el-table-column :label="'人员名称' | $lc" align="center" show-overflow-tooltip>
30
+ <template slot-scope="{ row }">
31
+ {{ row.userName }}
32
+ </template>
33
+ </el-table-column>
19
34
  <el-table-column :label="'节点名称' | $lc" align="center" show-overflow-tooltip>
20
35
  <template slot-scope="{ row }">
21
36
  {{ row.taskName }}
@@ -33,8 +48,8 @@
33
48
  </template>
34
49
 
35
50
  <script>
36
- import { $lc } from '../../utils/i18n/index'
37
51
  import axios from '../../utils/axios'
52
+ import { $lc } from '../../utils/i18n/index'
38
53
  import ClPage from '../PageLayout/page.vue'
39
54
  export default {
40
55
  components: {
@@ -8,7 +8,14 @@
8
8
  </el-select>
9
9
  </el-form-item>
10
10
  <el-form-item>
11
- <el-input v-model="reason" type="textarea" rows="5" class="w-100p" />
11
+ <el-input
12
+ v-model="reason"
13
+ type="textarea"
14
+ :rows="rows"
15
+ :show-word-limit="showWordLimit"
16
+ :maxlength="maxlength"
17
+ class="w-100p"
18
+ />
12
19
  </el-form-item>
13
20
  </el-form>
14
21
  <span slot="footer">
@@ -31,7 +38,20 @@ export default {
31
38
  beforeSubmit: {
32
39
  type: Function,
33
40
  default: undefined
34
- }
41
+ },
42
+ maxlength: {
43
+ type: Number,
44
+ default: 150
45
+ },
46
+ showWordLimit: {
47
+ type: Boolean,
48
+ default: true
49
+ },
50
+ rows: {
51
+ type: Number,
52
+ default: 5
53
+ },
54
+
35
55
  },
36
56
  data() {
37
57
  return {
package/src/i18n.json CHANGED
@@ -2860,14 +2860,14 @@
2860
2860
  "vi": "Tên"
2861
2861
  },
2862
2862
  "请输入用户姓名": {
2863
- "en": "xxx",
2864
- "th": "โปรดใส่ชื่อผู้ใช้",
2863
+ "en": "Please enter the user name",
2864
+ "th": "โปรดป้อนชื่อผู้ใช้",
2865
2865
  "vi": "Vui lòng nhập tên người dùng"
2866
2866
  },
2867
2867
  "单位名称": {
2868
- "en": "Please enter user name",
2869
- "th": "โปรดเลือกชื่อบริษัท",
2870
- "vi": "Vui lòng nhập tên người dùng"
2868
+ "en": "Company name",
2869
+ "th": "ชื่อบริษัท",
2870
+ "vi": "Tên công ty"
2871
2871
  },
2872
2872
  "请输入单位名称": {
2873
2873
  "en": "Please enter the company name",
@@ -2875,9 +2875,14 @@
2875
2875
  "vi": "Vui lòng nhập tên công ty"
2876
2876
  },
2877
2877
  "角色名称": {
2878
- "en": "Please enter the role name",
2879
- "th": "โปรดป้อนชื่อหน่วยงาน",
2880
- "vi": "Vui lòng nhập tên vai trò"
2878
+ "en": "Role name",
2879
+ "th": "ชื่อหน่วยงาน",
2880
+ "vi": "Tên vai trò"
2881
+ },
2882
+ "人员名称": {
2883
+ "en": "User name",
2884
+ "th": "ชื่อผู้ใช้",
2885
+ "vi": "Tên người dùng"
2881
2886
  },
2882
2887
  "请输入角色名称": {
2883
2888
  "en": "Please enter the role name",
@@ -3455,4 +3460,4 @@
3455
3460
  "th": "การอนุมัติบน App",
3456
3461
  "vi": "Phe duyệt bằng App"
3457
3462
  }
3458
- }
3463
+ }
@@ -139,16 +139,14 @@ export function getCert(dn) {
139
139
  })
140
140
  })
141
141
  } else if (signType === 'ItrusSign') {
142
- importG('ItrusSign', () => import(/*webpackChunkName: "ItrusSign"*/ './Itrus/index.js')).then(
143
- ({ itrusGetCert }) => {
144
- try {
145
- const itrusGetCert = itrusGetCert(dn)
146
- resolve(itrusGetCert)
147
- } catch (error) {
148
- reject()
149
- }
142
+ importG('ItrusSign', () => import(/*webpackChunkName: "ItrusSign"*/ './Itrus/index.js')).then(({ getCert }) => {
143
+ try {
144
+ const itrusGetCert = getCert(dn)
145
+ resolve(itrusGetCert)
146
+ } catch (error) {
147
+ reject()
150
148
  }
151
- )
149
+ })
152
150
  }
153
151
  })
154
152
  }