remove log
This commit is contained in:
@ -8,6 +8,12 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<link rel="icon" href="/favicon.ico">
|
||||
<title>若依管理系统</title>
|
||||
<script type="text/javascript">
|
||||
window._AMapSecurityConfig = {
|
||||
securityJsCode: 'd9ded0c99c2545c9feb200da26b29fbf',
|
||||
}
|
||||
</script>
|
||||
<script type="text/javascript" src="https://webapi.amap.com/maps?v=2.0&key=7891f1238368a895ff1967c79643102d"></script>
|
||||
<!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
|
||||
<style>
|
||||
html,
|
||||
|
@ -81,8 +81,6 @@ function initModeler(modelerArgv) {
|
||||
}, 10);
|
||||
}
|
||||
function handlerEvent(eventName) {
|
||||
console.log(eventName);
|
||||
|
||||
if (eventName === "connection-added") {
|
||||
// 设置结束节点的默认名称
|
||||
nextTick(() => {
|
||||
|
@ -345,7 +345,6 @@ async function importXML(xml) {
|
||||
// 设置流程图元素状态
|
||||
function setProcessStatus(processNodeInfoArgv) {
|
||||
processNodeInfo.value = processNodeInfoArgv;
|
||||
console.log(processNodeInfoArgv);
|
||||
if (
|
||||
isLoading.value ||
|
||||
processNodeInfo.value == null ||
|
||||
|
@ -49,14 +49,8 @@ export default function ContextPadProvider(
|
||||
}
|
||||
|
||||
eventBus.on("create.end", 250, function (event) {
|
||||
console.log(
|
||||
"create.end,contentPadProvider.js",
|
||||
window.bpmnInstances.bpmnElement
|
||||
);
|
||||
|
||||
// TODO:设置通过左面板创建的开始、结束节点的默认名称
|
||||
const bpmnElement = window.bpmnInstances.bpmnElement;
|
||||
console.log(bpmnElement.type);
|
||||
if (bpmnElement.type === "bpmn:StartEvent") {
|
||||
window.bpmnInstances.modeling.updateProperties(bpmnElement, {
|
||||
name: "开始",
|
||||
|
@ -14,13 +14,11 @@ export function initListenerForm(listener) {
|
||||
if (listener.eventDefinitions.length) {
|
||||
let k = "";
|
||||
for (let key in listener.eventDefinitions[0]) {
|
||||
console.log(listener.eventDefinitions, key);
|
||||
if (key.indexOf("time") !== -1) {
|
||||
k = key;
|
||||
self.eventDefinitionType = key.replace("time", "").toLowerCase();
|
||||
}
|
||||
}
|
||||
console.log(k);
|
||||
self.eventTimeDefinitions = listener.eventDefinitions[0][k].body;
|
||||
}
|
||||
}
|
||||
|
@ -40,15 +40,7 @@ export function makeUpJs(formConfig, type) {
|
||||
created
|
||||
);
|
||||
});
|
||||
console.log(
|
||||
dataList,
|
||||
ruleList,
|
||||
optionsList,
|
||||
methodList,
|
||||
propsList,
|
||||
uploadVarList,
|
||||
created
|
||||
);
|
||||
|
||||
const script = buildexport(
|
||||
formConfig,
|
||||
type,
|
||||
@ -303,7 +295,6 @@ function buildexport(
|
||||
methods,
|
||||
created
|
||||
) {
|
||||
console.log(selectOptions);
|
||||
const newStr = `
|
||||
import { ref, reactive, toRefs } from "vue";
|
||||
|
||||
|
@ -138,7 +138,6 @@ const layouts = {
|
||||
{{
|
||||
item: ({ element, index }) => {
|
||||
const layout = layouts[element.__config__.layout];
|
||||
console.log(element, "element");
|
||||
if (layout) {
|
||||
return layout.call(this, element, index, config.children);
|
||||
}
|
||||
|
@ -577,7 +577,8 @@
|
||||
<template #item="{ element, index }">
|
||||
<div class="select-item">
|
||||
<div class="select-line-icon option-drag">
|
||||
<i class="el-icon-s-operation" />
|
||||
<!-- <i class="el-icon-s-operation" /> -->
|
||||
<el-icon><Operation /></el-icon>
|
||||
</div>
|
||||
<el-input
|
||||
v-model="element.label"
|
||||
@ -594,7 +595,10 @@
|
||||
class="close-btn select-line-icon"
|
||||
@click="activeData.__slot__.options.splice(index, 1)"
|
||||
>
|
||||
<i class="el-icon-remove-outline" />
|
||||
<!-- <i class="el-icon-remove-outline" /> -->
|
||||
<el-icon>
|
||||
<Remove />
|
||||
</el-icon>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@ -602,8 +606,9 @@
|
||||
<div style="margin-left: 20px">
|
||||
<el-button
|
||||
style="padding-bottom: 0"
|
||||
icon="el-icon-circle-plus-outline"
|
||||
icon="circle-plus"
|
||||
link
|
||||
type="primary"
|
||||
@click="addSelectItem"
|
||||
>
|
||||
添加选项
|
||||
@ -703,6 +708,7 @@
|
||||
<el-button
|
||||
style="padding-bottom: 0"
|
||||
icon="circle-plus"
|
||||
type="primary"
|
||||
link
|
||||
@click="addTreeItem"
|
||||
>
|
||||
@ -951,7 +957,9 @@
|
||||
class="close-btn"
|
||||
@click="activeData.__config__.regList.splice(index, 1)"
|
||||
>
|
||||
<i class="el-icon-close" />
|
||||
<el-icon>
|
||||
<Close />
|
||||
</el-icon>
|
||||
</span>
|
||||
<el-form-item label="表达式">
|
||||
<el-input v-model="item.pattern" placeholder="请输入正则" />
|
||||
@ -961,11 +969,7 @@
|
||||
</el-form-item>
|
||||
</div>
|
||||
<div style="margin-left: 20px">
|
||||
<el-button
|
||||
icon="el-icon-circle-plus-outline"
|
||||
link
|
||||
@click="addReg"
|
||||
>
|
||||
<el-button icon="circle-plus" type="primary" link @click="addReg">
|
||||
添加规则
|
||||
</el-button>
|
||||
</div>
|
||||
@ -1045,7 +1049,7 @@
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
import { Link, Menu, Plus } from "@element-plus/icons-vue";
|
||||
import { Link, Plus, Remove, Operation, Close } from "@element-plus/icons-vue";
|
||||
import TreeNodeDialog from "./TreeNodeDialog.vue";
|
||||
import { isNumberStr } from "@/utils/index";
|
||||
import IconsDialog from "./IconsDialog.vue";
|
||||
|
@ -713,6 +713,9 @@ textarea {
|
||||
z-index: 1;
|
||||
cursor: pointer;
|
||||
font-size: 12px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
&:hover {
|
||||
background: rgba(210, 23, 23, 0.5);
|
||||
}
|
||||
|
Reference in New Issue
Block a user