gds-plus-design-vue 1.2.3 → 1.2.4
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/lib/{chartbi.06e48153.js → chartbi.5eded588.js} +20 -20
- package/lib/{chartbi.cdd1e365.mjs → chartbi.c3bc6adb.mjs} +17 -9
- package/lib/gd-initial.js +16 -16
- package/lib/gd-initial.mjs +6428 -3567
- package/lib/main.00e2ba37.mjs +123 -0
- package/lib/main.55fab1ce.mjs +198 -0
- package/lib/main.7e1495ec.js +1 -0
- package/lib/{main.4aebe1c9.js → main.9c85b10c.js} +1 -1
- package/lib/main.a27e1e54.js +1 -0
- package/lib/{main.9801708f.js → main.a794f7cf.js} +1 -1
- package/lib/{main.a30b25d6.mjs → main.b25a9b4c.mjs} +6 -6
- package/lib/{main.eb4b260e.mjs → main.b4ad6d81.mjs} +3 -3
- package/lib/{messages.a1335b0f.mjs → messages.bc3bc0e8.mjs} +77 -77
- package/lib/{messages.30e41348.js → messages.fa3d97b5.js} +2 -2
- package/lib/style.css +2 -2
- package/lib/{system.account.20f9e450.mjs → system.account.868f96f9.mjs} +18 -18
- package/lib/{system.account.1ff630c9.js → system.account.e82580de.js} +1 -1
- package/lib/{system.config.532ab3b8.js → system.config.6aae9ea6.js} +1 -1
- package/lib/{system.config.c85c05e9.mjs → system.config.71615d2b.mjs} +2 -2
- package/lib/{system.datasource.f64a59de.mjs → system.datasource.009a1673.mjs} +2 -2
- package/lib/{system.datasource.272f1add.js → system.datasource.523ae242.js} +1 -1
- package/lib/{system.dict.a23e8cdf.js → system.dict.0111a3bc.js} +1 -1
- package/lib/{system.dict.565d69ca.mjs → system.dict.8f562e89.mjs} +2 -2
- package/lib/{system.duplicatechecking.f66790d1.js → system.duplicatechecking.1865e065.js} +1 -1
- package/lib/{system.duplicatechecking.268544dd.mjs → system.duplicatechecking.f517abed.mjs} +2 -2
- package/lib/{system.email.ada25702.mjs → system.email.4c484530.mjs} +2 -2
- package/lib/{system.email.00a93855.js → system.email.70351605.js} +1 -1
- package/lib/{system.fieldsecurity.d14384cc.mjs → system.fieldsecurity.9f9f73df.mjs} +1 -1
- package/lib/{system.fieldsecurity.ede73621.js → system.fieldsecurity.d11088e3.js} +1 -1
- package/lib/{system.file.aa567566.js → system.file.001a01bc.js} +1 -1
- package/lib/{system.file.a23b3c83.mjs → system.file.96b3ce1e.mjs} +2 -2
- package/lib/{system.log.8a9f4a4d.mjs → system.log.80feb1c4.mjs} +2 -2
- package/lib/{system.log.b3666991.js → system.log.f7afb251.js} +1 -1
- package/lib/{system.machine.fc392d7f.mjs → system.machine.52e8a4f3.mjs} +1 -1
- package/lib/{system.machine.7fa3e3d1.js → system.machine.6e46b7a3.js} +1 -1
- package/lib/system.notice.365ddd35.js +1 -0
- package/lib/{system.notice.6d0aa32c.mjs → system.notice.b4247147.mjs} +240 -224
- package/lib/{system.noticereceived.e5ef5883.js → system.noticereceived.5545acf8.js} +1 -1
- package/lib/{system.noticereceived.70963f1b.mjs → system.noticereceived.eef2cf6e.mjs} +5 -4
- package/lib/{system.onlineuser.c58fb6ce.mjs → system.onlineuser.de5f62bf.mjs} +2 -2
- package/lib/{system.onlineuser.99e4de37.js → system.onlineuser.fd9fdc66.js} +1 -1
- package/lib/{system.org.638db6d1.mjs → system.org.94393315.mjs} +3 -3
- package/lib/{system.org.56151be8.js → system.org.d22168d6.js} +1 -1
- package/lib/{system.permissions.fcd56f67.js → system.permissions.3c5c3573.js} +1 -1
- package/lib/{system.permissions.aa0cc0d6.mjs → system.permissions.ccbe352d.mjs} +3 -3
- package/lib/{system.plugin.b17efa53.js → system.plugin.5d47e679.js} +1 -1
- package/lib/{system.plugin.beb44900.mjs → system.plugin.8caa5d1f.mjs} +2 -2
- package/lib/{system.pos.e8d9c488.js → system.pos.caaef4fc.js} +1 -1
- package/lib/{system.pos.699e8dd6.mjs → system.pos.e4be69c4.mjs} +2 -2
- package/lib/{system.promptmanagement.2ce3e426.mjs → system.promptmanagement.1ad89863.mjs} +2 -2
- package/lib/{system.promptmanagement.109a07f5.js → system.promptmanagement.e73f64a2.js} +1 -1
- package/lib/{system.role.230b1445.mjs → system.role.0323ddd5.mjs} +220 -206
- package/lib/{system.role.f0d4082c.js → system.role.b5b55ddd.js} +1 -1
- package/lib/{system.sumberrules.38017ad1.js → system.sumberrules.2babdd81.js} +1 -1
- package/lib/{system.sumberrules.fa1aab86.mjs → system.sumberrules.42965c1e.mjs} +2 -2
- package/lib/{system.team.aeaede22.mjs → system.team.28168433.mjs} +80 -49
- package/lib/system.team.a3527834.js +1 -0
- package/lib/{system.teammembers.2e3309c3.mjs → system.teammembers.08f3ce38.mjs} +3 -3
- package/lib/{system.teammembers.29128f16.js → system.teammembers.4b11e49b.js} +1 -1
- package/lib/{system.timers.0ec63785.mjs → system.timers.040b9bce.mjs} +2 -2
- package/lib/{system.timers.b62568ad.js → system.timers.310b3710.js} +1 -1
- package/lib/{system.translation.887fa90d.js → system.translation.a4396166.js} +1 -1
- package/lib/{system.translation.e71455aa.mjs → system.translation.c0068d8f.mjs} +3 -3
- package/lib/{system.user.bed5f82a.js → system.user.20a5e7b4.js} +5 -5
- package/lib/{system.user.84227a85.mjs → system.user.84e77277.mjs} +53 -23
- package/lib/{system.useraffiliation.7ec0fcae.js → system.useraffiliation.307e3cd7.js} +1 -1
- package/lib/{system.useraffiliation.b3f03a33.mjs → system.useraffiliation.fb961d98.mjs} +3 -3
- package/lib/{system.webresource.f8b78dd0.js → system.webresource.0382b6b1.js} +1 -1
- package/lib/{system.webresource.e6cb9173.mjs → system.webresource.2d0ab7a6.mjs} +3 -3
- package/lib/{system.welcome.472f099b.js → system.welcome.67d20fa4.js} +1 -1
- package/lib/{system.welcome.120f4b50.mjs → system.welcome.aaac4a40.mjs} +1 -1
- package/locale/en_US.js +47 -8
- package/locale/id_ID.js +45 -7
- package/locale/vi_VN.js +45 -7
- package/locale/zh_CN.js +40 -2
- package/package.json +1 -1
- package/lib/main.05252737.mjs +0 -87
- package/lib/main.458dc0a0.js +0 -1
- package/lib/system.notice.5fb1485e.js +0 -1
- package/lib/system.team.3826e252.js +0 -1
package/locale/en_US.js
CHANGED
|
@@ -22,10 +22,7 @@ export default {
|
|
|
22
22
|
inputKey: "Please enter key",
|
|
23
23
|
inputName: "Please enter name",
|
|
24
24
|
selectFileTip: 'Please upload',
|
|
25
|
-
|
|
26
|
-
unreadMessage: '未读消息',
|
|
27
|
-
readMessages: '已读消息',
|
|
28
|
-
oneClickRead: '一键已读',
|
|
25
|
+
|
|
29
26
|
},
|
|
30
27
|
/*接口交互提示*/
|
|
31
28
|
https: {
|
|
@@ -380,6 +377,10 @@ export default {
|
|
|
380
377
|
generalPermissions: "通用权限",
|
|
381
378
|
fileSpecialPermissions: "文件特殊权限",
|
|
382
379
|
folderSpecialPermissions: "文件夹特殊权限",
|
|
380
|
+
employeeID: "工号",
|
|
381
|
+
verificationMethod: "验证方式",
|
|
382
|
+
selectDirectory: "选择目录",
|
|
383
|
+
permissionPreview: "权限预览",
|
|
383
384
|
},
|
|
384
385
|
/*机构*/
|
|
385
386
|
org: {
|
|
@@ -557,7 +558,7 @@ export default {
|
|
|
557
558
|
tablePrimaryKeyTip: "The table does not have a primary key field set",
|
|
558
559
|
columnPrimaryKeyTip: "Display column without primary key field configured",
|
|
559
560
|
lastWeek: "Within a week",
|
|
560
|
-
lastMonth: "
|
|
561
|
+
lastMonth: "The past month",
|
|
561
562
|
pastThreeMonths: "In the past three months",
|
|
562
563
|
filterFields: "Filter fields",
|
|
563
564
|
pastSixMonths: "In the past six months",
|
|
@@ -571,6 +572,17 @@ export default {
|
|
|
571
572
|
fileAcceptTip: "The file type is not supported!",
|
|
572
573
|
fileSizeTip: "The upload size cannot exceed ",
|
|
573
574
|
fileLimitTip: "Exceeded the maximum upload quantity",
|
|
575
|
+
lastWeeks: "Last week",
|
|
576
|
+
nextWeeks: "Next week",
|
|
577
|
+
lastMonths: "Last month",
|
|
578
|
+
nextMonths: "Next month",
|
|
579
|
+
currentQuarter: "This quarter",
|
|
580
|
+
lastQuarter: "Last quarter",
|
|
581
|
+
nextQuarter: "Next quarter",
|
|
582
|
+
currentYear: "Tis year",
|
|
583
|
+
lastYear: "Last year",
|
|
584
|
+
nextYear: "Next year",
|
|
585
|
+
currentWeek: "This week",
|
|
574
586
|
},
|
|
575
587
|
/*表单*/
|
|
576
588
|
form: {
|
|
@@ -1009,7 +1021,12 @@ export default {
|
|
|
1009
1021
|
singletonMode: "Singleton pattern",
|
|
1010
1022
|
multipleMode: "Multi instance mode",
|
|
1011
1023
|
collectMode: "collect",
|
|
1012
|
-
externalLinks: "External links"
|
|
1024
|
+
externalLinks: "External links",
|
|
1025
|
+
information: 'Message',
|
|
1026
|
+
unreadMessage: 'Unread messages',
|
|
1027
|
+
readMessages: 'Read message',
|
|
1028
|
+
oneClickRead: 'Mark all as read',
|
|
1029
|
+
markAsRead: 'Mark as read',
|
|
1013
1030
|
},
|
|
1014
1031
|
/* 侧边栏*/
|
|
1015
1032
|
sidebar: {
|
|
@@ -1374,6 +1391,8 @@ export default {
|
|
|
1374
1391
|
createSubfolders: "Create folder",
|
|
1375
1392
|
createfile: "Create a file",
|
|
1376
1393
|
administrativePermissions: "Administrative permissions",
|
|
1394
|
+
search: "Search",
|
|
1395
|
+
exit: "Exit"
|
|
1377
1396
|
},
|
|
1378
1397
|
/*日志管理*/
|
|
1379
1398
|
log: {
|
|
@@ -2736,8 +2755,11 @@ export default {
|
|
|
2736
2755
|
winOpenLink: "Open link",
|
|
2737
2756
|
openLink: "Open the link in a new window",
|
|
2738
2757
|
routerPush: "Local route redirection",
|
|
2758
|
+
initData: "Initialize data",
|
|
2739
2759
|
openLinkSelf: "Open the link in this window",
|
|
2740
|
-
|
|
2760
|
+
viewDetails: "View details",
|
|
2761
|
+
basedParameter: "Based on parameter values",
|
|
2762
|
+
basedApi: "Return according to API interface",
|
|
2741
2763
|
},
|
|
2742
2764
|
/*审计日志插件*/
|
|
2743
2765
|
auditLogPlug: {
|
|
@@ -2794,6 +2816,7 @@ export default {
|
|
|
2794
2816
|
columnId: "Number field",
|
|
2795
2817
|
remarks: "Example: {Fixed prefix/Random prefix}{Year-Month-Day}{Serial number, Serial number type (Primary/Secondary, Entity/), Serial number range (Global/Within date)}{Fixed suffix/Random suffix} Acc202206130001zzz"
|
|
2796
2818
|
},
|
|
2819
|
+
|
|
2797
2820
|
/* 文档 */
|
|
2798
2821
|
fileDocument: {
|
|
2799
2822
|
inheritedPermissions: "Inherited permissions",
|
|
@@ -2819,7 +2842,23 @@ export default {
|
|
|
2819
2842
|
inheritParentPermissionsTip: "Do you want to inherit permissions from the parent item?",
|
|
2820
2843
|
closeParentPermissionsTip: "Do you want to disable inheriting permissions from the parent item?",
|
|
2821
2844
|
convertInheritedTip: "Convert inherited permissions",
|
|
2822
|
-
deleteInherited: "Delete inherited permissions"
|
|
2845
|
+
deleteInherited: "Delete inherited permissions",
|
|
2846
|
+
renameTip: "The new name cannot duplicate the current name",
|
|
2847
|
+
addNameTip: `The name cannot contain the following characters: <>:"/\|?*%!`,
|
|
2848
|
+
createUser: "Create user",
|
|
2849
|
+
mdifyUser: "Modify user",
|
|
2850
|
+
treeStationWidth: "Tree station width",
|
|
2851
|
+
listDemoMode: "List display mode",
|
|
2852
|
+
modeSwitch: "Mode Switch",
|
|
2853
|
+
limit: "Maximum number of files uploaded",
|
|
2854
|
+
quicklyPermission: "Quickly select permission module",
|
|
2855
|
+
queryCriteria: "Please enter the query criteria",
|
|
2856
|
+
nameSearch: "Please enter a name to search",
|
|
2857
|
+
typeSearch: "Please select file type",
|
|
2858
|
+
timeSearch: "Please select the upload date",
|
|
2859
|
+
uploadTime: 'Upload time',
|
|
2860
|
+
collapseBar: 'Tree folding state switching',
|
|
2861
|
+
collapseMode: 'List display mode switching'
|
|
2823
2862
|
}
|
|
2824
2863
|
}
|
|
2825
2864
|
};
|
package/locale/id_ID.js
CHANGED
|
@@ -376,6 +376,10 @@ export default {
|
|
|
376
376
|
generalPermissions: "通用权限",
|
|
377
377
|
fileSpecialPermissions: "文件特殊权限",
|
|
378
378
|
folderSpecialPermissions: "文件夹特殊权限",
|
|
379
|
+
employeeID: "工号",
|
|
380
|
+
verificationMethod: "验证方式",
|
|
381
|
+
selectDirectory: "选择目录",
|
|
382
|
+
permissionPreview: "权限预览",
|
|
379
383
|
},
|
|
380
384
|
/*机构*/
|
|
381
385
|
org: {
|
|
@@ -553,7 +557,7 @@ export default {
|
|
|
553
557
|
tablePrimaryKeyTip: "Tabel tidak memiliki set bidang kunci utama",
|
|
554
558
|
columnPrimaryKeyTip: "Tampilkan kolom tanpa bidang kunci utama yang dikonfigurasi",
|
|
555
559
|
lastWeek: "Dalam waktu seminggu",
|
|
556
|
-
lastMonth: "
|
|
560
|
+
lastMonth: "Bulan terakhir",
|
|
557
561
|
pastThreeMonths: "Dalam tiga bulan terakhir",
|
|
558
562
|
filterFields: "Bidang filter",
|
|
559
563
|
pastSixMonths: "Dalam enam bulan terakhir",
|
|
@@ -567,6 +571,17 @@ export default {
|
|
|
567
571
|
fileAcceptTip: "Jenis file tidak didukung!",
|
|
568
572
|
fileSizeTip: "Ukuran upload tidak dapat melebihi ",
|
|
569
573
|
fileLimitTip: "Melebihi jumlah upload maksimum",
|
|
574
|
+
lastWeeks: "Minggu lalu",
|
|
575
|
+
nextWeeks: "Minggu depan",
|
|
576
|
+
lastMonths: "bulan lalu",
|
|
577
|
+
nextMonths: "Bulan depan",
|
|
578
|
+
currentQuarter: "Kuartal ini",
|
|
579
|
+
lastQuarter: "Kuartal terakhir",
|
|
580
|
+
nextQuarter: "Kuartal berikutnya",
|
|
581
|
+
currentYear: "Tahun",
|
|
582
|
+
lastYear: "Tahun lalu",
|
|
583
|
+
nextYear: "Tahun depan",
|
|
584
|
+
currentWeek: "Minggu ini",
|
|
570
585
|
},
|
|
571
586
|
/*表单*/
|
|
572
587
|
form: {
|
|
@@ -1006,10 +1021,11 @@ export default {
|
|
|
1006
1021
|
multipleMode: "Mod multi instance",
|
|
1007
1022
|
collectMode: "koleksi",
|
|
1008
1023
|
externalLinks: "Link eksternal",
|
|
1009
|
-
information: '
|
|
1010
|
-
unreadMessage: '
|
|
1011
|
-
readMessages: '
|
|
1012
|
-
oneClickRead: '
|
|
1024
|
+
information: 'Pesan',
|
|
1025
|
+
unreadMessage: 'Pesan yang belum dibaca',
|
|
1026
|
+
readMessages: 'Baca pesan',
|
|
1027
|
+
oneClickRead: 'Tanda Semua Sebagai Baca',
|
|
1028
|
+
markAsRead: 'Tanda sebagai dibaca',
|
|
1013
1029
|
},
|
|
1014
1030
|
/* 侧边栏*/
|
|
1015
1031
|
sidebar: {
|
|
@@ -1374,6 +1390,8 @@ export default {
|
|
|
1374
1390
|
createSubfolders: "Buat folder",
|
|
1375
1391
|
createfile: "Membuat file",
|
|
1376
1392
|
administrativePermissions: "Izin administrasi",
|
|
1393
|
+
search: "Pencarian",
|
|
1394
|
+
exit: "Keluar"
|
|
1377
1395
|
},
|
|
1378
1396
|
/*日志管理*/
|
|
1379
1397
|
log: {
|
|
@@ -2739,7 +2757,10 @@ export default {
|
|
|
2739
2757
|
openLink: "Buka tautan di jendela baru",
|
|
2740
2758
|
routerPush: "Pengalihan rute lokal",
|
|
2741
2759
|
initData: "Initialize data",
|
|
2742
|
-
openLinkSelf: "Buka tautan di jendela ini"
|
|
2760
|
+
openLinkSelf: "Buka tautan di jendela ini",
|
|
2761
|
+
viewDetails: "Lihat rincian",
|
|
2762
|
+
basedParameter: "Berdasarkan nilai parameter",
|
|
2763
|
+
basedApi: "Kembali sesuai dengan antarmuka API",
|
|
2743
2764
|
},
|
|
2744
2765
|
/*审计日志插件*/
|
|
2745
2766
|
auditLogPlug: {
|
|
@@ -2796,6 +2817,7 @@ export default {
|
|
|
2796
2817
|
columnId: "Number field",
|
|
2797
2818
|
remarks: "Example: {Fixed prefix/Random prefix}{Year-Month-Day}{Serial number, Serial number type (Primary/Secondary, Entity/), Serial number range (Global/Within date)}{Fixed suffix/Random suffix} Acc202206130001zzz"
|
|
2798
2819
|
},
|
|
2820
|
+
|
|
2799
2821
|
/* 文档 */
|
|
2800
2822
|
fileDocument: {
|
|
2801
2823
|
inheritedPermissions: "Perizinan yang diwarisi",
|
|
@@ -2821,7 +2843,23 @@ export default {
|
|
|
2821
2843
|
inheritParentPermissionsTip: "Apakah Anda ingin mewarisi izin dari item induk?",
|
|
2822
2844
|
closeParentPermissionsTip: "Apakah Anda ingin menonaktifkan izin mewarisi dari item induk?",
|
|
2823
2845
|
convertInheritedTip: "Konversi izin diwarisi",
|
|
2824
|
-
deleteInherited: "Hapus izin yang diwarisi"
|
|
2846
|
+
deleteInherited: "Hapus izin yang diwarisi",
|
|
2847
|
+
renameTip: "Nama baru tidak dapat diduplikasi nama saat ini",
|
|
2848
|
+
addNameTip: `Nama tidak dapat berisi karakter berikut: <>:"/\|?*%!`,
|
|
2849
|
+
createUser: "Buat pengguna",
|
|
2850
|
+
mdifyUser: "Mengubah pengguna",
|
|
2851
|
+
treeStationWidth: "Lebar stasiun pohon",
|
|
2852
|
+
listDemoMode: "Mode tampilan daftar",
|
|
2853
|
+
modeSwitch: "Mode Saklar",
|
|
2854
|
+
limit: "Jumlah maksimum file yang diunggah",
|
|
2855
|
+
quicklyPermission: "Pilih modul izin dengan cepat",
|
|
2856
|
+
queryCriteria: "Silakan masukkan kriteria query",
|
|
2857
|
+
nameSearch: "Silakan masukkan nama untuk mencari",
|
|
2858
|
+
typeSearch: "Silakan pilih jenis file",
|
|
2859
|
+
timeSearch: "Silakan pilih tanggal upload",
|
|
2860
|
+
uploadTime: 'Waktu unggah',
|
|
2861
|
+
collapseBar: 'Perpindahan keadaan lipat pohon',
|
|
2862
|
+
collapseMode: 'Perpindahan mode tampilan daftar'
|
|
2825
2863
|
}
|
|
2826
2864
|
}
|
|
2827
2865
|
};
|
package/locale/vi_VN.js
CHANGED
|
@@ -376,6 +376,10 @@ export default {
|
|
|
376
376
|
generalPermissions: "通用权限",
|
|
377
377
|
fileSpecialPermissions: "文件特殊权限",
|
|
378
378
|
folderSpecialPermissions: "文件夹特殊权限",
|
|
379
|
+
employeeID: "工号",
|
|
380
|
+
verificationMethod: "验证方式",
|
|
381
|
+
selectDirectory: "选择目录",
|
|
382
|
+
permissionPreview: "权限预览",
|
|
379
383
|
},
|
|
380
384
|
/*机构*/
|
|
381
385
|
org: {
|
|
@@ -553,7 +557,7 @@ export default {
|
|
|
553
557
|
tablePrimaryKeyTip: "Bảng không có một bộ trường khóa chính",
|
|
554
558
|
columnPrimaryKeyTip: "Cột hiển thị mà không có trường khóa chính được cấu hình",
|
|
555
559
|
lastWeek: "Trong vòng một tuần",
|
|
556
|
-
lastMonth: "Tháng
|
|
560
|
+
lastMonth: "Tháng qua",
|
|
557
561
|
pastThreeMonths: "Trong ba tháng qua",
|
|
558
562
|
filterFields: "Các trường lọc",
|
|
559
563
|
pastSixMonths: "Trong sáu tháng qua",
|
|
@@ -567,6 +571,17 @@ export default {
|
|
|
567
571
|
fileAcceptTip: "Loại file không được hỗ trợ!",
|
|
568
572
|
fileSizeTip: "Kích thước tải lên không thể vượt quá ",
|
|
569
573
|
fileLimitTip: "Vượt quá số lượng tải lên tối đa",
|
|
574
|
+
lastWeeks: "Tuần trước",
|
|
575
|
+
nextWeeks: "Tuần sau",
|
|
576
|
+
lastMonths: "Tháng trước",
|
|
577
|
+
nextMonths: "Tháng sau",
|
|
578
|
+
currentQuarter: "Quý này",
|
|
579
|
+
lastQuarter: "Quý cuối",
|
|
580
|
+
nextQuarter: "Quý tiếp theo",
|
|
581
|
+
currentYear: "Tis năm",
|
|
582
|
+
lastYear: "Năm ngoái",
|
|
583
|
+
nextYear: "Năm sau",
|
|
584
|
+
currentWeek: "Tuần này"
|
|
570
585
|
},
|
|
571
586
|
/*表单*/
|
|
572
587
|
form: {
|
|
@@ -1006,10 +1021,11 @@ export default {
|
|
|
1006
1021
|
multipleMode: "Chế độ đa thể hiện",
|
|
1007
1022
|
collectMode: "Thu thập",
|
|
1008
1023
|
externalLinks: "Liên kết bên ngoài",
|
|
1009
|
-
information: '
|
|
1010
|
-
unreadMessage: '
|
|
1011
|
-
readMessages: '
|
|
1012
|
-
oneClickRead: '
|
|
1024
|
+
information: 'Thông điệp',
|
|
1025
|
+
unreadMessage: 'Tin nhắn chưa đọc',
|
|
1026
|
+
readMessages: 'Đọc tin nhắn',
|
|
1027
|
+
oneClickRead: 'Đánh dấu tất cả như đọc',
|
|
1028
|
+
markAsRead: 'Đánh dấu như đọc',
|
|
1013
1029
|
},
|
|
1014
1030
|
/* 侧边栏*/
|
|
1015
1031
|
sidebar: {
|
|
@@ -1374,6 +1390,8 @@ export default {
|
|
|
1374
1390
|
createSubfolders: "Tạo thư mục",
|
|
1375
1391
|
createfile: "Tạo một tập tin",
|
|
1376
1392
|
administrativePermissions: "Giấy phép hành chính",
|
|
1393
|
+
search: "Tìm kiếm",
|
|
1394
|
+
exit: "Đi ra"
|
|
1377
1395
|
},
|
|
1378
1396
|
/*日志管理*/
|
|
1379
1397
|
log: {
|
|
@@ -2739,7 +2757,10 @@ export default {
|
|
|
2739
2757
|
openLink: "Mở liên kết trong một cửa sổ mới",
|
|
2740
2758
|
routerPush: "Chuyển hướng đường địa phương",
|
|
2741
2759
|
initData: "Khởi tạo dữ liệu",
|
|
2742
|
-
openLinkSelf: "Mở liên kết trong cửa sổ này"
|
|
2760
|
+
openLinkSelf: "Mở liên kết trong cửa sổ này",
|
|
2761
|
+
viewDetails: "Xem chi tiết",
|
|
2762
|
+
basedParameter: "Dựa trên giá trị thông số",
|
|
2763
|
+
basedApi: "Trả về theo giao diện API",
|
|
2743
2764
|
},
|
|
2744
2765
|
/*审计日志插件*/
|
|
2745
2766
|
auditLogPlug: {
|
|
@@ -2796,6 +2817,7 @@ export default {
|
|
|
2796
2817
|
columnId: "Số lĩnh vực",
|
|
2797
2818
|
remarks: "Ví dụ: {Tiền tố cố định/Tiền tố ngẫu nhiên}{Ngày tháng năm}{Số dòng chảy, Loại dòng chảy (Main/Sub, Entity/), Phạm vi dòng chảy (Global/Date)} {Hậu tố cố định/Hậu tố ngẫu nhiên} Acc202206130001zzz"
|
|
2798
2819
|
},
|
|
2820
|
+
|
|
2799
2821
|
/* 文档 */
|
|
2800
2822
|
fileDocument: {
|
|
2801
2823
|
inheritedPermissions: "Giấy phép thừa kế",
|
|
@@ -2821,7 +2843,23 @@ export default {
|
|
|
2821
2843
|
inheritParentPermissionsTip: "Bạn có muốn thừa kế quyền từ mục cha không?",
|
|
2822
2844
|
closeParentPermissionsTip: "Bạn có muốn vô hiệu hóa quyền thừa kế từ mục cha không?",
|
|
2823
2845
|
convertInheritedTip: "Chuyển đổi quyền thừa kế",
|
|
2824
|
-
deleteInherited: "Xóa quyền thừa kế"
|
|
2846
|
+
deleteInherited: "Xóa quyền thừa kế",
|
|
2847
|
+
renameTip: "Tên mới không thể trùng lặp tên hiện tại",
|
|
2848
|
+
addNameTip: `Tên không thể chứa các ký tự sau: <>:"/\|?*%!`,
|
|
2849
|
+
createUser: "Tạo người dùng",
|
|
2850
|
+
mdifyUser: "Sửa đổi người dùng",
|
|
2851
|
+
treeStationWidth: "Chiều rộng trạm cây",
|
|
2852
|
+
listDemoMode: "Chế độ hiển thị danh sách",
|
|
2853
|
+
modeSwitch: "Chuyển đổi chế độ",
|
|
2854
|
+
limit: "Số tập tin được tải lên tối đa",
|
|
2855
|
+
quicklyPermission: "Nhanh chóng chọn mô-đun cho phép",
|
|
2856
|
+
queryCriteria: "Vui lòng nhập các tiêu chuẩn truy vấn",
|
|
2857
|
+
nameSearch: "Vui lòng nhập tên để tìm kiếm",
|
|
2858
|
+
typeSearch: "Vui lòng chọn loại tập tin",
|
|
2859
|
+
timeSearch: "Vui lòng chọn ngày tải lên",
|
|
2860
|
+
uploadTime: 'Thời gian tải lên',
|
|
2861
|
+
collapseBar: 'Chuyển đổi trạng thái gấp cây',
|
|
2862
|
+
collapseMode: 'Chuyển đổi chế độ hiển thị danh sách'
|
|
2825
2863
|
}
|
|
2826
2864
|
}
|
|
2827
2865
|
};
|
package/locale/zh_CN.js
CHANGED
|
@@ -377,6 +377,10 @@ export default {
|
|
|
377
377
|
generalPermissions: "通用权限",
|
|
378
378
|
fileSpecialPermissions: "文件特殊权限",
|
|
379
379
|
folderSpecialPermissions: "文件夹特殊权限",
|
|
380
|
+
selectDirectory: "选择目录",
|
|
381
|
+
permissionPreview: "权限预览",
|
|
382
|
+
employeeID: "工号",
|
|
383
|
+
verificationMethod: "验证方式",
|
|
380
384
|
},
|
|
381
385
|
/*机构*/
|
|
382
386
|
org: {
|
|
@@ -568,6 +572,17 @@ export default {
|
|
|
568
572
|
fileAcceptTip: "文件类型不支持!",
|
|
569
573
|
fileSizeTip: "上传大小不能超过",
|
|
570
574
|
fileLimitTip: "已超过最大上传数量",
|
|
575
|
+
lastWeeks: "上一周",
|
|
576
|
+
nextWeeks: "下一周",
|
|
577
|
+
lastMonths: "上个月",
|
|
578
|
+
nextMonths: "下个月",
|
|
579
|
+
currentQuarter: "本季度",
|
|
580
|
+
lastQuarter: "上季度",
|
|
581
|
+
nextQuarter: "下季度",
|
|
582
|
+
currentYear: "本年",
|
|
583
|
+
lastYear: "去年",
|
|
584
|
+
nextYear: "明年",
|
|
585
|
+
currentWeek: "本周",
|
|
571
586
|
},
|
|
572
587
|
/*表单*/
|
|
573
588
|
form: {
|
|
@@ -1011,6 +1026,7 @@ export default {
|
|
|
1011
1026
|
unreadMessage: '未读消息',
|
|
1012
1027
|
readMessages: '已读消息',
|
|
1013
1028
|
oneClickRead: '一键已读',
|
|
1029
|
+
markAsRead: '标为已读',
|
|
1014
1030
|
},
|
|
1015
1031
|
/* 侧边栏*/
|
|
1016
1032
|
sidebar: {
|
|
@@ -1375,6 +1391,8 @@ export default {
|
|
|
1375
1391
|
createSubfolders: "创建文件夹",
|
|
1376
1392
|
createfile: "创建文件",
|
|
1377
1393
|
administrativePermissions: "管理权限",
|
|
1394
|
+
search: "搜索",
|
|
1395
|
+
exit: "退出"
|
|
1378
1396
|
},
|
|
1379
1397
|
/*日志管理*/
|
|
1380
1398
|
log: {
|
|
@@ -2741,7 +2759,10 @@ export default {
|
|
|
2741
2759
|
openLink: "在新窗口打开链接",
|
|
2742
2760
|
routerPush: "本地路由跳转",
|
|
2743
2761
|
initData: "初始化数据",
|
|
2744
|
-
openLinkSelf: "在本窗口打开链接"
|
|
2762
|
+
openLinkSelf: "在本窗口打开链接",
|
|
2763
|
+
viewDetails: "查看详情",
|
|
2764
|
+
basedParameter: "根据参数值",
|
|
2765
|
+
basedApi: "根据API接口返回",
|
|
2745
2766
|
},
|
|
2746
2767
|
/*审计日志插件*/
|
|
2747
2768
|
auditLogPlug: {
|
|
@@ -2798,6 +2819,7 @@ export default {
|
|
|
2798
2819
|
columnId: "编号字段",
|
|
2799
2820
|
remarks: "示例: {固定前缀/随机前缀}{年月日}{流水号,流水号类型(主/子,实体/),流水号范围(全局/日期内)}{固定后缀/随机后缀} Acc202206130001zzz"
|
|
2800
2821
|
},
|
|
2822
|
+
|
|
2801
2823
|
/* 文档 */
|
|
2802
2824
|
fileDocument: {
|
|
2803
2825
|
inheritedPermissions: "继承权限",
|
|
@@ -2823,7 +2845,23 @@ export default {
|
|
|
2823
2845
|
inheritParentPermissionsTip: "是否从父项继承权限?",
|
|
2824
2846
|
closeParentPermissionsTip: "是否关闭从父项继承权限?",
|
|
2825
2847
|
convertInheritedTip: "转换已继承的权限",
|
|
2826
|
-
deleteInherited: "删除已继承的权限"
|
|
2848
|
+
deleteInherited: "删除已继承的权限",
|
|
2849
|
+
renameTip: "新名称不能与当前名称重复",
|
|
2850
|
+
addNameTip: `名称不能包含以下字符:<>:"/\|?*%!`,
|
|
2851
|
+
createUser: "创建用户",
|
|
2852
|
+
mdifyUser: "修改用户",
|
|
2853
|
+
treeStationWidth: "树站位宽度",
|
|
2854
|
+
listDemoMode: "列表展示模式",
|
|
2855
|
+
modeSwitch: "模式切换",
|
|
2856
|
+
limit: "文件最大上传数量",
|
|
2857
|
+
quicklyPermission: "快速选择权限模块",
|
|
2858
|
+
queryCriteria: "请输入查询条件",
|
|
2859
|
+
nameSearch: "请输入名称查询",
|
|
2860
|
+
typeSearch: "请选择文件类型",
|
|
2861
|
+
timeSearch: "请选择上传日期",
|
|
2862
|
+
uploadTime: '上传时间',
|
|
2863
|
+
collapseBar: '树折叠状态切换',
|
|
2864
|
+
collapseMode: '列表显示模式切换'
|
|
2827
2865
|
}
|
|
2828
2866
|
}
|
|
2829
2867
|
};
|
package/package.json
CHANGED
package/lib/main.05252737.mjs
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import l from "vue";
|
|
2
|
-
import { a as d, n as h } from "./chartbi.cdd1e365.mjs";
|
|
3
|
-
import { W as g } from "./system.account.20f9e450.mjs";
|
|
4
|
-
import "./messages.a1335b0f.mjs";
|
|
5
|
-
const u = {
|
|
6
|
-
name: "GdAuthorizeLogin",
|
|
7
|
-
data() {
|
|
8
|
-
return {
|
|
9
|
-
authorizeType: "loading",
|
|
10
|
-
query: {},
|
|
11
|
-
code: "",
|
|
12
|
-
message: "",
|
|
13
|
-
confirmLoading: !0
|
|
14
|
-
};
|
|
15
|
-
},
|
|
16
|
-
methods: {
|
|
17
|
-
init() {
|
|
18
|
-
const t = this.$route.query, e = t.code ? t.code : "";
|
|
19
|
-
if (this.code = e, this.query = this.$route.query, e)
|
|
20
|
-
this.Logout().then((i) => {
|
|
21
|
-
this.getCode();
|
|
22
|
-
});
|
|
23
|
-
else {
|
|
24
|
-
const i = this.$i18nt("gd.login.missingParameters", "\u7F3A\u5931\u53C2\u6570:") + " code";
|
|
25
|
-
this.$message.error(i), this.message = i, this.authorizeType = "fail", this.confirmLoading = !1;
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
getCode() {
|
|
29
|
-
g({ code: this.code }).then((t) => {
|
|
30
|
-
if (t.code !== 200) {
|
|
31
|
-
this.authorizeType = "fail", this.$message.error(t.message), this.message = t.message, this.confirmLoading = !1;
|
|
32
|
-
return;
|
|
33
|
-
}
|
|
34
|
-
this.loginSuccess(t.data);
|
|
35
|
-
});
|
|
36
|
-
},
|
|
37
|
-
loginSuccess(t) {
|
|
38
|
-
this.authorizeType = "finish", l.ls.set("ACCESS_TOKEN", t.accesstoken), this.$store.commit("SET_TOKEN", t.accesstoken);
|
|
39
|
-
const e = this.query.redirect_uri ? this.query.redirect_uri : "";
|
|
40
|
-
if (e === "") {
|
|
41
|
-
let s = t.configtheme ? t.configtheme.replace(/\\/g, "/").split(",") : null, a = "/";
|
|
42
|
-
if (s) {
|
|
43
|
-
let r = s[s.length - 1];
|
|
44
|
-
String(r).split("").forEach((n, c) => {
|
|
45
|
-
a += c == 0 && n === "/" ? "" : n;
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
this.$router.push({
|
|
49
|
-
path: s ? a : "/"
|
|
50
|
-
}), this.loginOther();
|
|
51
|
-
return;
|
|
52
|
-
}
|
|
53
|
-
const i = this.query.redirect_type ? this.query.redirect_type : "self", o = decodeURIComponent(e);
|
|
54
|
-
i === "self" ? this.$router.push(o) : window.location.replace(o);
|
|
55
|
-
},
|
|
56
|
-
loginOther() {
|
|
57
|
-
this.dictTypeData().then((e) => {
|
|
58
|
-
});
|
|
59
|
-
const t = new BroadcastChannel("gd-channel-msg");
|
|
60
|
-
t.postMessage({
|
|
61
|
-
type: "login",
|
|
62
|
-
data: { gdTagName: window.gdTagName }
|
|
63
|
-
}), t.close();
|
|
64
|
-
},
|
|
65
|
-
...d(["Logout", "dictTypeData"])
|
|
66
|
-
},
|
|
67
|
-
created() {
|
|
68
|
-
this.init();
|
|
69
|
-
}
|
|
70
|
-
};
|
|
71
|
-
var m = function() {
|
|
72
|
-
var e = this, i = e._self._c;
|
|
73
|
-
return i("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], staticClass: "gd-authorize" }, [i("div", { staticClass: "authorize-loading" }, [e.authorizeType === "loading" ? i("div", { staticClass: "title" }, [i("i", { staticClass: "el-icon-loading" }), e._v(" " + e._s(e.$i18nt("gd.login.authorization", "\u6388\u6743\u4E2D....")) + " ")]) : e.authorizeType === "fail" ? i("div", { staticClass: "err" }, [i("i", { staticClass: "el-icon-warning" }), e._v(" " + e._s(e.message) + " ")]) : i("div", { staticClass: "title" }, [i("i", { staticClass: "el-icon-success" }), e._v(" " + e._s(e.$i18nt("gd.login.authorizationCompleted", "\u6388\u6743\u5DF2\u5B8C\u6210")) + " ")])])]);
|
|
74
|
-
}, p = [], f = /* @__PURE__ */ h(
|
|
75
|
-
u,
|
|
76
|
-
m,
|
|
77
|
-
p,
|
|
78
|
-
!1,
|
|
79
|
-
null,
|
|
80
|
-
"7bf29c0f",
|
|
81
|
-
null,
|
|
82
|
-
null
|
|
83
|
-
);
|
|
84
|
-
const T = f.exports;
|
|
85
|
-
export {
|
|
86
|
-
T as default
|
|
87
|
-
};
|
package/lib/main.458dc0a0.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("vue"),r=require("./chartbi.06e48153.js"),u=require("./system.account.1ff630c9.js");require("./messages.30e41348.js");const h=e=>e&&typeof e=="object"&&"default"in e?e:{default:e},g=h(d);const m={name:"GdAuthorizeLogin",data(){return{authorizeType:"loading",query:{},code:"",message:"",confirmLoading:!0}},methods:{init(){const e=this.$route.query,t=e.code?e.code:"";if(this.code=t,this.query=this.$route.query,t)this.Logout().then(i=>{this.getCode()});else{const i=this.$i18nt("gd.login.missingParameters","\u7F3A\u5931\u53C2\u6570:")+" code";this.$message.error(i),this.message=i,this.authorizeType="fail",this.confirmLoading=!1}},getCode(){u.oauthCodeLogin({code:this.code}).then(e=>{if(e.code!==200){this.authorizeType="fail",this.$message.error(e.message),this.message=e.message,this.confirmLoading=!1;return}this.loginSuccess(e.data)})},loginSuccess(e){this.authorizeType="finish",g.default.ls.set("ACCESS_TOKEN",e.accesstoken),this.$store.commit("SET_TOKEN",e.accesstoken);const t=this.query.redirect_uri?this.query.redirect_uri:"";if(t===""){let s=e.configtheme?e.configtheme.replace(/\\/g,"/").split(","):null,a="/";if(s){let c=s[s.length-1];String(c).split("").forEach((n,l)=>{a+=l==0&&n==="/"?"":n})}this.$router.push({path:s?a:"/"}),this.loginOther();return}const i=this.query.redirect_type?this.query.redirect_type:"self",o=decodeURIComponent(t);i==="self"?this.$router.push(o):window.location.replace(o)},loginOther(){this.dictTypeData().then(t=>{});const e=new BroadcastChannel("gd-channel-msg");e.postMessage({type:"login",data:{gdTagName:window.gdTagName}}),e.close()},...r.mapActions(["Logout","dictTypeData"])},created(){this.init()}};var f=function(){var t=this,i=t._self._c;return i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.confirmLoading,expression:"confirmLoading"}],staticClass:"gd-authorize"},[i("div",{staticClass:"authorize-loading"},[t.authorizeType==="loading"?i("div",{staticClass:"title"},[i("i",{staticClass:"el-icon-loading"}),t._v(" "+t._s(t.$i18nt("gd.login.authorization","\u6388\u6743\u4E2D...."))+" ")]):t.authorizeType==="fail"?i("div",{staticClass:"err"},[i("i",{staticClass:"el-icon-warning"}),t._v(" "+t._s(t.message)+" ")]):i("div",{staticClass:"title"},[i("i",{staticClass:"el-icon-success"}),t._v(" "+t._s(t.$i18nt("gd.login.authorizationCompleted","\u6388\u6743\u5DF2\u5B8C\u6210"))+" ")])])])},_=[],p=r.normalizeComponent(m,f,_,!1,null,"7bf29c0f",null,null);const y=p.exports;exports.default=y;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const a=require("./chartbi.06e48153.js"),f=require("./system.account.1ff630c9.js"),l=require("./messages.30e41348.js");require("./system.email.00a93855.js");const m=require("./system.fieldsecurity.ede73621.js");function p(t){return window.axios({url:"/sysNotice/page",method:"get",params:t})}function v(t){return window.axios({url:"/sysNotice/add",method:"post",data:t})}function T(t){return window.axios({url:"/sysNotice/edit",method:"post",data:t})}function $(t){return window.axios({url:"/sysNotice/delete",method:"post",data:t})}function y(t){return window.axios({url:"/sysNotice/detail",method:"get",params:t})}function g(t){return window.axios({url:"/sysNotice/changeStatus",method:"post",data:t})}function R(t){return window.axios({url:"/sysNotice/receiversByTypes",method:"get",params:t})}function C(t){return window.axios({url:"/sysMessage/userMessagesGrouped",method:"get",params:t})}function S(t){return window.axios({url:"/sysMessage/markAllAsRead",method:"post",data:t})}function K(t){return window.axios({url:"/sysMessage/markAsRead",method:"post",data:t})}function L(t){return window.axios({url:"/sysEvents/month",method:"get",params:t})}function x(t){return window.axios({url:"/sysOrg/tree",method:"get",params:t})}function w(t){return window.axios({url:"/sysOrg/page",method:"get",params:t})}function P(t){return window.axios({url:"/sysOrg/add",method:"post",data:t})}function k(t){return window.axios({url:"/sysOrg/edit",method:"post",data:t})}function F(t){return window.axios({url:"/sysOrg/delete",method:"post",data:t})}function N(t){return window.axios({url:"/SysRoleDataControl/detail",method:"get",params:t})}function D(t){return window.axios({url:"/SysRoleDataControl/save",method:"post",data:t})}const O={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.notice.title",prop:"title",label:"\u6807\u9898",type:"slot",slotType:"title",align:"left",fixed:!0,showOverflowTooltip:!0},{transKey:"gd.notice.type",prop:"type",label:"\u7C7B\u578B",align:"left",type:"slot",slotType:"type",align:"center",showOverflowTooltip:!0},{transKey:"gd.notice.status",prop:"status",label:"\u72B6\u6001",align:"left",type:"slot",slotType:"status"},{transKey:"gd.notice.createdTime",prop:"createdtime",label:"\u521B\u5EFA\u65F6\u95F4",align:"center"},{transKey:"gd.notice.publicTime",prop:"publictime",label:"\u53D1\u5E03\u65F6\u95F4",align:"center"},{transKey:"gd.notice.publicUserName",prop:"publicusername",label:"\u53D1\u5E03\u4EBA",align:"left"}],formColumns:[{transKey:"gd.notice.title",effectType:"input",prop:"title",label:"\u6807\u9898",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!0,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.notice.type",prop:"type",label:"\u7C7B\u578B",effectType:"radio",dictTypeCode:"notice_type",rules:[{required:!0,message:"\u8BF7\u9009\u62E9",transKey:"gd.placeholder.select",trigger:"change"}],type:"slot",slotType:"notice_type"},{transKey:"gd.notice.noticeBucket",effectType:"editor",prop:"content",label:"\u5185\u5BB9",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!0,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.notice.attachment",effectType:"file",prop:"fileList",label:"\u9644\u4EF6",accept:".pdf",placeholder:"\u8BF7\u4E0A\u4F20",fileTitle:"\u4E0A\u4F20PDF\u6587\u4EF6",limit:1,rules:[],type:"slot",slotType:"fileList"},{transKey:"gd.notice.notifyTo",effectType:"notifyingPerson",prop:"notifyingPerson",label:"\u6536\u5230\u901A\u77E5\u4EBA",type:"slot",slotType:"notifyingPerson",rules:[],disabled:!1}],noticeFormColumns:[],tableButtons:[{displayName:"\u65B0\u589E",functionName:"add",show:!0,transKey:"gd.btn.add",icon:"el-icon-plus",name:"sysNotice:add"},{displayName:"\u901A\u77E5\u4EBA",functionName:"notifyingPerson",show:!0,transKey:"gd.notice.notifyingPerson",icon:"el-icon-bell",name:"sysNotice:notifyingPerson"},{displayName:"\u7F16\u8F91",functionName:"edit",show:!0,transKey:"gd.btn.edit",icon:"el-icon-edit",name:"sysNotice:edit"},{displayName:"\u5220\u9664",functionName:"del",show:!0,transKey:"gd.btn.del",icon:"el-icon-delete",btnType:"danger",name:"sysNotice:delete"},{displayName:"\u53D1\u5E03",functionName:"release",show:!0,btnType:"danger",transKey:"gd.btn.release",icon:"el-icon-s-promotion",name:"sysNotice:changeStatus"},{displayName:"\u64A4\u56DE",functionName:"rollback",show:!0,transKey:"gd.btn.withdraw",icon:"el-icon-refresh-left",btnType:"danger",name:"sysNotice:changeStatus"},{displayName:"\u67E5\u770B",functionName:"read",show:!0,transKey:"gd.btn.view",icon:"el-icon-reading",name:"sysNotice:detail"}],formButtons:[{displayName:"\u5B58\u4E3A\u8349\u7A3F",functionName:"saveDraft",show:!0,transKey:"gd.btn.saveDraft",icon:"el-icon-tickets",validate:!0},{displayName:"\u53D1\u5E03",functionName:"releaseTip",show:!0,btnType:"danger",transKey:"gd.btn.release",icon:"el-icon-s-promotion",validate:!0}],noticeFormButtons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked",validate:!0}],tableQueries:[{transKey:"gd.notice.noticeOriginName",prop:"searchValue",label:"\u5173\u952E\u8BCD",effectType:"input",rules:[]},{transKey:"gd.sysConfig.type",prop:"type",label:"\u7C7B\u578B",effectType:"select",dictTypeCode:"notice_type",rules:[]}]}}};const B={data(){return{transKey:"gd.notice.detail",fullscreen:!1,visible:!1,width:"900",confirmLoading:!1,contentRecord:{},sysViewButtons:[],type:"pdf"}},computed:{height(){return this.screenHeight-24-40-36},headTitle(){return this.$i18nt(this.transKey,this.title)},style(){return`height:${this.fullscreen?this.screenHeight-80:this.screenHeight-240}px;`},...a.mapGetters(["tablePageSize","tableSize","screenHeight","labelPosition","formMode"])},methods:{open(t){this.fullscreen=!1,this.visible=!0,this.confirmLoading=!0,this.sysNoticeDetail(t.id),t.attachment&&this.$nextTick(()=>{setTimeout(()=>{let e={name:`${t.title}.${this.type}`,fileId:t.attachment,fullscreen:!1};this.$refs.filePreview.open(e)},0)})},sysNoticeDetail(t){this.fullscreen=!1,y({id:t}).then(e=>{this.confirmLoading=!1,this.contentRecord=e.data})},handleCancel(){this.visible=!1,this.contentRecord={}},closed(){this.visible=!1},toggleFullscreen(){this.fullscreen=!this.fullscreen},doEvent(t){const e=t.item.functionName;this[e]&&this[e]()}}};var z=function(){var e=this,s=e._self._c;return s("div",[s("el-dialog",{directives:[{name:"drag",rawName:"v-drag"}],ref:"dialog",class:e.fullscreen?"gd-dialog gd-dialog-fangda":"gd-dialog",attrs:{formMode:e.formMode,fullscreen:e.fullscreen,visible:e.visible,width:e.width,center:!0,"close-on-click-modal":!1,"append-to-body":!0,"modal-append-to-body":!1,top:"80px",transKey:e.transKey,labelPosition:e.labelPosition,"show-close":!1},on:{"update:visible":function(i){e.visible=i},closed:e.closed}},[s("gd-modal-title",{attrs:{slot:"title",title:e.headTitle,fullscreen:e.fullscreen,buttons:e.sysViewButtons,confirmLoading:e.confirmLoading,showClose:!0},on:{changeEvent:e.doEvent,toggleFullscreen:e.toggleFullscreen},slot:"title"}),s("div",{class:e.fullscreen?"modal-bodyq":"modal-body"},[s("div",{staticStyle:{"text-align":"center","font-size":"30px"}},[e._v(e._s(this.contentRecord.title))]),s("br"),s("div",{staticStyle:{"text-align":"right","font-size":"10px"}},[s("span",[e._v(" "+e._s(e.$i18nt("gd.notice.publisher","\u53D1\u5E03\u4EBA"))+": "+e._s(this.contentRecord.publicusername)+" ")]),s("span",[e._v(" "+e._s(e.$i18nt("gd.notice.releaseTime","\u53D1\u5E03\u65F6\u95F4"))+": "+e._s(this.contentRecord.publictime?this.contentRecord.publictime:"--")+" ")])]),s("el-divider",{staticStyle:{"margin-top":"5px"}}),s("div",[s("label",{staticClass:"ql-editor",domProps:{innerHTML:e._s(this.contentRecord.content)}})]),e.contentRecord.status!=2&&e.contentRecord.attachment!=""?s("gd-file-preview",{ref:"filePreview",attrs:{options:{},modeType:"component"}}):e._e()],1)],1)],1)},A=[],H=a.normalizeComponent(B,z,A,!1,null,"9f8394fd",null,null);const b=H.exports,M={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.org.displayName",prop:"name",label:"\u673A\u6784\u540D\u79F0",minWidth:"260",type:"slot",slotType:"name",align:"left",fixed:!0,renderHeader:(t,...e)=>this.renderHeader(t,...e,{effectType:"input"}),showOverflowTooltip:!0},{transKey:"gd.org.type",prop:"orgType",label:"\u673A\u6784\u7C7B\u578B",minWidth:"220",type:"slot",slotType:"orgType",align:"left",showOverflowTooltip:!0},{transKey:"gd.org.code",prop:"code",width:"200",label:"\u552F\u4E00\u7F16\u7801",align:"left",showOverflowTooltip:!0},{transKey:"gd.org.sort",prop:"sort",width:"120",label:"\u6392\u5E8F",align:"left"},{transKey:"gd.org.remark",prop:"remark",minWidth:"300",type:"slot",slotType:"remark",label:"\u5907\u6CE8",align:"left"}],tableQueries:[{transKey:"gd.process.tableSor",prop:"tableId",label:"\u8868\u540D\u79F0",effectType:"selectTable",rules:[]},{transKey:"gd.flow.state",prop:"stateCodes",label:"\u72B6\u6001",effectType:"select",dictTypeCode:"state_code",rules:[]}]}}};const q={props:{height:{type:Number,default:0},selectOrgRow:{type:Array,default:()=>[]}},mixins:[l.tablesFilter,M],data(){return{selectedRows:[],selectedRowKeys:[],queryParam:{},loadData:t=>w(Object.assign(t,this.queryParam)).then(e=>(setTimeout(()=>{let s=[...this.selectOrgRow];this.selectedRowKeys=[...s],this.onSelectChange(s,[])},10),e.data)),detail:{}}},computed:{getHeight(){return this.height-55},styled(){return this.$hasPerm("sysFlowProcess:edit")?`color:${this.primaryColor};cursor: pointer;`:""},...a.mapGetters(["tableLists","tablePageSize","tableSize","screenHeight","labelPosition","formMode","primaryColor"])},components:{},methods:{onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e,this.$emit("ok",this.selectedRowKeys)},refresh(){this.$refs.table.refresh()},dictSwitch(t,e){let s=this.$options.filters.dictData(e).filter(i=>i.code==t)[0];return s!=null&&s.colour?s.colour:null},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()}}};var E=function(){var e=this,s=e._self._c;return s("div",{staticClass:"gd-page-view"},[s("div",{staticClass:"page-view-list",staticStyle:{padding:"0px"}},[s("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,filtering:!1,height:e.getHeight,initialLoading:!0},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"name",fn:function({column:i,row:r}){return[s("gd-tooltip",{attrs:{rowKey:"name",row:r,highlight:""}})]}},{key:"orgType",fn:function(i){return[s("el-tag",{style:e._f("dictColor")("org_type",i.row.orgtype),attrs:{effect:"dark"}},[e._v(" "+e._s(e._f("dictType")("org_type",i.row.orgtype))+" ")])]}},{key:"remark",fn:function({column:i,row:r}){return[s("gd-tooltip",{attrs:{rowKey:"remark",row:r}})]}}])})],1)])},I=[],j=a.normalizeComponent(q,E,I,!1,null,"019f5eca",null,null);const U=j.exports;function _(t){return window.axios({url:"/sysApps/page",method:"get",params:t})}function G(t){return window.axios({url:"/sysApps/detail",method:"get",params:t})}function V(t){return window.axios({url:"/sysApps/add",method:"post",data:t})}function Q(t){return window.axios({url:"/sysApps/edit",method:"post",data:t})}function J(t){return window.axios({url:"/sysApps/delete",method:"post",data:t})}function W(t){return window.axios({url:"/SysPublishhistory/add",method:"post",data:t})}function X(t){return window.axios({url:"/SysPublishhistory/list",method:"post",data:t})}const Y={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.user.roleName",prop:"name",label:"\u89D2\u8272\u540D\u79F0",type:"slot",slotType:"name",align:"left",fixed:!0,showOverflowTooltip:!0},{transKey:"gd.org.code",prop:"code",label:"\u552F\u4E00\u7F16\u7801",align:"left",showOverflowTooltip:!0},{transKey:"gd.org.sort",prop:"sort",width:"200",label:"\u6392\u5E8F",align:"left"},{transKey:"gd.org.remark",prop:"remark",label:"\u5907\u6CE8",align:"left",showOverflowTooltip:!0}],tableQueries:[{transKey:"gd.process.tableSor",prop:"tableId",label:"\u8868\u540D\u79F0",effectType:"selectTable",rules:[]},{transKey:"gd.flow.state",prop:"stateCodes",label:"\u72B6\u6001",effectType:"select",dictTypeCode:"state_code",rules:[]}]}}};const Z={props:{height:{type:Number,default:0},selectRoleRow:{type:Array,default:()=>[]}},mixins:[l.tablesFilter,Y],data(){return{selectedRows:[],selectedRowKeys:[],queryParam:{sysAppsId:""},loadData:t=>m.getRolePage(Object.assign(t,this.queryParam)).then(e=>(setTimeout(()=>{let s=[...this.selectRoleRow];this.selectedRowKeys=[...s],this.onSelectChange(s,[])},10),e.data)),detail:{}}},computed:{getHeight(){return this.height-55},styled(){return this.$hasPerm("sysFlowProcess:edit")?`color:${this.primaryColor};cursor: pointer;`:""},...a.mapGetters(["tableLists","tablePageSize","tableSize","screenHeight","labelPosition","formMode","primaryColor"])},components:{},methods:{getSysAppsPage(){_().then(t=>{t.success&&(this.queryParam.sysAppsId=t.data.rows[0].id)})},onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e,this.$emit("ok",this.selectedRowKeys)},refresh(){this.$refs.table.refresh()},dictSwitch(t,e){let s=this.$options.filters.dictData(e).filter(i=>i.code==t)[0];return s!=null&&s.colour?s.colour:null},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()}},created(){this.getSysAppsPage()}};var ee=function(){var e=this,s=e._self._c;return s("div",{staticClass:"gd-page-view"},[s("div",{staticClass:"page-view-list",staticStyle:{padding:"0px"}},[s("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,filtering:!1,height:e.getHeight,initialLoading:!0},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"name",fn:function({column:i,row:r}){return[s("gd-tooltip",{attrs:{rowKey:"name",row:r,highlight:""}})]}}])})],1)])},te=[],se=a.normalizeComponent(Z,ee,te,!1,null,"99dd552d",null,null);const ie=se.exports,re={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.fieldSecurity.name",prop:"name",label:"\u540D\u79F0",type:"slot",slotType:"name",align:"left",showOverflowTooltip:!0},{transKey:"gd.fieldSecurity.teamType",prop:"teamType",label:"\u56E2\u961F\u7C7B\u578B",align:"left",type:"slot",slotType:"teamType",showOverflowTooltip:!0},{transKey:"gd.fieldSecurity.description",prop:"description",label:"\u8BF4\u660E",type:"slot",slotType:"description",align:"left"}],tableQueries:[{transKey:"gd.process.tableSor",prop:"tableId",label:"\u8868\u540D\u79F0",effectType:"selectTable",rules:[]},{transKey:"gd.flow.state",prop:"stateCodes",label:"\u72B6\u6001",effectType:"select",dictTypeCode:"state_code",rules:[]}]}}};const ne={props:{height:{type:Number,default:0},selectTeamRow:{type:Array,default:()=>[]}},mixins:[l.tablesFilter,re],data(){return{selectedRows:[],selectedRowKeys:[],queryParam:{},loadData:t=>m.getSysTeamPage(Object.assign(t,this.queryParam)).then(e=>(setTimeout(()=>{let s=[...this.selectTeamRow];this.selectedRowKeys=[...s],this.onSelectChange(s,[])},10),e.data)),detail:{}}},computed:{getHeight(){return this.height-55},styled(){return this.$hasPerm("sysFlowProcess:edit")?`color:${this.primaryColor};cursor: pointer;`:""},...a.mapGetters(["tableLists","tablePageSize","tableSize","screenHeight","labelPosition","formMode","primaryColor"])},components:{},methods:{onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e,this.$emit("ok",this.selectedRowKeys)},refresh(){this.$refs.table.refresh()},dictSwitch(t,e){let s=this.$options.filters.dictData(e).filter(i=>i.code==t)[0];return s!=null&&s.colour?s.colour:null},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()}}};var oe=function(){var e=this,s=e._self._c;return s("div",{staticClass:"gd-page-view"},[s("div",{staticClass:"page-view-list",staticStyle:{padding:"0px"}},[s("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,filtering:!1,height:e.getHeight,initialLoading:!0},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"name",fn:function({column:i,row:r}){return[s("span",[e._v(" "+e._s(r.name)+" ")])]}},{key:"teamType",fn:function({column:i,row:r}){return[s("span",[e._v(" "+e._s(e._f("dictType")("TeamType",r.teamtype))+" ")])]}},{key:"description",fn:function({column:i,row:r}){return[e._v(" "+e._s(r.description)+" ")]}}])})],1)])},ae=[],le=a.normalizeComponent(ne,oe,ae,!1,null,"ef2acb72",null,null);const ce=le.exports,de={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.user.account",prop:"account",label:"\u8D26\u53F7",width:"220",type:"slot",slotType:"account",align:"left",fixed:!0,showOverflowTooltip:!0},{transKey:"gd.user.name",prop:"name",label:"\u59D3\u540D",width:"160",align:"left",showOverflowTooltip:!0},{transKey:"gd.user.sex",prop:"gender",width:"120",label:"\u6027\u522B",type:"slot",slotType:"gender",align:"left",showOverflowTooltip:!0},{transKey:"gd.org.displayName",prop:"orgname",label:"\u673A\u6784\u540D\u79F0",width:"180",align:"left",showOverflowTooltip:!0},{transKey:"gd.user.phone",prop:"phone",width:"160",label:"\u624B\u673A",align:"left"},{transKey:"gd.user.status",prop:"statecodes",label:"\u72B6\u6001",width:"120",type:"slot",slotType:"statecodes",align:"center",dictTypeCode:"state_code",renderHeader:(t,...e)=>this.renderHeader(t,...e,{effectType:"checkbox",dictTypeCode:"state_code"})}],tableQueries:[{transKey:"gd.application.name",prop:"name",label:"\u540D\u79F0",effectType:"input",rules:[]}]}}};const ue={props:{height:{type:Number,default:300},selectUserRow:{type:Array,default:()=>[]}},mixins:[l.tablesFilter,de],data(){return{selectedRows:[],selectedRowKeys:[],queryParam:{searchValue:""},loadData:t=>{let e=JSON.parse(JSON.stringify(this.selectUserRow));return f.getUserPage(Object.assign(t,this.queryParam)).then(s=>{let i=[];return e.length>0?i=[...JSON.parse(JSON.stringify(e))].map(String):i=[...JSON.parse(JSON.stringify(this.selectUserRow))].map(String),this.$nextTick(()=>{this.selectedRowKeys=[...i],this.onSelectChange(i,[])}),s.data})},detail:{}}},computed:{getHeight(){return this.height-55},styled(){return this.$hasPerm("sysFlowProcess:edit")?`color:${this.primaryColor};cursor: pointer;`:""},...a.mapGetters(["tableLists","tablePageSize","tableSize","screenHeight","labelPosition","formMode","primaryColor"])},components:{},methods:{onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e,this.$emit("ok",this.selectedRowKeys)},saveQueries(t){this.queryParam={...t},this.refresh()},refresh(){this.$refs.table.refresh()},init(t){this.queryParam.searchValue="",this.$refs.table.refresh()},dictSwitch(t,e){let s=this.$options.filters.dictData(e).filter(i=>i.code==t)[0];return s!=null&&s.colour?s.colour:null},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()}},mounted(){}};var he=function(){var e=this,s=e._self._c;return s("div",{staticClass:"gd-page-view"},[s("div",{staticClass:"page-view-list",staticStyle:{padding:"0px"}},[s("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,filtering:!1,height:e.getHeight,initialLoading:!0,showPagination:!0},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"account",fn:function({column:i,row:r}){return[s("gd-tooltip",{attrs:{rowKey:"account",row:r,highlight:""}})]}},{key:"gender",fn:function(i){return[s("div",{staticStyle:{cursor:"pointer"}},[s("el-tag",{style:e._f("dictColor")("gender",i.row.gender),attrs:{effect:"dark"}},[e._v(" "+e._s(e._f("dictType")("gender",i.row.gender))+" ")])],1)]}},{key:"statecodes",fn:function(i){return[s("div",{staticStyle:{cursor:"pointer"}},[i.row.statecodes==1?s("i",{staticClass:"gd-icons gd-icon-xuanzhong active-color",staticStyle:{"font-size":"18px"}}):s("i",{staticClass:"gd-icons gd-icon-jinyong1",staticStyle:{"font-size":"18px",color:"#999"}})])]}},{key:"operator",fn:function(){return[s("div",{staticClass:"gd-table-operator"},[s("div",{staticClass:"gd-table-operatorl",staticStyle:{width:"270px"}},[s("el-input",{staticClass:"table-operator-input",attrs:{placeholder:e.$i18nt("gd.user.keywordTip","\u8BF7\u8F93\u5165\u59D3\u540D\u3001\u8D26\u53F7\u3001\u624B\u673A\u53F7\u5173\u952E\u8BCD"),clearable:""},nativeOn:{keyup:function(i){return!i.type.indexOf("key")&&e._k(i.keyCode,"enter",13,i.key,"Enter")?null:e.refresh.apply(null,arguments)}},model:{value:e.queryParam.searchValue,callback:function(i){e.$set(e.queryParam,"searchValue",i)},expression:"queryParam.searchValue"}}),s("div",{staticClass:"table-operator-search",on:{click:e.refresh}},[s("i",{staticClass:"el-input__icon el-icon-search"})])],1)])]},proxy:!0}])})],1)])},pe=[],ge=a.normalizeComponent(ue,he,pe,!1,null,"e1732005",null,null);const fe=ge.exports;const me={data(){return{confirmLoading:!0,sysViewButtons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked"}],type:"noticeuser",fullScreen:!1,width:"1000px",visible:!1,height:300,userRowList:[],teamRowList:[],roleRowList:[],orgRowList:[],recordData:"",enterType:""}},components:{noticeUser:fe,notcieOrg:U,noticeRole:ie,noticeTeam:ce},computed:{getButtons(){return this.sysViewButtons.filter(t=>!(this.enterType=="1"&&t.functionName==="handleSubmit"))},...a.mapGetters(["screenHeight","tableLists","primaryColor"])},methods:{toggleFullscreen(){this.fullScreen=!this.fullScreen},init(t,e){this.recordData=t,this.fullScreen=!1,this.confirmLoading=!1,this.visible=!0,this.type="noticeuser",this.userRowList=[],this.teamRowList=[],this.roleRowList=[],this.orgRowList=[],this.enterType=e,t&&(this.getData(t,e),setTimeout(()=>{this.$refs.noticeuserRef.init(this.userRowList)},100))},getData(t,e){R({id:e=="1"?t[0]:t}).then(s=>{s.data.receivergroups.forEach(r=>{r.receivertype=="1"&&(this.userRowList=r.receiveridlist),r.receivertype=="2"&&(this.roleRowList=r.receiveridlist),r.receivertype=="3"&&(this.teamRowList=r.receiveridlist),r.receivertype=="4"&&(this.orgRowList=r.receiveridlist)})})},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()},tabChange(t){this.$nextTick(()=>{setTimeout(()=>{},0)})},handleCancel(){this.visible=!1,this.confirmLoading=!1,this.userRowList=[],this.teamRowList=[],this.roleRowList=[],this.orgRowList=[]},handleSubmit(){let t=[{receiverType:"1",receiverIdList:this.userRowList.map(Number)},{receiverType:"2",receiverIdList:this.roleRowList.map(Number)},{receiverType:"3",receiverIdList:this.teamRowList.map(Number)},{receiverType:"4",receiverIdList:this.orgRowList.map(Number)}];this.handleCancel(),this.$emit("ok",t)},selectUser(t){this.userRowList=t},selectTeam(t){this.teamRowList=t},selectRole(t){this.roleRowList=t},selectOrg(t){this.orgRowList=t}}};var ye=function(){var e=this,s=e._self._c;return s("el-dialog",{class:e.fullScreen?"gd-dialog gd-dialog-fangda":"gd-dialog",attrs:{width:e.width,visible:e.visible,fullscreen:e.fullScreen,footer:null,top:"30px","append-to-body":"","show-close":!1},on:{"update:visible":function(i){e.visible=i},closed:e.handleCancel}},[s("gd-modal-title",{attrs:{slot:"title",title:`${e.$i18nt("gd.notice.notifyingPerson","\u901A\u77E5")}`,fullscreen:e.fullScreen,buttons:e.getButtons,confirmLoading:e.confirmLoading,closed:"handleCancel",showClose:!0},on:{changeEvent:e.doEvent,toggleFullscreen:e.toggleFullscreen},slot:"title"}),s("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}]},[s("div",{staticClass:"setting-navs",class:e.fullScreen?"modal-bodyq":"modal-body"},[s("el-tabs",{attrs:{type:"card"},on:{"tab-click":e.tabChange},model:{value:e.type,callback:function(i){e.type=i},expression:"type"}},[s("el-tab-pane",{attrs:{name:"noticeuser",label:e.$i18nt("gd.fieldSecurity.user","\u7528\u6237")}},[e.type=="noticeuser"?s("noticeUser",{ref:"noticeuserRef",attrs:{selectUserRow:e.userRowList,height:e.height},on:{ok:e.selectUser}}):e._e()],1),s("el-tab-pane",{attrs:{name:"noticeteam",label:e.$i18nt("gd.fieldSecurity.team","\u56E2\u961F")}},[e.type=="noticeteam"?s("noticeTeam",{ref:"noticeteamRef",attrs:{selectTeamRow:e.teamRowList,height:e.height},on:{ok:e.selectTeam}}):e._e()],1),s("el-tab-pane",{attrs:{name:"noticerole",label:e.$i18nt("gd.fieldSecurity.role","\u89D2\u8272")}},[e.type=="noticerole"?s("noticeRole",{ref:"noticeroleRef",attrs:{selectRoleRow:e.roleRowList,height:e.height},on:{ok:e.selectRole}}):e._e()],1),s("el-tab-pane",{attrs:{name:"noticeorg",label:e.$i18nt("gd.pagecomponents.institution","\u673A\u6784")}},[e.type=="noticeorg"?s("notcieOrg",{ref:"noticeorgRef",attrs:{selectOrgRow:e.orgRowList,height:e.height},on:{ok:e.selectOrg}}):e._e()],1)],1)],1)])],1)},we=[],be=a.normalizeComponent(me,ye,we,!1,null,"62d3bb5d",null,null);const _e=be.exports;const ve={name:"GdNotice",props:{height:{type:Number,default:100}},mixins:[l.tablesFilter,O],data(){return{transKey:"gd.btn.add",loadData:t=>p(Object.assign(t,this.queryParam)).then(e=>(this.allData=e.data.rows,e.data)),allData:[],selectedRowKeys:[],selectedRows:[],queryParam:{},formLoading:!1,mockData:[],targetKeys:[],noticeUserIdList:[],status:0,type:"noticeUser",confirmLoading:!1,fileType:"pdf",style:"width: 100%; height: 580px;",headers:{"Content-Type":"multipart/form-data"},fileListFile:[],imgList:[],currentImg:"",ruleFormData:{fileList:"",name:"",notifyingPerson:[],fileid:""},record:{},allEmpty:!0,noticeType:""}},components:{detailForm:b,editNoticeForm:_e},computed:{getHeight(){return this.height},getFormColumns(){return this.formColumns.filter(e=>!(e.prop==="notifyingPerson"&&this.transKey==="gd.btn.add"||(this.noticeType==3&&e.prop==="content"?e.rules=[]:this.noticeType!=3&&e.prop==="content"&&(e.rules=[{required:!0,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]),(this.noticeType==1||this.noticeType==2)&&e.prop==="fileList")))},getButtons(){return this.formButtons.filter(t=>!(this.transKey==="gd.btn.add"&&t.functionName==="releaseTip"))},...a.mapGetters(["tablePageSize","tableSize","screenHeight","labelPosition","formMode"])},mounted(){(this.$route.params.id||this.$route.query.id)&&(this.transKey="gd.notice.detail",setTimeout(()=>{this.allData.forEach(t=>{(t.id==this.$route.params.id||t.id==this.$route.query.id)&&this.$refs.detailForm.open(t)})},1e3))},methods:{onSelectChange(t,e){if(this.selectedRowKeys=t,this.selectedRows=e,e.length==0){this.baseHideBtns([],2);return}if(e.length>1){this.baseHideBtns(["\u5220\u9664","\u53D1\u5E03","\u64A4\u56DE","\u7F16\u8F91"],2);return}let s=[],i=e.filter(o=>o.status==0),r=e.filter(o=>o.status==1),n=e.filter(o=>o.status==2);i.length==e.length?s=["\u64A4\u56DE"]:r.length==e.length?s=["\u5220\u9664","\u53D1\u5E03","\u7F16\u8F91"]:n.length==e.length&&(s=["\u64A4\u56DE","\u53D1\u5E03","\u7F16\u8F91"]),this.baseHideBtns(s,2)},baseHideBtns(t,e=1){let s=[...this.tableButtons];s.map(i=>(e===1?i.show=!t.includes(i.id):i.show=!t.includes(i.displayName),i)),this.tableButtons=[...s]},add(){this.transKey="gd.btn.add",this.fileListFile=[],this.ruleFormData={fileList:"",name:"",notifyingPerson:[],fileid:""},this.$refs.editForm.open(null)},noticePerson(t){this.$refs.editNoticeFormRef.init(t.id,"2")},notifyingPerson(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.operateTip","\u8BF7\u9009\u62E9\u8981\u64CD\u4F5C\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.readTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E"));return}this.$refs.editNoticeFormRef.init(this.selectedRowKeys,"1")},edit(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.editTip","\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91"));return}this.sysNoticeDetail(this.selectedRows[0].id),this.transKey="gd.btn.edit",this.$refs.editForm.open(Object.assign({...this.selectedRows[0]},{type:String(this.selectedRows[0].type),content:this.selectedRows[0].content,fileid:this.selectedRows[0].attachment}))},editForm(t){this.transKey="gd.notice.detail",this.$refs.detailForm.open(t)},handleOk(t){this.ruleFormData.notifyingPerson=[],this.ruleFormData.notifyingPerson=t,this.allEmpty=t.every(e=>e.receiverIdList.length===0)},sbumit({data:t,record:e,btn:s},i,r){if(this.status=s.item.functionName=="releaseTip"?1:0,e!=null){let n={id:t.id,content:t.content,status:this.status,title:t.title,type:t.type,receivergroups:this.ruleFormData.notifyingPerson,attachment:this.ruleFormData.fileid};this.formLoading=!0,T(Object.assign(this.noticeDetail,n)).then(o=>{o.success?(this.status==1&&r(),this.$message.success(this.$i18nt("gd.https.editSucc","\u7F16\u8F91\u6210\u529F"))):this.$message.error(this.$i18nt("gd.https.editFail","\u7F16\u8F91\u5931\u8D25")+o.message),this.formLoading=!1,this.refresh()})}else{let n={content:t.content,status:this.status,title:t.title,type:t.type,receiverGroups:this.ruleFormData.notifyingPerson,attachment:this.ruleFormData.fileid};this.formLoading=!0,v(n).then(o=>{o.success?(this.refresh(),this.status==1?(this.formLoading=!1,r()):setTimeout(()=>{this.$nextTick(()=>{p({pageNo:1,pageSize:50}).then(c=>{this.allData=c.data.rows;const d=this.allData.filter(h=>h.title==t.title&&h.content==t.content);d.length>0&&(this.transKey="gd.btn.edit",this.sysNoticeDetail(d[0].id),this.$refs.editForm.open(Object.assign({...d[0]},{type:String(d[0].type),content:d[0].content,fileid:d[0].attachment}))),this.formLoading=!1})})},10),this.$message.success(this.$i18nt("gd.https.addSucc","\u65B0\u589E\u6210\u529F"))):(this.$message.error(this.$i18nt("gd.https.addFail","\u65B0\u589E\u5931\u8D25")+o.message),this.refresh(),this.formLoading=!1)})}},saveQueries(t){this.queryParam=t,this.refresh()},read(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.readTip","\u8BF7\u9009\u62E9\u9700\u8981\u67E5\u770B\u7684\u6570\u636E"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.readTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E"));return}this.$refs.detailForm.open(this.selectedRows[0])},rollback(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.editTip","\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91"));return}this.$confirm(this.$i18nt("gd.https.withdrawContent","\u786E\u8BA4\u64A4\u56DE?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.withdrawOk","\u7ACB\u5373\u64A4\u56DE!"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(t,e,s)=>{this.rollbackHand(t,e,s)}})},rollbackHand(t,e,s){if(t!=="confirm"){s();return}let i=[];this.selectedRows.forEach(r=>{let n=g({id:r.id,status:2}).then(o=>o);i.push(n)}),e.confirmButtonLoading=!0,e.cancelButtonLoading=!0,e.showCancelButton=!1,Promise.all(i).then(r=>{e.confirmButtonLoading=!1,e.cancelButtonLoading=!1,e.showCancelButton=!0,s();const n=r.filter(o=>!o.success);n.length===0?this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")):this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+n[0].message),this.refresh()})},release(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.editTip","\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91"));return}this.$confirm(this.$i18nt("gd.https.releaseContent","\u786E\u8BA4\u53D1\u5E03?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.releaseOk","\u7ACB\u5373\u53D1\u5E03!"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(t,e,s)=>{this.releaseHand(t,e,s)}})},releaseHand(t,e,s){if(t!=="confirm"){s();return}let i=[];this.selectedRows.forEach(r=>{let n=g({id:r.id,status:1}).then(o=>o);i.push(n)}),e.confirmButtonLoading=!0,e.cancelButtonLoading=!0,e.showCancelButton=!1,Promise.all(i).then(r=>{e.confirmButtonLoading=!1,e.cancelButtonLoading=!1,e.showCancelButton=!0,s();const n=r.filter(o=>!o.success);n.length===0?this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")):this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+n[0].message),this.refresh()})},del(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.delTip","\u8BF7\u9009\u62E9\u9700\u8981\u5220\u9664\u7684\u6570\u636E!"));return}this.$confirm(this.$i18nt("gd.https.delContent","\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.delOk","\u786E\u5B9A\u5220\u9664"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(t,e,s)=>{this.delHand(t,e,s)}})},delHand(t,e,s){if(t!=="confirm"){s();return}let i=[];this.selectedRows.forEach(r=>{let n=$(r).then(o=>o);i.push(n)}),e.confirmButtonLoading=!0,e.cancelButtonLoading=!0,e.showCancelButton=!1,Promise.all(i).then(r=>{s();const n=r.filter(o=>!o.success);n.length===0?this.$message.success(this.$i18nt("gd.https.delSucc","\u5220\u9664\u6210\u529F")):this.$message.error(this.$i18nt("gd.https.delFail","\u5220\u9664\u5931\u8D25")+n[0].message),this.refresh(),e.confirmButtonLoading=!1,e.cancelButtonLoading=!1,e.showCancelButton=!0})},sysNoticeDetail(t){y({id:t}).then(e=>{this.noticeDetail=e.data,e.data.attachment&&(this.ruleFormData.fileid=e.data.attachment,this.infoDownLoad(e.data.attachment)),this.ruleFormData.notifyingPerson=e.data.receivergroups,this.allEmpty=this.ruleFormData.notifyingPerson.every(s=>s.receiveridlist.length===0)})},getMock(t){const e=[],s=[];f.sysUserSelector().then(i=>{this.confirmLoading=!1;for(let r=0;r<i.data.length;r++){const n=i.data[r],o={key:n.id.toString(),label:n.name,description:`description of ${n.name}`};if(t)for(let c=0;c<t.noticeuseridlist.length;c++)o.key===t.noticeuseridlist[c]&&e.push(t.noticeuseridlist[c]);s.push(o)}this.mockData=s,this.targetKeys=e})},handleChange(t){this.targetKeys=t},refresh(){this.$refs.table.refresh()},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()},handleFile(t){if(!!["image"].includes("file")&&!t){this.fileList=[];return}},uploadFile(t){new FormData().append("file",t.file),l.sysFileInfoUploadShop(t).then(s=>{if(s.code===200){const i=s.data.url,n=(this.ruleFormData&&this.ruleFormData.fileList?this.ruleFormData.fileList.split(","):[]).concat([i]);return this.ruleFormData.fileList=n.join(","),this.ruleFormData.name=s.data.fileoriginname.substring(0,s.data.fileoriginname.lastIndexOf(".")),this.ruleFormData.fileid=s.data.id.toString(),t.onSuccess(s.data),s.data}else this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25:")+s.message),t.onError()}).catch(s=>{t.onError(s)})},successFile(t,e,s){},removeFile(t,e){let s=[];e.forEach(i=>{i.response&&i.response.id?s.push(i.response.id):s.push(i.url)}),this.ruleFormData.fileList=s.join(","),this.ruleFormData.name="",this.ruleFormData.fileid=""},previewFile(t){let e="";t.response&&t.response.fileOriginName?(e=t.response.fileOriginName,t.response.url):(e=t.name,t.url);const s=e.substr(e.lastIndexOf(".")+1).toLowerCase();["gif","jpeg","png","jpg","JPG","PNG"].includes(s)?this.imgPreview(t.response.id):this.downFile(t)},imgPreview(t){l.sysFileInfoPreview({id:t}).then(e=>{const s=window.URL.createObjectURL(new Blob([e]));this.imgList=[s],this.currentImg=s,this.$refs.imgPreview.open()})},downFile(t){this.$refs.filePreview.open(Object.assign(t,{fileId:t.response&&t.response.fileoriginname?t.response.id:t.fileId}))},getBlobType(t){let e="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";return this.fileType==="pdf"?e="application/pdf":this.fileType==="docx"&&(e="application/msword"),e},infoDownLoad(t){return l.sysFileInfoDetail({id:t}).then(e=>{this.ruleFormData.fileList=e.data.url,this.ruleFormData.name=e.data.fileoriginname.substring(0,e.data.fileoriginname.lastIndexOf(".")),this.ruleFormData.fileid=e.data.id.toString(),this.fileListFile=[{name:e.data.fileoriginname,url:e.data.url,response:{id:e.data.id,url:e.data.url,fileoriginname:e.data.fileoriginname}}]})},getDictionary(t){return this.$options.filters.dictData(t)},changeMode(t){this.noticeType=t}}};var Te=function(){var e=this,s=e._self._c;return s("div",{staticClass:"gd-page-view"},[s("div",{staticClass:"page-view-list",staticStyle:{padding:"0px"}},[s("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,height:e.getHeight,filtering:!0},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"operator",fn:function(){return[s("div",{staticClass:"gd-table-operator"},[s("div",{staticClass:"gd-table-operatorl"},[s("el-input",{staticClass:"table-operator-input",attrs:{placeholder:e.$i18nt("gd.notice.title","\u6807\u9898"),clearable:""},nativeOn:{keyup:function(i){return!i.type.indexOf("key")&&e._k(i.keyCode,"enter",13,i.key,"Enter")?null:e.refresh.apply(null,arguments)}},model:{value:e.queryParam.SearchValue,callback:function(i){e.$set(e.queryParam,"SearchValue",i)},expression:"queryParam.SearchValue"}}),s("div",{staticClass:"table-operator-search",on:{click:e.refresh}},[s("i",{staticClass:"el-input__icon el-icon-search"})])],1),s("div",{staticClass:"gd-table-operatorr"},[s("gd-btn-list",{attrs:{sysViewButtons:e.tableButtons},on:{functionName:e.doEvent}})],1)])]},proxy:!0},{key:"title",fn:function({column:i,row:r}){return[s("gd-tooltip",{attrs:{rowKey:"title",row:r,highlight:""},on:{click:e.editForm}})]}},{key:"type",fn:function(i){return[s("el-tag",{style:e._f("dictColor")("notice_type",i.row.type),attrs:{effect:"dark"}},[e._v(" "+e._s(e._f("dictType")("notice_type",i.row.type))+" ")])]}},{key:"status",fn:function(i){return[s("el-tag",{style:e._f("dictColor")("notice_status",i.row.status),attrs:{effect:"dark"}},[e._v(" "+e._s(e._f("dictType")("notice_status",i.row.status))+" ")])]}},{key:"filtering",fn:function({colse:i,visible:r}){return[s("gd-table-queries-field",{attrs:{columns:e.tableQueries,height:e.getHeight,queryParam:e.queryParam,colse:i,visible:r},on:{save:e.saveQueries}})]}}])})],1),s("gd-edit-form",{ref:"editForm",attrs:{formItemWidth:"100%",transKey:e.transKey,columns:e.getFormColumns,labelPosition:e.labelPosition,formMode:e.formMode,buttons:e.getButtons,loading:e.formLoading},on:{sbumit:e.sbumit},scopedSlots:e._u([{key:"targetKeys",fn:function({data:i,column:r}){return[s("el-transfer",{attrs:{data:e.mockData,titles:["\u672A\u9009","\u5DF2\u9009"],filterable:""},on:{change:e.handleChange},model:{value:e.targetKeys,callback:function(n){e.targetKeys=n},expression:"targetKeys"}})]}},{key:"notifyingPerson",fn:function({data:i,column:r}){return[s("el-button",{attrs:{type:e.allEmpty?"danger":"primary"},on:{click:function(n){return e.noticePerson(i)}}},[s("i",{staticClass:"gd-icons el-icon-bell"}),e._v(" "+e._s(e.$i18nt("gd.notice.notice","\u901A\u77E5")))])]}},{key:"notice_type",fn:function({data:i,column:r}){return[s("el-radio-group",{on:{change:e.changeMode},model:{value:i.type,callback:function(n){e.$set(i,"type",n)},expression:"data.type"}},e._l(e.getDictionary("notice_type"),function(n,o){return s("el-radio",{key:n.code,attrs:{label:n.code}},[e._v(" "+e._s(e.$i18nt(`Dynamics.${n.transkey}`,n.name))+" ")])}),1)]}},{key:"fileList",fn:function({data:i,column:r}){return[s("el-upload",{attrs:{action:"","on-preview":e.previewFile,"on-remove":e.removeFile,multiple:"",limit:r.limit,accept:r.accept,"http-request":e.uploadFile,"file-list":e.fileListFile,"on-success":e.successFile}},[s("el-button",{attrs:{size:"mini",type:"primary"}},[s("i",{staticClass:"gd-icons gd-icon-shangchuan"}),e._v(" "+e._s(e.$i18nt("gd.btn.upload","\u4E0A\u4F20"))+" ")])],1)]}}])}),s("detailForm",{ref:"detailForm"}),s("editNoticeForm",{ref:"editNoticeFormRef",on:{ok:e.handleOk}}),s("gd-file-preview",{ref:"filePreview"}),s("gd-img-preview",{ref:"imgPreview",attrs:{filePreviewShow:e.imgList.length>0,imgList:e.imgList,currentImg:e.currentImg}})],1)},$e=[],Re=a.normalizeComponent(ve,Te,$e,!1,null,"7e1063f0",null,null);const u=Re.exports;u.install=function(t){t.component(u.name,u)};exports.GDpackage=u;exports.detailForm=b;exports.getOrgDetail=N;exports.getOrgPage=w;exports.getOrgTree=x;exports.saveOrgDetail=D;exports.sysAppsAdd=V;exports.sysAppsDelete=J;exports.sysAppsDetail=G;exports.sysAppsEdit=Q;exports.sysAppsPage=_;exports.sysMessageMarkAllAsRead=S;exports.sysMessageMarkAsRead=K;exports.sysMessageUserMessagesGrouped=C;exports.sysMonth=L;exports.sysOrgAdd=P;exports.sysOrgDelete=F;exports.sysOrgEdit=k;exports.sysPublishhistoryAdd=W;exports.sysPublishhistoryList=X;
|