n20-common-lib 2.17.4 → 2.17.5
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
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<cl-secondary-tab :init="name" :data="list" />
|
|
20
20
|
<i
|
|
21
21
|
v-title="$lc('常用审批意见,选择后将自动填充至下方输入框,您可在此基础上修改')"
|
|
22
|
-
class="n20-icon-xinxitishi m-
|
|
22
|
+
class="n20-icon-xinxitishi m-b-s"
|
|
23
23
|
style="color: var(--color-text-secondary)"
|
|
24
24
|
></i>
|
|
25
25
|
</div>
|
|
@@ -45,12 +45,19 @@
|
|
|
45
45
|
</div>
|
|
46
46
|
<CLEmpty v-else :type="'empty'" :content="$lc('暂无数据')" :height="200" />
|
|
47
47
|
</div>
|
|
48
|
-
<el-link slot="reference" :underline="false" icon="el-icon-chat-dot-round">{{ $lc('
|
|
48
|
+
<el-link slot="reference" :underline="false" icon="el-icon-chat-dot-round">{{ $lc('常用审批意见') }}</el-link>
|
|
49
49
|
</el-popover>
|
|
50
|
-
<ClDialog
|
|
50
|
+
<ClDialog
|
|
51
|
+
v-drag
|
|
52
|
+
:visible.sync="setSpr"
|
|
53
|
+
:title="'常用审批意见' | $lc"
|
|
54
|
+
width="800px"
|
|
55
|
+
append-to-body
|
|
56
|
+
top="7.5vh"
|
|
57
|
+
>
|
|
51
58
|
<div class="flex-box flex-r flex-v m-b-s">
|
|
52
59
|
<i
|
|
53
|
-
v-title="$lc('
|
|
60
|
+
v-title="$lc('此处只可设置个人常用审批意见,全局需到工作流审批意见设置中设置')"
|
|
54
61
|
class="n20-icon-xinxitishi m-r-s"
|
|
55
62
|
style="color: var(--color-text-secondary)"
|
|
56
63
|
></i>
|
|
@@ -130,12 +137,12 @@ export default {
|
|
|
130
137
|
return {
|
|
131
138
|
list: [
|
|
132
139
|
{
|
|
133
|
-
name: $lc('
|
|
140
|
+
name: $lc('常用审批意见'),
|
|
134
141
|
key: 'zdy'
|
|
135
142
|
}
|
|
136
143
|
/* { name: $lc('全局'), key: 'system' } */
|
|
137
144
|
],
|
|
138
|
-
name: $lc('
|
|
145
|
+
name: $lc('常用审批意见'),
|
|
139
146
|
selectKey: 'zdy',
|
|
140
147
|
approveMsgSlt: [],
|
|
141
148
|
approveMsgList: [],
|
|
@@ -148,7 +155,7 @@ export default {
|
|
|
148
155
|
static: 'pre' // 静态不被"显示列"显示的,且最终会被拼接到"显示列"排序后的表格的"前面"
|
|
149
156
|
},
|
|
150
157
|
{
|
|
151
|
-
label: $lc('
|
|
158
|
+
label: $lc('审批意见'),
|
|
152
159
|
prop: 'suggestion',
|
|
153
160
|
slotName: 'suggestion',
|
|
154
161
|
align: 'left',
|
|
@@ -203,7 +210,7 @@ export default {
|
|
|
203
210
|
case '保存':
|
|
204
211
|
V = this.tableDataA.some((d) => !d.suggestion)
|
|
205
212
|
if (V) {
|
|
206
|
-
return this.$message.error('
|
|
213
|
+
return this.$message.error('审批意见不能为空')
|
|
207
214
|
}
|
|
208
215
|
list = []
|
|
209
216
|
this.tableDataA.forEach((d) => {
|
package/src/i18n.json
CHANGED
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
2
|
+
"此处只可设置个人自定义常用审批意见,全局需到工作流审批意见设置中设置": {
|
|
3
3
|
"en": "You can only set personal custom common phrases here. The global setting needs to be set in the workflow approval opinion setting.",
|
|
4
4
|
"th": "คุณสามารถตั้งค่าคำพูดที่กำหนดเองสำหรับบุคคลเท่านั้น การตั้งค่าระบบต้องทำในการตั้งค่าคำอธิบายการอนุมัติของไลน์ทำงาน",
|
|
5
5
|
"vi": "Bạn chỉ có thể thiết lập cụm từ tùy chỉnh cá nhân tại đây. Cài đặt toàn cầu cần được thiết lập trong cài đặt ý kiến phê duyệt của luồng công việc."
|
|
6
6
|
},
|
|
7
|
-
"常用语名称": {
|
|
8
|
-
"en": "Common phrase name",
|
|
9
|
-
"th": "ชื่อคำพูดที่ใช้บ่อย",
|
|
10
|
-
"vi": "Tên cụm từ thường dùng"
|
|
11
|
-
},
|
|
12
7
|
"常用审批意见,选择后将自动填充至下方输入框,您可在此基础上修改": {
|
|
13
8
|
"en": "Common approval opinions, select to automatically fill in the input box below, you can modify it on this basis",
|
|
14
9
|
"th": "คำอธิบายการอนุมัติที่ใช้บ่อย คุณสามารถเลือกเพื่อใส่ในช่องกรอกข้อความ คุณสามารถแก้ไขข้อความตามต้องการ",
|
|
@@ -19,17 +14,17 @@
|
|
|
19
14
|
"th": "ระบบ",
|
|
20
15
|
"vi": "Hệ thống"
|
|
21
16
|
},
|
|
22
|
-
"
|
|
17
|
+
"保存为常用审批意见": {
|
|
23
18
|
"en": "Save as a common phrase",
|
|
24
19
|
"th": "บันทึกเป็นคำพูดที่ใช้บ่อย",
|
|
25
20
|
"vi": "Lưu làm cụm từ thường dùng"
|
|
26
21
|
},
|
|
27
|
-
"
|
|
22
|
+
"常用审批意见": {
|
|
28
23
|
"en": "Common phrase",
|
|
29
24
|
"th": "คำพูดที่ใช้บ่อย",
|
|
30
25
|
"vi": "Cụm từ thường dùng"
|
|
31
26
|
},
|
|
32
|
-
"
|
|
27
|
+
"设置自定义审批意见": {
|
|
33
28
|
"en": "Set custom common phrase",
|
|
34
29
|
"th": "ตั้งค่าคำพูดที่ใช้บ่อยที่กำหนดเอง",
|
|
35
30
|
"vi": "Thiết lập cụm từ thường dùng tùy chỉnh"
|