Showing
1 changed file
with
15 additions
and
12 deletions
| ... | @@ -1368,17 +1368,6 @@ export default { | ... | @@ -1368,17 +1368,6 @@ export default { |
| 1368 | } | 1368 | } |
| 1369 | }); | 1369 | }); |
| 1370 | 1370 | ||
| 1371 | - // 开始节点不显示审批意见 | ||
| 1372 | - if (model_id ==='start-node') { | ||
| 1373 | - state.more_attr = state.more_attr.filter((ele: any) => { | ||
| 1374 | - return ele.label !== '审批意见' | ||
| 1375 | - }); | ||
| 1376 | - } | ||
| 1377 | - // 抄送节点不显示 | ||
| 1378 | - if (state.detailModel.control === 'cc') { | ||
| 1379 | - state.more_attr = []; | ||
| 1380 | - } | ||
| 1381 | - | ||
| 1382 | // 打开属性表单 | 1371 | // 打开属性表单 |
| 1383 | state.attr_radio = '基础属性'; // 还原tab默认值 | 1372 | state.attr_radio = '基础属性'; // 还原tab默认值 |
| 1384 | 1373 | ||
| ... | @@ -1411,7 +1400,6 @@ export default { | ... | @@ -1411,7 +1400,6 @@ export default { |
| 1411 | return; | 1400 | return; |
| 1412 | } | 1401 | } |
| 1413 | 1402 | ||
| 1414 | - | ||
| 1415 | // 获取节点属性 | 1403 | // 获取节点属性 |
| 1416 | const { code, data } = await flowNodePropertyAPI({ node_code: model.id, flow_id }); | 1404 | const { code, data } = await flowNodePropertyAPI({ node_code: model.id, flow_id }); |
| 1417 | if (code) { | 1405 | if (code) { |
| ... | @@ -1447,6 +1435,21 @@ export default { | ... | @@ -1447,6 +1435,21 @@ export default { |
| 1447 | 1435 | ||
| 1448 | state.more_attr = data.property; // 更多属性 | 1436 | state.more_attr = data.property; // 更多属性 |
| 1449 | 1437 | ||
| 1438 | + // 开始节点不显示审批意见, 和节点操作的撤回 | ||
| 1439 | + if (model_id ==='start-node') { | ||
| 1440 | + state.more_attr = state.more_attr.filter((ele: any) => { | ||
| 1441 | + return ele.label !== '审批意见' | ||
| 1442 | + }); | ||
| 1443 | + state.more_attr[0]['data'] = state.more_attr[0]['data'].filter((ele: any) => { | ||
| 1444 | + return ele.id !== 'withdraw' | ||
| 1445 | + }); | ||
| 1446 | + } | ||
| 1447 | + | ||
| 1448 | + // 抄送节点不显示 | ||
| 1449 | + if (state.detailModel.control === 'cc') { | ||
| 1450 | + state.more_attr = []; | ||
| 1451 | + } | ||
| 1452 | + | ||
| 1450 | editor.openModel(); | 1453 | editor.openModel(); |
| 1451 | 1454 | ||
| 1452 | // 临时保存树信息 | 1455 | // 临时保存树信息 | ... | ... |
-
Please register or login to post a comment