mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-04 04:08:43 +08:00 
			
		
		
		
	乱改下 bpmnProcessDesigner 的样式
This commit is contained in:
		@@ -2,7 +2,9 @@
 | 
			
		||||
<!--  <div id="app">-->
 | 
			
		||||
  <div class="app-container">
 | 
			
		||||
 | 
			
		||||
    <my-process-palette />
 | 
			
		||||
    <!-- TODO 芋艿:去除测试任务 -->
 | 
			
		||||
<!--    <my-process-palette />-->
 | 
			
		||||
 | 
			
		||||
    <my-process-designer
 | 
			
		||||
      :key="`designer-${reloadIndex}`"
 | 
			
		||||
      v-model="xmlString"
 | 
			
		||||
@@ -53,16 +55,17 @@
 | 
			
		||||
      </el-form>
 | 
			
		||||
    </el-drawer>
 | 
			
		||||
 | 
			
		||||
    <div class="info-tip">
 | 
			
		||||
      <p>注:activiti 好像不支持表单配置,控制台可能会报错</p>
 | 
			
		||||
      <p>更多配置请查看源码:<a href="https://github.com/miyuesc/bpmn-process-designer">MiyueSC/bpmn-process-designer</a></p>
 | 
			
		||||
      <p>疑问请在此留言:<a href="https://github.com/miyuesc/bpmn-process-designer/issues/16">MiyueSC/bpmn-process-designer/issues</a></p>
 | 
			
		||||
    </div>
 | 
			
		||||
    <!-- TODO 芋艿:去掉多余的 faq -->
 | 
			
		||||
<!--    <div class="info-tip">-->
 | 
			
		||||
<!--      <p>注:activiti 好像不支持表单配置,控制台可能会报错</p>-->
 | 
			
		||||
<!--      <p>更多配置请查看源码:<a href="https://github.com/miyuesc/bpmn-process-designer">MiyueSC/bpmn-process-designer</a></p>-->
 | 
			
		||||
<!--      <p>疑问请在此留言:<a href="https://github.com/miyuesc/bpmn-process-designer/issues/16">MiyueSC/bpmn-process-designer/issues</a></p>-->
 | 
			
		||||
<!--    </div>-->
 | 
			
		||||
  </div>
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
import translations from "./translations";
 | 
			
		||||
import translations from "@/components/bpmnProcessDesigner/src/translations";
 | 
			
		||||
// 自定义渲染(隐藏了 label 标签)
 | 
			
		||||
// TODO 芋艿:custom render 依赖报错
 | 
			
		||||
// import CustomRenderer from "@/modules/custom-renderer";
 | 
			
		||||
@@ -197,13 +200,16 @@ body {
 | 
			
		||||
    cursor: pointer;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
.info-tip {
 | 
			
		||||
  position: fixed;
 | 
			
		||||
  top: 40px;
 | 
			
		||||
  right: 500px;
 | 
			
		||||
  z-index: 10;
 | 
			
		||||
  color: #999999;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// TODO 芋艿:去掉多余的 faq
 | 
			
		||||
//.info-tip {
 | 
			
		||||
//  position: fixed;
 | 
			
		||||
//  top: 40px;
 | 
			
		||||
//  right: 500px;
 | 
			
		||||
//  z-index: 10;
 | 
			
		||||
//  color: #999999;
 | 
			
		||||
//}
 | 
			
		||||
 | 
			
		||||
.control-form {
 | 
			
		||||
  .el-radio {
 | 
			
		||||
    width: 100%;
 | 
			
		||||
@@ -218,6 +224,16 @@ body {
 | 
			
		||||
  color: #fafafa;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.bjs-container {
 | 
			
		||||
  height: 400px !important; // TODO 芋艿:bjs 容器的高度不对,临时改下
 | 
			
		||||
}
 | 
			
		||||
.process-panel__container { // TODO 芋艿:右边的位置不对,临时改下
 | 
			
		||||
  margin-top: -200px;
 | 
			
		||||
  float: right;
 | 
			
		||||
  height: 800px;
 | 
			
		||||
  z-index: 2147483647 !important;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
body,
 | 
			
		||||
body * {
 | 
			
		||||
  /* 滚动条 */
 | 
			
		||||
 
 | 
			
		||||
@@ -1,25 +0,0 @@
 | 
			
		||||
/**
 | 
			
		||||
 * This is a sample file that should be replaced with the actual translation.
 | 
			
		||||
 *
 | 
			
		||||
 * Checkout https://github.com/bpmn-io/bpmn-js-i18n for a list of available
 | 
			
		||||
 * translations and labels to translate.
 | 
			
		||||
 */
 | 
			
		||||
export default {
 | 
			
		||||
  "Exclusive Gateway": "Exklusives Gateway",
 | 
			
		||||
  "Parallel Gateway": "Paralleles Gateway",
 | 
			
		||||
  "Inclusive Gateway": "Inklusives Gateway",
 | 
			
		||||
  "Complex Gateway": "Komplexes Gateway",
 | 
			
		||||
  "Event based Gateway": "Ereignis-basiertes Gateway",
 | 
			
		||||
  "Message Start Event": "消息启动事件",
 | 
			
		||||
  "Timer Start Event": "定时启动事件",
 | 
			
		||||
  "Conditional Start Event": "条件启动事件",
 | 
			
		||||
  "Signal Start Event": "信号启动事件",
 | 
			
		||||
  "Error Start Event": "错误启动事件",
 | 
			
		||||
  "Escalation Start Event": "升级启动事件",
 | 
			
		||||
  "Compensation Start Event": "补偿启动事件",
 | 
			
		||||
  "Message Start Event (non-interrupting)": "消息启动事件 (非中断)",
 | 
			
		||||
  "Timer Start Event (non-interrupting)": "定时启动事件 (非中断)",
 | 
			
		||||
  "Conditional Start Event (non-interrupting)": "条件启动事件 (非中断)",
 | 
			
		||||
  "Signal Start Event (non-interrupting)": "信号启动事件 (非中断)",
 | 
			
		||||
  "Escalation Start Event (non-interrupting)": "升级启动事件 (非中断)"
 | 
			
		||||
};
 | 
			
		||||
		Reference in New Issue
	
	Block a user