gds-plus-design-vue 1.2.3 → 1.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/lib/{chartbi.06e48153.js → chartbi.b5b6fdab.js} +20 -20
  2. package/lib/{chartbi.cdd1e365.mjs → chartbi.b6818e8e.mjs} +20 -11
  3. package/lib/gd-initial.js +16 -16
  4. package/lib/gd-initial.mjs +7609 -3948
  5. package/lib/main.4e325110.mjs +123 -0
  6. package/lib/main.6713b76c.js +1 -0
  7. package/lib/{main.eb4b260e.mjs → main.955f770e.mjs} +16 -13
  8. package/lib/main.a28f67df.js +1 -0
  9. package/lib/main.b4a303dc.js +1 -0
  10. package/lib/{main.a30b25d6.mjs → main.be62e9a4.mjs} +15 -37
  11. package/lib/main.c59fc1e8.mjs +198 -0
  12. package/lib/main.f3ae0933.js +1 -0
  13. package/lib/messages.1346558e.js +9 -0
  14. package/lib/{messages.a1335b0f.mjs → messages.7e418640.mjs} +1117 -1087
  15. package/lib/style.css +3 -3
  16. package/lib/{system.account.20f9e450.mjs → system.account.64fbdaeb.mjs} +18 -18
  17. package/lib/{system.account.1ff630c9.js → system.account.7c43a95e.js} +1 -1
  18. package/lib/system.config.93d6cb7d.js +1 -0
  19. package/lib/{system.config.c85c05e9.mjs → system.config.f0d2d130.mjs} +7 -2
  20. package/lib/{system.datasource.272f1add.js → system.datasource.4bb39222.js} +1 -1
  21. package/lib/{system.datasource.f64a59de.mjs → system.datasource.61ff56ec.mjs} +3 -3
  22. package/lib/{system.dict.a23e8cdf.js → system.dict.5a2e60fe.js} +1 -1
  23. package/lib/{system.dict.565d69ca.mjs → system.dict.a817cf68.mjs} +2 -2
  24. package/lib/{system.duplicatechecking.f66790d1.js → system.duplicatechecking.65b77e64.js} +1 -1
  25. package/lib/{system.duplicatechecking.268544dd.mjs → system.duplicatechecking.751664ba.mjs} +15 -11
  26. package/lib/{system.email.ada25702.mjs → system.email.2f53252e.mjs} +2 -2
  27. package/lib/{system.email.00a93855.js → system.email.fec5ae26.js} +1 -1
  28. package/lib/{system.fieldsecurity.d14384cc.mjs → system.fieldsecurity.6feb94c3.mjs} +1 -1
  29. package/lib/{system.fieldsecurity.ede73621.js → system.fieldsecurity.920adca4.js} +1 -1
  30. package/lib/{system.file.a23b3c83.mjs → system.file.1930d109.mjs} +11 -6
  31. package/lib/system.file.5a9a5e0e.js +1 -0
  32. package/lib/{system.log.8a9f4a4d.mjs → system.log.61d303bd.mjs} +64 -81
  33. package/lib/system.log.b309c0e0.js +1 -0
  34. package/lib/{system.machine.7fa3e3d1.js → system.machine.9368e508.js} +1 -1
  35. package/lib/{system.machine.fc392d7f.mjs → system.machine.ed69ec93.mjs} +1 -1
  36. package/lib/{system.notice.6d0aa32c.mjs → system.notice.bd18554e.mjs} +248 -229
  37. package/lib/system.notice.ff62c06a.js +1 -0
  38. package/lib/{system.noticereceived.70963f1b.mjs → system.noticereceived.4dc360c0.mjs} +31 -28
  39. package/lib/system.noticereceived.9550818b.js +1 -0
  40. package/lib/{system.onlineuser.c58fb6ce.mjs → system.onlineuser.08a15a71.mjs} +22 -15
  41. package/lib/system.onlineuser.6cf4fe24.js +1 -0
  42. package/lib/{system.org.56151be8.js → system.org.0c67131d.js} +1 -1
  43. package/lib/{system.org.638db6d1.mjs → system.org.6e858bf3.mjs} +3 -3
  44. package/lib/{system.permissions.fcd56f67.js → system.permissions.af548a3b.js} +1 -1
  45. package/lib/{system.permissions.aa0cc0d6.mjs → system.permissions.cc5ac7ac.mjs} +3 -3
  46. package/lib/{system.plugin.b17efa53.js → system.plugin.83d03fb2.js} +1 -1
  47. package/lib/{system.plugin.beb44900.mjs → system.plugin.a1f1c194.mjs} +2 -2
  48. package/lib/{system.pos.e8d9c488.js → system.pos.eae2051e.js} +1 -1
  49. package/lib/{system.pos.699e8dd6.mjs → system.pos.eb8fd7dd.mjs} +2 -2
  50. package/lib/{system.promptmanagement.109a07f5.js → system.promptmanagement.04501417.js} +1 -1
  51. package/lib/{system.promptmanagement.2ce3e426.mjs → system.promptmanagement.c84db7d5.mjs} +7 -7
  52. package/lib/{system.role.230b1445.mjs → system.role.d2195303.mjs} +256 -241
  53. package/lib/system.role.e623c50b.js +1 -0
  54. package/lib/{system.sumberrules.fa1aab86.mjs → system.sumberrules.141dc00b.mjs} +2 -2
  55. package/lib/{system.sumberrules.38017ad1.js → system.sumberrules.a01e1805.js} +1 -1
  56. package/lib/system.team.0cebcde7.js +1 -0
  57. package/lib/{system.team.aeaede22.mjs → system.team.27a6d5d5.mjs} +318 -244
  58. package/lib/system.teammembers.b67f003f.js +1 -0
  59. package/lib/{system.teammembers.2e3309c3.mjs → system.teammembers.d73c659f.mjs} +78 -40
  60. package/lib/{system.timers.0ec63785.mjs → system.timers.4a3dd57d.mjs} +2 -2
  61. package/lib/{system.timers.b62568ad.js → system.timers.b27fcb6d.js} +1 -1
  62. package/lib/{system.translation.887fa90d.js → system.translation.d2c982ed.js} +1 -1
  63. package/lib/{system.translation.e71455aa.mjs → system.translation.d9488c23.mjs} +7 -7
  64. package/lib/{system.user.bed5f82a.js → system.user.0664c21c.js} +5 -5
  65. package/lib/{system.user.84227a85.mjs → system.user.6874aa87.mjs} +146 -84
  66. package/lib/{system.useraffiliation.b3f03a33.mjs → system.useraffiliation.5e3e2bab.mjs} +3 -3
  67. package/lib/{system.useraffiliation.7ec0fcae.js → system.useraffiliation.6b7a1612.js} +1 -1
  68. package/lib/{system.webresource.e6cb9173.mjs → system.webresource.204911b7.mjs} +16 -18
  69. package/lib/system.webresource.5de18052.js +1 -0
  70. package/lib/{system.welcome.120f4b50.mjs → system.welcome.79e15015.mjs} +1 -1
  71. package/lib/{system.welcome.472f099b.js → system.welcome.ec7aa744.js} +1 -1
  72. package/locale/en_US.js +71 -10
  73. package/locale/id_ID.js +69 -9
  74. package/locale/vi_VN.js +1973 -1913
  75. package/locale/zh_CN.js +63 -3
  76. package/package.json +1 -1
  77. package/lib/main.05252737.mjs +0 -87
  78. package/lib/main.458dc0a0.js +0 -1
  79. package/lib/main.4aebe1c9.js +0 -1
  80. package/lib/main.9801708f.js +0 -1
  81. package/lib/messages.30e41348.js +0 -9
  82. package/lib/system.config.532ab3b8.js +0 -1
  83. package/lib/system.file.aa567566.js +0 -1
  84. package/lib/system.log.b3666991.js +0 -1
  85. package/lib/system.notice.5fb1485e.js +0 -1
  86. package/lib/system.noticereceived.e5ef5883.js +0 -1
  87. package/lib/system.onlineuser.99e4de37.js +0 -1
  88. package/lib/system.role.f0d4082c.js +0 -1
  89. package/lib/system.team.3826e252.js +0 -1
  90. package/lib/system.teammembers.29128f16.js +0 -1
  91. package/lib/system.webresource.f8b78dd0.js +0 -1
