Showing
1 changed file
with
38 additions
and
5 deletions
| ... | @@ -335,14 +335,14 @@ | ... | @@ -335,14 +335,14 @@ |
| 335 | </template> | 335 | </template> |
| 336 | </el-dropdown> | 336 | </el-dropdown> |
| 337 | <el-tooltip content="编辑版本信息" placement="bottom"> | 337 | <el-tooltip content="编辑版本信息" placement="bottom"> |
| 338 | - <i class="el-icon-set-up" @click="editFlowVersion" style="font-size: 16px; margin-left: 8px; position: absolute; right: -25px; top: 6px;"></i> | 338 | + <i class="el-icon-set-up" @click="editFlowVersion" style="font-size: 16px; margin-left: 8px; position: absolute; right: -25px; top: -1px;"></i> |
| 339 | </el-tooltip> | 339 | </el-tooltip> |
| 340 | - <el-dialog v-model="state.dialogVersionFormVisible" title="版本信息"> | 340 | + <el-dialog v-model="state.dialogVersionFormVisible" title="版本信息" width="50%"> |
| 341 | <el-form :model="state.versionForm" label-width="80px"> | 341 | <el-form :model="state.versionForm" label-width="80px"> |
| 342 | - <el-form-item label="版本号"> | 342 | + <el-form-item label="版本号:"> |
| 343 | 流程版本(V{{ state.versionForm.code }}) | 343 | 流程版本(V{{ state.versionForm.code }}) |
| 344 | </el-form-item> | 344 | </el-form-item> |
| 345 | - <el-form-item label="版本描述"> | 345 | + <el-form-item label="版本描述:"> |
| 346 | <el-input | 346 | <el-input |
| 347 | v-model="state.versionForm.note" | 347 | v-model="state.versionForm.note" |
| 348 | :autosize="{ minRows: 2, maxRows: 4 }" | 348 | :autosize="{ minRows: 2, maxRows: 4 }" |
| ... | @@ -387,11 +387,27 @@ | ... | @@ -387,11 +387,27 @@ |
| 387 | </template> | 387 | </template> |
| 388 | </el-popconfirm> | 388 | </el-popconfirm> |
| 389 | <el-button type="primary" color="#009688" @click="saveFlowVersionNote">保存描述</el-button> | 389 | <el-button type="primary" color="#009688" @click="saveFlowVersionNote">保存描述</el-button> |
| 390 | - <el-button @click="state.dialogVersionFormVisible = false">关闭</el-button> | 390 | + <!-- <el-button @click="state.dialogVersionFormVisible = false">关闭</el-button> --> |
| 391 | </span> | 391 | </span> |
| 392 | </template> | 392 | </template> |
| 393 | </el-dialog> | 393 | </el-dialog> |
| 394 | </div> | 394 | </div> |
| 395 | + <div class="help-tip" @click="showHelp"> | ||
| 396 | + <i class="el-icon-warning"></i> <span style="font-size: 13px;">查看新手引导</span> | ||
| 397 | + </div> | ||
| 398 | + <el-dialog v-model="state.dialogHelpVisible" title="新手引导" width="30%" center> | ||
| 399 | + <span> | ||
| 400 | + 提供的流程新增引导 | ||
| 401 | + </span> | ||
| 402 | + <template #footer> | ||
| 403 | + <span class="dialog-footer"> | ||
| 404 | + <el-button @click="state.dialogHelpVisible = false">关闭</el-button> | ||
| 405 | + <el-button type="primary" @click="state.dialogHelpVisible = false"> | ||
| 406 | + 下一步 | ||
| 407 | + </el-button> | ||
| 408 | + </span> | ||
| 409 | + </template> | ||
| 410 | + </el-dialog> | ||
| 395 | </template> | 411 | </template> |
| 396 | <!-- 表单底部按钮 --> | 412 | <!-- 表单底部按钮 --> |
| 397 | <template v-slot:foot> | 413 | <template v-slot:foot> |
| ... | @@ -562,6 +578,7 @@ export default { | ... | @@ -562,6 +578,7 @@ export default { |
| 562 | select_flow_version: 0, | 578 | select_flow_version: 0, |
| 563 | version_list: [], | 579 | version_list: [], |
| 564 | dialogVersionFormVisible: false, | 580 | dialogVersionFormVisible: false, |
| 581 | + dialogHelpVisible: false, | ||
| 565 | versionForm: { | 582 | versionForm: { |
| 566 | code: 0, | 583 | code: 0, |
| 567 | id: 0, | 584 | id: 0, |
| ... | @@ -702,6 +719,10 @@ export default { | ... | @@ -702,6 +719,10 @@ export default { |
| 702 | // }); | 719 | // }); |
| 703 | }); | 720 | }); |
| 704 | 721 | ||
| 722 | + const showHelp = () => { | ||
| 723 | + state.dialogHelpVisible = true; | ||
| 724 | + } | ||
| 725 | + | ||
| 705 | /***************** 版本操作 ***************/ | 726 | /***************** 版本操作 ***************/ |
| 706 | 727 | ||
| 707 | /** | 728 | /** |
| ... | @@ -1642,6 +1663,8 @@ export default { | ... | @@ -1642,6 +1663,8 @@ export default { |
| 1642 | handleBeforeAdd, | 1663 | handleBeforeAdd, |
| 1643 | handleAfterAdd, | 1664 | handleAfterAdd, |
| 1644 | 1665 | ||
| 1666 | + showHelp, | ||
| 1667 | + | ||
| 1645 | onSelectFlowVersion, | 1668 | onSelectFlowVersion, |
| 1646 | showEditFlowVersion, | 1669 | showEditFlowVersion, |
| 1647 | addFlowVersion, | 1670 | addFlowVersion, |
| ... | @@ -1853,6 +1876,16 @@ body { | ... | @@ -1853,6 +1876,16 @@ body { |
| 1853 | } | 1876 | } |
| 1854 | } | 1877 | } |
| 1855 | 1878 | ||
| 1879 | +.help-tip { | ||
| 1880 | + position: absolute; | ||
| 1881 | + z-index: 9999; | ||
| 1882 | + top: 70px; | ||
| 1883 | + color: #009688 !important; | ||
| 1884 | + &:hover { | ||
| 1885 | + cursor: pointer; | ||
| 1886 | + } | ||
| 1887 | +} | ||
| 1888 | + | ||
| 1856 | .el-tabs__item.is-active, | 1889 | .el-tabs__item.is-active, |
| 1857 | .el-radio-button__inner:hover { | 1890 | .el-radio-button__inner:hover { |
| 1858 | color: #009688 !important; | 1891 | color: #009688 !important; | ... | ... |
-
Please register or login to post a comment