gds-plus-design-vue 1.2.42 → 1.2.62

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 (79) hide show
  1. package/lib/{chartbi.5eded588.js → chartbi.114d32d7.js} +23 -23
  2. package/lib/{chartbi.c3bc6adb.mjs → chartbi.eb4dd0af.mjs} +3601 -3565
  3. package/lib/gd-initial.js +15 -15
  4. package/lib/gd-initial.mjs +2649 -2344
  5. package/lib/{main.77b653a0.js → main.083e0ba3.js} +1 -1
  6. package/lib/{main.e7207a58.js → main.4a858284.js} +1 -1
  7. package/lib/{main.f5fec475.mjs → main.5a6c881a.mjs} +3 -3
  8. package/lib/{main.b143863e.js → main.64cb2027.js} +1 -1
  9. package/lib/main.70a46cbc.js +1 -0
  10. package/lib/{main.81ceb1d2.mjs → main.7921130e.mjs} +16 -13
  11. package/lib/{main.6245dcb0.mjs → main.c569c0a5.mjs} +7 -7
  12. package/lib/{main.6d033946.mjs → main.fb4a8edf.mjs} +3 -3
  13. package/lib/{messages.e7af6cf3.js → messages.364eb728.js} +5 -5
  14. package/lib/{messages.78d0815c.mjs → messages.5bcc42f9.mjs} +76 -60
  15. package/lib/style.css +3 -3
  16. package/lib/{system.account.dc88aad7.js → system.account.95bd8508.js} +1 -1
  17. package/lib/{system.account.feca6fef.mjs → system.account.d6c7485b.mjs} +18 -18
  18. package/lib/{system.config.98005c65.mjs → system.config.00dd0a29.mjs} +2 -2
  19. package/lib/{system.config.76fc8a66.js → system.config.63c0217d.js} +1 -1
  20. package/lib/{system.datasource.83e34499.js → system.datasource.a2c0bad4.js} +1 -1
  21. package/lib/{system.datasource.a67e9bce.mjs → system.datasource.eb8d16df.mjs} +2 -2
  22. package/lib/{system.dict.97c057d5.mjs → system.dict.787ff1ec.mjs} +2 -2
  23. package/lib/{system.dict.931dcb56.js → system.dict.dfb4c376.js} +1 -1
  24. package/lib/{system.duplicatechecking.5bf3e3d9.mjs → system.duplicatechecking.a58aad69.mjs} +2 -2
  25. package/lib/{system.duplicatechecking.785d1b24.js → system.duplicatechecking.c4141ebd.js} +1 -1
  26. package/lib/{system.email.a938d704.mjs → system.email.545cedff.mjs} +2 -2
  27. package/lib/{system.email.06fb96a6.js → system.email.ec0ac728.js} +1 -1
  28. package/lib/{system.fieldsecurity.9f9f73df.mjs → system.fieldsecurity.9d40595f.mjs} +1 -1
  29. package/lib/{system.fieldsecurity.d11088e3.js → system.fieldsecurity.eb217079.js} +1 -1
  30. package/lib/{system.file.b7ce477b.js → system.file.1cb952a4.js} +1 -1
  31. package/lib/{system.file.6c4d3ece.mjs → system.file.eae6eac2.mjs} +2 -2
  32. package/lib/{system.log.278084ec.js → system.log.348b3605.js} +1 -1
  33. package/lib/{system.log.35ddd3bd.mjs → system.log.9bf208c1.mjs} +9 -2
  34. package/lib/{system.machine.52e8a4f3.mjs → system.machine.0130e762.mjs} +1 -1
  35. package/lib/{system.machine.6e46b7a3.js → system.machine.49fc6405.js} +1 -1
  36. package/lib/system.notice.d7a3346d.js +1 -0
  37. package/lib/{system.notice.ce4a4852.mjs → system.notice.dba4c597.mjs} +45 -53
  38. package/lib/{system.noticereceived.fc6da6a7.mjs → system.noticereceived.0b88ef5d.mjs} +3 -3
  39. package/lib/{system.noticereceived.a608b96b.js → system.noticereceived.c0b24616.js} +1 -1
  40. package/lib/{system.onlineuser.3e1639a3.js → system.onlineuser.b3c94b5b.js} +1 -1
  41. package/lib/{system.onlineuser.be4b1d75.mjs → system.onlineuser.bfc3abf2.mjs} +2 -2
  42. package/lib/{system.org.474be398.js → system.org.30063246.js} +1 -1
  43. package/lib/{system.org.32183035.mjs → system.org.6da23c73.mjs} +3 -3
  44. package/lib/{system.permissions.1f9c7d7d.js → system.permissions.1ff855c2.js} +1 -1
  45. package/lib/{system.permissions.28913e80.mjs → system.permissions.fdad3c36.mjs} +3 -3
  46. package/lib/{system.plugin.b60b97c7.js → system.plugin.2c7c8a5a.js} +1 -1
  47. package/lib/{system.plugin.27391ed5.mjs → system.plugin.f8765f96.mjs} +2 -2
  48. package/lib/{system.pos.decf8a63.js → system.pos.21294c28.js} +1 -1
  49. package/lib/{system.pos.2425d5ef.mjs → system.pos.5645b45a.mjs} +2 -2
  50. package/lib/{system.promptmanagement.09dcec13.js → system.promptmanagement.7e8da777.js} +1 -1
  51. package/lib/{system.promptmanagement.eaabf18d.mjs → system.promptmanagement.cd19d086.mjs} +4 -3
  52. package/lib/system.role.078fac85.js +1 -0
  53. package/lib/{system.role.1be25fd7.mjs → system.role.0c6c327d.mjs} +197 -145
  54. package/lib/{system.sumberrules.83d23274.js → system.sumberrules.b0252f77.js} +1 -1
  55. package/lib/{system.sumberrules.9d0efd00.mjs → system.sumberrules.b48c028c.mjs} +2 -2
  56. package/lib/{system.team.db590123.mjs → system.team.296512d7.mjs} +2 -2
  57. package/lib/{system.team.cbbde647.js → system.team.5d6169bc.js} +1 -1
  58. package/lib/{system.teammembers.9eb94832.js → system.teammembers.313345f7.js} +1 -1
  59. package/lib/{system.teammembers.fd2452e7.mjs → system.teammembers.e23e15d9.mjs} +3 -3
  60. package/lib/{system.timers.5ef2cfb4.mjs → system.timers.63d03fc9.mjs} +2 -2
  61. package/lib/{system.timers.0af8bf8f.js → system.timers.8246e6ba.js} +1 -1
  62. package/lib/{system.translation.2cb37689.mjs → system.translation.52452a24.mjs} +3 -3
  63. package/lib/{system.translation.7b560e17.js → system.translation.fdff4956.js} +1 -1
  64. package/lib/{system.user.f2bc316f.js → system.user.49457fd3.js} +1 -1
  65. package/lib/{system.user.c8ba3724.mjs → system.user.8d97a219.mjs} +5 -5
  66. package/lib/{system.useraffiliation.617acb38.js → system.useraffiliation.0e9da6a8.js} +1 -1
  67. package/lib/{system.useraffiliation.1e0edee4.mjs → system.useraffiliation.3075aa2c.mjs} +3 -3
  68. package/lib/{system.webresource.3fdc65fd.js → system.webresource.2a341e05.js} +1 -1
  69. package/lib/{system.webresource.88e48862.mjs → system.webresource.7df0cf1e.mjs} +3 -3
  70. package/lib/{system.welcome.aaac4a40.mjs → system.welcome.14785b50.mjs} +1 -1
  71. package/lib/{system.welcome.67d20fa4.js → system.welcome.c9eefa06.js} +1 -1
  72. package/locale/en_US.js +16 -3
  73. package/locale/id_ID.js +16 -3
  74. package/locale/vi_VN.js +50 -37
  75. package/locale/zh_CN.js +14 -2
  76. package/package.json +1 -1
  77. package/lib/main.5b42b006.js +0 -1
  78. package/lib/system.notice.30231ef5.js +0 -1
  79. package/lib/system.role.e98ed81e.js +0 -1
