gds-plus-design-vue 1.2.72 → 1.2.73
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/{addPermission.f2eb7564.mjs → addPermission.1eb97ee3.mjs} +25 -25
- package/lib/{addPermission.e559c495.js → addPermission.5bfc7e11.js} +1 -1
- package/lib/{approvalModel.2b97fdf8.js → approvalModel.63fa8914.js} +1 -1
- package/lib/{approvalModel.7b3cb5c5.mjs → approvalModel.c09cbf86.mjs} +2 -2
- package/lib/{attribute.4f814780.mjs → attribute.88d41b0f.mjs} +26 -26
- package/lib/{attribute.7b4971f5.js → attribute.919cb93e.js} +1 -1
- package/lib/{components.globalheader.5418b5ec.js → components.globalheader.28b38c3a.js} +1 -1
- package/lib/{components.globalheader.bc91e6fe.mjs → components.globalheader.9471ef9d.mjs} +1 -1
- package/lib/components.middleware.7b760b95.mjs +148 -0
- package/lib/components.middleware.b2e156ea.js +1 -0
- package/lib/{components.modaltitle.d7ef34cb.js → components.modaltitle.179b6da1.js} +1 -1
- package/lib/{components.modaltitle.4f454200.mjs → components.modaltitle.2c1011c5.mjs} +2 -2
- package/lib/{components.sidenavmenu.47d7f44a.mjs → components.sidenavmenu.91e996c4.mjs} +8 -8
- package/lib/{components.sidenavmenu.1f0bbfca.js → components.sidenavmenu.a3de1659.js} +1 -1
- package/lib/{components.table.d016f609.js → components.table.a0ac819e.js} +1 -1
- package/lib/{components.table.389ab22a.mjs → components.table.d79f5fa3.mjs} +4 -4
- package/lib/{components.viewformdetails.1236a66e.mjs → components.viewformdetails.4e40579f.mjs} +41 -25
- package/lib/components.viewformdetails.6e66cc83.js +1 -0
- package/lib/{createFile.526dd6db.js → createFile.94329169.js} +1 -1
- package/lib/{createFile.c8d65b52.mjs → createFile.ca811a30.mjs} +25 -25
- package/lib/{extendedAttributes.e6b11c68.mjs → extendedAttributes.a3ee9bde.mjs} +25 -25
- package/lib/{extendedAttributes.bfff1926.js → extendedAttributes.b1107f6c.js} +1 -1
- package/lib/{fileSearch.e849491c.js → fileSearch.4722ac3b.js} +1 -1
- package/lib/{fileSearch.423b64a3.mjs → fileSearch.d7abc086.mjs} +25 -25
- package/lib/{flow.designer.85d0054b.js → flow.designer.7d58bc2c.js} +1 -1
- package/lib/{flow.designer.5feba43c.mjs → flow.designer.b066df02.mjs} +1 -1
- package/lib/{flow.list.82131d80.mjs → flow.list.a9afdd93.mjs} +2 -2
- package/lib/{flow.list.e001d91a.js → flow.list.d288de5e.js} +1 -1
- package/lib/{form.build.33cc213e.mjs → form.build.16110b90.mjs} +20 -16
- package/lib/form.build.5461409b.js +1 -0
- package/lib/{form.designer.build.7dc12e87.mjs → form.designer.build.2bd26973.mjs} +24 -38
- package/lib/{form.designer.build.2bcc355d.js → form.designer.build.67b316e1.js} +1 -1
- package/lib/{formFiled.5a1c8f7f.mjs → formFiled.3763ebff.mjs} +5 -5
- package/lib/{formFiled.40284ed9.js → formFiled.ef26328d.js} +1 -1
- package/lib/gd-initial.js +1 -1
- package/lib/gd-initial.mjs +25 -25
- package/lib/{index.340d6f00.mjs → index.606ef358.mjs} +789 -782
- package/lib/index.fe18e32c.js +8 -0
- package/lib/layoutBlocks.0784592a.mjs +570 -0
- package/lib/layoutBlocks.1b71d988.js +1 -0
- package/lib/{layouts.1852e8e4.mjs → layouts.915931be.mjs} +2 -2
- package/lib/{layouts.2030bf01.js → layouts.ae25c583.js} +1 -1
- package/lib/{main.1551de4d.js → main.0326119e.js} +1 -1
- package/lib/{main.b2314767.mjs → main.034638bb.mjs} +1 -1
- package/lib/{main.1611bb43.js → main.44d72b90.js} +1 -1
- package/lib/{main.12118407.mjs → main.44efe912.mjs} +25 -25
- package/lib/{main.fcb67463.js → main.47957168.js} +1 -1
- package/lib/{main.48dc325f.mjs → main.adcedcee.mjs} +1 -1
- package/lib/{manage.1bc511ff.mjs → manage.63cd038d.mjs} +26 -26
- package/lib/{manage.eb0a6c8c.js → manage.80871daf.js} +1 -1
- package/lib/{mobile.designer.componentstree.9439895e.mjs → mobile.designer.componentstree.70fd4c93.mjs} +1 -1
- package/lib/{mobile.designer.componentstree.365945a3.js → mobile.designer.componentstree.f4a901e4.js} +1 -1
- package/lib/{moveFile.3dc1dc37.mjs → moveFile.b66805f8.mjs} +25 -25
- package/lib/{moveFile.f70bbff7.js → moveFile.d79f7fd9.js} +1 -1
- package/lib/{page.build.ae61a39b.mjs → page.build.09137386.mjs} +1 -1
- package/lib/{page.build.7ac1ee9b.js → page.build.1b771761.js} +1 -1
- package/lib/{page.designer.componentstree.74a3a114.js → page.designer.componentstree.341908b2.js} +1 -1
- package/lib/{page.designer.componentstree.cdabec2d.mjs → page.designer.componentstree.a256ff7a.mjs} +1 -1
- package/lib/{page.designer.page.821f8994.mjs → page.designer.page.559113a9.mjs} +39 -35
- package/lib/page.designer.page.d2d6b614.js +1 -0
- package/lib/{result.a87217ae.mjs → result.16da7693.mjs} +25 -25
- package/lib/{result.4d4039ea.js → result.9cb6c2f1.js} +1 -1
- package/lib/{router.config.a09f29e7.js → router.config.1e67a1c3.js} +1 -1
- package/lib/{router.config.f0ad16fd.mjs → router.config.70680261.mjs} +5 -5
- package/lib/{solution.approvalflow.eb1c0607.mjs → solution.approvalflow.8572122d.mjs} +1 -1
- package/lib/{solution.approvalflow.79da028c.js → solution.approvalflow.cce2f064.js} +1 -1
- package/lib/{solution.processflow.62936f1c.mjs → solution.processflow.a52fd47c.mjs} +1 -1
- package/lib/{solution.processflow.aa1e808b.js → solution.processflow.bfa4897c.js} +1 -1
- package/lib/{solution.workflow.85de0ae5.mjs → solution.workflow.2530073b.mjs} +1 -1
- package/lib/{solution.workflow.0ed2cb24.js → solution.workflow.59e0e697.js} +1 -1
- package/lib/style.css +2 -2
- package/lib/{system.duplicatechecking.46e182d7.mjs → system.duplicatechecking.a0da805e.mjs} +1 -1
- package/lib/{system.duplicatechecking.a217fc52.js → system.duplicatechecking.bef2b20c.js} +1 -1
- package/lib/system.notice.72e0615f.js +1 -0
- package/lib/{system.notice.51880df6.mjs → system.notice.da2c944c.mjs} +219 -216
- package/lib/{system.noticereceived.55f276ab.mjs → system.noticereceived.30dab7d1.mjs} +1 -1
- package/lib/{system.noticereceived.0b79642e.js → system.noticereceived.54c17b73.js} +1 -1
- package/lib/{system.user.254bbe85.mjs → system.user.a1ff367b.mjs} +1 -1
- package/lib/{system.user.475d7391.js → system.user.bff7cc2f.js} +1 -1
- package/lib/{versionControl.97590ce8.js → versionControl.47cc1330.js} +1 -1
- package/lib/{versionControl.d1b2b0da.mjs → versionControl.6cd18867.mjs} +31 -31
- package/lib/{versionEdit.c51606e4.mjs → versionEdit.910d2e2f.mjs} +25 -25
- package/lib/{versionEdit.f710d0bb.js → versionEdit.977faa93.js} +1 -1
- package/lib/{view.build.9976c958.mjs → view.build.20e9aec0.mjs} +6 -6
- package/lib/{view.build.5789a6eb.js → view.build.a48a14b0.js} +1 -1
- package/lib/{viewList.6e181715.js → viewList.71f866da.js} +1 -1
- package/lib/{viewList.3ca52f0c.mjs → viewList.a4909732.mjs} +9 -9
- package/package.json +1 -1
- package/lib/components.middleware.24511f17.mjs +0 -148
- package/lib/components.middleware.64b6a988.js +0 -1
- package/lib/components.viewformdetails.328c8642.js +0 -1
- package/lib/drawerContainer.790b0ee6.mjs +0 -163
- package/lib/drawerContainer.c971d22d.js +0 -1
- package/lib/form.build.19f0c882.js +0 -1
- package/lib/index.07adebf0.js +0 -8
- package/lib/layoutBlocks.756e4b57.js +0 -1
- package/lib/layoutBlocks.816b49a7.mjs +0 -413
- package/lib/page.designer.page.654634aa.js +0 -1
- package/lib/system.notice.2090c130.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as
|
|
1
|
+
import { m as l, n as c } from "./components.chartbi.7356b244.mjs";
|
|
2
2
|
import { b as g, c as b, d as w, e as m, f as _, g as y, h as v } from "./http.noticemanage.2cdb23b8.mjs";
|
|
3
3
|
import { e as $, f as T } from "./http.usermanage.f5491144.mjs";
|
|
4
4
|
import { t as u } from "./utils.mixins.js.be01e599.mjs";
|
|
@@ -308,7 +308,7 @@ const N = {
|
|
|
308
308
|
getButtons() {
|
|
309
309
|
return this.formButtons.filter((t) => !(this.transKey === "gd.btn.add" && t.functionName === "releaseTip"));
|
|
310
310
|
},
|
|
311
|
-
...
|
|
311
|
+
...l(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
|
|
312
312
|
},
|
|
313
313
|
mounted() {
|
|
314
314
|
(this.$route.params.id || this.$route.query.id) && (this.transKey = "gd.notice.detail", setTimeout(() => {
|
|
@@ -327,12 +327,12 @@ const N = {
|
|
|
327
327
|
this.baseHideBtns(["\u5220\u9664", "\u53D1\u5E03", "\u64A4\u56DE", "\u7F16\u8F91"], 2);
|
|
328
328
|
return;
|
|
329
329
|
}
|
|
330
|
-
let
|
|
331
|
-
|
|
330
|
+
let i = [], s = e.filter((a) => a.status == 0), n = e.filter((a) => a.status == 1), r = e.filter((a) => a.status == 2);
|
|
331
|
+
s.length == e.length ? i = ["\u64A4\u56DE"] : n.length == e.length ? i = ["\u5220\u9664", "\u53D1\u5E03", "\u7F16\u8F91"] : r.length == e.length && (i = ["\u64A4\u56DE", "\u53D1\u5E03", "\u7F16\u8F91"]), this.baseHideBtns(i, 2);
|
|
332
332
|
},
|
|
333
333
|
baseHideBtns(t, e = 1) {
|
|
334
|
-
let
|
|
335
|
-
|
|
334
|
+
let i = [...this.tableButtons];
|
|
335
|
+
i.map((s) => (e === 1 ? s.show = !t.includes(s.id) : s.show = !t.includes(s.displayName), s)), this.tableButtons = [...i];
|
|
336
336
|
},
|
|
337
337
|
add() {
|
|
338
338
|
this.transKey = "gd.btn.add", this.fileListFile = [], this.ruleFormData = {
|
|
@@ -384,8 +384,8 @@ const N = {
|
|
|
384
384
|
handleOk(t) {
|
|
385
385
|
this.ruleFormData.notifyingPerson = [], this.ruleFormData.notifyingPerson = t, this.allEmpty = Array.isArray(t) ? t.every((e) => !e.receiverIdList || e.receiverIdList.length === 0) : !0;
|
|
386
386
|
},
|
|
387
|
-
sbumit({ data: t, record: e, btn:
|
|
388
|
-
if (this.status =
|
|
387
|
+
sbumit({ data: t, record: e, btn: i }, s, n) {
|
|
388
|
+
if (this.status = i.item.functionName == "releaseTip" ? 1 : 0, e != null) {
|
|
389
389
|
let a = {
|
|
390
390
|
id: t.id,
|
|
391
391
|
content: t.content,
|
|
@@ -395,41 +395,45 @@ const N = {
|
|
|
395
395
|
receivergroups: this.ruleFormData.notifyingPerson,
|
|
396
396
|
attachment: this.ruleFormData.fileid
|
|
397
397
|
};
|
|
398
|
-
this.formLoading = !0, b(Object.assign(this.noticeDetail, a)).then((
|
|
399
|
-
|
|
400
|
-
});
|
|
401
|
-
} else {
|
|
402
|
-
let a = {
|
|
403
|
-
content: t.content,
|
|
404
|
-
status: this.status,
|
|
405
|
-
title: t.title,
|
|
406
|
-
type: t.type,
|
|
407
|
-
receiverGroups: this.ruleFormData.notifyingPerson,
|
|
408
|
-
attachment: this.ruleFormData.fileid
|
|
409
|
-
};
|
|
410
|
-
this.formLoading = !0, w(a).then((r) => {
|
|
411
|
-
r.success ? (this.refresh(), this.status == 1 ? (this.formLoading = !1, n()) : setTimeout(() => {
|
|
412
|
-
this.$nextTick(() => {
|
|
413
|
-
g({ pageNo: 1, pageSize: 50 }).then((c) => {
|
|
414
|
-
this.allData = c.data.rows;
|
|
415
|
-
const d = this.allData.filter((p) => p.title == t.title && p.content == t.content);
|
|
416
|
-
d.length > 0 && (this.transKey = "gd.btn.edit", this.sysNoticeDetail(d[0].id), this.$refs.editForm.open(
|
|
417
|
-
Object.assign(
|
|
418
|
-
{
|
|
419
|
-
...d[0]
|
|
420
|
-
},
|
|
421
|
-
{
|
|
422
|
-
type: String(d[0].type),
|
|
423
|
-
content: d[0].content,
|
|
424
|
-
fileid: d[0].attachment
|
|
425
|
-
}
|
|
426
|
-
)
|
|
427
|
-
)), this.formLoading = !1;
|
|
428
|
-
});
|
|
429
|
-
});
|
|
430
|
-
}, 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") + r.message), this.refresh(), this.formLoading = !1);
|
|
398
|
+
this.formLoading = !0, b(Object.assign(this.noticeDetail, a)).then((o) => {
|
|
399
|
+
o.success ? (this.status == 1 && n(), this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F"))) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + o.message), this.formLoading = !1, this.refresh();
|
|
431
400
|
});
|
|
401
|
+
return;
|
|
432
402
|
}
|
|
403
|
+
let r = {
|
|
404
|
+
content: t.content,
|
|
405
|
+
status: this.status,
|
|
406
|
+
title: t.title,
|
|
407
|
+
type: t.type,
|
|
408
|
+
receiverGroups: this.ruleFormData.notifyingPerson,
|
|
409
|
+
attachment: this.ruleFormData.fileid
|
|
410
|
+
};
|
|
411
|
+
this.formLoading = !0, w(r).then((a) => {
|
|
412
|
+
if (a.success || (this.$message.error(this.$i18nt("gd.https.addFail", "\u65B0\u589E\u5931\u8D25") + a.message), this.refresh(), this.formLoading = !1), this.refresh(), this.$message.success(this.$i18nt("gd.https.addSucc", "\u65B0\u589E\u6210\u529F")), this.status == 1) {
|
|
413
|
+
this.formLoading = !1, n();
|
|
414
|
+
return;
|
|
415
|
+
}
|
|
416
|
+
setTimeout(() => {
|
|
417
|
+
this.$nextTick(() => {
|
|
418
|
+
g({ pageNo: 1, pageSize: 50 }).then((o) => {
|
|
419
|
+
this.allData = o.data.rows;
|
|
420
|
+
const d = this.allData.filter((p) => p.title == t.title && p.content == t.content);
|
|
421
|
+
d.length > 0 && (this.transKey = "gd.btn.edit", this.sysNoticeDetail(d[0].id), this.$refs.editForm.open(
|
|
422
|
+
Object.assign(
|
|
423
|
+
{
|
|
424
|
+
...d[0]
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
type: String(d[0].type),
|
|
428
|
+
content: d[0].content,
|
|
429
|
+
fileid: d[0].attachment
|
|
430
|
+
}
|
|
431
|
+
)
|
|
432
|
+
)), this.formLoading = !1;
|
|
433
|
+
});
|
|
434
|
+
});
|
|
435
|
+
}, 10);
|
|
436
|
+
});
|
|
433
437
|
},
|
|
434
438
|
saveQueries(t) {
|
|
435
439
|
this.queryParam = t, this.refresh();
|
|
@@ -466,27 +470,27 @@ const N = {
|
|
|
466
470
|
customClass: "custom-alert",
|
|
467
471
|
callback: () => {
|
|
468
472
|
},
|
|
469
|
-
beforeClose: (t, e,
|
|
470
|
-
this.rollbackHand(t, e,
|
|
473
|
+
beforeClose: (t, e, i) => {
|
|
474
|
+
this.rollbackHand(t, e, i);
|
|
471
475
|
}
|
|
472
476
|
});
|
|
473
477
|
},
|
|
474
|
-
rollbackHand(t, e,
|
|
478
|
+
rollbackHand(t, e, i) {
|
|
475
479
|
if (t !== "confirm") {
|
|
476
|
-
|
|
480
|
+
i();
|
|
477
481
|
return;
|
|
478
482
|
}
|
|
479
|
-
let
|
|
483
|
+
let s = [];
|
|
480
484
|
this.selectedRows.forEach((n) => {
|
|
481
|
-
let
|
|
485
|
+
let r = m({
|
|
482
486
|
id: n.id,
|
|
483
487
|
status: 2
|
|
484
|
-
}).then((
|
|
485
|
-
|
|
486
|
-
}), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(
|
|
487
|
-
e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0,
|
|
488
|
-
const
|
|
489
|
-
|
|
488
|
+
}).then((a) => a);
|
|
489
|
+
s.push(r);
|
|
490
|
+
}), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(s).then((n) => {
|
|
491
|
+
e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0, i();
|
|
492
|
+
const r = n.filter((a) => !a.success);
|
|
493
|
+
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();
|
|
490
494
|
});
|
|
491
495
|
},
|
|
492
496
|
release() {
|
|
@@ -510,27 +514,27 @@ const N = {
|
|
|
510
514
|
customClass: "custom-alert",
|
|
511
515
|
callback: () => {
|
|
512
516
|
},
|
|
513
|
-
beforeClose: (t, e,
|
|
514
|
-
this.releaseHand(t, e,
|
|
517
|
+
beforeClose: (t, e, i) => {
|
|
518
|
+
this.releaseHand(t, e, i);
|
|
515
519
|
}
|
|
516
520
|
});
|
|
517
521
|
},
|
|
518
|
-
releaseHand(t, e,
|
|
522
|
+
releaseHand(t, e, i) {
|
|
519
523
|
if (t !== "confirm") {
|
|
520
|
-
|
|
524
|
+
i();
|
|
521
525
|
return;
|
|
522
526
|
}
|
|
523
|
-
let
|
|
527
|
+
let s = [];
|
|
524
528
|
this.selectedRows.forEach((n) => {
|
|
525
|
-
let
|
|
529
|
+
let r = m({
|
|
526
530
|
id: n.id,
|
|
527
531
|
status: 1
|
|
528
|
-
}).then((
|
|
529
|
-
|
|
530
|
-
}), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(
|
|
531
|
-
e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0,
|
|
532
|
-
const
|
|
533
|
-
|
|
532
|
+
}).then((a) => a);
|
|
533
|
+
s.push(r);
|
|
534
|
+
}), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(s).then((n) => {
|
|
535
|
+
e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0, i();
|
|
536
|
+
const r = n.filter((a) => !a.success);
|
|
537
|
+
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();
|
|
534
538
|
});
|
|
535
539
|
},
|
|
536
540
|
del() {
|
|
@@ -550,49 +554,49 @@ const N = {
|
|
|
550
554
|
customClass: "custom-alert",
|
|
551
555
|
callback: () => {
|
|
552
556
|
},
|
|
553
|
-
beforeClose: (t, e,
|
|
554
|
-
this.delHand(t, e,
|
|
557
|
+
beforeClose: (t, e, i) => {
|
|
558
|
+
this.delHand(t, e, i);
|
|
555
559
|
}
|
|
556
560
|
});
|
|
557
561
|
},
|
|
558
|
-
delHand(t, e,
|
|
562
|
+
delHand(t, e, i) {
|
|
559
563
|
if (t !== "confirm") {
|
|
560
|
-
|
|
564
|
+
i();
|
|
561
565
|
return;
|
|
562
566
|
}
|
|
563
|
-
let
|
|
567
|
+
let s = [];
|
|
564
568
|
this.selectedRows.forEach((n) => {
|
|
565
|
-
let
|
|
566
|
-
|
|
567
|
-
}), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(
|
|
568
|
-
|
|
569
|
-
const
|
|
570
|
-
|
|
569
|
+
let r = _(n).then((a) => a);
|
|
570
|
+
s.push(r);
|
|
571
|
+
}), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(s).then((n) => {
|
|
572
|
+
i();
|
|
573
|
+
const r = n.filter((a) => !a.success);
|
|
574
|
+
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;
|
|
571
575
|
});
|
|
572
576
|
},
|
|
573
577
|
sysNoticeDetail(t) {
|
|
574
578
|
y({
|
|
575
579
|
id: t
|
|
576
580
|
}).then((e) => {
|
|
577
|
-
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((
|
|
581
|
+
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((i) => !(!i.receiverIdList || i.receiverIdList.length === 0)) : !0, this.noticeType = e.data.type;
|
|
578
582
|
});
|
|
579
583
|
},
|
|
580
584
|
getMock(t) {
|
|
581
|
-
const e = [],
|
|
582
|
-
$().then((
|
|
585
|
+
const e = [], i = [];
|
|
586
|
+
$().then((s) => {
|
|
583
587
|
this.confirmLoading = !1;
|
|
584
|
-
for (let n = 0; n <
|
|
585
|
-
const
|
|
586
|
-
key:
|
|
587
|
-
label:
|
|
588
|
-
description: `description of ${
|
|
588
|
+
for (let n = 0; n < s.data.length; n++) {
|
|
589
|
+
const r = s.data[n], a = {
|
|
590
|
+
key: r.id.toString(),
|
|
591
|
+
label: r.name,
|
|
592
|
+
description: `description of ${r.name}`
|
|
589
593
|
};
|
|
590
594
|
if (t)
|
|
591
|
-
for (let
|
|
592
|
-
|
|
593
|
-
|
|
595
|
+
for (let o = 0; o < t.noticeuseridlist.length; o++)
|
|
596
|
+
a.key === t.noticeuseridlist[o] && e.push(t.noticeuseridlist[o]);
|
|
597
|
+
i.push(a);
|
|
594
598
|
}
|
|
595
|
-
this.mockData =
|
|
599
|
+
this.mockData = i, this.targetKeys = e;
|
|
596
600
|
});
|
|
597
601
|
},
|
|
598
602
|
handleChange(t) {
|
|
@@ -616,36 +620,36 @@ const N = {
|
|
|
616
620
|
this.$message.error(this.$i18nt("gd.view.fileAcceptTip", "\u6587\u4EF6\u7C7B\u578B\u4E0D\u652F\u6301\uFF01")), t.onError();
|
|
617
621
|
return;
|
|
618
622
|
}
|
|
619
|
-
new FormData().append("file", t.file), R(t).then((
|
|
620
|
-
if (
|
|
621
|
-
const n =
|
|
622
|
-
return this.ruleFormData.fileList =
|
|
623
|
+
new FormData().append("file", t.file), R(t).then((s) => {
|
|
624
|
+
if (s.code === 200) {
|
|
625
|
+
const n = s.data.url, a = (this.ruleFormData && this.ruleFormData.fileList ? this.ruleFormData.fileList.split(",") : []).concat([n]);
|
|
626
|
+
return this.ruleFormData.fileList = a.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;
|
|
623
627
|
} else
|
|
624
|
-
this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25:") +
|
|
625
|
-
}).catch((
|
|
626
|
-
t.onError(
|
|
628
|
+
this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25:") + s.message), t.onError();
|
|
629
|
+
}).catch((s) => {
|
|
630
|
+
t.onError(s);
|
|
627
631
|
});
|
|
628
632
|
},
|
|
629
|
-
successFile(t, e,
|
|
633
|
+
successFile(t, e, i) {
|
|
630
634
|
},
|
|
631
635
|
removeFile(t, e) {
|
|
632
|
-
let
|
|
633
|
-
e.forEach((
|
|
634
|
-
|
|
635
|
-
}), this.ruleFormData.fileList =
|
|
636
|
+
let i = [];
|
|
637
|
+
e.forEach((s) => {
|
|
638
|
+
s.response && s.response.id ? i.push(s.response.id) : i.push(s.url);
|
|
639
|
+
}), this.ruleFormData.fileList = i.join(","), this.ruleFormData.name = "", this.ruleFormData.fileid = "";
|
|
636
640
|
},
|
|
637
641
|
previewFile(t) {
|
|
638
642
|
let e = "";
|
|
639
643
|
t.response && t.response.fileOriginName ? (e = t.response.fileOriginName, t.response.url) : (e = t.name, t.url);
|
|
640
|
-
const
|
|
641
|
-
["gif", "jpeg", "png", "jpg", "JPG", "PNG"].includes(
|
|
644
|
+
const i = e.substr(e.lastIndexOf(".") + 1).toLowerCase();
|
|
645
|
+
["gif", "jpeg", "png", "jpg", "JPG", "PNG"].includes(i) ? this.imgPreview(t.response.id) : this.downFile(t);
|
|
642
646
|
},
|
|
643
647
|
imgPreview(t) {
|
|
644
648
|
S({
|
|
645
649
|
id: t
|
|
646
650
|
}).then((e) => {
|
|
647
|
-
const
|
|
648
|
-
this.imgList = [
|
|
651
|
+
const i = window.URL.createObjectURL(new Blob([e]));
|
|
652
|
+
this.imgList = [i], this.currentImg = i, this.$refs.imgPreview.open();
|
|
649
653
|
});
|
|
650
654
|
},
|
|
651
655
|
downFile(t) {
|
|
@@ -685,45 +689,45 @@ const N = {
|
|
|
685
689
|
}
|
|
686
690
|
};
|
|
687
691
|
var x = function() {
|
|
688
|
-
var e = this,
|
|
689
|
-
return
|
|
690
|
-
return [
|
|
691
|
-
return !
|
|
692
|
-
} }, model: { value: e.queryParam.SearchValue, callback: function(
|
|
693
|
-
e.$set(e.queryParam, "SearchValue",
|
|
694
|
-
}, expression: "queryParam.SearchValue" } }),
|
|
695
|
-
}, proxy: !0 }, { key: "title", fn: function({ column:
|
|
696
|
-
return [
|
|
697
|
-
} }, { key: "type", fn: function(
|
|
698
|
-
return [
|
|
699
|
-
} }, { key: "status", fn: function(
|
|
700
|
-
return [
|
|
701
|
-
} }, { key: "filtering", fn: function({ colse:
|
|
702
|
-
return [
|
|
703
|
-
} }]) })], 1),
|
|
704
|
-
return [
|
|
705
|
-
e.targetKeys =
|
|
692
|
+
var e = this, i = e._self._c;
|
|
693
|
+
return i("div", { staticClass: "gd-page-view" }, [i("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [i("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() {
|
|
694
|
+
return [i("div", { staticClass: "gd-table-operator" }, [i("div", { staticClass: "gd-table-operatorl" }, [i("el-input", { staticClass: "table-operator-input", attrs: { placeholder: e.$i18nt("gd.notice.title", "\u6807\u9898"), clearable: "" }, nativeOn: { keyup: function(s) {
|
|
695
|
+
return !s.type.indexOf("key") && e._k(s.keyCode, "enter", 13, s.key, "Enter") ? null : e.refresh.apply(null, arguments);
|
|
696
|
+
} }, model: { value: e.queryParam.SearchValue, callback: function(s) {
|
|
697
|
+
e.$set(e.queryParam, "SearchValue", s);
|
|
698
|
+
}, expression: "queryParam.SearchValue" } }), i("div", { staticClass: "table-operator-search", on: { click: e.refresh } }, [i("i", { staticClass: "el-input__icon el-icon-search" })])], 1), i("div", { staticClass: "gd-table-operatorr" }, [i("gd-btn-list", { attrs: { sysViewButtons: e.tableButtons }, on: { functionName: e.doEvent } })], 1)])];
|
|
699
|
+
}, proxy: !0 }, { key: "title", fn: function({ column: s, row: n }) {
|
|
700
|
+
return [i("gd-tooltip", { attrs: { rowKey: "title", row: n, highlight: "" }, on: { click: e.editForm } })];
|
|
701
|
+
} }, { key: "type", fn: function(s) {
|
|
702
|
+
return [i("el-tag", { style: e._f("dictColor")("notice_type", s.row.type), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("notice_type", s.row.type)) + " ")])];
|
|
703
|
+
} }, { key: "status", fn: function(s) {
|
|
704
|
+
return [i("el-tag", { style: e._f("dictColor")("notice_status", s.row.status), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("notice_status", s.row.status)) + " ")])];
|
|
705
|
+
} }, { key: "filtering", fn: function({ colse: s, visible: n }) {
|
|
706
|
+
return [i("gd-table-queries-field", { attrs: { columns: e.tableQueries, height: e.getHeight, queryParam: e.queryParam, colse: s, visible: n }, on: { save: e.saveQueries } })];
|
|
707
|
+
} }]) })], 1), i("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: s, column: n }) {
|
|
708
|
+
return [i("el-transfer", { attrs: { data: e.mockData, titles: ["\u672A\u9009", "\u5DF2\u9009"], filterable: "" }, on: { change: e.handleChange }, model: { value: e.targetKeys, callback: function(r) {
|
|
709
|
+
e.targetKeys = r;
|
|
706
710
|
}, expression: "targetKeys" } })];
|
|
707
|
-
} }, { key: "notifyingPerson", fn: function({ data:
|
|
708
|
-
return [
|
|
709
|
-
return e.noticePerson(
|
|
710
|
-
} } }, [
|
|
711
|
-
} }, { key: "notice_type", fn: function({ data:
|
|
712
|
-
return [
|
|
713
|
-
e.$set(
|
|
714
|
-
}, expression: "data.type" } }, e._l(e.getDictionary("notice_type"), function(
|
|
715
|
-
return
|
|
711
|
+
} }, { key: "notifyingPerson", fn: function({ data: s, column: n }) {
|
|
712
|
+
return [i("el-button", { attrs: { type: e.allEmpty ? "danger" : "primary" }, on: { click: function(r) {
|
|
713
|
+
return e.noticePerson(s);
|
|
714
|
+
} } }, [i("i", { staticClass: "gd-icons el-icon-bell" }), e._v(" " + e._s(e.$i18nt("gd.notice.notice", "\u901A\u77E5")) + " ")])];
|
|
715
|
+
} }, { key: "notice_type", fn: function({ data: s, column: n }) {
|
|
716
|
+
return [i("el-radio-group", { on: { change: e.changeMode }, model: { value: s.type, callback: function(r) {
|
|
717
|
+
e.$set(s, "type", r);
|
|
718
|
+
}, expression: "data.type" } }, e._l(e.getDictionary("notice_type"), function(r, a) {
|
|
719
|
+
return i("el-radio", { key: r.code, attrs: { label: r.code } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${r.transkey}`, r.name)) + " ")]);
|
|
716
720
|
}), 1)];
|
|
717
|
-
} }, { key: "fileList", fn: function({ data:
|
|
718
|
-
return [
|
|
719
|
-
} }]) }),
|
|
720
|
-
}, D = [], O = /* @__PURE__ */
|
|
721
|
+
} }, { key: "fileList", fn: function({ data: s, column: n }) {
|
|
722
|
+
return [i("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 } }, [i("el-button", { attrs: { size: "mini", type: "primary" } }, [i("i", { staticClass: "gd-icons gd-icon-shangchuan" }), e._v(" " + e._s(e.$i18nt("gd.btn.upload", "\u4E0A\u4F20")) + " ")])], 1)];
|
|
723
|
+
} }]) }), i("detailForm", { ref: "detailForm" }), i("editNoticeForm", { ref: "editNoticeFormRef", on: { ok: e.handleOk } }), i("gd-file-preview", { ref: "filePreview" }), i("gd-img-preview", { ref: "imgPreview", attrs: { filePreviewShow: e.imgList.length > 0, imgList: e.imgList, currentImg: e.currentImg } })], 1);
|
|
724
|
+
}, D = [], O = /* @__PURE__ */ c(
|
|
721
725
|
N,
|
|
722
726
|
x,
|
|
723
727
|
D,
|
|
724
728
|
!1,
|
|
725
729
|
null,
|
|
726
|
-
"
|
|
730
|
+
"e655e2b3",
|
|
727
731
|
null,
|
|
728
732
|
null
|
|
729
733
|
);
|
|
@@ -761,7 +765,7 @@ const B = {
|
|
|
761
765
|
style() {
|
|
762
766
|
return `height:${this.fullscreen ? this.screenHeight - 80 : this.screenHeight - 240}px;`;
|
|
763
767
|
},
|
|
764
|
-
...
|
|
768
|
+
...l(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
|
|
765
769
|
},
|
|
766
770
|
methods: {
|
|
767
771
|
open(t) {
|
|
@@ -773,8 +777,8 @@ const B = {
|
|
|
773
777
|
}).then((e) => {
|
|
774
778
|
e.code === 200 ? (this.contentRecord = e.data, this.$emit("onLoadCompleted"), e.data.attachment && this.$nextTick(() => {
|
|
775
779
|
setTimeout(() => {
|
|
776
|
-
let
|
|
777
|
-
this.$refs.filePreview.open(
|
|
780
|
+
let i = { name: `${e.data.title}.${this.type}`, fileId: e.data.attachment, fullscreen: !1 };
|
|
781
|
+
this.$refs.filePreview.open(i);
|
|
778
782
|
}, 0);
|
|
779
783
|
})) : this.$message.error(e.message), this.confirmLoading = !1;
|
|
780
784
|
});
|
|
@@ -795,11 +799,11 @@ const B = {
|
|
|
795
799
|
}
|
|
796
800
|
};
|
|
797
801
|
var z = function() {
|
|
798
|
-
var e = this,
|
|
799
|
-
return
|
|
800
|
-
e.visible =
|
|
801
|
-
}, closed: e.closed } }, [
|
|
802
|
-
}, H = [], E = /* @__PURE__ */
|
|
802
|
+
var e = this, i = e._self._c;
|
|
803
|
+
return i("div", [e.modeType === "dialog" ? i("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) {
|
|
804
|
+
e.visible = s;
|
|
805
|
+
}, closed: e.closed } }, [i("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" }), i("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], class: e.fullscreen ? "modal-bodyq" : "modal-body" }, [i("div", { staticStyle: { "text-align": "center", "font-size": "28px" } }, [e._v(e._s(this.contentRecord.title))]), i("div", { staticStyle: { "text-align": "right", "font-size": "12px", color: ":#999" } }, [i("span", [e._v(e._s(e.$i18nt("gd.notice.publisher", "\u53D1\u5E03\u4EBA")) + ": " + e._s(this.contentRecord.publicusername))]), i("span", { staticStyle: { "padding-left": "12px" } }, [e._v(" " + e._s(this.contentRecord.publictime ? this.contentRecord.publictime : "--") + " ")])]), i("el-divider"), i("div", [i("label", { staticClass: "ql-editor", domProps: { innerHTML: e._s(this.contentRecord.content) } })]), e.contentRecord.status != 2 && e.contentRecord.attachment != "" ? i("gd-file-preview", { ref: "filePreview", attrs: { options: {}, modeType: "component" } }) : e._e()], 1)], 1) : i("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], staticStyle: { "min-height": "30vh" } }, [i("div", { staticStyle: { "text-align": "center", "font-size": "28px" } }, [e._v(e._s(this.contentRecord.title))]), i("div", { staticStyle: { "text-align": "right", "font-size": "12px", color: ":#999" } }, [i("span", [e._v(e._s(e.$i18nt("gd.notice.publisher", "\u53D1\u5E03\u4EBA")) + ": " + e._s(this.contentRecord.publicusername))]), i("span", { staticStyle: { "padding-left": "12px" } }, [e._v(" " + e._s(this.contentRecord.publictime ? this.contentRecord.publictime : "--") + " ")])]), i("el-divider"), i("div", [i("label", { staticClass: "ql-editor", domProps: { innerHTML: e._s(this.contentRecord.content) } })]), e.contentRecord.status != 2 && e.contentRecord.attachment != "" ? i("gd-file-preview", { ref: "filePreview", attrs: { options: {}, modeType: "component" } }) : e._e()], 1)], 1);
|
|
806
|
+
}, H = [], E = /* @__PURE__ */ c(
|
|
803
807
|
B,
|
|
804
808
|
z,
|
|
805
809
|
H,
|
|
@@ -909,8 +913,8 @@ const j = {
|
|
|
909
913
|
selectedRowKeys: [],
|
|
910
914
|
queryParam: {},
|
|
911
915
|
loadData: (t) => K(Object.assign(t, this.queryParam)).then((e) => (setTimeout(() => {
|
|
912
|
-
let
|
|
913
|
-
this.selectedRowKeys = [...
|
|
916
|
+
let i = [...this.selectOrgRow];
|
|
917
|
+
this.selectedRowKeys = [...i], this.onSelectChange(i, []);
|
|
914
918
|
}, 10), e.data)),
|
|
915
919
|
detail: {}
|
|
916
920
|
};
|
|
@@ -919,7 +923,7 @@ const j = {
|
|
|
919
923
|
styled() {
|
|
920
924
|
return this.$hasPerm("sysFlowProcess:edit") ? `color:${this.primaryColor};cursor: pointer;` : "";
|
|
921
925
|
},
|
|
922
|
-
...
|
|
926
|
+
...l(["tableLists", "tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
|
|
923
927
|
},
|
|
924
928
|
components: {},
|
|
925
929
|
methods: {
|
|
@@ -930,8 +934,8 @@ const j = {
|
|
|
930
934
|
this.$refs.table.refresh();
|
|
931
935
|
},
|
|
932
936
|
dictSwitch(t, e) {
|
|
933
|
-
let
|
|
934
|
-
return
|
|
937
|
+
let i = this.$options.filters.dictData(e).filter((s) => s.code == t)[0];
|
|
938
|
+
return i != null && i.colour ? i.colour : null;
|
|
935
939
|
},
|
|
936
940
|
doEvent(t) {
|
|
937
941
|
let e = t.item.functionName;
|
|
@@ -940,15 +944,15 @@ const j = {
|
|
|
940
944
|
}
|
|
941
945
|
};
|
|
942
946
|
var M = function() {
|
|
943
|
-
var e = this,
|
|
944
|
-
return
|
|
945
|
-
return [
|
|
946
|
-
} }, { key: "orgType", fn: function(
|
|
947
|
-
return [
|
|
948
|
-
} }, { key: "remark", fn: function({ column:
|
|
949
|
-
return [
|
|
947
|
+
var e = this, i = e._self._c;
|
|
948
|
+
return i("div", { staticClass: "gd-page-view" }, [i("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [i("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, filtering: !1, height: e.height, initialLoading: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "name", fn: function({ column: s, row: n }) {
|
|
949
|
+
return [i("gd-tooltip", { attrs: { rowKey: "name", row: n, highlight: "" } })];
|
|
950
|
+
} }, { key: "orgType", fn: function(s) {
|
|
951
|
+
return [i("el-tag", { style: e._f("dictColor")("org_type", s.row.orgtype), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("org_type", s.row.orgtype)) + " ")])];
|
|
952
|
+
} }, { key: "remark", fn: function({ column: s, row: n }) {
|
|
953
|
+
return [i("gd-tooltip", { attrs: { rowKey: "remark", row: n } })];
|
|
950
954
|
} }]) })], 1)]);
|
|
951
|
-
}, A = [], U = /* @__PURE__ */
|
|
955
|
+
}, A = [], U = /* @__PURE__ */ c(
|
|
952
956
|
j,
|
|
953
957
|
M,
|
|
954
958
|
A,
|
|
@@ -1034,8 +1038,8 @@ const G = {
|
|
|
1034
1038
|
selectedRowKeys: [],
|
|
1035
1039
|
queryParam: { sysAppsId: "" },
|
|
1036
1040
|
loadData: (t) => L(Object.assign(t, this.queryParam)).then((e) => (setTimeout(() => {
|
|
1037
|
-
let
|
|
1038
|
-
this.selectedRowKeys = [...
|
|
1041
|
+
let i = [...this.selectRoleRow];
|
|
1042
|
+
this.selectedRowKeys = [...i], this.onSelectChange(i, []);
|
|
1039
1043
|
}, 10), e.data)),
|
|
1040
1044
|
detail: {}
|
|
1041
1045
|
};
|
|
@@ -1044,7 +1048,7 @@ const G = {
|
|
|
1044
1048
|
styled() {
|
|
1045
1049
|
return this.$hasPerm("sysFlowProcess:edit") ? `color:${this.primaryColor};cursor: pointer;` : "";
|
|
1046
1050
|
},
|
|
1047
|
-
...
|
|
1051
|
+
...l(["tableLists", "tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
|
|
1048
1052
|
},
|
|
1049
1053
|
components: {},
|
|
1050
1054
|
methods: {
|
|
@@ -1060,8 +1064,8 @@ const G = {
|
|
|
1060
1064
|
this.$refs.table.refresh();
|
|
1061
1065
|
},
|
|
1062
1066
|
dictSwitch(t, e) {
|
|
1063
|
-
let
|
|
1064
|
-
return
|
|
1067
|
+
let i = this.$options.filters.dictData(e).filter((s) => s.code == t)[0];
|
|
1068
|
+
return i != null && i.colour ? i.colour : null;
|
|
1065
1069
|
},
|
|
1066
1070
|
doEvent(t) {
|
|
1067
1071
|
let e = t.item.functionName;
|
|
@@ -1073,11 +1077,11 @@ const G = {
|
|
|
1073
1077
|
}
|
|
1074
1078
|
};
|
|
1075
1079
|
var J = function() {
|
|
1076
|
-
var e = this,
|
|
1077
|
-
return
|
|
1078
|
-
return [
|
|
1080
|
+
var e = this, i = e._self._c;
|
|
1081
|
+
return i("div", { staticClass: "gd-page-view" }, [i("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [i("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, filtering: !1, height: e.height, initialLoading: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "name", fn: function({ column: s, row: n }) {
|
|
1082
|
+
return [i("gd-tooltip", { attrs: { rowKey: "name", row: n, highlight: "" } })];
|
|
1079
1083
|
} }]) })], 1)]);
|
|
1080
|
-
}, W = [], X = /* @__PURE__ */
|
|
1084
|
+
}, W = [], X = /* @__PURE__ */ c(
|
|
1081
1085
|
G,
|
|
1082
1086
|
J,
|
|
1083
1087
|
W,
|
|
@@ -1158,8 +1162,8 @@ const ee = {
|
|
|
1158
1162
|
selectedRowKeys: [],
|
|
1159
1163
|
queryParam: {},
|
|
1160
1164
|
loadData: (t) => k(Object.assign(t, this.queryParam)).then((e) => (setTimeout(() => {
|
|
1161
|
-
let
|
|
1162
|
-
this.selectedRowKeys = [...
|
|
1165
|
+
let i = [...this.selectTeamRow];
|
|
1166
|
+
this.selectedRowKeys = [...i], this.onSelectChange(i, []);
|
|
1163
1167
|
}, 10), e.data)),
|
|
1164
1168
|
detail: {}
|
|
1165
1169
|
};
|
|
@@ -1168,7 +1172,7 @@ const ee = {
|
|
|
1168
1172
|
styled() {
|
|
1169
1173
|
return this.$hasPerm("sysFlowProcess:edit") ? `color:${this.primaryColor};cursor: pointer;` : "";
|
|
1170
1174
|
},
|
|
1171
|
-
...
|
|
1175
|
+
...l(["tableLists", "tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
|
|
1172
1176
|
},
|
|
1173
1177
|
components: {},
|
|
1174
1178
|
methods: {
|
|
@@ -1179,8 +1183,8 @@ const ee = {
|
|
|
1179
1183
|
this.$refs.table.refresh();
|
|
1180
1184
|
},
|
|
1181
1185
|
dictSwitch(t, e) {
|
|
1182
|
-
let
|
|
1183
|
-
return
|
|
1186
|
+
let i = this.$options.filters.dictData(e).filter((s) => s.code == t)[0];
|
|
1187
|
+
return i != null && i.colour ? i.colour : null;
|
|
1184
1188
|
},
|
|
1185
1189
|
doEvent(t) {
|
|
1186
1190
|
let e = t.item.functionName;
|
|
@@ -1189,25 +1193,25 @@ const ee = {
|
|
|
1189
1193
|
}
|
|
1190
1194
|
};
|
|
1191
1195
|
var te = function() {
|
|
1192
|
-
var e = this,
|
|
1193
|
-
return
|
|
1194
|
-
return [
|
|
1195
|
-
} }, { key: "teamType", fn: function({ column:
|
|
1196
|
-
return [
|
|
1197
|
-
} }, { key: "description", fn: function({ column:
|
|
1196
|
+
var e = this, i = e._self._c;
|
|
1197
|
+
return i("div", { staticClass: "gd-page-view" }, [i("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [i("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, filtering: !1, height: e.height, initialLoading: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "name", fn: function({ column: s, row: n }) {
|
|
1198
|
+
return [i("span", [e._v(" " + e._s(n.name) + " ")])];
|
|
1199
|
+
} }, { key: "teamType", fn: function({ column: s, row: n }) {
|
|
1200
|
+
return [i("span", [e._v(" " + e._s(e._f("dictType")("TeamType", n.teamtype)) + " ")])];
|
|
1201
|
+
} }, { key: "description", fn: function({ column: s, row: n }) {
|
|
1198
1202
|
return [e._v(" " + e._s(n.description) + " ")];
|
|
1199
1203
|
} }]) })], 1)]);
|
|
1200
|
-
},
|
|
1204
|
+
}, ie = [], se = /* @__PURE__ */ c(
|
|
1201
1205
|
ee,
|
|
1202
1206
|
te,
|
|
1203
|
-
|
|
1207
|
+
ie,
|
|
1204
1208
|
!1,
|
|
1205
1209
|
null,
|
|
1206
1210
|
"6f5c581d",
|
|
1207
1211
|
null,
|
|
1208
1212
|
null
|
|
1209
1213
|
);
|
|
1210
|
-
const ne =
|
|
1214
|
+
const ne = se.exports, re = {
|
|
1211
1215
|
data() {
|
|
1212
1216
|
return {
|
|
1213
1217
|
tableColumns: [
|
|
@@ -1285,7 +1289,7 @@ const ne = ie.exports, ae = {
|
|
|
1285
1289
|
};
|
|
1286
1290
|
}
|
|
1287
1291
|
};
|
|
1288
|
-
const
|
|
1292
|
+
const ae = {
|
|
1289
1293
|
props: {
|
|
1290
1294
|
height: {
|
|
1291
1295
|
type: Number,
|
|
@@ -1296,7 +1300,7 @@ const re = {
|
|
|
1296
1300
|
default: () => []
|
|
1297
1301
|
}
|
|
1298
1302
|
},
|
|
1299
|
-
mixins: [u,
|
|
1303
|
+
mixins: [u, re],
|
|
1300
1304
|
data() {
|
|
1301
1305
|
return {
|
|
1302
1306
|
selectedRows: [],
|
|
@@ -1306,11 +1310,11 @@ const re = {
|
|
|
1306
1310
|
},
|
|
1307
1311
|
loadData: (t) => {
|
|
1308
1312
|
let e = JSON.parse(JSON.stringify(this.selectUserRow));
|
|
1309
|
-
return T(Object.assign(t, this.queryParam)).then((
|
|
1310
|
-
let
|
|
1311
|
-
return e.length > 0 ?
|
|
1312
|
-
this.selectedRowKeys = [...
|
|
1313
|
-
}),
|
|
1313
|
+
return T(Object.assign(t, this.queryParam)).then((i) => {
|
|
1314
|
+
let s = [];
|
|
1315
|
+
return e.length > 0 ? s = [...JSON.parse(JSON.stringify(e))].map(String) : s = [...JSON.parse(JSON.stringify(this.selectUserRow))].map(String), this.$nextTick(() => {
|
|
1316
|
+
this.selectedRowKeys = [...s], this.onSelectChange(s, []);
|
|
1317
|
+
}), i.data;
|
|
1314
1318
|
});
|
|
1315
1319
|
},
|
|
1316
1320
|
detail: {}
|
|
@@ -1320,7 +1324,7 @@ const re = {
|
|
|
1320
1324
|
styled() {
|
|
1321
1325
|
return this.$hasPerm("sysFlowProcess:edit") ? `color:${this.primaryColor};cursor: pointer;` : "";
|
|
1322
1326
|
},
|
|
1323
|
-
...
|
|
1327
|
+
...l(["tableLists", "tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
|
|
1324
1328
|
},
|
|
1325
1329
|
components: {},
|
|
1326
1330
|
methods: {
|
|
@@ -1337,8 +1341,8 @@ const re = {
|
|
|
1337
1341
|
this.queryParam.searchValue = "", this.$refs.table.refresh();
|
|
1338
1342
|
},
|
|
1339
1343
|
dictSwitch(t, e) {
|
|
1340
|
-
let
|
|
1341
|
-
return
|
|
1344
|
+
let i = this.$options.filters.dictData(e).filter((s) => s.code == t)[0];
|
|
1345
|
+
return i != null && i.colour ? i.colour : null;
|
|
1342
1346
|
},
|
|
1343
1347
|
doEvent(t) {
|
|
1344
1348
|
let e = t.item.functionName;
|
|
@@ -1349,22 +1353,22 @@ const re = {
|
|
|
1349
1353
|
}
|
|
1350
1354
|
};
|
|
1351
1355
|
var oe = function() {
|
|
1352
|
-
var e = this,
|
|
1353
|
-
return
|
|
1354
|
-
return [
|
|
1355
|
-
} }, { key: "gender", fn: function(
|
|
1356
|
-
return [
|
|
1357
|
-
} }, { key: "statecodes", fn: function(
|
|
1358
|
-
return [
|
|
1356
|
+
var e = this, i = e._self._c;
|
|
1357
|
+
return i("div", { staticClass: "gd-page-view" }, [i("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [i("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, filtering: !1, height: e.height, initialLoading: !0, showPagination: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "account", fn: function({ column: s, row: n }) {
|
|
1358
|
+
return [i("gd-tooltip", { attrs: { rowKey: "account", row: n, highlight: "" } })];
|
|
1359
|
+
} }, { key: "gender", fn: function(s) {
|
|
1360
|
+
return [i("div", { staticStyle: { cursor: "pointer" } }, [i("el-tag", { style: e._f("dictColor")("gender", s.row.gender), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("gender", s.row.gender)) + " ")])], 1)];
|
|
1361
|
+
} }, { key: "statecodes", fn: function(s) {
|
|
1362
|
+
return [i("div", { staticStyle: { cursor: "pointer" } }, [s.row.statecodes == 1 ? i("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : i("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "18px", color: "#999" } })])];
|
|
1359
1363
|
} }, { key: "operator", fn: function() {
|
|
1360
|
-
return [
|
|
1361
|
-
return !
|
|
1362
|
-
} }, model: { value: e.queryParam.searchValue, callback: function(
|
|
1363
|
-
e.$set(e.queryParam, "searchValue",
|
|
1364
|
-
}, expression: "queryParam.searchValue" } }),
|
|
1364
|
+
return [i("div", { staticClass: "gd-table-operator" }, [i("div", { staticClass: "gd-table-operatorl", staticStyle: { width: "270px" } }, [i("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(s) {
|
|
1365
|
+
return !s.type.indexOf("key") && e._k(s.keyCode, "enter", 13, s.key, "Enter") ? null : e.refresh.apply(null, arguments);
|
|
1366
|
+
} }, model: { value: e.queryParam.searchValue, callback: function(s) {
|
|
1367
|
+
e.$set(e.queryParam, "searchValue", s);
|
|
1368
|
+
}, expression: "queryParam.searchValue" } }), i("div", { staticClass: "table-operator-search", on: { click: e.refresh } }, [i("i", { staticClass: "el-input__icon el-icon-search" })])], 1)])];
|
|
1365
1369
|
}, proxy: !0 }]) })], 1)]);
|
|
1366
|
-
}, le = [], ce = /* @__PURE__ */
|
|
1367
|
-
|
|
1370
|
+
}, le = [], ce = /* @__PURE__ */ c(
|
|
1371
|
+
ae,
|
|
1368
1372
|
oe,
|
|
1369
1373
|
le,
|
|
1370
1374
|
!1,
|
|
@@ -1402,14 +1406,13 @@ const ue = {
|
|
|
1402
1406
|
components: { noticeUser: de, notcieOrg: V, noticeRole: Y, noticeTeam: ne },
|
|
1403
1407
|
computed: {
|
|
1404
1408
|
getHeight() {
|
|
1405
|
-
console.log(this.fullScreen, this.screenHeight);
|
|
1406
1409
|
const t = this.fullScreen ? 210 : 370;
|
|
1407
1410
|
return this.screenHeight - t;
|
|
1408
1411
|
},
|
|
1409
1412
|
getButtons() {
|
|
1410
1413
|
return this.sysViewButtons.filter((t) => !(this.enterType == "1" && t.functionName === "handleSubmit"));
|
|
1411
1414
|
},
|
|
1412
|
-
...
|
|
1415
|
+
...l(["screenHeight", "tableLists", "primaryColor"])
|
|
1413
1416
|
},
|
|
1414
1417
|
methods: {
|
|
1415
1418
|
toggleFullscreen() {
|
|
@@ -1423,8 +1426,8 @@ const ue = {
|
|
|
1423
1426
|
getData(t, e) {
|
|
1424
1427
|
v({
|
|
1425
1428
|
id: e == "1" ? t[0] : t
|
|
1426
|
-
}).then((
|
|
1427
|
-
|
|
1429
|
+
}).then((i) => {
|
|
1430
|
+
i.data.receivergroups.forEach((n) => {
|
|
1428
1431
|
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);
|
|
1429
1432
|
});
|
|
1430
1433
|
});
|
|
@@ -1478,19 +1481,19 @@ const ue = {
|
|
|
1478
1481
|
}
|
|
1479
1482
|
};
|
|
1480
1483
|
var he = function() {
|
|
1481
|
-
var e = this,
|
|
1482
|
-
return
|
|
1483
|
-
e.visible =
|
|
1484
|
-
}, closed: e.handleCancel } }, [
|
|
1485
|
-
e.type =
|
|
1486
|
-
}, expression: "type" } }, [
|
|
1487
|
-
}, fe = [], pe = /* @__PURE__ */
|
|
1484
|
+
var e = this, i = e._self._c;
|
|
1485
|
+
return i("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: "80px", "append-to-body": "", "show-close": !1 }, on: { "update:visible": function(s) {
|
|
1486
|
+
e.visible = s;
|
|
1487
|
+
}, closed: e.handleCancel } }, [i("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" }), i("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [i("div", { staticClass: "setting-navs", class: e.fullScreen ? "modal-bodyq" : "modal-body" }, [i("el-tabs", { attrs: { type: "card" }, on: { "tab-click": e.tabChange }, model: { value: e.type, callback: function(s) {
|
|
1488
|
+
e.type = s;
|
|
1489
|
+
}, expression: "type" } }, [i("el-tab-pane", { attrs: { name: "noticeuser", label: e.$i18nt("gd.fieldSecurity.user", "\u7528\u6237") } }, [e.type == "noticeuser" ? i("noticeUser", { ref: "noticeuserRef", attrs: { selectUserRow: e.userRowList, height: e.getHeight }, on: { ok: e.selectUser } }) : e._e()], 1), i("el-tab-pane", { attrs: { name: "noticeteam", label: e.$i18nt("gd.fieldSecurity.team", "\u56E2\u961F") } }, [e.type == "noticeteam" ? i("noticeTeam", { ref: "noticeteamRef", attrs: { selectTeamRow: e.teamRowList, height: e.getHeight }, on: { ok: e.selectTeam } }) : e._e()], 1), i("el-tab-pane", { attrs: { name: "noticerole", label: e.$i18nt("gd.fieldSecurity.role", "\u89D2\u8272") } }, [e.type == "noticerole" ? i("noticeRole", { ref: "noticeroleRef", attrs: { selectRoleRow: e.roleRowList, height: e.getHeight }, on: { ok: e.selectRole } }) : e._e()], 1), i("el-tab-pane", { attrs: { name: "noticeorg", label: e.$i18nt("gd.pagecomponents.institution", "\u673A\u6784") } }, [e.type == "noticeorg" ? i("notcieOrg", { ref: "noticeorgRef", attrs: { selectOrgRow: e.orgRowList, height: e.getHeight }, on: { ok: e.selectOrg } }) : e._e()], 1)], 1)], 1)])], 1);
|
|
1490
|
+
}, fe = [], pe = /* @__PURE__ */ c(
|
|
1488
1491
|
ue,
|
|
1489
1492
|
he,
|
|
1490
1493
|
fe,
|
|
1491
1494
|
!1,
|
|
1492
1495
|
null,
|
|
1493
|
-
"
|
|
1496
|
+
"c00c5f9e",
|
|
1494
1497
|
null,
|
|
1495
1498
|
null
|
|
1496
1499
|
);
|