@@ -0,0 +1,198 @@
1
+ import { m as l, n } from "./chartbi.b6818e8e.mjs";
2
+ import { s as d } from "./system.noticereceived.4dc360c0.mjs";
3
+ import { t as c } from "./messages.7e418640.mjs";
4
+ import { k as m } from "./system.notice.bd18554e.mjs";
5
+ import "./system.email.2f53252e.mjs";
6
+ import "./system.account.64fbdaeb.mjs";
7
+ import "vue";
8
+ import "./system.fieldsecurity.6feb94c3.mjs";
9
+ const p = {
10
+ data() {
11
+ return {
12
+ transKey: "gd.notice.detail",
13
+ fullscreen: !1,
14
+ visible: !1,
15
+ width: "900",
16
+ confirmLoading: !1,
17
+ contentRecord: {},
18
+ sysViewButtons: [],
19
+ type: "pdf"
20
+ };
21
+ },
22
+ computed: {
23
+ height() {
24
+ return this.screenHeight - 24 - 40 - 36;
25
+ },
26
+ headTitle() {
27
+ return this.$i18nt(this.transKey, this.title);
28
+ },
29
+ style() {
30
+ return `height:${this.fullscreen ? this.screenHeight - 80 : this.screenHeight - 240}px;`;
31
+ },
32
+ ...l(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
33
+ },
34
+ methods: {
35
+ open(i) {
36
+ this.fullscreen = !1, this.visible = !0, this.confirmLoading = !0, this.sysNoticeDetail(i.id), i.attachment && this.$nextTick(() => {
37
+ setTimeout(() => {
38
+ let e = { name: `${i.title}.${this.type}`, fileId: i.attachment, fullscreen: !1 };
39
+ this.$refs.filePreview.open(e);
40
+ }, 0);
41
+ });
42
+ },
43
+ sysNoticeDetail(i) {
44
+ this.fullscreen = !1, m({
45
+ id: i
46
+ }).then((e) => {
47
+ this.confirmLoading = !1, this.contentRecord = e.data;
48
+ });
49
+ },
50
+ handleCancel() {
51
+ this.visible = !1, this.contentRecord = {};
52
+ },
53
+ closed() {
54
+ this.visible = !1;
55
+ },
56
+ toggleFullscreen() {
57
+ this.fullscreen = !this.fullscreen;
58
+ },
59
+ doEvent(i) {
60
+ const e = i.item.functionName;
61
+ this[e] && this[e]();
62
+ }
63
+ }
64
+ };
65
+ var f = function() {
66
+ var e = this, t = e._self._c;
67
+ return t("div", [t("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(s) {
68
+ e.visible = s;
69
+ }, closed: e.closed } }, [t("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" }), t("div", { class: e.fullscreen ? "modal-bodyq" : "modal-body" }, [t("div", { staticStyle: { "text-align": "center", "font-size": "30px" } }, [e._v(e._s(this.contentRecord.title))]), t("br"), t("div", { staticStyle: { "text-align": "right", "font-size": "10px" } }, [t("span", [e._v(" " + e._s(e.$i18nt("gd.notice.publisher", "\u53D1\u5E03\u4EBA")) + ": " + e._s(this.contentRecord.publicusername) + " ")]), t("span", [e._v(" " + e._s(e.$i18nt("gd.notice.releaseTime", "\u53D1\u5E03\u65F6\u95F4")) + ": " + e._s(this.contentRecord.publictime ? this.contentRecord.publictime : "--") + " ")])]), t("el-divider", { staticStyle: { "margin-top": "5px" } }), t("div", [t("label", { staticClass: "ql-editor", domProps: { innerHTML: e._s(this.contentRecord.content) } })]), e.contentRecord.status != 2 && e.contentRecord.attachment != "" ? t("gd-file-preview", { ref: "filePreview", attrs: { options: {}, modeType: "component" } }) : e._e()], 1)], 1)], 1);
70
+ }, u = [], h = /* @__PURE__ */ n(
71
+ p,
72
+ f,
73
+ u,
74
+ !1,
75
+ null,
76
+ "2185aadc",
77
+ null,
78
+ null
79
+ );
80
+ const _ = h.exports;
81
+ const g = {
82
+ mixins: [c],
83
+ data() {
84
+ return {
85
+ transKey: "gd.btn.add",
86
+ type: "4",
87
+ allData: []
88
+ };
89
+ },
90
+ components: {
91
+ detailForm: _
92
+ },
93
+ computed: {
94
+ ...l(["tableLists", "tablePageSize", "tableSize", "labelPosition", "formMode"])
95
+ },
96
+ methods: {
97
+ editForm(i) {
98
+ this.transKey = "gd.notice.detail", this.$refs.detailForm.open(i);
99
+ },
100
+ init(i) {
101
+ if (this.type = i.messagetype, this.type == "4") {
102
+ let e = {
103
+ key: "tabledataid",
104
+ transKey: "Dynamics.Sys_Tables_sys_approval_task_Views_toApprovaltask_Fields_15452455065798_Name",
105
+ prop: "tabledataid",
106
+ label: "\u5BA1\u6279\u5355\u636E",
107
+ owidth: "250",
108
+ columnName: "tabledataid_aboutid",
109
+ fkEntityName: "dev_test",
110
+ id: 13238497276230,
111
+ fkId: 13238497276230,
112
+ align: "left",
113
+ checked: !0,
114
+ effectType: "about",
115
+ fieldType: "about",
116
+ gatherConfig: !1,
117
+ fieldFormat: "null",
118
+ dictTypeCode: null,
119
+ dictTypeList: [],
120
+ maxTagCount: 2,
121
+ sourceFk: !0,
122
+ displayMode: "none",
123
+ displayPrefix: "none",
124
+ preview: !0,
125
+ download: !0,
126
+ filedsize: 255,
127
+ hyperlink: !0,
128
+ type: "slot",
129
+ slotType: "tabledataid"
130
+ }, t = {
131
+ id: 22450602588615,
132
+ tasktype: "approver",
133
+ tabledataid_aboutid: 22450596595013,
134
+ namesys_usersubmitter: "\u8096yx",
135
+ status: 0,
136
+ createdtime: "2025-09-11 11:15:34",
137
+ isreturn: 0,
138
+ nodename: "\u524D\u52A0\u7B7E\u5BA1\u6279\u4EBA",
139
+ isautoapproval: 0,
140
+ tabledataid: "\u76F4\u5C5E\u4E0A\u7EA7"
141
+ }, s = e.prop + "_AboutTable", o = t[s];
142
+ this.tableLists.filter((a) => a.tablename == o)[0];
143
+ let r = {
144
+ tableId: "19785037949381",
145
+ data: [
146
+ {
147
+ id: t[e.columnName]
148
+ }
149
+ ]
150
+ };
151
+ this.$refs.middleware.init(r).then((a) => {
152
+ setTimeout(() => {
153
+ }, 1e3);
154
+ });
155
+ } else {
156
+ this.getNoticeData();
157
+ const e = i.targeturl.split("?")[1];
158
+ let t = "";
159
+ e && (t = new URLSearchParams(e).get("id")), setTimeout(() => {
160
+ this.allData.forEach((s) => {
161
+ s.id == t && this.editForm(s);
162
+ });
163
+ }, 100);
164
+ }
165
+ },
166
+ getNoticeData() {
167
+ return d(Object.assign({ pageNo: 1, pageSize: 1e5 })).then((i) => {
168
+ this.allData = i.data.rows;
169
+ });
170
+ },
171
+ openExternal() {
172
+ }
173
+ },
174
+ mounted() {
175
+ setTimeout(() => {
176
+ this.init({
177
+ messagetype: "4"
178
+ });
179
+ }, 1e3);
180
+ }
181
+ };
182
+ var y = function() {
183
+ var e = this, t = e._self._c;
184
+ return t("div", [e.type == "1" || e.type == "2" || e.type == "3" ? t("detailForm", { ref: "detailForm" }) : e._e(), e.type == "4" ? t("gd-middleware", { ref: "middleware" }) : e._e()], 1);
185
+ }, b = [], v = /* @__PURE__ */ n(
186
+ g,
187
+ y,
188
+ b,
189
+ !1,
190
+ null,
191
+ "c632641f",
192
+ null,
193
+ null
194
+ );
195
+ const S = v.exports;
196
+ export {
197
+ S as default
198
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./chartbi.b5b6fdab.js"),r=require("./system.noticereceived.9550818b.js"),d=require("./messages.1346558e.js"),c=require("./system.notice.ff62c06a.js");require("./system.email.fec5ae26.js");require("./system.account.7c43a95e.js");require("vue");require("./system.fieldsecurity.920adca4.js");const u={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(s){this.fullscreen=!1,this.visible=!0,this.confirmLoading=!0,this.sysNoticeDetail(s.id),s.attachment&&this.$nextTick(()=>{setTimeout(()=>{let e={name:`${s.title}.${this.type}`,fileId:s.attachment,fullscreen:!1};this.$refs.filePreview.open(e)},0)})},sysNoticeDetail(s){this.fullscreen=!1,c.sysNoticeDetail({id:s}).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(s){const e=s.item.functionName;this[e]&&this[e]()}}};var m=function(){var e=this,t=e._self._c;return t("div",[t("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}},[t("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"}),t("div",{class:e.fullscreen?"modal-bodyq":"modal-body"},[t("div",{staticStyle:{"text-align":"center","font-size":"30px"}},[e._v(e._s(this.contentRecord.title))]),t("br"),t("div",{staticStyle:{"text-align":"right","font-size":"10px"}},[t("span",[e._v(" "+e._s(e.$i18nt("gd.notice.publisher","\u53D1\u5E03\u4EBA"))+": "+e._s(this.contentRecord.publicusername)+" ")]),t("span",[e._v(" "+e._s(e.$i18nt("gd.notice.releaseTime","\u53D1\u5E03\u65F6\u95F4"))+": "+e._s(this.contentRecord.publictime?this.contentRecord.publictime:"--")+" ")])]),t("el-divider",{staticStyle:{"margin-top":"5px"}}),t("div",[t("label",{staticClass:"ql-editor",domProps:{innerHTML:e._s(this.contentRecord.content)}})]),e.contentRecord.status!=2&&e.contentRecord.attachment!=""?t("gd-file-preview",{ref:"filePreview",attrs:{options:{},modeType:"component"}}):e._e()],1)],1)],1)},f=[],p=a.normalizeComponent(u,m,f,!1,null,"2185aadc",null,null);const h=p.exports;const _={mixins:[d.tablesFilter],data(){return{transKey:"gd.btn.add",type:"4",allData:[]}},components:{detailForm:h},computed:{...a.mapGetters(["tableLists","tablePageSize","tableSize","labelPosition","formMode"])},methods:{editForm(s){this.transKey="gd.notice.detail",this.$refs.detailForm.open(s)},init(s){if(this.type=s.messagetype,this.type=="4"){let e={key:"tabledataid",transKey:"Dynamics.Sys_Tables_sys_approval_task_Views_toApprovaltask_Fields_15452455065798_Name",prop:"tabledataid",label:"\u5BA1\u6279\u5355\u636E",owidth:"250",columnName:"tabledataid_aboutid",fkEntityName:"dev_test",id:0xc0a53ed7146,fkId:0xc0a53ed7146,align:"left",checked:!0,effectType:"about",fieldType:"about",gatherConfig:!1,fieldFormat:"null",dictTypeCode:null,dictTypeList:[],maxTagCount:2,sourceFk:!0,displayMode:"none",displayPrefix:"none",preview:!0,download:!0,filedsize:255,hyperlink:!0,type:"slot",slotType:"tabledataid"},t={id:22450602588615,tasktype:"approver",tabledataid_aboutid:22450596595013,namesys_usersubmitter:"\u8096yx",status:0,createdtime:"2025-09-11 11:15:34",isreturn:0,nodename:"\u524D\u52A0\u7B7E\u5BA1\u6279\u4EBA",isautoapproval:0,tabledataid:"\u76F4\u5C5E\u4E0A\u7EA7"},i=e.prop+"_AboutTable",l=t[i];this.tableLists.filter(n=>n.tablename==l)[0];let o={tableId:"19785037949381",data:[{id:t[e.columnName]}]};this.$refs.middleware.init(o).then(n=>{setTimeout(()=>{},1e3)})}else{this.getNoticeData();const e=s.targeturl.split("?")[1];let t="";e&&(t=new URLSearchParams(e).get("id")),setTimeout(()=>{this.allData.forEach(i=>{i.id==t&&this.editForm(i)})},100)}},getNoticeData(){return r.sysNoticeReceived(Object.assign({pageNo:1,pageSize:1e5})).then(s=>{this.allData=s.data.rows})},openExternal(){}},mounted(){setTimeout(()=>{this.init({messagetype:"4"})},1e3)}};var y=function(){var e=this,t=e._self._c;return t("div",[e.type=="1"||e.type=="2"||e.type=="3"?t("detailForm",{ref:"detailForm"}):e._e(),e.type=="4"?t("gd-middleware",{ref:"middleware"}):e._e()],1)},g=[],b=a.normalizeComponent(_,y,g,!1,null,"c632641f",null,null);const v=b.exports;exports.default=v;