隐藏设计器验证按钮,隐藏表单,案例,应用程序等

This commit is contained in:
songgaoshuai 2023-06-06 12:24:43 +08:00
parent d109253bd0
commit 0808d0ce49
4 changed files with 10 additions and 12 deletions

View File

@ -21,12 +21,12 @@ FLOWABLE.TOOLBAR_CONFIG = {
"cssClass" : "editor-icon editor-icon-save",
"action" : "FLOWABLE.TOOLBAR.ACTIONS.saveModel"
},
{
"type" : "button",
"title" : "TOOLBAR.ACTION.VALIDATE",
"cssClass" : "glyphicon glyphicon-ok",
"action": "FLOWABLE.TOOLBAR.ACTIONS.validate"
},
// {
// "type" : "button",
// "title" : "TOOLBAR.ACTION.VALIDATE",
// "cssClass" : "glyphicon glyphicon-ok",
// "action": "FLOWABLE.TOOLBAR.ACTIONS.validate"
// },
{
"type" : "separator",
"title" : "",

View File

@ -17,7 +17,7 @@
</div>
<div class="btn-group pull-right" ng-show="!secondaryItems.length">
<div class="btn-toolbar pull-right" ng-controller="ToolbarController">
<button title="{{item.title | translate}}" ng-repeat="item in secondaryItems" ng-switch on="item.type" class="btn btn-inverse" ng-class="{'separator': item.type == 'separator'}"
<button style="display: none;" title="{{item.title | translate}}" ng-repeat="item in secondaryItems" ng-switch on="item.type" class="btn btn-inverse" ng-class="{'separator': item.type == 'separator'}"
ng-disabled="item.type == 'separator'" ng-click="toolbarSecondaryButtonClicked($index)" id="{{item.id}}">
<i ng-switch-when="button" ng-class="item.cssClass" class="toolbar-button" data-toggle="tooltip" title="{{item.title | translate}}"></i>
<div ng-switch-when="separator" ng-class="item.cssClass"></div>

View File

@ -44,7 +44,7 @@
</head>
<body ng-app="flowableModeler" ng-cloak>
<div class="navbar navbar-fixed-top navbar-inverse" role="navigation" id="main-header">
<div class="navbar navbar-fixed-top navbar-inverse" role="navigation" id="main-header" style="display: none;">
<div class="fixed-container">
<div class="navbar-header">
<a ng-click="backToLanding()" class="landing-logo" ng-if="account != null && account != undefined" title="{{'GENERAL.MAIN-TITLE' | translate}}">

View File

@ -1,12 +1,11 @@
<template>
<el-dialog title="Flowable工作流在线流程设计器" v-model="visible" v-if="visible" :before-close="handleClose" fullscreen>
<el-dialog title="Flowable工作流在线流程设计器" width="90%" height="100%" v-model="visible" v-if="visible" :before-close="handleClose">
<div class="modeler">
<iframe class="iframe" :src="src"></iframe>
</div>
</el-dialog>
</template>
<script>
const baseURL = import.meta.env.VITE_APP_BASE_API;
import { getToken } from '@/utils/auth';
@ -58,4 +57,3 @@ export default {
border: 0px;
}
</style>