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