package/locale/en_US.js CHANGED
@@ -1218,7 +1218,8 @@ export default {
1218
1218
  xAxisLabelPosition: "X-axis position",
1219
1219
  xAxisOffset: "Offset value (current axis)",
1220
1220
  xAxisOffsetCaudex: "Offset value (main axis)",
1221
- topNconfig: "TOP N configuration"
1221
+ topNconfig: "TOP N configuration",
1222
+ numericalSummary: "Numerical Summary",
1222
1223
  },
1223
1224
  /*团队共享*/
1224
1225
  teamSharing: {
@@ -1833,6 +1834,7 @@ export default {
1833
1834
  title: "Work flow",
1834
1835
  name: "Name",
1835
1836
  table: "Table",
1837
+ selectProgram: "Table/Program",
1836
1838
  range: "Range",
1837
1839
  run: "Run",
1838
1840
  backgrounder: "Run this workflow in the background",
@@ -1840,13 +1842,20 @@ export default {
1840
1842
  afterCreation: "After record creation",
1841
1843
  afterChange: "After the record field is changed",
1842
1844
  afterDeletion: "After deleting records",
1845
+ beforeCreation: "创建记录前",
1846
+ beforeChange: "记录字段更改前",
1847
+ beforeDeletion: "删除记录前",
1843
1848
  selField: "Select Field",
1844
1849
  stepName: "Step Name",
1845
1850
  stepOperation: "Step Operation:",
1846
1851
  type: "Type",
1847
1852
  attribute: "Attribute",
1853
+ attributeMethod: "Attribute/Method",
1854
+ setRule: "Set Rule",
1848
1855
  createRecords: "Create Records",
1849
1856
  updateRecords: "Update Records",
1857
+ shareRecords: "共享记录",
1858
+ callMethod: "调用方法",
1850
1859
  stageName: "Stage name",
1851
1860
  discontentExecute: "Execute when not satisfied",
1852
1861
  supplementConditionsRules: "Please supplement the conditions/rules!",
@@ -1864,7 +1873,8 @@ export default {
1864
1873
  tableFieldsTwo: "Table field 2",
1865
1874
  tableFieldsTwoTip: "Please select table field 2",
1866
1875
  entityTable: "Entity table",
1867
- addField: "Add field"
1876
+ addField: "Add field",
1877
+ ruleConfiguration: "Rule Configuration",
1868
1878
  },
1869
1879
  /*审批流*/
1870
1880
  approval: {
@@ -2185,6 +2195,7 @@ export default {
2185
2195
  menuTree: {
2186
2196
  ppleaseSelectANewType: "Please select the new type",
2187
2197
  blankPage: "Blank page",
2198
+ blankDirectory: "Blank directory",
2188
2199
  systemPage: "System page",
2189
2200
  currentSuperior: "Current superior",
2190
2201
  newBoss: "New superior",
@@ -2564,9 +2575,11 @@ export default {
2564
2575
  clickDescription: "When clicking on the prompt description",
2565
2576
  topBorderLine: "Top border line",
2566
2577
  rightArrow: "Right arrow",
2567
- defaultExpansion: "默认展开",
2578
+ defaultExpansion: "Default Expand",
2568
2579
  week: 'W',
2569
2580
  month: 'M',
2581
+ defaultHide: "Default Hide",
2582
+ initialState: "Initial state"
2570
2583
  },
2571
2584
  /*集群列表 */
2572
2585
  colony: {
package/locale/id_ID.js CHANGED
@@ -1217,7 +1217,8 @@ export default {
1217
1217
  xAxisLabelPosition: "Posisi sumbu X",
1218
1218
  xAxisOffset: "Nilai offset (sumbu saat ini)",
1219
1219
  xAxisOffsetCaudex: "Nilai offset (sumbu utama)",
1220
- topNconfig: "Konfigurasi TOP N"
1220
+ topNconfig: "Konfigurasi TOP N",
1221
+ numericalSummary: "Ringkasan Numerik",
1221
1222
  },
1222
1223
  /*团队共享*/
1223
1224
  teamSharing: {
@@ -1832,6 +1833,7 @@ export default {
1832
1833
  title: "Aliran kerja",
1833
1834
  name: "nama",
1834
1835
  table: "permukaan",
1836
+ selectProgram: "表/程序集",
1835
1837
  range: "Jarak",
1836
1838
  run: "fungsi",
1837
1839
  backgrounder: "Jalankan aliran kerja ini di latar belakang",
@@ -1839,13 +1841,20 @@ export default {
1839
1841
  afterCreation: "Setelah membuat rekaman",
1840
1842
  afterChange: "Setelah mengubah medan rekaman",
1841
1843
  afterDeletion: "Setelah menghapus catatan",
1844
+ beforeCreation: "创建记录前",
1845
+ beforeChange: "记录字段更改前",
1846
+ beforeDeletion: "删除记录前",
1842
1847
  selField: "Pilih Medan",
1843
1848
  stepName: "Nama Langkah",
1844
1849
  stepOperation: "Operasi langkah:",
1845
1850
  type: "Jenis operasi",
1846
1851
  attribute: "menetapkan properti",
1852
+ attributeMethod: "设置属性/方法",
1853
+ setRule: "设置规则",
1847
1854
  createRecords: "Buat rekaman",
1848
1855
  updateRecords: "Kemaskini catatan",
1856
+ shareRecords: "共享记录",
1857
+ callMethod: "调用方法",
1849
1858
  stageName: "Nama Tahap",
1850
1859
  discontentExecute: "Lakukan ketika tidak puas",
1851
1860
  supplementConditionsRules: "Silakan menyediakan kondisi/peraturan tambahan!",
@@ -1863,7 +1872,8 @@ export default {
1863
1872
  tableFieldsTwo: "Jadual Jadual 2",
1864
1873
  tableFieldsTwoTip: "Silakan pilih Jadual 2",
1865
1874
  entityTable: "Tabel Entitas",
1866
- addField: "Tambah Medan"
1875
+ addField: "Tambah Medan",
1876
+ ruleConfiguration: "规则配置",
1867
1877
  },
1868
1878
  /*审批流*/
1869
1879
  approval: {
@@ -2186,6 +2196,7 @@ export default {
2186
2196
  menuTree: {
2187
2197
  ppleaseSelectANewType: "请选择新建类型",
2188
2198
  blankPage: "空白页面",
2199
+ blankDirectory: "空白目录",
2189
2200
  systemPage: "系统页面",
2190
2201
  currentSuperior: "当前上级",
2191
2202
  newBoss: "新上级",
@@ -2565,9 +2576,11 @@ export default {
2565
2576
  clickDescription: "Saat mengklik pada deskripsi cepat",
2566
2577
  topBorderLine: "Garis perbatasan atas",
2567
2578
  rightArrow: "Panah kanan",
2568
- defaultExpansion: "默认展开",
2579
+ defaultExpansion: "Perluas Default",
2569
2580
  week: 'W',
2570
2581
  month: 'M',
2582
+ defaultHide: "Sembunyikan Default",
2583
+ initialState: "Negara awal"
2571
2584
  },
2572
2585
  /*集群列表 */
2573
2586
  colony: {
package/locale/vi_VN.js CHANGED
@@ -1217,7 +1217,8 @@ export default {
1217
1217
  xAxisLabelPosition: "Posisi sumbu X",
1218
1218
  xAxisOffset: "Nilai offset (sumbu saat ini)",
1219
1219
  xAxisOffsetCaudex: "Nilai offset (sumbu utama)",
1220
- topNconfig: "Konfigurasi TOP N"
1220
+ topNconfig: "Konfigurasi TOP N",
1221
+ numericalSummary: "Tổng hợp số",
1221
1222
  },
1222
1223
  /*团队共享*/
1223
1224
  teamSharing: {
@@ -1829,41 +1830,50 @@ export default {
1829
1830
  },
1830
1831
  /*工作流*/
1831
1832
  work: {
1832
- title: "Aliran kerja",
1833
- name: "nama",
1834
- table: "permukaan",
1835
- range: "Jarak",
1836
- run: "fungsi",
1837
- backgrounder: "Jalankan aliran kerja ini di latar belakang",
1838
- startTime: "Waktu awal",
1839
- afterCreation: "Setelah membuat rekaman",
1840
- afterChange: "Setelah mengubah medan rekaman",
1841
- afterDeletion: "Setelah menghapus catatan",
1842
- selField: "Pilih Medan",
1843
- stepName: "Nama Langkah",
1844
- stepOperation: "Operasi langkah:",
1845
- type: "Jenis operasi",
1846
- attribute: "menetapkan properti",
1847
- createRecords: "Buat rekaman",
1848
- updateRecords: "Kemaskini catatan",
1849
- stageName: "Nama Tahap",
1850
- discontentExecute: "Lakukan ketika tidak puas",
1851
- supplementConditionsRules: "Silakan menyediakan kondisi/peraturan tambahan!",
1852
- conditionsRules: "Kondisi/Peraturan",
1853
- addConditionsRules: "Tambah kondisi/aturan",
1854
- conditionsRulesTip: "Silakan tambah kondisi/aturan!",
1855
- addedConditionsRules: "Kondisi/aturan ditambah!",
1856
- value: "nilai",
1857
- update: "untuk memperbarui",
1858
- create: "menetapkan",
1859
- fieldConfiguration: "Konfigurasi medan",
1860
- selectedFields: "Daerah yang dipilih",
1861
- tableFieldsTip: "Silakan pilih medan tabel",
1862
- tableFields: "Medan Tabel",
1863
- tableFieldsTwo: "Jadual Jadual 2",
1864
- tableFieldsTwoTip: "Silakan pilih Jadual 2",
1865
- entityTable: "Tabel Entitas",
1866
- addField: "Tambah Medan"
1833
+ title: "quy trình làm việc",
1834
+ name: "Tên",
1835
+ table: "bảng",
1836
+ selectProgram: "表/程序集",
1837
+ range: "phạm vi",
1838
+ run: "Chạy",
1839
+ backgrounder: "Chạy dòng công việc này trong nền",
1840
+ startTime: "Thời gian khởi động",
1841
+ afterCreation: "Sau khi tạo bản ghi",
1842
+ afterChange: "Sau khi thay đổi trường bản ghi",
1843
+ afterDeletion: "Sau khi xóa bản ghi",
1844
+ beforeCreation: "创建记录前",
1845
+ beforeChange: "记录字段更改前",
1846
+ beforeDeletion: "删除记录前",
1847
+ selField: "Chọn trường",
1848
+ stepName: "Tên bước",
1849
+ stepOperation: "Bước hành động:",
1850
+ type: "Loại hoạt động",
1851
+ attribute: "thiết lập thuộc tính",
1852
+ attributeMethod: "设置属性/方法",
1853
+ setRule: "设置规则",
1854
+ createRecords: "Tạo một bản ghi",
1855
+ updateRecords: "Cập nhật hồ sơ",
1856
+ shareRecords: "共享记录",
1857
+ callMethod: "调用方法",
1858
+ stageName: "Tên giai đoạn",
1859
+ discontentExecute: "Thực hiện khi không thỏa mãn",
1860
+ supplementConditionsRules: "Vui lòng thêm điều kiện/quy tắc!",
1861
+ conditionsRules: "Điều kiện/Quy tắc",
1862
+ addConditionsRules: "Thêm điều kiện/quy tắc",
1863
+ conditionsRulesTip: "Vui lòng thêm điều kiện/quy tắc!",
1864
+ addedConditionsRules: "Các điều kiện/quy tắc đã được thêm vào!",
1865
+ value: "giá trị",
1866
+ update: "Cập nhật",
1867
+ create: "tạo ra",
1868
+ fieldConfiguration: "Cấu hình trường",
1869
+ selectedFields: "Trường đã chọn",
1870
+ tableFieldsTip: "Vui lòng chọn trường bảng",
1871
+ tableFields: "trường bảng",
1872
+ tableFieldsTwo: "Bảng trường 2",
1873
+ tableFieldsTwoTip: "Vui lòng chọn trường bảng 2",
1874
+ entityTable: "bảng thực thể",
1875
+ addField: "Thêm trường",
1876
+ ruleConfiguration: "规则配置",
1867
1877
  },
1868
1878
  /*审批流*/
1869
1879
  approval: {
@@ -2186,6 +2196,7 @@ export default {
2186
2196
  menuTree: {
2187
2197
  ppleaseSelectANewType: "请选择新建类型",
2188
2198
  blankPage: "空白页面",
2199
+ blankDirectory: "空白目录",
2189
2200
  systemPage: "系统页面",
2190
2201
  currentSuperior: "当前上级",
2191
2202
  newBoss: "新上级",
@@ -2565,9 +2576,11 @@ export default {
2565
2576
  clickDescription: "Saat mengklik pada deskripsi cepat",
2566
2577
  topBorderLine: "Garis perbatasan atas",
2567
2578
  rightArrow: "Panah kanan",
2568
- defaultExpansion: "默认展开",
2579
+ defaultExpansion: "Mở rộng mặc định",
2569
2580
  week: 'W',
2570
2581
  month: 'M',
2582
+ defaultHide: "ẩn mặc định",
2583
+ initialState: "Trạng thái ban đầu"
2571
2584
  },
2572
2585
  /*集群列表 */
2573
2586
  colony: {
package/locale/zh_CN.js CHANGED
@@ -1218,7 +1218,8 @@ export default {
1218
1218
  xAxisLabelPosition: "X轴线位置",
1219
1219
  xAxisOffset: "偏移值(当前轴)",
1220
1220
  xAxisOffsetCaudex: "偏移值(主轴)",
1221
- topNconfig: "TOP N 配置"
1221
+ topNconfig: "TOP N 配置",
1222
+ numericalSummary: "数值汇总",
1222
1223
  },
1223
1224
  /*团队共享*/
1224
1225
  teamSharing: {
@@ -1833,6 +1834,7 @@ export default {
1833
1834
  title: "工作流",
1834
1835
  name: "名称",
1835
1836
  table: "表",
1837
+ selectProgram: "表/程序集",
1836
1838
  range: "范围",
1837
1839
  run: "运行",
1838
1840
  backgrounder: "在后台运行此工作流",
@@ -1840,14 +1842,20 @@ export default {
1840
1842
  afterCreation: "创建记录后",
1841
1843
  afterChange: "记录字段更改后",
1842
1844
  afterDeletion: "删除记录后",
1845
+ beforeCreation: "创建记录前",
1846
+ beforeChange: "记录字段更改前",
1847
+ beforeDeletion: "删除记录前",
1843
1848
  selField: "选择字段",
1844
1849
  stepName: "步骤名称",
1845
1850
  stepOperation: "步骤操作:",
1846
1851
  type: "操作类型",
1847
1852
  attribute: "设置属性",
1853
+ attributeMethod: "设置属性/方法",
1854
+ setRule: "设置规则",
1848
1855
  createRecords: "创建记录",
1849
1856
  updateRecords: "更新记录",
1850
1857
  shareRecords: "共享记录",
1858
+ callMethod: "调用方法",
1851
1859
  stageName: "阶段名称",
1852
1860
  discontentExecute: "不满足时执行",
1853
1861
  supplementConditionsRules: "请补充条件/规则!",
@@ -1865,7 +1873,8 @@ export default {
1865
1873
  tableFieldsTwo: "表字段2",
1866
1874
  tableFieldsTwoTip: "请选择表字段2",
1867
1875
  entityTable: "实体表",
1868
- addField: "添加字段"
1876
+ addField: "添加字段",
1877
+ ruleConfiguration: "规则配置",
1869
1878
  },
1870
1879
  /*审批流*/
1871
1880
  approval: {
@@ -2188,6 +2197,7 @@ export default {
2188
2197
  menuTree: {
2189
2198
  ppleaseSelectANewType: "请选择新建类型",
2190
2199
  blankPage: "空白页面",
2200
+ blankDirectory: "空白目录",
2191
2201
  systemPage: "系统页面",
2192
2202
  currentSuperior: "当前上级",
2193
2203
  newBoss: "新上级",
@@ -2570,6 +2580,8 @@ export default {
2570
2580
  defaultExpansion: "默认展开",
2571
2581
  week: '周',
2572
2582
  month: '月',
2583
+ defaultHide: "默认隐藏",
2584
+ initialState: "初始化状态"
2573
2585
  },
2574
2586
  /*集群列表 */
2575
2587
  colony: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gds-plus-design-vue",
3
- "version": "1.2.42",
3
+ "version": "1.2.62",
4
4
  "description": "高得CRM-PLUS框架Vue组件",
5
5
  "files": [
6
6
  "lib",
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./system.account.dc88aad7.js"),l=require("./chartbi.5eded588.js");require("vue");require("./messages.e7af6cf3.js");const d={name:"GdOauthAuthorize",data(){return{authorizeType:"loading",query:{},clientId:"",message:"",confirmLoading:!0}},methods:{init(){const s=this.$route.query,e=s.client_id?s.client_id:"",i=s.response_type?s.response_type:"code";if(this.clientId=e,this.responseType=i,this.query=this.$route.query,e)this.getCode();else{const a=this.$i18nt("gd.login.missingParameters","\u7F3A\u5931\u53C2\u6570:")+" client_id";this.$message.error(a),this.message=a,this.authorizeType="fail",this.confirmLoading=!1}},getCode(){c.oauthAuthorize({client_id:this.clientId,response_type:this.responseType}).then(s=>{if(s.code!==200){this.authorizeType="fail",this.$message.error(s.message),this.message=s.message,this.confirmLoading=!1;return}const e=this.query.redirect_uri?this.query.redirect_uri:"";if(e===""){const t=this.$i18nt("gd.login.missingParameters","\u7F3A\u5931\u53C2\u6570:")+" redirect_uri";this.$message.error(t),this.message=t,this.authorizeType="fail",this.confirmLoading=!1}const i=decodeURIComponent(e),a=i.indexOf("?")===-1?i:i.slice(0,i.indexOf("?")),n=i.indexOf("?")===-1?[]:i.slice(i.indexOf("?")+1).split("&").map(t=>t.split("=")).map(([t,o])=>({key:t,value:o})).concat([{key:"code",value:s.data.code}]);let r="";for(let t=0;t<n.length;t++)r+=`${t===0?"?":"&"}${n[t].key}=${n[t].value}`;window.location.replace(`${a}${r}`)})}},created(){this.init()}};var u=function(){var e=this,i=e._self._c;return i("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}],staticClass:"gd-oauth"},[i("div",{staticClass:"oauth-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"))+" ")])])])},h=[],g=l.normalizeComponent(d,u,h,!1,null,"858ec59b",null,null);const m=g.exports;exports.default=m;
@@ -1 +0,0 @@
1
- "use strict";const o=require("./chartbi.5eded588.js"),y=require("./system.account.dc88aad7.js"),l=require("./messages.e7af6cf3.js"),w=require("./system.fieldsecurity.d11088e3.js");require("./system.email.06fb96a6.js");function f(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 p(t){return window.axios({url:"/sysNotice/detail",method:"get",params:t})}function m(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,e){return window.axios({url:e||"/sysEvents/month",method:"get",params:t})}const x={name:"GdNoticeDetails",props:{modeType:{type:String,default:"dialog"}},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;`},...o.mapGetters(["tablePageSize","tableSize","screenHeight","labelPosition","formMode"])},methods:{open(t){this.fullscreen=!1,this.visible=!0,this.confirmLoading=!0,this.sysNoticeDetail(t.id)},sysNoticeDetail(t){this.fullscreen=!1,p({id:t}).then(e=>{e.code===200?(this.contentRecord=e.data,this.$emit("onLoadCompleted"),e.data.attachment&&this.$nextTick(()=>{setTimeout(()=>{let s={name:`${e.data.title}.${this.type}`,fileId:e.data.attachment,fullscreen:!1};this.$refs.filePreview.open(s)},0)})):this.$message.error(e.message),this.confirmLoading=!1})},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 P=function(){var e=this,s=e._self._c;return s("div",[e.modeType==="dialog"?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",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}],class:e.fullscreen?"modal-bodyq":"modal-body"},[s("div",{staticStyle:{"text-align":"center","font-size":"28px"}},[e._v(e._s(this.contentRecord.title))]),s("div",{staticStyle:{"text-align":"right","font-size":"12px",color:":#999"}},[s("span",[e._v(e._s(e.$i18nt("gd.notice.publisher","\u53D1\u5E03\u4EBA"))+": "+e._s(this.contentRecord.publicusername))]),s("span",{staticStyle:{"padding-left":"12px"}},[e._v(" "+e._s(this.contentRecord.publictime?this.contentRecord.publictime:"--")+" ")])]),s("el-divider"),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):s("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}],staticStyle:{"min-height":"30vh"}},[s("div",{staticStyle:{"text-align":"center","font-size":"28px"}},[e._v(e._s(this.contentRecord.title))]),s("div",{staticStyle:{"text-align":"right","font-size":"12px",color:":#999"}},[s("span",[e._v(e._s(e.$i18nt("gd.notice.publisher","\u53D1\u5E03\u4EBA"))+": "+e._s(this.contentRecord.publicusername))]),s("span",{staticStyle:{"padding-left":"12px"}},[e._v(" "+e._s(this.contentRecord.publictime?this.contentRecord.publictime:"--")+" ")])]),s("el-divider"),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)},k=[],N=o.normalizeComponent(x,P,k,!1,null,"5cb794ba",null,null);const u=N.exports;function F(t){return window.axios({url:"/sysOrg/tree",method:"get",params:t})}function b(t){return window.axios({url:"/sysOrg/page",method:"get",params:t})}function D(t){return window.axios({url:"/sysOrg/add",method:"post",data:t})}function O(t){return window.axios({url:"/sysOrg/edit",method:"post",data:t})}function B(t){return window.axios({url:"/sysOrg/delete",method:"post",data:t})}function z(t){return window.axios({url:"/SysRoleDataControl/detail",method:"get",params:t})}function A(t){return window.axios({url:"/SysRoleDataControl/save",method:"post",data:t})}const H={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.notice.title",prop:"title",label:"\u6807\u9898",width:"260",type:"slot",slotType:"title",align:"left",fixed:!0},{transKey:"gd.notice.type",prop:"type",width:"120",label:"\u7C7B\u578B",align:"left",type:"slot",slotType:"type"},{transKey:"gd.notice.status",prop:"status",width:"120",label:"\u72B6\u6001",align:"left",type:"slot",slotType:"status"},{transKey:"gd.notice.createdTime",prop:"createdtime",width:"180",label:"\u521B\u5EFA\u65F6\u95F4",align:"center"},{transKey:"gd.notice.publicTime",prop:"publictime",width:"180",label:"\u53D1\u5E03\u65F6\u95F4",align:"center"},{transKey:"gd.notice.publicUserName",prop:"publicusername",width:"200",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:[]}]}}},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 E={props:{height:{type:Number,default:0},selectOrgRow:{type:Array,default:()=>[]}},mixins:[l.tablesFilter,M],data(){return{selectedRows:[],selectedRowKeys:[],queryParam:{},loadData:t=>b(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.screenHeight-500},styled(){return this.$hasPerm("sysFlowProcess:edit")?`color:${this.primaryColor};cursor: pointer;`:""},...o.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 q=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:n}){return[s("gd-tooltip",{attrs:{rowKey:"name",row:n,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:n}){return[s("gd-tooltip",{attrs:{rowKey:"remark",row:n}})]}}])})],1)])},I=[],j=o.normalizeComponent(E,q,I,!1,null,"b1509975",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=>w.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.screenHeight-500},styled(){return this.$hasPerm("sysFlowProcess:edit")?`color:${this.primaryColor};cursor: pointer;`:""},...o.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:n}){return[s("gd-tooltip",{attrs:{rowKey:"name",row:n,highlight:""}})]}}])})],1)])},te=[],se=o.normalizeComponent(Z,ee,te,!1,null,"4f37cfa6",null,null);const ie=se.exports,ne={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 re={props:{height:{type:Number,default:0},selectTeamRow:{type:Array,default:()=>[]}},mixins:[l.tablesFilter,ne],data(){return{selectedRows:[],selectedRowKeys:[],queryParam:{},loadData:t=>w.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.screenHeight-500},styled(){return this.$hasPerm("sysFlowProcess:edit")?`color:${this.primaryColor};cursor: pointer;`:""},...o.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 ae=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:n}){return[s("span",[e._v(" "+e._s(n.name)+" ")])]}},{key:"teamType",fn:function({column:i,row:n}){return[s("span",[e._v(" "+e._s(e._f("dictType")("TeamType",n.teamtype))+" ")])]}},{key:"description",fn:function({column:i,row:n}){return[e._v(" "+e._s(n.description)+" ")]}}])})],1)])},oe=[],le=o.normalizeComponent(re,ae,oe,!1,null,"1c4840a6",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 y.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.screenHeight-500},styled(){return this.$hasPerm("sysFlowProcess:edit")?`color:${this.primaryColor};cursor: pointer;`:""},...o.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:n}){return[s("gd-tooltip",{attrs:{rowKey:"account",row:n,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=o.normalizeComponent(ue,he,pe,!1,null,"b79cacd5",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"))},...o.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(n=>{n.receivertype=="1"&&(this.userRowList=n.receiveridlist),n.receivertype=="2"&&(this.roleRowList=n.receiveridlist),n.receivertype=="3"&&(this.teamRowList=n.receiveridlist),n.receivertype=="4"&&(this.orgRowList=n.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=o.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,H],data(){return{transKey:"gd.btn.add",loadData:t=>f(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:"",fileAccept:["application/pdf"]}},components:{detailForm:u,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"))},...o.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(a=>a.status==0),n=e.filter(a=>a.status==1),r=e.filter(a=>a.status==2);i.length==e.length?s=["\u64A4\u56DE"]:n.length==e.length?s=["\u5220\u9664","\u53D1\u5E03","\u7F16\u8F91"]:r.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=Array.isArray(t)?t.every(e=>!e.receiverIdList||e.receiverIdList.length===0):!0},sbumit({data:t,record:e,btn:s},i,n){if(this.status=s.item.functionName=="releaseTip"?1:0,e!=null){let r={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,r)).then(a=>{a.success?(this.status==1&&n(),this.$message.success(this.$i18nt("gd.https.editSucc","\u7F16\u8F91\u6210\u529F"))):this.$message.error(this.$i18nt("gd.https.editFail","\u7F16\u8F91\u5931\u8D25")+a.message),this.formLoading=!1,this.refresh()})}else{let r={content:t.content,status:this.status,title:t.title,type:t.type,receiverGroups:this.ruleFormData.notifyingPerson,attachment:this.ruleFormData.fileid};this.formLoading=!0,v(r).then(a=>{a.success?(this.refresh(),this.status==1?(this.formLoading=!1,n()):setTimeout(()=>{this.$nextTick(()=>{f({pageNo:1,pageSize:50}).then(c=>{this.allData=c.data.rows;const d=this.allData.filter(g=>g.title==t.title&&g.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")+a.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(n=>{let r=m({id:n.id,status:2}).then(a=>a);i.push(r)}),e.confirmButtonLoading=!0,e.cancelButtonLoading=!0,e.showCancelButton=!1,Promise.all(i).then(n=>{e.confirmButtonLoading=!1,e.cancelButtonLoading=!1,e.showCancelButton=!0,s();const r=n.filter(a=>!a.success);r.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")+r[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(n=>{let r=m({id:n.id,status:1}).then(a=>a);i.push(r)}),e.confirmButtonLoading=!0,e.cancelButtonLoading=!0,e.showCancelButton=!1,Promise.all(i).then(n=>{e.confirmButtonLoading=!1,e.cancelButtonLoading=!1,e.showCancelButton=!0,s();const r=n.filter(a=>!a.success);r.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")+r[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(n=>{let r=$(n).then(a=>a);i.push(r)}),e.confirmButtonLoading=!0,e.cancelButtonLoading=!0,e.showCancelButton=!1,Promise.all(i).then(n=>{s();const r=n.filter(a=>!a.success);r.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")+r[0].message),this.refresh(),e.confirmButtonLoading=!1,e.cancelButtonLoading=!1,e.showCancelButton=!0})},sysNoticeDetail(t){p({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=Array.isArray(this.ruleFormData.notifyingPerson)?this.ruleFormData.notifyingPerson.every(s=>!s.receiverIdList||s.receiverIdList.length===0):!0,this.noticeType=e.data.type})},getMock(t){const e=[],s=[];y.sysUserSelector().then(i=>{this.confirmLoading=!1;for(let n=0;n<i.data.length;n++){const r=i.data[n],a={key:r.id.toString(),label:r.name,description:`description of ${r.name}`};if(t)for(let c=0;c<t.noticeuseridlist.length;c++)a.key===t.noticeuseridlist[c]&&e.push(t.noticeuseridlist[c]);s.push(a)}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){if(!this.fileAccept.includes(t.file.type)){this.$message.error(this.$i18nt("gd.view.fileAcceptTip","\u6587\u4EF6\u7C7B\u578B\u4E0D\u652F\u6301\uFF01")),t.onError();return}new FormData().append("file",t.file),l.sysFileInfoUploadShop(t).then(i=>{if(i.code===200){const n=i.data.url,a=(this.ruleFormData&&this.ruleFormData.fileList?this.ruleFormData.fileList.split(","):[]).concat([n]);return this.ruleFormData.fileList=a.join(","),this.ruleFormData.name=i.data.fileoriginname.substring(0,i.data.fileoriginname.lastIndexOf(".")),this.ruleFormData.fileid=i.data.id.toString(),t.onSuccess(i.data),i.data}else this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25:")+i.message),t.onError()}).catch(i=>{t.onError(i)})},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:n}){return[s("gd-tooltip",{attrs:{rowKey:"title",row:n,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:n}){return[s("gd-table-queries-field",{attrs:{columns:e.tableQueries,height:e.getHeight,queryParam:e.queryParam,colse:i,visible:n},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:n}){return[s("el-transfer",{attrs:{data:e.mockData,titles:["\u672A\u9009","\u5DF2\u9009"],filterable:""},on:{change:e.handleChange},model:{value:e.targetKeys,callback:function(r){e.targetKeys=r},expression:"targetKeys"}})]}},{key:"notifyingPerson",fn:function({data:i,column:n}){return[s("el-button",{attrs:{type:e.allEmpty?"danger":"primary"},on:{click:function(r){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:n}){return[s("el-radio-group",{on:{change:e.changeMode},model:{value:i.type,callback:function(r){e.$set(i,"type",r)},expression:"data.type"}},e._l(e.getDictionary("notice_type"),function(r,a){return s("el-radio",{key:r.code,attrs:{label:r.code}},[e._v(" "+e._s(e.$i18nt(`Dynamics.${r.transkey}`,r.name))+" ")])}),1)]}},{key:"fileList",fn:function({data:i,column:n}){return[s("el-upload",{attrs:{action:"","on-preview":e.previewFile,"on-remove":e.removeFile,multiple:"",limit:n.limit,accept:n.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=o.normalizeComponent(ve,Te,$e,!1,null,"7a480ef7",null,null);const h=Re.exports;h.install=function(t){t.component(h.name,h)};u.install=function(t){t.component(u.name,u)};exports.GDpackage=h;exports.detailForm=u;exports.getOrgDetail=z;exports.getOrgPage=b;exports.getOrgTree=F;exports.saveOrgDetail=A;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.sysNoticeDetail=p;exports.sysOrgAdd=D;exports.sysOrgDelete=B;exports.sysOrgEdit=O;exports.sysPublishhistoryAdd=W;exports.sysPublishhistoryList=X;