@fecp/designer 5.5.121 → 5.6.2
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/designer/package.json.mjs +1 -1
- package/es/designer/src/assets/logo.png.mjs +1 -1
- package/es/designer/src/components/EventConfigButton.vue.mjs +2 -2
- package/es/designer/src/packages/dialog/useDialogDialog.mjs +1 -1
- package/es/designer/src/packages/dialogGlobal/useDialogGlobalDialog.mjs +1 -1
- package/es/designer/src/packages/form/property/contract.vue.mjs +15 -1
- package/es/designer/src/packages/form/property/pageFooterBtn.vue.mjs +2 -2
- package/es/designer/src/packages/form/property/pageHeaderBtn.vue.mjs +2 -2
- package/es/designer/src/packages/form/property/widgets.vue.mjs +6 -6
- package/es/designer/src/packages/table/property/customBtn.vue.mjs +2 -2
- package/es/designer/src/packages/table/property/optBtn.vue.mjs +2 -2
- package/es/designer/src/packages/table/property/widgets.vue.mjs +2 -2
- package/es/designer.css +408 -393
- package/es/logo.ico +0 -0
- package/es/packages/mobile/src/components/base/card/Card.vue.mjs +2 -2
- package/es/packages/mobile/src/components/custom/appDetail/AppDetail.vue.mjs +4 -3
- package/es/packages/mobile/src/components/custom/appTimeLine/AppTimeLine.vue.mjs +8 -4
- package/es/packages/mobile/src/components/custom/approvalBar/ApprovalBar.vue.mjs +11 -7
- package/es/packages/mobile/src/components/custom/approvalList/ApprovalCard.vue.mjs +3 -3
- package/es/packages/mobile/src/components/custom/approvalList/ApprovalList.vue.mjs +32 -22
- package/es/packages/mobile/src/components/custom/document/Document.vue.mjs +2 -2
- package/es/packages/mobile/src/components/custom/userSelect/UserSelect.vue.mjs +2 -2
- package/es/packages/mobile/src/components/dataDisplay/cardList/CardList.vue.mjs +4 -3
- package/es/packages/mobile/src/components/dataDisplay/dataStat/DataStat.vue.mjs +109 -47
- package/es/packages/mobile/src/components/form/search/Search.vue.mjs +1 -1
- package/es/packages/mobile/src/components/navigation/tabbar/Tabbar.vue.mjs +10 -3
- package/es/packages/mobile/src/components/navigation/tabs/Tabs.vue.mjs +4 -2
- package/es/packages/mobile/src/page.vue.mjs +3 -3
- package/es/packages/mobile/src/utils/datasource.mjs +1 -1
- package/es/packages/mobile/src/utils/idea/vue3sfc.mjs +3 -1
- package/es/packages/mobile/src/utils/optionUtil.mjs +1 -1
- package/es/packages/vue/src/components/bus/approvalHistory/timeLine.vue.mjs +1 -1
- package/es/packages/vue/src/components/bus/contract/Contract.vue.mjs +12 -1
- package/es/packages/vue/src/components/bus/flowChart/bpmnjs/component/timeline.vue.mjs +2 -2
- package/es/packages/vue/src/components/forms/form/Form.vue.mjs +5 -2
- package/es/packages/vue/src/components/forms/roleSelect/RoleSelect.vue.mjs +2 -2
- package/es/packages/vue/src/components/forms/subTable/SubTable.vue.mjs +20 -26
- package/es/packages/vue/src/components/forms/userSelect/UserSelect.vue.mjs +2 -2
- package/es/packages/vue/src/components/table/Table.vue.mjs +5 -2
- package/es/packages/vue/src/components/table/TableColumn.vue.mjs +7 -9
- package/es/packages/vue/src/directive/auth.mjs +2 -1
- package/es/packages/vue/src/utils/parseRouteParams.mjs +2 -2
- package/lib/designer/package.json.js +1 -1
- package/lib/designer/src/assets/logo.png.js +1 -1
- package/lib/designer/src/components/EventConfigButton.vue.js +2 -2
- package/lib/designer/src/packages/dialog/useDialogDialog.js +1 -1
- package/lib/designer/src/packages/dialogGlobal/useDialogGlobalDialog.js +1 -1
- package/lib/designer/src/packages/form/property/contract.vue.js +15 -1
- package/lib/designer/src/packages/form/property/widgets.vue.js +2 -2
- package/lib/designer.css +408 -393
- package/lib/logo.ico +0 -0
- package/lib/packages/mobile/src/components/base/card/Card.vue.js +2 -2
- package/lib/packages/mobile/src/components/custom/appDetail/AppDetail.vue.js +4 -3
- package/lib/packages/mobile/src/components/custom/appTimeLine/AppTimeLine.vue.js +8 -4
- package/lib/packages/mobile/src/components/custom/approvalBar/ApprovalBar.vue.js +10 -6
- package/lib/packages/mobile/src/components/custom/approvalList/ApprovalCard.vue.js +3 -3
- package/lib/packages/mobile/src/components/custom/approvalList/ApprovalList.vue.js +32 -22
- package/lib/packages/mobile/src/components/custom/document/Document.vue.js +2 -2
- package/lib/packages/mobile/src/components/custom/userSelect/UserSelect.vue.js +2 -2
- package/lib/packages/mobile/src/components/dataDisplay/cardList/CardList.vue.js +4 -3
- package/lib/packages/mobile/src/components/dataDisplay/dataStat/DataStat.vue.js +109 -47
- package/lib/packages/mobile/src/components/form/search/Search.vue.js +1 -1
- package/lib/packages/mobile/src/components/navigation/tabbar/Tabbar.vue.js +10 -3
- package/lib/packages/mobile/src/components/navigation/tabs/Tabs.vue.js +4 -2
- package/lib/packages/mobile/src/page.vue.js +3 -3
- package/lib/packages/mobile/src/utils/datasource.js +1 -1
- package/lib/packages/mobile/src/utils/idea/vue3sfc.js +3 -1
- package/lib/packages/mobile/src/utils/optionUtil.js +1 -1
- package/lib/packages/vue/src/components/bus/approvalHistory/timeLine.vue.js +1 -1
- package/lib/packages/vue/src/components/bus/contract/Contract.vue.js +12 -1
- package/lib/packages/vue/src/components/bus/flowChart/bpmnjs/component/timeline.vue.js +2 -2
- package/lib/packages/vue/src/components/forms/form/Form.vue.js +5 -2
- package/lib/packages/vue/src/components/forms/roleSelect/RoleSelect.vue.js +2 -2
- package/lib/packages/vue/src/components/forms/subTable/SubTable.vue.js +20 -26
- package/lib/packages/vue/src/components/forms/userSelect/UserSelect.vue.js +2 -2
- package/lib/packages/vue/src/components/table/Table.vue.js +5 -2
- package/lib/packages/vue/src/components/table/TableColumn.vue.js +7 -9
- package/lib/packages/vue/src/directive/auth.js +2 -1
- package/lib/packages/vue/src/utils/parseRouteParams.js +2 -2
- package/package.json +1 -1
package/lib/logo.ico
CHANGED
|
Binary file
|
|
@@ -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");
|
|
@@ -86,6 +86,7 @@ const _sfc_main = {
|
|
|
86
86
|
const showEmpty = Vue.ref(false);
|
|
87
87
|
const taskNotFound = Vue.ref(false);
|
|
88
88
|
function handleData(data) {
|
|
89
|
+
taskParams.processInstanceId = data.processInstanceId;
|
|
89
90
|
if (props.baseInfoPageSource == "dynamic") {
|
|
90
91
|
baseInfoPageId.value = data.mobileDetailPage;
|
|
91
92
|
appDetailPage.value = common.findPageById(pageList.value, data.mobileDetailPage);
|
|
@@ -113,7 +114,7 @@ const _sfc_main = {
|
|
|
113
114
|
showEmpty.value = true;
|
|
114
115
|
} else {
|
|
115
116
|
ctx.$http.postFormMobile(
|
|
116
|
-
"/base
|
|
117
|
+
"/" + window.$servers.base + "/flow/flowApproveDetail/findById",
|
|
117
118
|
{
|
|
118
119
|
taskId,
|
|
119
120
|
type
|
|
@@ -122,7 +123,7 @@ const _sfc_main = {
|
|
|
122
123
|
).then((data) => {
|
|
123
124
|
if (data.notFound) {
|
|
124
125
|
ctx.$http.postFormMobile(
|
|
125
|
-
"/base
|
|
126
|
+
"/" + window.$servers.base + "/flow/flowApproveDetail/findById",
|
|
126
127
|
{ taskId, type: "1" },
|
|
127
128
|
true
|
|
128
129
|
).then((retryData) => {
|
|
@@ -186,5 +187,5 @@ const _sfc_main = {
|
|
|
186
187
|
};
|
|
187
188
|
}
|
|
188
189
|
};
|
|
189
|
-
const _AppDetail = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
190
|
+
const _AppDetail = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-2edc3d85"]]);
|
|
190
191
|
exports.default = _AppDetail;
|
|
@@ -106,6 +106,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
106
106
|
type: String,
|
|
107
107
|
default: ""
|
|
108
108
|
},
|
|
109
|
+
processInstanceId: {
|
|
110
|
+
type: String,
|
|
111
|
+
default: ""
|
|
112
|
+
},
|
|
109
113
|
hisTaskData: {
|
|
110
114
|
type: Array,
|
|
111
115
|
default: []
|
|
@@ -154,7 +158,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
154
158
|
currentAssignees.value = item.assignee || [];
|
|
155
159
|
showAssigneePopup.value = true;
|
|
156
160
|
}
|
|
157
|
-
if (props.
|
|
161
|
+
if (props.processInstanceId) {
|
|
158
162
|
fetchData();
|
|
159
163
|
} else if (props.hisTaskData.length > 0) {
|
|
160
164
|
hisTask.value = props.hisTaskData;
|
|
@@ -166,9 +170,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
166
170
|
function fetchData() {
|
|
167
171
|
loading.value = true;
|
|
168
172
|
ctx.$http.postFormMobile(
|
|
169
|
-
"/base
|
|
173
|
+
"/" + window.$servers.base + "/flow/flowData/findTimeLineByProcessInstanceId",
|
|
170
174
|
{
|
|
171
|
-
|
|
175
|
+
processInstanceId: props.processInstanceId,
|
|
172
176
|
type: "app",
|
|
173
177
|
taskDefKey: ""
|
|
174
178
|
},
|
|
@@ -482,5 +486,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
482
486
|
};
|
|
483
487
|
}
|
|
484
488
|
});
|
|
485
|
-
const _TimeLineFilter = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
489
|
+
const _TimeLineFilter = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-c284e414"]]);
|
|
486
490
|
exports.default = _TimeLineFilter;
|
|
@@ -154,7 +154,7 @@ const _sfc_main = {
|
|
|
154
154
|
//提交到当前节点后的指定节点
|
|
155
155
|
case "C2":
|
|
156
156
|
ctx.$http.postFormMobile(
|
|
157
|
-
"/base
|
|
157
|
+
"/" + window.$servers.base + "/flow/flowApproveDetail/getAllNextNodeList",
|
|
158
158
|
{ taskId },
|
|
159
159
|
false
|
|
160
160
|
).then((data) => {
|
|
@@ -164,7 +164,7 @@ const _sfc_main = {
|
|
|
164
164
|
//提交到已执行过的指定节点
|
|
165
165
|
case "C22":
|
|
166
166
|
ctx.$http.postFormMobile(
|
|
167
|
-
"/base
|
|
167
|
+
"/" + window.$servers.base + "/flow/flowApproveDetail/getFinishNodeList",
|
|
168
168
|
{ taskId },
|
|
169
169
|
false
|
|
170
170
|
).then((data) => {
|
|
@@ -174,7 +174,7 @@ const _sfc_main = {
|
|
|
174
174
|
//退回到主流指定节点
|
|
175
175
|
case "R50":
|
|
176
176
|
ctx.$http.postFormMobile(
|
|
177
|
-
"/base
|
|
177
|
+
"/" + window.$servers.base + "/flow/flowApproveDetail/getFinishParentNodeList",
|
|
178
178
|
{ taskId },
|
|
179
179
|
false
|
|
180
180
|
).then((data) => {
|
|
@@ -186,7 +186,7 @@ const _sfc_main = {
|
|
|
186
186
|
//退回到指定节点并提交到退回节点
|
|
187
187
|
case "R55":
|
|
188
188
|
ctx.$http.postFormMobile(
|
|
189
|
-
"/base
|
|
189
|
+
"/" + window.$servers.base + "/flow/flowApproveDetail/getRollBackNodeList",
|
|
190
190
|
{ taskId },
|
|
191
191
|
false
|
|
192
192
|
).then((data) => {
|
|
@@ -207,6 +207,8 @@ const _sfc_main = {
|
|
|
207
207
|
(_b = operPageRef.value) == null ? void 0 : _b.validate().then(() => {
|
|
208
208
|
submitOpinion();
|
|
209
209
|
});
|
|
210
|
+
} else {
|
|
211
|
+
submitOpinion();
|
|
210
212
|
}
|
|
211
213
|
}
|
|
212
214
|
function submitOpinion() {
|
|
@@ -242,7 +244,7 @@ const _sfc_main = {
|
|
|
242
244
|
duration: 0
|
|
243
245
|
});
|
|
244
246
|
ctx.$http.postMobile(
|
|
245
|
-
"/base
|
|
247
|
+
"/" + window.$servers.base + "/flow/flowApproveDetail/doCommit",
|
|
246
248
|
commitData,
|
|
247
249
|
false
|
|
248
250
|
).then((data) => {
|
|
@@ -255,6 +257,8 @@ const _sfc_main = {
|
|
|
255
257
|
eventBus.default.emit("refreshFlowCutNum");
|
|
256
258
|
goBack();
|
|
257
259
|
}
|
|
260
|
+
}).finally(() => {
|
|
261
|
+
functionCall.closeToast();
|
|
258
262
|
});
|
|
259
263
|
}
|
|
260
264
|
const goBack = () => {
|
|
@@ -450,5 +454,5 @@ const _sfc_main = {
|
|
|
450
454
|
};
|
|
451
455
|
}
|
|
452
456
|
};
|
|
453
|
-
const _ApprovalBar = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
457
|
+
const _ApprovalBar = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-7696094a"]]);
|
|
454
458
|
exports.default = _ApprovalBar;
|
|
@@ -76,7 +76,7 @@ const _sfc_main = {
|
|
|
76
76
|
_: 1
|
|
77
77
|
})) : Vue.createCommentVNode("", true)
|
|
78
78
|
]),
|
|
79
|
-
__props.type != "0" ? (Vue.openBlock(), Vue.createElementBlock("span", {
|
|
79
|
+
__props.type != "0" && __props.item.statusText ? (Vue.openBlock(), Vue.createElementBlock("span", {
|
|
80
80
|
key: 0,
|
|
81
81
|
class: "fec-card-status",
|
|
82
82
|
style: Vue.normalizeStyle({ background: __props.item.statusColor || "#fa8c16" })
|
|
@@ -85,7 +85,7 @@ const _sfc_main = {
|
|
|
85
85
|
name: __props.item.statusIcon || "clock-o",
|
|
86
86
|
size: "12"
|
|
87
87
|
}, null, 8, ["name"]),
|
|
88
|
-
Vue.createTextVNode(" " + Vue.toDisplayString(__props.item.statusText
|
|
88
|
+
Vue.createTextVNode(" " + Vue.toDisplayString(__props.item.statusText), 1)
|
|
89
89
|
], 4)) : Vue.createCommentVNode("", true)
|
|
90
90
|
]),
|
|
91
91
|
Vue.createElementVNode("div", _hoisted_5, [
|
|
@@ -160,5 +160,5 @@ const _sfc_main = {
|
|
|
160
160
|
};
|
|
161
161
|
}
|
|
162
162
|
};
|
|
163
|
-
const ApprovalCard = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
163
|
+
const ApprovalCard = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-7261618f"]]);
|
|
164
164
|
exports.default = ApprovalCard;
|
|
@@ -92,7 +92,7 @@ const _sfc_main = {
|
|
|
92
92
|
errorRef.value = false;
|
|
93
93
|
const pageNo = taskStatus == "0" ? todoPageNo : taskStatus == "1" ? donePageNo : ccPageNo;
|
|
94
94
|
ctx.$http.postMobile(
|
|
95
|
-
"/base
|
|
95
|
+
"/" + window.$servers.base + "/flow/workbench/findTaskListByPage",
|
|
96
96
|
{
|
|
97
97
|
pageNo,
|
|
98
98
|
pageSize,
|
|
@@ -101,7 +101,7 @@ const _sfc_main = {
|
|
|
101
101
|
},
|
|
102
102
|
false
|
|
103
103
|
).then((data) => {
|
|
104
|
-
const list = data.list;
|
|
104
|
+
const list = data.list || data;
|
|
105
105
|
switch (taskStatus) {
|
|
106
106
|
case "0":
|
|
107
107
|
list.forEach((item) => {
|
|
@@ -116,14 +116,16 @@ const _sfc_main = {
|
|
|
116
116
|
break;
|
|
117
117
|
case "1":
|
|
118
118
|
list.forEach((item) => {
|
|
119
|
-
if (item
|
|
120
|
-
item.
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
119
|
+
if ("isEnd" in item) {
|
|
120
|
+
if (item.isEnd) {
|
|
121
|
+
item.statusColor = "#52c41a";
|
|
122
|
+
item.statusIcon = "checked";
|
|
123
|
+
item.statusText = "已完成";
|
|
124
|
+
} else {
|
|
125
|
+
item.statusColor = "#fa8c16";
|
|
126
|
+
item.statusIcon = "more";
|
|
127
|
+
item.statusText = "进行中";
|
|
128
|
+
}
|
|
127
129
|
}
|
|
128
130
|
});
|
|
129
131
|
doneList.value.push(...list);
|
|
@@ -133,14 +135,16 @@ const _sfc_main = {
|
|
|
133
135
|
break;
|
|
134
136
|
case "2":
|
|
135
137
|
list.forEach((item) => {
|
|
136
|
-
if (item
|
|
137
|
-
item.
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
138
|
+
if ("isEnd" in item) {
|
|
139
|
+
if (item.isEnd) {
|
|
140
|
+
item.statusColor = "#52c41a";
|
|
141
|
+
item.statusIcon = "checked";
|
|
142
|
+
item.statusText = "已完成";
|
|
143
|
+
} else {
|
|
144
|
+
item.statusColor = "#fa8c16";
|
|
145
|
+
item.statusIcon = "more";
|
|
146
|
+
item.statusText = "进行中";
|
|
147
|
+
}
|
|
144
148
|
}
|
|
145
149
|
});
|
|
146
150
|
ccList.value.push(...list);
|
|
@@ -151,6 +155,9 @@ const _sfc_main = {
|
|
|
151
155
|
}
|
|
152
156
|
}).catch((err) => {
|
|
153
157
|
errorRef.value = true;
|
|
158
|
+
if (taskStatus == "0") todoPageNo--;
|
|
159
|
+
else if (taskStatus == "1") donePageNo--;
|
|
160
|
+
else ccPageNo--;
|
|
154
161
|
}).finally(() => {
|
|
155
162
|
switch (taskStatus) {
|
|
156
163
|
case "0":
|
|
@@ -252,7 +259,7 @@ const _sfc_main = {
|
|
|
252
259
|
duration: 0
|
|
253
260
|
});
|
|
254
261
|
ctx.$http.postFormMobile(
|
|
255
|
-
"/base
|
|
262
|
+
"/" + window.$servers.base + "/flow/flowApproveDetail/doAssign",
|
|
256
263
|
{
|
|
257
264
|
taskId: transferItem.value.taskId,
|
|
258
265
|
opNo: ((_a = store.getters.user) == null ? void 0 : _a.opNo) || "",
|
|
@@ -265,6 +272,7 @@ const _sfc_main = {
|
|
|
265
272
|
todoList.value = [];
|
|
266
273
|
todoFinished.value = false;
|
|
267
274
|
todoPageNo = 0;
|
|
275
|
+
eventBus.default.emit("refreshFlowCutNum");
|
|
268
276
|
onTodoLoad();
|
|
269
277
|
});
|
|
270
278
|
}
|
|
@@ -283,11 +291,12 @@ const _sfc_main = {
|
|
|
283
291
|
duration: 0
|
|
284
292
|
});
|
|
285
293
|
await ctx.$http.postMobile(
|
|
286
|
-
"/base
|
|
294
|
+
"/" + window.$servers.base + "/flow/flowApproveDetail/undo",
|
|
287
295
|
data,
|
|
288
296
|
false
|
|
289
297
|
);
|
|
290
298
|
functionCall.showSuccessToast("撤销成功");
|
|
299
|
+
eventBus.default.emit("refreshFlowCutNum");
|
|
291
300
|
} else if (type == "recall") {
|
|
292
301
|
console.log("召回:", item, "原因:", reason);
|
|
293
302
|
functionCall.showLoadingToast({
|
|
@@ -296,11 +305,12 @@ const _sfc_main = {
|
|
|
296
305
|
duration: 0
|
|
297
306
|
});
|
|
298
307
|
await ctx.$http.postMobile(
|
|
299
|
-
"/base
|
|
308
|
+
"/" + window.$servers.base + "/flow/flowApproveDetail/recall",
|
|
300
309
|
data,
|
|
301
310
|
false
|
|
302
311
|
);
|
|
303
312
|
functionCall.showSuccessToast("召回成功");
|
|
313
|
+
eventBus.default.emit("refreshFlowCutNum");
|
|
304
314
|
}
|
|
305
315
|
onSearch();
|
|
306
316
|
}
|
|
@@ -572,5 +582,5 @@ const _sfc_main = {
|
|
|
572
582
|
};
|
|
573
583
|
}
|
|
574
584
|
};
|
|
575
|
-
const _ApprovalList = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
585
|
+
const _ApprovalList = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-67d02900"]]);
|
|
576
586
|
exports.default = _ApprovalList;
|
|
@@ -134,7 +134,7 @@ const _sfc_main = {
|
|
|
134
134
|
function fetchData() {
|
|
135
135
|
loading.value = true;
|
|
136
136
|
ctx.$http.postMobile(
|
|
137
|
-
"/base
|
|
137
|
+
"/" + window.$servers.base + "/docBusFiletype/getRootTree4Mobile",
|
|
138
138
|
{
|
|
139
139
|
isEdit: false,
|
|
140
140
|
paramList: [
|
|
@@ -363,5 +363,5 @@ const _sfc_main = {
|
|
|
363
363
|
};
|
|
364
364
|
}
|
|
365
365
|
};
|
|
366
|
-
const _Document = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
366
|
+
const _Document = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-f45752e0"]]);
|
|
367
367
|
exports.default = _Document;
|
|
@@ -166,7 +166,7 @@ const _sfc_main = {
|
|
|
166
166
|
function fetchData(keyword = "") {
|
|
167
167
|
listLoading.value = true;
|
|
168
168
|
ctx.$http.postMobile(
|
|
169
|
-
"/base
|
|
169
|
+
"/" + window.$servers.base + "/mobileApi/findSysUserByPage",
|
|
170
170
|
{
|
|
171
171
|
pageNo: pageNum.value,
|
|
172
172
|
pageSize,
|
|
@@ -316,5 +316,5 @@ const _sfc_main = {
|
|
|
316
316
|
};
|
|
317
317
|
}
|
|
318
318
|
};
|
|
319
|
-
const _UserSelect = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
319
|
+
const _UserSelect = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-f74f73d1"]]);
|
|
320
320
|
exports.default = _UserSelect;
|
|
@@ -128,7 +128,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
128
128
|
}
|
|
129
129
|
function dicHandler(dictionaryValue) {
|
|
130
130
|
return ctx.$http.postFormMobile(
|
|
131
|
-
"/base
|
|
131
|
+
"/" + window.$servers.base + "/parm/sysParmDic/getDicListByKey",
|
|
132
132
|
{
|
|
133
133
|
keyName: dictionaryValue
|
|
134
134
|
},
|
|
@@ -204,6 +204,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
204
204
|
} catch (err) {
|
|
205
205
|
console.error(err);
|
|
206
206
|
error.value = true;
|
|
207
|
+
pageNo--;
|
|
207
208
|
loading.value = false;
|
|
208
209
|
}
|
|
209
210
|
}
|
|
@@ -266,7 +267,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
266
267
|
try {
|
|
267
268
|
const keyName = Array.from(dictionaryKeys).join(",");
|
|
268
269
|
const response = await ctx.$http.postFormMobile(
|
|
269
|
-
"/base
|
|
270
|
+
"/" + window.$servers.base + "/parm/sysParmDic/getDicListByKey",
|
|
270
271
|
{
|
|
271
272
|
keyName
|
|
272
273
|
},
|
|
@@ -424,5 +425,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
424
425
|
};
|
|
425
426
|
}
|
|
426
427
|
});
|
|
427
|
-
const _CardList = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
428
|
+
const _CardList = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-13759ee7"]]);
|
|
428
429
|
exports.default = _CardList;
|
|
@@ -53,57 +53,119 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
53
53
|
name: "FecMobileDataStat"
|
|
54
54
|
}, {
|
|
55
55
|
__name: "DataStat",
|
|
56
|
-
props: {
|
|
56
|
+
props: {
|
|
57
|
+
busType: {
|
|
58
|
+
type: String,
|
|
59
|
+
default: "lease"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
57
62
|
setup(__props) {
|
|
63
|
+
const props = __props;
|
|
58
64
|
const currentInstance = Vue.getCurrentInstance();
|
|
59
65
|
const ctx = currentInstance.proxy;
|
|
60
66
|
const loading = Vue.ref(true);
|
|
61
67
|
const dataList = Vue.ref([]);
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
68
|
+
if (props.busType == "lease") {
|
|
69
|
+
ctx.$http.postFormMobile(
|
|
70
|
+
"/" + window.$servers.base + "/sysHome/getData4UpperLeft",
|
|
71
|
+
{},
|
|
72
|
+
false
|
|
73
|
+
).then((data) => {
|
|
74
|
+
dataList.value = [
|
|
75
|
+
{
|
|
76
|
+
label: "资产总额",
|
|
77
|
+
value: data.dueAmt,
|
|
78
|
+
unit: "万元",
|
|
79
|
+
theme: "blue"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
label: "客户数量",
|
|
83
|
+
value: data.cusCount,
|
|
84
|
+
unit: "人",
|
|
85
|
+
theme: "mint"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
label: "资产余额",
|
|
89
|
+
value: data.dueBal,
|
|
90
|
+
unit: "万",
|
|
91
|
+
theme: "purple"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
label: "今日到期租金",
|
|
95
|
+
value: data.currRentAmt,
|
|
96
|
+
unit: "万",
|
|
97
|
+
theme: "mist"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
label: "未结清合同",
|
|
101
|
+
value: data.unSettleContNum,
|
|
102
|
+
unit: "笔",
|
|
103
|
+
theme: "orange"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
label: "未来7日到期租金",
|
|
107
|
+
value: data.laterRentAmt,
|
|
108
|
+
unit: "万",
|
|
109
|
+
theme: "rose"
|
|
110
|
+
}
|
|
111
|
+
];
|
|
112
|
+
}).catch((err) => {
|
|
113
|
+
console.error("[DataStat] 加载失败", err);
|
|
114
|
+
dataList.value = [];
|
|
115
|
+
}).finally(() => {
|
|
116
|
+
loading.value = false;
|
|
117
|
+
});
|
|
118
|
+
} else if (props.busType == "gntee") {
|
|
119
|
+
ctx.$http.postFormMobile(
|
|
120
|
+
"/" + window.$servers.gntee + "/guarCont/getStatisData4HomePageUpperLeft",
|
|
121
|
+
{},
|
|
122
|
+
false
|
|
123
|
+
).then((data) => {
|
|
124
|
+
dataList.value = [
|
|
125
|
+
{
|
|
126
|
+
label: "合同金额",
|
|
127
|
+
value: data.guarAmt,
|
|
128
|
+
unit: "万元",
|
|
129
|
+
theme: "blue"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
label: "客户数量",
|
|
133
|
+
value: data.cusCount,
|
|
134
|
+
unit: "人",
|
|
135
|
+
theme: "mint"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
label: "待放款金额",
|
|
139
|
+
value: data.guarWaitAmt,
|
|
140
|
+
unit: "万",
|
|
141
|
+
theme: "mist"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
label: "在保余额",
|
|
145
|
+
value: data.guarBalAmt,
|
|
146
|
+
unit: "万",
|
|
147
|
+
theme: "purple"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
label: "在保客户数量",
|
|
151
|
+
value: data.guarCusCont,
|
|
152
|
+
unit: "人",
|
|
153
|
+
theme: "orange"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
label: "代偿余额",
|
|
157
|
+
value: data.advanceBal,
|
|
158
|
+
unit: "万",
|
|
159
|
+
theme: "rose"
|
|
160
|
+
}
|
|
161
|
+
];
|
|
162
|
+
}).catch((err) => {
|
|
163
|
+
console.error("[DataStat] 加载失败", err);
|
|
164
|
+
dataList.value = [];
|
|
165
|
+
}).finally(() => {
|
|
166
|
+
loading.value = false;
|
|
167
|
+
});
|
|
168
|
+
}
|
|
107
169
|
const hero = Vue.computed(() => dataList.value[0] || null);
|
|
108
170
|
const rows = Vue.computed(() => {
|
|
109
171
|
const rest = dataList.value.slice(1);
|
|
@@ -216,5 +278,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
216
278
|
};
|
|
217
279
|
}
|
|
218
280
|
});
|
|
219
|
-
const _DataStat = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
281
|
+
const _DataStat = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-1c07f859"]]);
|
|
220
282
|
exports.default = _DataStat;
|
|
@@ -96,7 +96,7 @@ const _sfc_main = {
|
|
|
96
96
|
try {
|
|
97
97
|
const keyName = Array.from(dictionaryKeys).join(",");
|
|
98
98
|
const response = await ctx.$http.postFormMobile(
|
|
99
|
-
"/base
|
|
99
|
+
"/" + window.$servers.base + "/parm/sysParmDic/getDicListByKey",
|
|
100
100
|
{
|
|
101
101
|
keyName
|
|
102
102
|
},
|
|
@@ -54,7 +54,11 @@ const _sfc_main = {
|
|
|
54
54
|
});
|
|
55
55
|
});
|
|
56
56
|
function getFlowCutNum() {
|
|
57
|
-
ctx.$http.postMobile(
|
|
57
|
+
ctx.$http.postMobile(
|
|
58
|
+
"/" + window.$servers.base + "/flow/workbench/getTaskCutByUser",
|
|
59
|
+
null,
|
|
60
|
+
false
|
|
61
|
+
).then((data) => {
|
|
58
62
|
flowMsgNum.value = data;
|
|
59
63
|
});
|
|
60
64
|
}
|
|
@@ -64,7 +68,7 @@ const _sfc_main = {
|
|
|
64
68
|
});
|
|
65
69
|
function getMessageCutNum() {
|
|
66
70
|
ctx.$http.postFormMobile(
|
|
67
|
-
"/base
|
|
71
|
+
"/" + window.$servers.base + "/msgMessages/initMsgUnReadNum",
|
|
68
72
|
{
|
|
69
73
|
opNo: store.getters.user.opNo
|
|
70
74
|
},
|
|
@@ -74,6 +78,9 @@ const _sfc_main = {
|
|
|
74
78
|
});
|
|
75
79
|
}
|
|
76
80
|
getMessageCutNum();
|
|
81
|
+
eventBus.default.on("refreshMsgCutNum", () => {
|
|
82
|
+
getMessageCutNum();
|
|
83
|
+
});
|
|
77
84
|
const msgSocket = websocket4Msg.default.Instance;
|
|
78
85
|
msgSocket.connect(
|
|
79
86
|
`${ctx.$envConfig.web_socket_url}/message4ws4Mobile/${((_a = store.getters.user) == null ? void 0 : _a.corpId) || ""}${store.getters.user.opNo}`
|
|
@@ -116,5 +123,5 @@ const _sfc_main = {
|
|
|
116
123
|
};
|
|
117
124
|
}
|
|
118
125
|
};
|
|
119
|
-
const _Tabbar = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
126
|
+
const _Tabbar = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-b7b7084a"]]);
|
|
120
127
|
exports.default = _Tabbar;
|
|
@@ -122,12 +122,14 @@ const _sfc_main = {
|
|
|
122
122
|
});
|
|
123
123
|
const componentParams = Vue.computed(() => {
|
|
124
124
|
let traceNo = props.params.traceNo;
|
|
125
|
+
let processInstanceId = props.params.processInstanceId;
|
|
125
126
|
if (props.busPkField) {
|
|
126
127
|
traceNo = props.formData[props.busPkField];
|
|
127
128
|
}
|
|
128
129
|
return {
|
|
129
130
|
...props.formData,
|
|
130
|
-
traceNo
|
|
131
|
+
traceNo,
|
|
132
|
+
processInstanceId
|
|
131
133
|
};
|
|
132
134
|
});
|
|
133
135
|
const compHeight = Vue.computed(() => {
|
|
@@ -213,5 +215,5 @@ const _sfc_main = {
|
|
|
213
215
|
};
|
|
214
216
|
}
|
|
215
217
|
};
|
|
216
|
-
const _Tabs = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
218
|
+
const _Tabs = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-b22e2eda"]]);
|
|
217
219
|
exports.default = _Tabs;
|
|
@@ -253,7 +253,7 @@ const _sfc_main = {
|
|
|
253
253
|
try {
|
|
254
254
|
const keyName = Array.from(dictionaryKeys).join(",");
|
|
255
255
|
const response = await ctx.$http.postFormMobile(
|
|
256
|
-
"/base
|
|
256
|
+
"/" + window.$servers.base + "/parm/sysParmDic/getDicListByKey",
|
|
257
257
|
{
|
|
258
258
|
keyName
|
|
259
259
|
},
|
|
@@ -747,7 +747,7 @@ const _sfc_main = {
|
|
|
747
747
|
Vue.createVNode(_component_FecMobileHomeHeader, Vue.normalizeProps(Vue.guardReactiveProps(__props.parentPage.layoutData.homeHeader)), null, 16),
|
|
748
748
|
Vue.createVNode(_component_FecMobileMenuGrid, Vue.normalizeProps(Vue.guardReactiveProps(__props.parentPage.layoutData.menuGridProps)), null, 16),
|
|
749
749
|
Vue.createVNode(_component_FecMobileHomeTools, Vue.normalizeProps(Vue.guardReactiveProps(__props.parentPage.layoutData.homeTools)), null, 16),
|
|
750
|
-
Vue.createVNode(_component_FecMobileDataStat)
|
|
750
|
+
Vue.createVNode(_component_FecMobileDataStat, Vue.normalizeProps(Vue.guardReactiveProps(__props.parentPage.layoutData.dataStatProps)), null, 16)
|
|
751
751
|
], 4)) : __props.parentPage.type == "approval" ? (Vue.openBlock(), Vue.createBlock(_component_FecMobileAppDetail, Vue.mergeProps({ key: 1 }, __props.parentPage.layoutData.appDetailProps, {
|
|
752
752
|
actionBar: __props.parentPage.layoutData.actionBar,
|
|
753
753
|
params: __props.params
|
|
@@ -801,5 +801,5 @@ const _sfc_main = {
|
|
|
801
801
|
};
|
|
802
802
|
}
|
|
803
803
|
};
|
|
804
|
-
const MobilePage = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
804
|
+
const MobilePage = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-45126cab"]]);
|
|
805
805
|
exports.default = MobilePage;
|
|
@@ -101,7 +101,7 @@ class DataSourceManager {
|
|
|
101
101
|
const currentDs = this.getCurrentDataSource();
|
|
102
102
|
if (!currentDs) return {};
|
|
103
103
|
const config = {
|
|
104
|
-
url: `/${currentDs.serverName}${currentDs.url}`,
|
|
104
|
+
url: `/${window.$servers[currentDs.serverName]}${currentDs.url}`,
|
|
105
105
|
method: currentDs.method
|
|
106
106
|
};
|
|
107
107
|
if (currentDs.contentType === "formData") {
|