@fecp/designer 5.6.27 → 5.6.28
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/es/_virtual/index2.mjs +5 -3
- package/es/_virtual/index3.mjs +3 -5
- package/es/_virtual/index4.mjs +2 -2
- package/es/_virtual/index5.mjs +2 -2
- package/es/designer/package.json.mjs +1 -1
- package/es/designer/src/packages/dialog/useDialogDialog.mjs +1 -1
- package/es/designer/src/packages/dialogGlobal/index.vue.mjs +1 -1
- package/es/designer/src/packages/dialogGlobal/useDialogGlobalDialog.mjs +1 -1
- package/es/designer/src/packages/form/property/widgets.vue.mjs +2 -2
- package/es/designer.css +81 -83
- package/es/node_modules/@braintree/sanitize-url/dist/index.mjs +1 -1
- package/es/node_modules/diagram-js/lib/model/index.mjs +1 -1
- package/es/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-LMCZKHZV.mjs +1 -1
- package/es/node_modules/mermaid/dist/chunks/mermaid.core/chunk-32BRIVSS.mjs +1 -1
- package/es/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ICXQ74PX.mjs +1 -1
- package/es/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-OUVF2IWQ.mjs +1 -1
- package/es/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-EOCWNBFH.mjs +1 -1
- package/es/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-23GEKE2U.mjs +1 -1
- package/es/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-NO4QXBWP.mjs +1 -1
- package/es/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-DBY2YBRQ.mjs +1 -1
- package/es/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-2N3HPSRC.mjs +1 -1
- package/es/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-6OUMAXLB.mjs +1 -1
- package/es/node_modules/mermaid/dist/chunks/mermaid.core/swimlanesDiagram-G3AALYLV.mjs +1 -1
- package/es/node_modules/object-refs/index.mjs +1 -1
- package/es/packages/mobile/index.mjs +2 -0
- package/es/packages/mobile/src/components/all.mjs +2 -0
- package/es/packages/mobile/src/components/base/card/Card.vue.mjs +2 -2
- package/es/packages/mobile/src/components/custom/aiAssistant/AiAssistant.vue.mjs +91 -0
- package/es/packages/mobile/src/components/custom/aiAssistant/index.mjs +10 -0
- package/es/packages/mobile/src/components/custom/appDetail/AppDetail.vue.mjs +25 -16
- package/es/packages/mobile/src/components/custom/approvalBar/ApprovalBar.vue.mjs +7 -3
- package/es/packages/mobile/src/components/navigation/tabbar/Tabbar.vue.mjs +2 -2
- package/es/packages/mobile/src/index.vue.mjs +14 -68
- package/es/packages/vue/src/components/bus/flowChart/bpmnjs/component/NodeItem.vue.mjs +1 -1
- package/es/packages/vue/src/components/bus/flowChart/bpmnjs/component/timeline.vue.mjs +1 -1
- package/lib/_virtual/index2.js +6 -4
- package/lib/_virtual/index3.js +4 -6
- package/lib/_virtual/index4.js +2 -2
- package/lib/_virtual/index5.js +2 -2
- package/lib/designer/package.json.js +1 -1
- package/lib/designer/src/packages/dialog/useDialogDialog.js +1 -1
- package/lib/designer/src/packages/dialogGlobal/index.vue.js +1 -1
- package/lib/designer/src/packages/dialogGlobal/useDialogGlobalDialog.js +1 -1
- package/lib/designer/src/packages/form/property/widgets.vue.js +2 -2
- package/lib/designer.css +81 -83
- package/lib/node_modules/@braintree/sanitize-url/dist/index.js +1 -1
- package/lib/node_modules/diagram-js/lib/model/index.js +1 -1
- package/lib/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-LMCZKHZV.js +1 -1
- package/lib/node_modules/mermaid/dist/chunks/mermaid.core/chunk-32BRIVSS.js +1 -1
- package/lib/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ICXQ74PX.js +1 -1
- package/lib/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-OUVF2IWQ.js +1 -1
- package/lib/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-EOCWNBFH.js +1 -1
- package/lib/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-23GEKE2U.js +1 -1
- package/lib/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-NO4QXBWP.js +1 -1
- package/lib/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-DBY2YBRQ.js +1 -1
- package/lib/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-2N3HPSRC.js +1 -1
- package/lib/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-6OUMAXLB.js +1 -1
- package/lib/node_modules/mermaid/dist/chunks/mermaid.core/swimlanesDiagram-G3AALYLV.js +1 -1
- package/lib/node_modules/object-refs/index.js +1 -1
- package/lib/packages/mobile/index.js +4 -2
- package/lib/packages/mobile/src/components/all.js +2 -0
- package/lib/packages/mobile/src/components/base/card/Card.vue.js +2 -2
- package/lib/packages/mobile/src/components/custom/aiAssistant/AiAssistant.vue.js +91 -0
- package/lib/packages/mobile/src/components/custom/aiAssistant/index.js +10 -0
- package/lib/packages/mobile/src/components/custom/appDetail/AppDetail.vue.js +25 -16
- package/lib/packages/mobile/src/components/custom/approvalBar/ApprovalBar.vue.js +7 -3
- package/lib/packages/mobile/src/components/navigation/tabbar/Tabbar.vue.js +2 -2
- package/lib/packages/mobile/src/index.vue.js +17 -71
- package/lib/packages/vue/src/components/bus/flowChart/bpmnjs/component/NodeItem.vue.js +1 -1
- package/lib/packages/vue/src/components/bus/flowChart/bpmnjs/component/timeline.vue.js +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("../../../../_virtual/
|
|
3
|
+
const index = require("../../../../_virtual/index5.js");
|
|
4
4
|
const constants = require("./constants.js");
|
|
5
5
|
var hasRequiredDist;
|
|
6
6
|
function requireDist() {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const index_esm = require("../../../min-dash/dist/index.esm.js");
|
|
4
4
|
const index_es = require("../../../inherits-browser/dist/index.es.js");
|
|
5
|
-
const index = require("../../../../_virtual/
|
|
5
|
+
const index = require("../../../../_virtual/index2.js");
|
|
6
6
|
var parentRefs = new index.default({ name: "children", enumerable: true, collection: true }, { name: "parent" }), labelRefs = new index.default({ name: "labels", enumerable: true, collection: true }, { name: "labelTarget" }), attacherRefs = new index.default({ name: "attachers", collection: true }, { name: "host" }), outgoingRefs = new index.default({ name: "outgoing", collection: true }, { name: "source" }), incomingRefs = new index.default({ name: "incoming", collection: true }, { name: "target" });
|
|
7
7
|
function Base() {
|
|
8
8
|
Object.defineProperty(this, "businessObject", {
|
|
@@ -8,7 +8,7 @@ const chunkX3CZISLH = require("./chunk-X3CZISLH.js");
|
|
|
8
8
|
const chunkY2CYZVJY = require("./chunk-Y2CYZVJY.js");
|
|
9
9
|
require("../../../../d3-transition/src/selection/index.js");
|
|
10
10
|
require("../../../../d3-zoom/src/transform.js");
|
|
11
|
-
const index = require("../../../../../_virtual/
|
|
11
|
+
const index = require("../../../../../_virtual/index3.js");
|
|
12
12
|
const select = require("../../../../d3-selection/src/select.js");
|
|
13
13
|
var parser = function() {
|
|
14
14
|
var o = /* @__PURE__ */ chunkY2CYZVJY.__name(function(k, v, o2, l) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const chunkWYO6CB5R = require("./chunk-WYO6CB5R.js");
|
|
4
4
|
const chunkY2CYZVJY = require("./chunk-Y2CYZVJY.js");
|
|
5
|
-
const index = require("../../../../../_virtual/
|
|
5
|
+
const index = require("../../../../../_virtual/index3.js");
|
|
6
6
|
require("../../../../d3-transition/src/selection/index.js");
|
|
7
7
|
require("../../../../d3-zoom/src/transform.js");
|
|
8
8
|
const select = require("../../../../d3-selection/src/select.js");
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
4
4
|
const chunkWYO6CB5R = require("./chunk-WYO6CB5R.js");
|
|
5
5
|
const chunkX3CZISLH = require("./chunk-X3CZISLH.js");
|
|
6
6
|
const chunkY2CYZVJY = require("./chunk-Y2CYZVJY.js");
|
|
7
|
-
const index = require("../../../../../_virtual/
|
|
7
|
+
const index = require("../../../../../_virtual/index3.js");
|
|
8
8
|
require("../../../../d3-transition/src/selection/index.js");
|
|
9
9
|
require("../../../../d3-zoom/src/transform.js");
|
|
10
10
|
const memoize = require("../../../../es-toolkit/dist/compat/function/memoize.js");
|
|
@@ -7,7 +7,7 @@ require("../../../../d3-zoom/src/transform.js");
|
|
|
7
7
|
require("./chunk-WYO6CB5R.js");
|
|
8
8
|
require("../../../../../_virtual/dayjs.min.js");
|
|
9
9
|
require("./chunk-FWX5IMBZ.js");
|
|
10
|
-
require("../../../../../_virtual/
|
|
10
|
+
require("../../../../../_virtual/index3.js");
|
|
11
11
|
require("./chunk-52WLFC77.js");
|
|
12
12
|
require("./chunk-ZGVPDNZ5.js");
|
|
13
13
|
require("./chunk-7BUUIJ7U.js");
|
|
@@ -7,7 +7,7 @@ require("../../../../d3-zoom/src/transform.js");
|
|
|
7
7
|
require("./chunk-WYO6CB5R.js");
|
|
8
8
|
require("../../../../../_virtual/dayjs.min.js");
|
|
9
9
|
require("./chunk-FWX5IMBZ.js");
|
|
10
|
-
require("../../../../../_virtual/
|
|
10
|
+
require("../../../../../_virtual/index3.js");
|
|
11
11
|
require("./chunk-52WLFC77.js");
|
|
12
12
|
require("./chunk-ZGVPDNZ5.js");
|
|
13
13
|
require("./chunk-7BUUIJ7U.js");
|
|
@@ -7,7 +7,7 @@ require("./chunk-WYO6CB5R.js");
|
|
|
7
7
|
require("../../../../../_virtual/dayjs.min.js");
|
|
8
8
|
require("./chunk-ZIRB5QZD.js");
|
|
9
9
|
require("./chunk-FWX5IMBZ.js");
|
|
10
|
-
require("../../../../../_virtual/
|
|
10
|
+
require("../../../../../_virtual/index3.js");
|
|
11
11
|
require("./chunk-52WLFC77.js");
|
|
12
12
|
require("./chunk-ZGVPDNZ5.js");
|
|
13
13
|
require("./chunk-7BUUIJ7U.js");
|
|
@@ -4,7 +4,7 @@ const chunkICXQ74PX = require("./chunk-ICXQ74PX.js");
|
|
|
4
4
|
const chunkWYO6CB5R = require("./chunk-WYO6CB5R.js");
|
|
5
5
|
const chunkX3CZISLH = require("./chunk-X3CZISLH.js");
|
|
6
6
|
const chunkY2CYZVJY = require("./chunk-Y2CYZVJY.js");
|
|
7
|
-
const index = require("../../../../../_virtual/
|
|
7
|
+
const index = require("../../../../../_virtual/index3.js");
|
|
8
8
|
const dayjs_min = require("../../../../../_virtual/dayjs.min.js");
|
|
9
9
|
const isoWeek = require("../../../../../_virtual/isoWeek.js");
|
|
10
10
|
const customParseFormat = require("../../../../../_virtual/customParseFormat.js");
|
|
@@ -10,7 +10,7 @@ const chunkX3CZISLH = require("./chunk-X3CZISLH.js");
|
|
|
10
10
|
const chunkY2CYZVJY = require("./chunk-Y2CYZVJY.js");
|
|
11
11
|
require("../../../../d3-transition/src/selection/index.js");
|
|
12
12
|
require("../../../../d3-zoom/src/transform.js");
|
|
13
|
-
const index = require("../../../../../_virtual/
|
|
13
|
+
const index = require("../../../../../_virtual/index3.js");
|
|
14
14
|
const select = require("../../../../d3-selection/src/select.js");
|
|
15
15
|
var parser = function() {
|
|
16
16
|
var o = /* @__PURE__ */ chunkY2CYZVJY.__name(function(k, v, o2, l) {
|
|
@@ -7,7 +7,7 @@ require("../../../../d3-zoom/src/transform.js");
|
|
|
7
7
|
const chunkWYO6CB5R = require("./chunk-WYO6CB5R.js");
|
|
8
8
|
const chunkX3CZISLH = require("./chunk-X3CZISLH.js");
|
|
9
9
|
require("./chunk-FWX5IMBZ.js");
|
|
10
|
-
require("../../../../../_virtual/
|
|
10
|
+
require("../../../../../_virtual/index3.js");
|
|
11
11
|
require("./chunk-52WLFC77.js");
|
|
12
12
|
require("./chunk-ZGVPDNZ5.js");
|
|
13
13
|
require("./chunk-7BUUIJ7U.js");
|
|
@@ -7,7 +7,7 @@ require("../../../../d3-zoom/src/transform.js");
|
|
|
7
7
|
require("./chunk-WYO6CB5R.js");
|
|
8
8
|
require("../../../../../_virtual/dayjs.min.js");
|
|
9
9
|
require("./chunk-FWX5IMBZ.js");
|
|
10
|
-
require("../../../../../_virtual/
|
|
10
|
+
require("../../../../../_virtual/index3.js");
|
|
11
11
|
require("./chunk-52WLFC77.js");
|
|
12
12
|
require("./chunk-ZGVPDNZ5.js");
|
|
13
13
|
require("./chunk-7BUUIJ7U.js");
|
|
@@ -8,7 +8,7 @@ require("./chunk-WYO6CB5R.js");
|
|
|
8
8
|
require("../../../../../_virtual/dayjs.min.js");
|
|
9
9
|
require("./chunk-ZIRB5QZD.js");
|
|
10
10
|
require("./chunk-FWX5IMBZ.js");
|
|
11
|
-
require("../../../../../_virtual/
|
|
11
|
+
require("../../../../../_virtual/index3.js");
|
|
12
12
|
require("./chunk-52WLFC77.js");
|
|
13
13
|
require("./chunk-ZGVPDNZ5.js");
|
|
14
14
|
require("./chunk-7BUUIJ7U.js");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("../../_virtual/
|
|
3
|
+
const index = require("../../_virtual/index4.js");
|
|
4
4
|
const refs = require("./lib/refs.js");
|
|
5
5
|
const collection = require("./lib/collection.js");
|
|
6
6
|
var hasRequiredObjectRefs;
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const all = require("./src/components/all.js");
|
|
4
4
|
require("../../node_modules/@vant/touch-emulator/dist/index.js");
|
|
5
5
|
;/* empty css */
|
|
6
|
-
const index$
|
|
6
|
+
const index$1g = ;/* empty css */
|
|
7
7
|
const index$1 = require("./src/components/ai/AiChat/index.js");
|
|
8
8
|
const index$2 = require("./src/components/base/button/index.js");
|
|
9
9
|
const index$3 = require("./src/components/base/icon/index.js");
|
|
@@ -82,6 +82,7 @@ const index$1b = require("./src/components/custom/approvalList/index.js");
|
|
|
82
82
|
const index$1c = require("./src/components/custom/document/index.js");
|
|
83
83
|
const index$1d = require("./src/components/custom/userSelect/index.js");
|
|
84
84
|
const index$1e = require("./src/components/custom/customCode/index.js");
|
|
85
|
+
const index$1f = require("./src/components/custom/aiAssistant/index.js");
|
|
85
86
|
const functionCall = require("../../node_modules/vant/es/dialog/function-call.js");
|
|
86
87
|
const functionCall$1 = require("../../node_modules/vant/es/image-preview/function-call.js");
|
|
87
88
|
const functionCall$2 = require("../../node_modules/vant/es/notify/function-call.js");
|
|
@@ -91,7 +92,7 @@ const index = {
|
|
|
91
92
|
for (let c in all) {
|
|
92
93
|
app.use(all[c]);
|
|
93
94
|
}
|
|
94
|
-
app.component("FecMobileApp", index$
|
|
95
|
+
app.component("FecMobileApp", index$1g.default);
|
|
95
96
|
}
|
|
96
97
|
};
|
|
97
98
|
exports.MobileAiChat = index$1.MobileAiChat;
|
|
@@ -172,6 +173,7 @@ exports.MobileApprovalList = index$1b.MobileApprovalList;
|
|
|
172
173
|
exports.MobileDocument = index$1c.MobileDocument;
|
|
173
174
|
exports.MobileUserSelect = index$1d.MobileUserSelect;
|
|
174
175
|
exports.MobileCustomCode = index$1e.MobileCustomCode;
|
|
176
|
+
exports.MobileAiAssistant = index$1f.MobileAiAssistant;
|
|
175
177
|
exports.closeDialog = functionCall.closeDialog;
|
|
176
178
|
exports.showConfirmDialog = functionCall.showConfirmDialog;
|
|
177
179
|
exports.showDialog = functionCall.showDialog;
|
|
@@ -80,6 +80,7 @@ require("./custom/appTimeLine/index.js");
|
|
|
80
80
|
const index$1b = require("./custom/document/index.js");
|
|
81
81
|
const index$1c = require("./custom/userSelect/index.js");
|
|
82
82
|
const index$1d = require("./custom/customCode/index.js");
|
|
83
|
+
const index$1e = require("./custom/aiAssistant/index.js");
|
|
83
84
|
exports.MobileAiChat = index.MobileAiChat;
|
|
84
85
|
exports.MobileButton = index$1.MobileButton;
|
|
85
86
|
exports.MobileIcon = index$2.MobileIcon;
|
|
@@ -158,3 +159,4 @@ exports.MobileApprovalList = index$1a.MobileApprovalList;
|
|
|
158
159
|
exports.MobileDocument = index$1b.MobileDocument;
|
|
159
160
|
exports.MobileUserSelect = index$1c.MobileUserSelect;
|
|
160
161
|
exports.MobileCustomCode = index$1d.MobileCustomCode;
|
|
162
|
+
exports.MobileAiAssistant = index$1e.MobileAiAssistant;
|
|
@@ -8,13 +8,13 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
8
8
|
;/* empty css */
|
|
9
9
|
;/* empty css */
|
|
10
10
|
const Vue = require("vue");
|
|
11
|
+
;/* empty css */
|
|
12
|
+
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
11
13
|
;/* empty css */
|
|
12
14
|
;/* empty css */
|
|
13
15
|
;/* empty css */
|
|
14
16
|
;/* empty css */
|
|
15
17
|
;/* empty css */
|
|
16
|
-
;/* empty css */
|
|
17
|
-
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
18
18
|
const index$1 = require("../../../../../../node_modules/vant/es/swipe-cell/index.js");
|
|
19
19
|
const functionCall = require("../../../../../../node_modules/vant/es/dialog/function-call.js");
|
|
20
20
|
require("../../../../../../node_modules/vant/es/dialog/index.js");
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
;/* empty css */
|
|
4
|
+
;/* empty css */
|
|
5
|
+
;/* empty css */
|
|
6
|
+
;/* empty css */
|
|
7
|
+
;/* empty css */
|
|
8
|
+
;/* empty css */
|
|
9
|
+
const Vue = require("vue");
|
|
10
|
+
const index$2 = require("../../ai/AiChat/index.js");
|
|
11
|
+
const ai2 = require("../../../assets/images/ai2.png.js");
|
|
12
|
+
;/* empty css */
|
|
13
|
+
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
14
|
+
const index = require("../../../../../../node_modules/vant/es/floating-bubble/index.js");
|
|
15
|
+
const index$1 = require("../../../../../../node_modules/vant/es/popup/index.js");
|
|
16
|
+
const _hoisted_1 = ["src"];
|
|
17
|
+
const _sfc_main = {
|
|
18
|
+
__name: "AiAssistant",
|
|
19
|
+
props: {
|
|
20
|
+
visible: {
|
|
21
|
+
type: Boolean,
|
|
22
|
+
default: false
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
emits: ["navigate"],
|
|
26
|
+
setup(__props, { emit: __emit }) {
|
|
27
|
+
const emit = __emit;
|
|
28
|
+
const showChatPopup = Vue.ref(false);
|
|
29
|
+
const offset = Vue.ref({ x: -12, y: 500 });
|
|
30
|
+
function openChatPopup() {
|
|
31
|
+
if (window.__fecPlatform == "miniprogram") {
|
|
32
|
+
wx.miniProgram.navigateTo({
|
|
33
|
+
url: "/pages/chat/chat"
|
|
34
|
+
});
|
|
35
|
+
} else {
|
|
36
|
+
showChatPopup.value = true;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
function handleNavigate(href) {
|
|
40
|
+
showChatPopup.value = false;
|
|
41
|
+
emit("navigate", href);
|
|
42
|
+
}
|
|
43
|
+
return (_ctx, _cache) => {
|
|
44
|
+
const _component_van_floating_bubble = index.FloatingBubble;
|
|
45
|
+
const _component_van_popup = index$1.Popup;
|
|
46
|
+
return Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, null, [
|
|
47
|
+
__props.visible ? (Vue.openBlock(), Vue.createBlock(_component_van_floating_bubble, {
|
|
48
|
+
key: 0,
|
|
49
|
+
style: { "z-index": "100", "background": "linear-gradient(135deg, #667eea 0%, #764ba2 100%)" },
|
|
50
|
+
axis: "xy",
|
|
51
|
+
magnetic: "x",
|
|
52
|
+
gap: 12,
|
|
53
|
+
offset: offset.value,
|
|
54
|
+
"onUpdate:offset": _cache[0] || (_cache[0] = ($event) => offset.value = $event),
|
|
55
|
+
teleport: null,
|
|
56
|
+
onClick: openChatPopup
|
|
57
|
+
}, {
|
|
58
|
+
default: Vue.withCtx(() => [
|
|
59
|
+
Vue.createElementVNode("img", {
|
|
60
|
+
src: Vue.unref(ai2.default),
|
|
61
|
+
class: "ai-bubble-icon"
|
|
62
|
+
}, null, 8, _hoisted_1)
|
|
63
|
+
]),
|
|
64
|
+
_: 1
|
|
65
|
+
}, 8, ["offset"])) : Vue.createCommentVNode("", true),
|
|
66
|
+
Vue.createVNode(_component_van_popup, {
|
|
67
|
+
teleport: "body",
|
|
68
|
+
show: showChatPopup.value,
|
|
69
|
+
"onUpdate:show": _cache[2] || (_cache[2] = ($event) => showChatPopup.value = $event),
|
|
70
|
+
position: "right",
|
|
71
|
+
style: {
|
|
72
|
+
width: "100%",
|
|
73
|
+
height: "100%"
|
|
74
|
+
},
|
|
75
|
+
"lock-scroll": true
|
|
76
|
+
}, {
|
|
77
|
+
default: Vue.withCtx(() => [
|
|
78
|
+
Vue.createVNode(Vue.unref(index$2.MobileAiChat), {
|
|
79
|
+
popup: "",
|
|
80
|
+
onClose: _cache[1] || (_cache[1] = ($event) => showChatPopup.value = false),
|
|
81
|
+
onNavigate: handleNavigate
|
|
82
|
+
})
|
|
83
|
+
]),
|
|
84
|
+
_: 1
|
|
85
|
+
}, 8, ["show"])
|
|
86
|
+
], 64);
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
const AiAssistant = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-334c9087"]]);
|
|
91
|
+
exports.default = AiAssistant;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const AiAssistant = require("./AiAssistant.vue.js");
|
|
4
|
+
const install = require("../../../utils/install.js");
|
|
5
|
+
const MobileAiAssistant = install.default.withInstall(
|
|
6
|
+
"MobileAiAssistant",
|
|
7
|
+
AiAssistant.default
|
|
8
|
+
);
|
|
9
|
+
exports.MobileAiAssistant = MobileAiAssistant;
|
|
10
|
+
exports.default = MobileAiAssistant;
|
|
@@ -65,11 +65,13 @@ const _sfc_main = {
|
|
|
65
65
|
const pageList = Vue.inject("pageList");
|
|
66
66
|
const currentInstance = Vue.getCurrentInstance();
|
|
67
67
|
const ctx = currentInstance.proxy;
|
|
68
|
-
ctx
|
|
68
|
+
const route = ctx.$route;
|
|
69
69
|
const opinionTypeOptions = Vue.ref([]);
|
|
70
|
-
const taskData = { ...props.params.taskData };
|
|
71
|
-
const taskParams = { ...props.params };
|
|
72
|
-
delete taskParams.taskData;
|
|
70
|
+
const taskData = Vue.ref({ ...props.params.taskData });
|
|
71
|
+
const taskParams = Vue.ref({ ...props.params });
|
|
72
|
+
delete taskParams.value.taskData;
|
|
73
|
+
const taskId = ((_a = props.params) == null ? void 0 : _a.taskId) || route.query.taskId;
|
|
74
|
+
const type = ((_b = props.params) == null ? void 0 : _b.type) || route.query.type;
|
|
73
75
|
const appDetailPage = Vue.ref();
|
|
74
76
|
const canMobileApproval = Vue.ref(true);
|
|
75
77
|
const baseInfoPageId = Vue.ref("");
|
|
@@ -86,7 +88,7 @@ const _sfc_main = {
|
|
|
86
88
|
const showEmpty = Vue.ref(false);
|
|
87
89
|
const taskNotFound = Vue.ref(false);
|
|
88
90
|
function handleData(data) {
|
|
89
|
-
taskParams.processInstanceId = data.processInstanceId;
|
|
91
|
+
taskParams.value.processInstanceId = data.processInstanceId;
|
|
90
92
|
if (props.baseInfoPageSource == "dynamic") {
|
|
91
93
|
baseInfoPageId.value = data.mobileDetailPage;
|
|
92
94
|
appDetailPage.value = common.findPageById(pageList.value, data.mobileDetailPage);
|
|
@@ -107,12 +109,20 @@ const _sfc_main = {
|
|
|
107
109
|
);
|
|
108
110
|
show.value = true;
|
|
109
111
|
}
|
|
110
|
-
const taskId = (_a = props.params) == null ? void 0 : _a.taskId;
|
|
111
|
-
const type = (_b = props.params) == null ? void 0 : _b.type;
|
|
112
112
|
if (!props.isDev) {
|
|
113
113
|
if (!taskId) {
|
|
114
114
|
showEmpty.value = true;
|
|
115
115
|
} else {
|
|
116
|
+
if (route.query.pageKey == "approveDetail") {
|
|
117
|
+
ctx.$http.postMobile(
|
|
118
|
+
"/" + window.$servers.base + "/flow/workbench/findTaskById",
|
|
119
|
+
{ taskId, taskStatus: type },
|
|
120
|
+
false
|
|
121
|
+
).then((data) => {
|
|
122
|
+
taskData.value = data;
|
|
123
|
+
taskParams.value.traceNo = data.traceNo;
|
|
124
|
+
});
|
|
125
|
+
}
|
|
116
126
|
ctx.$http.postFormMobile(
|
|
117
127
|
"/" + window.$servers.base + "/flow/flowApproveDetail/findById",
|
|
118
128
|
{
|
|
@@ -155,7 +165,6 @@ const _sfc_main = {
|
|
|
155
165
|
return tabsOptions.value.find((item) => item.id == activeName.value);
|
|
156
166
|
});
|
|
157
167
|
return (_ctx, _cache) => {
|
|
158
|
-
var _a2;
|
|
159
168
|
const _component_van_empty = index.Empty;
|
|
160
169
|
const _component_FecMobileApprovalBar = Vue.resolveComponent("FecMobileApprovalBar");
|
|
161
170
|
return Vue.unref(showEmpty) ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
@@ -170,22 +179,22 @@ const _sfc_main = {
|
|
|
170
179
|
})
|
|
171
180
|
])) : (Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, { key: 2 }, [
|
|
172
181
|
__props.isDev ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_3, "审批详情页面显示区")) : (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_4, [
|
|
173
|
-
Vue.unref(appDetailPage) ? (Vue.openBlock(), Vue.createBlock(page.default, {
|
|
182
|
+
Vue.unref(appDetailPage) && Vue.unref(taskParams).traceNo ? (Vue.openBlock(), Vue.createBlock(page.default, {
|
|
174
183
|
key: 0,
|
|
175
184
|
parentPage: Vue.unref(page$1),
|
|
176
|
-
params: taskParams
|
|
177
|
-
}, null, 8, ["parentPage"])) : Vue.createCommentVNode("", true)
|
|
185
|
+
params: Vue.unref(taskParams)
|
|
186
|
+
}, null, 8, ["parentPage", "params"])) : Vue.createCommentVNode("", true)
|
|
178
187
|
])),
|
|
179
|
-
Vue.unref(show) && (
|
|
180
|
-
params: taskParams,
|
|
181
|
-
taskData,
|
|
188
|
+
Vue.unref(show) && Vue.unref(type) == "0" ? (Vue.openBlock(), Vue.createBlock(_component_FecMobileApprovalBar, Vue.mergeProps({ key: 2 }, __props.actionBar, {
|
|
189
|
+
params: Vue.unref(taskParams),
|
|
190
|
+
taskData: Vue.unref(taskData),
|
|
182
191
|
opinionTypeOptions: Vue.unref(opinionTypeOptions),
|
|
183
192
|
operationPageId: Vue.unref(operationPageId),
|
|
184
193
|
canMobileApproval: Vue.unref(canMobileApproval)
|
|
185
|
-
}), null, 16, ["opinionTypeOptions", "operationPageId", "canMobileApproval"])) : Vue.createCommentVNode("", true)
|
|
194
|
+
}), null, 16, ["params", "taskData", "opinionTypeOptions", "operationPageId", "canMobileApproval"])) : Vue.createCommentVNode("", true)
|
|
186
195
|
], 64));
|
|
187
196
|
};
|
|
188
197
|
}
|
|
189
198
|
};
|
|
190
|
-
const _AppDetail = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
199
|
+
const _AppDetail = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-ca457eef"]]);
|
|
191
200
|
exports.default = _AppDetail;
|
|
@@ -77,6 +77,7 @@ const _sfc_main = {
|
|
|
77
77
|
const props = __props;
|
|
78
78
|
const currentInstance = Vue.getCurrentInstance();
|
|
79
79
|
const ctx = currentInstance.proxy;
|
|
80
|
+
const route = ctx.$route;
|
|
80
81
|
const pageList = Vue.inject("pageList");
|
|
81
82
|
const operPage = common.findPageById(pageList.value, props.operationPageId);
|
|
82
83
|
const showAgreePop = Vue.ref(false);
|
|
@@ -255,14 +256,17 @@ const _sfc_main = {
|
|
|
255
256
|
showOtherPop.value = false;
|
|
256
257
|
showAgreePop.value = false;
|
|
257
258
|
eventBus.default.emit("refreshFlowCutNum");
|
|
258
|
-
goBack();
|
|
259
|
+
setTimeout(() => goBack(), 800);
|
|
259
260
|
}
|
|
260
261
|
}).finally(() => {
|
|
261
262
|
functionCall.closeToast();
|
|
262
263
|
});
|
|
263
264
|
}
|
|
264
265
|
const goBack = () => {
|
|
265
|
-
|
|
266
|
+
eventBus.default.emit("approvalCallback");
|
|
267
|
+
if (!route.query.pageKey == "approveDetail") {
|
|
268
|
+
pageHistory.pageHistory.back();
|
|
269
|
+
}
|
|
266
270
|
};
|
|
267
271
|
return (_ctx, _cache) => {
|
|
268
272
|
const _component_van_action_bar_button = index$1.ActionBarButton;
|
|
@@ -454,5 +458,5 @@ const _sfc_main = {
|
|
|
454
458
|
};
|
|
455
459
|
}
|
|
456
460
|
};
|
|
457
|
-
const _ApprovalBar = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
461
|
+
const _ApprovalBar = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-942e7e66"]]);
|
|
458
462
|
exports.default = _ApprovalBar;
|
|
@@ -59,7 +59,7 @@ const _sfc_main = {
|
|
|
59
59
|
null,
|
|
60
60
|
false
|
|
61
61
|
).then((data) => {
|
|
62
|
-
flowMsgNum.value = data;
|
|
62
|
+
flowMsgNum.value = data.totalCut;
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
65
|
getFlowCutNum();
|
|
@@ -123,5 +123,5 @@ const _sfc_main = {
|
|
|
123
123
|
};
|
|
124
124
|
}
|
|
125
125
|
};
|
|
126
|
-
const _Tabbar = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
126
|
+
const _Tabbar = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-f91db03f"]]);
|
|
127
127
|
exports.default = _Tabbar;
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
;/* empty css */
|
|
4
|
-
;/* empty css */
|
|
5
|
-
;/* empty css */
|
|
6
|
-
;/* empty css */
|
|
7
|
-
;/* empty css */
|
|
8
|
-
;/* empty css */
|
|
9
3
|
require("../../../node_modules/element-plus/es/index.js");
|
|
10
4
|
;/* empty css */
|
|
11
5
|
;/* empty css */
|
|
@@ -13,12 +7,12 @@ require("../../../node_modules/element-plus/es/index.js");
|
|
|
13
7
|
;/* empty css */
|
|
14
8
|
;/* empty css */
|
|
15
9
|
;/* empty css */
|
|
10
|
+
;/* empty css */
|
|
16
11
|
;/* empty css */
|
|
17
12
|
const Vue = require("vue");
|
|
18
13
|
const page = require("./page.vue.js");
|
|
19
|
-
const
|
|
20
|
-
const
|
|
21
|
-
const index$5 = require("./api/index.js");
|
|
14
|
+
const AiAssistant = require("./components/custom/aiAssistant/AiAssistant.vue.js");
|
|
15
|
+
const index$2 = require("./api/index.js");
|
|
22
16
|
const eventBus = require("./utils/eventBus.js");
|
|
23
17
|
const pageHistory = require("./utils/pageHistory.js");
|
|
24
18
|
const common = require("./utils/common.js");
|
|
@@ -29,11 +23,8 @@ const vuex_esmBundler = require("../../../node_modules/vuex/dist/vuex.esm-bundle
|
|
|
29
23
|
;/* empty css */
|
|
30
24
|
const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
|
|
31
25
|
const index = require("../../../node_modules/element-plus/es/components/container/index.js");
|
|
32
|
-
const index$
|
|
33
|
-
const index$6 = require("../../../node_modules/element-plus/es/components/message/index.js");
|
|
26
|
+
const index$3 = require("../../../node_modules/element-plus/es/components/message/index.js");
|
|
34
27
|
const index$1 = require("../../../node_modules/vant/es/empty/index.js");
|
|
35
|
-
const index$3 = require("../../../node_modules/vant/es/popup/index.js");
|
|
36
|
-
const _hoisted_1 = ["src"];
|
|
37
28
|
const _sfc_main = {
|
|
38
29
|
__name: "index",
|
|
39
30
|
props: {
|
|
@@ -50,27 +41,17 @@ const _sfc_main = {
|
|
|
50
41
|
default: {}
|
|
51
42
|
}
|
|
52
43
|
},
|
|
53
|
-
|
|
44
|
+
emits: ["approvalCallback"],
|
|
45
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
54
46
|
const store = vuex_esmBundler.useStore();
|
|
55
47
|
window.$user = store.getters.user;
|
|
56
48
|
const props = __props;
|
|
57
49
|
const currentInstance = Vue.getCurrentInstance();
|
|
58
50
|
const ctx = currentInstance.proxy;
|
|
59
|
-
const
|
|
51
|
+
const emit = __emit;
|
|
60
52
|
const pageList = Vue.ref({});
|
|
61
53
|
const configLoading = Vue.ref(true);
|
|
62
54
|
const noTargetPage = Vue.ref(false);
|
|
63
|
-
const showChatPopup = Vue.ref(false);
|
|
64
|
-
function openChatPopup() {
|
|
65
|
-
if (isWmp.value) {
|
|
66
|
-
wx.miniProgram.navigateTo({
|
|
67
|
-
url: "/pages/chat/chat"
|
|
68
|
-
});
|
|
69
|
-
} else {
|
|
70
|
-
showChatPopup.value = true;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
const offset = Vue.ref({ x: -12, y: 500 });
|
|
74
55
|
const initPageKey = Vue.ref(props.pageKey || ctx.$route.query.pageKey || "");
|
|
75
56
|
const loadConfig = async () => {
|
|
76
57
|
var _a, _b;
|
|
@@ -79,7 +60,7 @@ const _sfc_main = {
|
|
|
79
60
|
}
|
|
80
61
|
configLoading.value = true;
|
|
81
62
|
try {
|
|
82
|
-
let option = await index$
|
|
63
|
+
let option = await index$2.default.getAppById(ctx.$http, props.appId);
|
|
83
64
|
pageList.value = ((_a = JSON.parse(option.pageConfig)) == null ? void 0 : _a.pageConfig) || [];
|
|
84
65
|
pageHistory.pageHistory.clear();
|
|
85
66
|
let homePage;
|
|
@@ -101,7 +82,7 @@ const _sfc_main = {
|
|
|
101
82
|
loadPage(pageId);
|
|
102
83
|
} catch (error) {
|
|
103
84
|
console.error("加载配置失败:", error);
|
|
104
|
-
index$
|
|
85
|
+
index$3.ElMessage.error("加载配置失败");
|
|
105
86
|
} finally {
|
|
106
87
|
configLoading.value = false;
|
|
107
88
|
}
|
|
@@ -158,6 +139,9 @@ const _sfc_main = {
|
|
|
158
139
|
eventBus.default.on("refreshPage", () => {
|
|
159
140
|
refreshCurrentPage();
|
|
160
141
|
});
|
|
142
|
+
eventBus.default.on("approvalCallback", () => {
|
|
143
|
+
emit("approvalCallback");
|
|
144
|
+
});
|
|
161
145
|
function onNavigate(href) {
|
|
162
146
|
const parsed = href.replace("navigateToPage:", "");
|
|
163
147
|
const [page2, ...rest] = parsed.split(":");
|
|
@@ -172,7 +156,6 @@ const _sfc_main = {
|
|
|
172
156
|
});
|
|
173
157
|
}
|
|
174
158
|
const targetPage = common.findPageByKey(pageList.value, page2);
|
|
175
|
-
showChatPopup.value = false;
|
|
176
159
|
pageParams.value = params;
|
|
177
160
|
loadPage(targetPage.id);
|
|
178
161
|
}
|
|
@@ -195,7 +178,6 @@ const _sfc_main = {
|
|
|
195
178
|
window.__fecPlatform = await detector.detectPlatformAsync();
|
|
196
179
|
console.log("[FEC Mobile] 环境检测完成:", window.__fecPlatform);
|
|
197
180
|
}
|
|
198
|
-
isWmp.value = window.__fecPlatform == "miniprogram";
|
|
199
181
|
loadConfig();
|
|
200
182
|
});
|
|
201
183
|
__expose({
|
|
@@ -204,8 +186,6 @@ const _sfc_main = {
|
|
|
204
186
|
return (_ctx, _cache) => {
|
|
205
187
|
const _component_van_empty = index$1.Empty;
|
|
206
188
|
const _component_el_container = index.ElContainer;
|
|
207
|
-
const _component_van_floating_bubble = index$2.FloatingBubble;
|
|
208
|
-
const _component_van_popup = index$3.Popup;
|
|
209
189
|
return Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, null, [
|
|
210
190
|
!Vue.unref(configLoading) ? (Vue.openBlock(), Vue.createBlock(_component_el_container, {
|
|
211
191
|
key: 0,
|
|
@@ -227,47 +207,13 @@ const _sfc_main = {
|
|
|
227
207
|
]),
|
|
228
208
|
_: 1
|
|
229
209
|
}, 512)) : Vue.createCommentVNode("", true),
|
|
230
|
-
Vue.
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
magnetic: "x",
|
|
235
|
-
gap: 12,
|
|
236
|
-
offset: Vue.unref(offset),
|
|
237
|
-
"onUpdate:offset": _cache[0] || (_cache[0] = ($event) => Vue.isRef(offset) ? offset.value = $event : null),
|
|
238
|
-
onClick: openChatPopup
|
|
239
|
-
}, {
|
|
240
|
-
default: Vue.withCtx(() => [
|
|
241
|
-
Vue.createElementVNode("img", {
|
|
242
|
-
src: Vue.unref(ai2.default),
|
|
243
|
-
class: "ai-bubble-icon"
|
|
244
|
-
}, null, 8, _hoisted_1)
|
|
245
|
-
]),
|
|
246
|
-
_: 1
|
|
247
|
-
}, 8, ["offset"])) : Vue.createCommentVNode("", true),
|
|
248
|
-
Vue.createVNode(_component_van_popup, {
|
|
249
|
-
teleport: "body",
|
|
250
|
-
show: Vue.unref(showChatPopup),
|
|
251
|
-
"onUpdate:show": _cache[2] || (_cache[2] = ($event) => Vue.isRef(showChatPopup) ? showChatPopup.value = $event : null),
|
|
252
|
-
position: "right",
|
|
253
|
-
style: {
|
|
254
|
-
width: "100%",
|
|
255
|
-
height: "100%"
|
|
256
|
-
},
|
|
257
|
-
"lock-scroll": true
|
|
258
|
-
}, {
|
|
259
|
-
default: Vue.withCtx(() => [
|
|
260
|
-
Vue.createVNode(Vue.unref(index$4.MobileAiChat), {
|
|
261
|
-
popup: "",
|
|
262
|
-
onClose: _cache[1] || (_cache[1] = ($event) => showChatPopup.value = false),
|
|
263
|
-
onNavigate
|
|
264
|
-
})
|
|
265
|
-
]),
|
|
266
|
-
_: 1
|
|
267
|
-
}, 8, ["show"])
|
|
210
|
+
Vue.createVNode(AiAssistant.default, {
|
|
211
|
+
visible: !!Vue.unref(currentPage),
|
|
212
|
+
onNavigate
|
|
213
|
+
}, null, 8, ["visible"])
|
|
268
214
|
], 64);
|
|
269
215
|
};
|
|
270
216
|
}
|
|
271
217
|
};
|
|
272
|
-
const MobileApp = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
218
|
+
const MobileApp = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-15f248b7"]]);
|
|
273
219
|
exports.default = MobileApp;
|
|
@@ -88,7 +88,7 @@ const _sfc_main = {
|
|
|
88
88
|
key: 0,
|
|
89
89
|
placement: "right",
|
|
90
90
|
width: 500,
|
|
91
|
-
"popper-style": "z-index:9999;",
|
|
91
|
+
"popper-style": "z-index:9999;max-height: 90%;\r\n display: flex;",
|
|
92
92
|
disabled: __props.taskList.length == 0 && __props.hisTaskList.length == 0
|
|
93
93
|
}, {
|
|
94
94
|
reference: Vue.withCtx(() => [
|