|
@@ -352,48 +352,48 @@ export default {
|
|
|
},
|
|
|
data: list,
|
|
|
}).then((res) => {
|
|
|
- if (status === 1) {
|
|
|
- //第一次进入取路径
|
|
|
- this.initialList = res.data.body;
|
|
|
- if (
|
|
|
- this.initialList.nextShapes[0].multi?.multi &&
|
|
|
- res.data.body.nextShapes[0].multi.multi === "true"
|
|
|
- ) {
|
|
|
- this.transferStatus = true;
|
|
|
- } else {
|
|
|
- this.transferStatus = false;
|
|
|
- }
|
|
|
- if (
|
|
|
- res.data.body.nextShapes[0].copy?.copy &&
|
|
|
- res.data.body.nextShapes[0].copy.copy === "true"
|
|
|
- ) {
|
|
|
- this.CopyStatus = true;
|
|
|
- } else {
|
|
|
- this.CopyStatus = false;
|
|
|
- }
|
|
|
- // if (res.data.body.nextShapes[0].loop !== null) {
|
|
|
- // if (res.data.body.nextShapes[0].loop.loop === "true") {
|
|
|
- // this.transferStatus = true; //转派按钮生效
|
|
|
- // } else {
|
|
|
- // this.transferStatus = false;
|
|
|
- // }
|
|
|
- // } else {
|
|
|
- // this.transferStatus = false;
|
|
|
- // }
|
|
|
- // if (res.data.body.nextShapes[0].copy !== null) {
|
|
|
- // if (res.data.body.nextShapes[0].copy.copy === "true") {
|
|
|
- // // this.copyStatus = true; //抄送按钮生效
|
|
|
- // this.CopyStatus = true;
|
|
|
- // } else {
|
|
|
- // this.copyStatus = false;
|
|
|
- // }
|
|
|
- // } else {
|
|
|
- // this.copyStatus = false;
|
|
|
- // }
|
|
|
- res.data.body.currentShape.map((item, index) => {
|
|
|
- this.getNextPath(item.resourceId, 2);
|
|
|
- });
|
|
|
- }
|
|
|
+ // if (status === 1) {
|
|
|
+ // //第一次进入取路径
|
|
|
+ // this.initialList = res.data.body;
|
|
|
+ // if (
|
|
|
+ // this.initialList.nextShapes[0].multi?.multi &&
|
|
|
+ // res.data.body.nextShapes[0].multi.multi === "true"
|
|
|
+ // ) {
|
|
|
+ // this.transferStatus = true;
|
|
|
+ // } else {
|
|
|
+ // this.transferStatus = false;
|
|
|
+ // }
|
|
|
+ // if (
|
|
|
+ // res.data.body.nextShapes[0].copy?.copy &&
|
|
|
+ // res.data.body.nextShapes[0].copy.copy === "true"
|
|
|
+ // ) {
|
|
|
+ // this.CopyStatus = true;
|
|
|
+ // } else {
|
|
|
+ // this.CopyStatus = false;
|
|
|
+ // }
|
|
|
+ // // if (res.data.body.nextShapes[0].loop !== null) {
|
|
|
+ // // if (res.data.body.nextShapes[0].loop.loop === "true") {
|
|
|
+ // // this.transferStatus = true; //转派按钮生效
|
|
|
+ // // } else {
|
|
|
+ // // this.transferStatus = false;
|
|
|
+ // // }
|
|
|
+ // // } else {
|
|
|
+ // // this.transferStatus = false;
|
|
|
+ // // }
|
|
|
+ // // if (res.data.body.nextShapes[0].copy !== null) {
|
|
|
+ // // if (res.data.body.nextShapes[0].copy.copy === "true") {
|
|
|
+ // // // this.copyStatus = true; //抄送按钮生效
|
|
|
+ // // this.CopyStatus = true;
|
|
|
+ // // } else {
|
|
|
+ // // this.copyStatus = false;
|
|
|
+ // // }
|
|
|
+ // // } else {
|
|
|
+ // // this.copyStatus = false;
|
|
|
+ // // }
|
|
|
+ // res.data.body.currentShape.map((item, index) => {
|
|
|
+ // this.getNextPath(item.resourceId, 2);
|
|
|
+ // });
|
|
|
+ // }
|
|
|
if (status === 2) {
|
|
|
if (res.data.body.nextShapes[0].condition !== null) {
|
|
|
this.node = res.data.body;
|