ui-process-h5 1.3.28 → 1.3.29
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/package.json +1 -1
- package/v2/ui-process-h5.js +14 -15
- package/v2/ui-process-h5.umd.cjs +1 -1
- package/v2.7/ui-process-h5.js +14 -15
- package/v2.7/ui-process-h5.umd.cjs +1 -1
- package/v3/ui-process-h5.js +14 -15
- package/v3/ui-process-h5.umd.cjs +1 -1
package/v3/ui-process-h5.js
CHANGED
|
@@ -7345,6 +7345,14 @@ const zm = /* @__PURE__ */ z(Pm, [["render", Zm], ["__scopeId", "data-v-7c6d9221
|
|
|
7345
7345
|
}
|
|
7346
7346
|
},
|
|
7347
7347
|
methods: {
|
|
7348
|
+
handleGetHeight() {
|
|
7349
|
+
this.$nextTick(() => {
|
|
7350
|
+
setTimeout(() => {
|
|
7351
|
+
let e = document.getElementById("process-header"), s = document.getElementById("process-footer");
|
|
7352
|
+
this.bottomNum = s ? s.scrollHeight + 10 : 70, this.topNum = e ? e.scrollHeight + 10 : 144, console.log(this.bottomNum, "diss::", this.topNum);
|
|
7353
|
+
}, 1e3);
|
|
7354
|
+
});
|
|
7355
|
+
},
|
|
7348
7356
|
handleTestsss(e, s) {
|
|
7349
7357
|
console.log("==========:::", e, s);
|
|
7350
7358
|
},
|
|
@@ -7421,7 +7429,9 @@ const zm = /* @__PURE__ */ z(Pm, [["render", Zm], ["__scopeId", "data-v-7c6d9221
|
|
|
7421
7429
|
taskId: this.taskNode.length ? this.taskNode[0].taskId : ""
|
|
7422
7430
|
}
|
|
7423
7431
|
}).then((e) => {
|
|
7424
|
-
e.code == 200 && (this.processStatus = e.data, this.$emit("processStatus", this.processStatus), this.processStatus.userNodeGroup && this.processStatus.userNodeGroup[this.taskNode[0].nodeName] && this.processStatus.userNodeGroup[this.taskNode[0].nodeName].length > 1 ? this.canCheck = !1 : this.canCheck = !0);
|
|
7432
|
+
e.code == 200 && (this.processStatus = e.data, this.$emit("processStatus", this.processStatus), this.processStatus.userNodeGroup && this.processStatus.userNodeGroup[this.taskNode[0].nodeName] && this.processStatus.userNodeGroup[this.taskNode[0].nodeName].length > 1 ? this.canCheck = !1 : this.canCheck = !0), this.handleGetHeight();
|
|
7433
|
+
}).catch((e) => {
|
|
7434
|
+
this.handleGetHeight();
|
|
7425
7435
|
});
|
|
7426
7436
|
},
|
|
7427
7437
|
handleGetUserTaskModel() {
|
|
@@ -7430,20 +7440,9 @@ const zm = /* @__PURE__ */ z(Pm, [["render", Zm], ["__scopeId", "data-v-7c6d9221
|
|
|
7430
7440
|
taskId: this.taskNode[0].taskId
|
|
7431
7441
|
}
|
|
7432
7442
|
}).then((e) => {
|
|
7433
|
-
e.code == 200 && (this.taskObj = e.data, this.$
|
|
7434
|
-
|
|
7435
|
-
|
|
7436
|
-
"process-header"
|
|
7437
|
-
), i = document.getElementById(
|
|
7438
|
-
"process-footer"
|
|
7439
|
-
);
|
|
7440
|
-
this.bottomNum = i ? i.scrollHeight + 10 : 70, this.topNum = s ? s.scrollHeight + 10 : 144, console.log(
|
|
7441
|
-
this.bottomNum,
|
|
7442
|
-
"diss::",
|
|
7443
|
-
this.topNum
|
|
7444
|
-
);
|
|
7445
|
-
}, 1e3);
|
|
7446
|
-
}), this.$refs.topTips.handleClose());
|
|
7443
|
+
e.code == 200 && (this.taskObj = e.data), this.handleGetHeight(), this.$refs.topTips.handleClose();
|
|
7444
|
+
}).catch((e) => {
|
|
7445
|
+
this.handleGetHeight();
|
|
7447
7446
|
});
|
|
7448
7447
|
},
|
|
7449
7448
|
async showOperation(e, s, i, n) {
|