@fecp/designer 5.5.121 → 5.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/es/designer/package.json.mjs +1 -1
  2. package/es/designer/src/assets/logo.png.mjs +1 -1
  3. package/es/designer/src/components/EventConfigButton.vue.mjs +2 -2
  4. package/es/designer/src/packages/dialog/useDialogDialog.mjs +1 -1
  5. package/es/designer/src/packages/dialogGlobal/useDialogGlobalDialog.mjs +1 -1
  6. package/es/designer/src/packages/form/property/contract.vue.mjs +15 -1
  7. package/es/designer/src/packages/form/property/pageFooterBtn.vue.mjs +2 -2
  8. package/es/designer/src/packages/form/property/pageHeaderBtn.vue.mjs +2 -2
  9. package/es/designer/src/packages/form/property/widgets.vue.mjs +6 -6
  10. package/es/designer/src/packages/table/property/customBtn.vue.mjs +2 -2
  11. package/es/designer/src/packages/table/property/optBtn.vue.mjs +2 -2
  12. package/es/designer/src/packages/table/property/widgets.vue.mjs +2 -2
  13. package/es/designer.css +364 -363
  14. package/es/logo.ico +0 -0
  15. package/es/packages/mobile/src/components/base/card/Card.vue.mjs +2 -2
  16. package/es/packages/mobile/src/components/custom/appDetail/AppDetail.vue.mjs +4 -3
  17. package/es/packages/mobile/src/components/custom/appTimeLine/AppTimeLine.vue.mjs +8 -4
  18. package/es/packages/mobile/src/components/custom/approvalBar/ApprovalBar.vue.mjs +8 -6
  19. package/es/packages/mobile/src/components/custom/approvalList/ApprovalCard.vue.mjs +3 -3
  20. package/es/packages/mobile/src/components/custom/approvalList/ApprovalList.vue.mjs +32 -22
  21. package/es/packages/mobile/src/components/custom/document/Document.vue.mjs +2 -2
  22. package/es/packages/mobile/src/components/custom/userSelect/UserSelect.vue.mjs +2 -2
  23. package/es/packages/mobile/src/components/dataDisplay/cardList/CardList.vue.mjs +4 -3
  24. package/es/packages/mobile/src/components/dataDisplay/dataStat/DataStat.vue.mjs +109 -47
  25. package/es/packages/mobile/src/components/form/search/Search.vue.mjs +1 -1
  26. package/es/packages/mobile/src/components/navigation/tabbar/Tabbar.vue.mjs +7 -3
  27. package/es/packages/mobile/src/components/navigation/tabs/Tabs.vue.mjs +4 -2
  28. package/es/packages/mobile/src/page.vue.mjs +3 -3
  29. package/es/packages/mobile/src/utils/datasource.mjs +1 -1
  30. package/es/packages/mobile/src/utils/optionUtil.mjs +1 -1
  31. package/es/packages/vue/src/components/bus/contract/Contract.vue.mjs +12 -1
  32. package/es/packages/vue/src/components/forms/form/Form.vue.mjs +5 -2
  33. package/es/packages/vue/src/components/forms/roleSelect/RoleSelect.vue.mjs +2 -2
  34. package/es/packages/vue/src/components/forms/subTable/SubTable.vue.mjs +20 -26
  35. package/es/packages/vue/src/components/forms/userSelect/UserSelect.vue.mjs +2 -2
  36. package/es/packages/vue/src/components/table/Table.vue.mjs +5 -2
  37. package/es/packages/vue/src/components/table/TableColumn.vue.mjs +7 -9
  38. package/es/packages/vue/src/directive/auth.mjs +2 -1
  39. package/es/packages/vue/src/utils/parseRouteParams.mjs +2 -2
  40. package/lib/designer/package.json.js +1 -1
  41. package/lib/designer/src/assets/logo.png.js +1 -1
  42. package/lib/designer/src/components/EventConfigButton.vue.js +2 -2
  43. package/lib/designer/src/packages/dialog/useDialogDialog.js +1 -1
  44. package/lib/designer/src/packages/dialogGlobal/useDialogGlobalDialog.js +1 -1
  45. package/lib/designer/src/packages/form/property/contract.vue.js +15 -1
  46. package/lib/designer/src/packages/form/property/widgets.vue.js +2 -2
  47. package/lib/designer.css +364 -363
  48. package/lib/logo.ico +0 -0
  49. package/lib/packages/mobile/src/components/base/card/Card.vue.js +2 -2
  50. package/lib/packages/mobile/src/components/custom/appDetail/AppDetail.vue.js +4 -3
  51. package/lib/packages/mobile/src/components/custom/appTimeLine/AppTimeLine.vue.js +8 -4
  52. package/lib/packages/mobile/src/components/custom/approvalBar/ApprovalBar.vue.js +8 -6
  53. package/lib/packages/mobile/src/components/custom/approvalList/ApprovalCard.vue.js +3 -3
  54. package/lib/packages/mobile/src/components/custom/approvalList/ApprovalList.vue.js +32 -22
  55. package/lib/packages/mobile/src/components/custom/document/Document.vue.js +2 -2
  56. package/lib/packages/mobile/src/components/custom/userSelect/UserSelect.vue.js +2 -2
  57. package/lib/packages/mobile/src/components/dataDisplay/cardList/CardList.vue.js +4 -3
  58. package/lib/packages/mobile/src/components/dataDisplay/dataStat/DataStat.vue.js +109 -47
  59. package/lib/packages/mobile/src/components/form/search/Search.vue.js +1 -1
  60. package/lib/packages/mobile/src/components/navigation/tabbar/Tabbar.vue.js +7 -3
  61. package/lib/packages/mobile/src/components/navigation/tabs/Tabs.vue.js +4 -2
  62. package/lib/packages/mobile/src/page.vue.js +3 -3
  63. package/lib/packages/mobile/src/utils/datasource.js +1 -1
  64. package/lib/packages/mobile/src/utils/optionUtil.js +1 -1
  65. package/lib/packages/vue/src/components/bus/contract/Contract.vue.js +12 -1
  66. package/lib/packages/vue/src/components/forms/form/Form.vue.js +5 -2
  67. package/lib/packages/vue/src/components/forms/roleSelect/RoleSelect.vue.js +2 -2
  68. package/lib/packages/vue/src/components/forms/subTable/SubTable.vue.js +20 -26
  69. package/lib/packages/vue/src/components/forms/userSelect/UserSelect.vue.js +2 -2
  70. package/lib/packages/vue/src/components/table/Table.vue.js +5 -2
  71. package/lib/packages/vue/src/components/table/TableColumn.vue.js +7 -9
  72. package/lib/packages/vue/src/directive/auth.js +2 -1
  73. package/lib/packages/vue/src/utils/parseRouteParams.js +2 -2
  74. 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-server/flow/flowApproveDetail/findById",
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-server/flow/flowApproveDetail/findById",
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-3eeb1e3e"]]);
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.traceNo) {
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-server/flow/flowData/findTimeLineByTraceNo",
173
+ "/" + window.$servers.base + "/flow/flowData/findTimeLineByProcessInstanceId",
170
174
  {
171
- traceNo: props.traceNo,
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-5ea2086e"]]);
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-server/flow/flowApproveDetail/getAllNextNodeList",
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-server/flow/flowApproveDetail/getFinishNodeList",
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-server/flow/flowApproveDetail/getFinishParentNodeList",
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-server/flow/flowApproveDetail/getRollBackNodeList",
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-server/flow/flowApproveDetail/doCommit",
247
+ "/" + window.$servers.base + "/flow/flowApproveDetail/doCommit",
246
248
  commitData,
247
249
  false
248
250
  ).then((data) => {
@@ -450,5 +452,5 @@ const _sfc_main = {
450
452
  };
451
453
  }
452
454
  };
453
- const _ApprovalBar = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-c40e2cd6"]]);
455
+ const _ApprovalBar = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-09c36d09"]]);
454
456
  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 || "待处理"), 1)
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-404eba8c"]]);
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-server/flow/workbench/findTaskListByPage",
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.isEnd) {
120
- item.statusColor = "#52c41a";
121
- item.statusIcon = "checked";
122
- item.statusText = "已完成";
123
- } else {
124
- item.statusColor = "#fa8c16";
125
- item.statusIcon = "more";
126
- item.statusText = "进行中";
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.isEnd) {
137
- item.statusColor = "#52c41a";
138
- item.statusIcon = "checked";
139
- item.statusText = "已完成";
140
- } else {
141
- item.statusColor = "#fa8c16";
142
- item.statusIcon = "more";
143
- item.statusText = "进行中";
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-server/flow/flowApproveDetail/doAssign",
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-server/flow/flowApproveDetail/undo",
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-server/flow/flowApproveDetail/recall",
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-5990769f"]]);
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-server/docBusFiletype/getRootTree4Mobile",
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-c2db27bd"]]);
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-server/mobileApi/findSysUserByPage",
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-4aaba0be"]]);
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-server/parm/sysParmDic/getDicListByKey",
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-server/parm/sysParmDic/getDicListByKey",
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-68f16109"]]);
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
- ctx.$http.postFormMobile("/base-server/sysHome/getData4UpperLeft", {}, false).then((data) => {
63
- dataList.value = [
64
- {
65
- label: "资产总额",
66
- value: data.dueAmt,
67
- unit: "万元",
68
- theme: "blue"
69
- },
70
- {
71
- label: "客户数量",
72
- value: data.cusCount,
73
- unit: "",
74
- theme: "mint"
75
- },
76
- {
77
- label: "资产余额",
78
- value: data.dueBal,
79
- unit: "",
80
- theme: "purple"
81
- },
82
- {
83
- label: "今日到期租金",
84
- value: data.currRentAmt,
85
- unit: "",
86
- theme: "mist"
87
- },
88
- {
89
- label: "未结清合同",
90
- value: data.unSettleContNum,
91
- unit: "",
92
- theme: "orange"
93
- },
94
- {
95
- label: "未来7日到期租金",
96
- value: data.laterRentAmt,
97
- unit: "",
98
- theme: "rose"
99
- }
100
- ];
101
- }).catch((err) => {
102
- console.error("[DataStat] 加载失败", err);
103
- dataList.value = [];
104
- }).finally(() => {
105
- loading.value = false;
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-69ffb999"]]);
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-server/parm/sysParmDic/getDicListByKey",
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("/base-server/flow/workbench/getTaskCutByUser", null, false).then((data) => {
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-server/msgMessages/initMsgUnReadNum",
71
+ "/" + window.$servers.base + "/msgMessages/initMsgUnReadNum",
68
72
  {
69
73
  opNo: store.getters.user.opNo
70
74
  },
@@ -116,5 +120,5 @@ const _sfc_main = {
116
120
  };
117
121
  }
118
122
  };
119
- const _Tabbar = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-5e9f5a59"]]);
123
+ const _Tabbar = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-cf078e7a"]]);
120
124
  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-217113cd"]]);
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-server/parm/sysParmDic/getDicListByKey",
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-aa11f142"]]);
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") {
@@ -28,7 +28,7 @@ const getOptions = ({
28
28
  break;
29
29
  }
30
30
  const response = await ctx.$http.postFormMobile(
31
- "/base-server/parm/sysParmDic/getDicListByKey",
31
+ "/" + window.$servers.base + "/parm/sysParmDic/getDicListByKey",
32
32
  {
33
33
  keyName: dictionaryValue
34
34
  },