ui-process-h5 1.0.9 → 1.0.10

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/README.md CHANGED
@@ -65,7 +65,6 @@ export default {
65
65
  :id="businessKey"
66
66
  :businessType="businessType"
67
67
  :todoParameter="todoParameter"
68
- :isClearHistory="isClearHistory"
69
68
  :title="title"
70
69
  :endFunction="endFunction"
71
70
  :beforeFunction="beforeFunction"
@@ -145,8 +144,7 @@ export default {
145
144
 
146
145
  | 参数 | 类型 | 默认值 | 说明 |
147
146
  | -------------- | ---------------- | ------ | ----------------------------------------------- |
148
- | visible | Boolean | false | 展示参数 |
149
- | isClearHistory | Boolean | false | 是否清除送审记录 |
147
+ | visible | Boolean | false | 展示参数 | |
150
148
  | title | String | "" | 送审提交标题参数 |
151
149
  | todoParameter | Object | {} | 发起流程时的其他参数 |
152
150
  | businessType | [String, Number] | null | 业务类型 |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ui-process-h5",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "> app端 流程插件",
5
5
  "main": "./ui-process-h5.umd.cjs",
6
6
  "style": "./style.css",
@@ -4272,7 +4272,7 @@ const Pt = /* @__PURE__ */ function() {
4272
4272
  };
4273
4273
  var tm = function() {
4274
4274
  var t = this, n = t.$createElement, e = t._self._c || n;
4275
- return e("div", {
4275
+ return t.url ? e("div", {
4276
4276
  staticStyle: {
4277
4277
  width: "100%",
4278
4278
  height: "calc(100% - 40px)"
@@ -4299,7 +4299,7 @@ var tm = function() {
4299
4299
  attrs: {
4300
4300
  src: t.url
4301
4301
  }
4302
- })]);
4302
+ })]) : t._e();
4303
4303
  }, em = [];
4304
4304
  const qo = {};
4305
4305
  var nm = /* @__PURE__ */ rt(
@@ -10531,6 +10531,10 @@ const ye = /* @__PURE__ */ function() {
10531
10531
  title: {
10532
10532
  type: String,
10533
10533
  default: "\u6D4B\u8BD5"
10534
+ },
10535
+ showType: {
10536
+ type: String,
10537
+ default: "all"
10534
10538
  }
10535
10539
  },
10536
10540
  data() {
@@ -10565,7 +10569,8 @@ const ye = /* @__PURE__ */ function() {
10565
10569
  async handler(t, n) {
10566
10570
  this.show = t, this.$emit("update:visible", this.show), await this.request.get("/aws/repository/getProcessDefList", {
10567
10571
  params: {
10568
- appId: this.appId
10572
+ appId: this.appId,
10573
+ processGroupName: this.processName
10569
10574
  }
10570
10575
  }).then((e) => {
10571
10576
  console.log("\u83B7\u53D6\u6D41\u7A0B::", e), e.code == 200 && (this.option = e.data, this.checkedItem = this.option[0], this.getAfferentParticipantNodeList(), this.getDiagramUrl());
@@ -10637,7 +10642,7 @@ const ye = /* @__PURE__ */ function() {
10637
10642
  title: this.title,
10638
10643
  processDefId: this.checkedItem.id,
10639
10644
  processBusinessKey: this.id,
10640
- showType: "app",
10645
+ showType: this.showType,
10641
10646
  businessType: this.businessType,
10642
10647
  multiNodeParticipant: this.multiNodeParticipant,
10643
10648
  todoParameter: this.todoParameter