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

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", "cssClass" : "editor-icon editor-icon-save",
"action" : "FLOWABLE.TOOLBAR.ACTIONS.saveModel" "action" : "FLOWABLE.TOOLBAR.ACTIONS.saveModel"
}, },
{ // {
"type" : "button", // "type" : "button",
"title" : "TOOLBAR.ACTION.VALIDATE", // "title" : "TOOLBAR.ACTION.VALIDATE",
"cssClass" : "glyphicon glyphicon-ok", // "cssClass" : "glyphicon glyphicon-ok",
"action": "FLOWABLE.TOOLBAR.ACTIONS.validate" // "action": "FLOWABLE.TOOLBAR.ACTIONS.validate"
}, // },
{ {
"type" : "separator", "type" : "separator",
"title" : "", "title" : "",

View File

@ -17,7 +17,7 @@
</div> </div>
<div class="btn-group pull-right" ng-show="!secondaryItems.length"> <div class="btn-group pull-right" ng-show="!secondaryItems.length">
<div class="btn-toolbar pull-right" ng-controller="ToolbarController"> <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}}"> 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> <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> <div ng-switch-when="separator" ng-class="item.cssClass"></div>

View File

@ -44,7 +44,7 @@
</head> </head>
<body ng-app="flowableModeler" ng-cloak> <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="fixed-container">
<div class="navbar-header"> <div class="navbar-header">
<a ng-click="backToLanding()" class="landing-logo" ng-if="account != null && account != undefined" title="{{'GENERAL.MAIN-TITLE' | translate}}"> <a ng-click="backToLanding()" class="landing-logo" ng-if="account != null && account != undefined" title="{{'GENERAL.MAIN-TITLE' | translate}}">

View File

@ -1,6 +1,5 @@
<template> <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"> <div class="modeler">
<iframe class="iframe" :src="src"></iframe> <iframe class="iframe" :src="src"></iframe>
</div> </div>
@ -58,4 +57,3 @@ export default {
border: 0px; border: 0px;
} }
</style> </style>