话术管理
This commit is contained in:
parent
d124f1d604
commit
37813d03e1
@ -22,52 +22,164 @@
|
||||
> -->
|
||||
<!-- <font-awesome-icon icon="heart" /> -->
|
||||
<!-- <FontAwesomeIcon icon="far fa-copy" /> -->
|
||||
<font-awesome-icon data-command="save" class="command fa fa-floppy-o" icon="command far far fa-copy"
|
||||
title="保存"></font-awesome-icon>
|
||||
<font-awesome-icon style="margin-left: 10px" icon="fas fa-reply-all" title="历史数据"
|
||||
@click="readHistoryData"></font-awesome-icon>
|
||||
<font-awesome-icon style="margin-left: 10px" class="fa fa-hdd-o" icon="fas fa-file" title="上传数据"
|
||||
@click="readUploadData"></font-awesome-icon>
|
||||
<font-awesome-icon icon="fas fa-download" style="margin-left: 10px" title="另存为文件"
|
||||
@click="saveAsFile">文件</font-awesome-icon>
|
||||
<!-- <FontAwesomeIcon icon="fas fa-image" /> -->
|
||||
<div>
|
||||
<font-awesome-icon
|
||||
data-command="save"
|
||||
class="command fa fa-floppy-o"
|
||||
icon="command far far fa-copy"
|
||||
title="保存"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="fas fa-reply-all"
|
||||
title="历史数据"
|
||||
@click="readHistoryData"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
class="fa fa-hdd-o"
|
||||
icon="fas fa-file"
|
||||
title="上传数据"
|
||||
@click="readUploadData"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
icon="fas fa-download"
|
||||
style="margin-left: 10px"
|
||||
title="另存为文件"
|
||||
@click="saveAsFile"
|
||||
>文件</font-awesome-icon
|
||||
>
|
||||
<!-- <FontAwesomeIcon icon="fas fa-image" /> -->
|
||||
|
||||
<font-awesome-icon style="margin-left: 10px" icon="fas fa-image" title="另存为图片"
|
||||
@click="openSaveAsImageDialog"></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="fas fa-image"
|
||||
title="另存为图片"
|
||||
@click="openSaveAsImageDialog"
|
||||
></font-awesome-icon>
|
||||
|
||||
<font-awesome-icon style="margin-left: 10px" data-command="undo" icon="fas fa-undo" class="command fa fa-undo"
|
||||
title="撤销"></font-awesome-icon>
|
||||
<font-awesome-icon style="margin-left: 10px" data-command="redo" class="command fa fa-repeat"
|
||||
icon="fas fa-repeat" title="重做"></font-awesome-icon>
|
||||
<font-awesome-icon style="margin-left: 10px" data-command="delete" class="command fa fa-trash-o"
|
||||
icon="fas fa-trash-alt" title="删除"></font-awesome-icon>
|
||||
<font-awesome-icon style="margin-left: 10px" data-command="zoomOut" class="command fa fa-search-minus"
|
||||
icon="fas fa-search-minus" title="缩小"></font-awesome-icon>
|
||||
<font-awesome-icon style="margin-left: 10px" data-command="zoomIn" icon="fas fa-search-plus"
|
||||
class="command fa fa-search-plus" title="放大"></font-awesome-icon>
|
||||
<font-awesome-icon style="margin-left: 10px" icon="fas fa-eraser" data-command="clear"
|
||||
class="command fa fa-eraser" title="清除画布"></font-awesome-icon>
|
||||
<font-awesome-icon style="margin-left: 10px" icon="fas fa-arrow-up" data-command="toFront"
|
||||
class="command fa fa-arrow-up" title="提升层级"></font-awesome-icon>
|
||||
<font-awesome-icon style="margin-left: 10px" icon="fas fa-arrow-down" data-command="toBack"
|
||||
class="command fa fa-arrow-down" title="下降层级"></font-awesome-icon>
|
||||
<font-awesome-icon style="margin-left: 10px" icon="fas fa-check-square" data-command="selectAll"
|
||||
class="command fa fa-check-square-o" title="全选"></font-awesome-icon>
|
||||
<font-awesome-icon style="margin-left: 10px" icon="far fa-copy" data-command="copy"
|
||||
class="command fa fa-files-o" title="复制"></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
data-command="undo"
|
||||
icon="fas fa-undo"
|
||||
class="command fa fa-undo"
|
||||
title="撤销"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
data-command="redo"
|
||||
class="command fa fa-repeat"
|
||||
icon="fas fa-repeat"
|
||||
title="重做"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
data-command="delete"
|
||||
class="command fa fa-trash-o"
|
||||
icon="fas fa-trash-alt"
|
||||
title="删除"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
data-command="zoomOut"
|
||||
class="command fa fa-search-minus"
|
||||
icon="fas fa-search-minus"
|
||||
title="缩小"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
data-command="zoomIn"
|
||||
icon="fas fa-search-plus"
|
||||
class="command fa fa-search-plus"
|
||||
title="放大"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="fas fa-eraser"
|
||||
data-command="clear"
|
||||
class="command fa fa-eraser"
|
||||
title="清除画布"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="fas fa-arrow-up"
|
||||
data-command="toFront"
|
||||
class="command fa fa-arrow-up"
|
||||
title="提升层级"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="fas fa-arrow-down"
|
||||
data-command="toBack"
|
||||
class="command fa fa-arrow-down"
|
||||
title="下降层级"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="fas fa-check-square"
|
||||
data-command="selectAll"
|
||||
class="command fa fa-check-square-o"
|
||||
title="全选"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="far fa-copy"
|
||||
data-command="copy"
|
||||
class="command fa fa-files-o"
|
||||
title="复制"
|
||||
></font-awesome-icon>
|
||||
|
||||
<font-awesome-icon style="margin-left: 10px" icon="fas fa-clone" data-command="paste"
|
||||
class="command fa fa-clipboard" title="粘贴"></font-awesome-icon>
|
||||
<font-awesome-icon style="margin-left: 10px" icon="fas fa-expand" data-command="autoZoom"
|
||||
class="command fa fa-expand" title="实际大小"></font-awesome-icon>
|
||||
<font-awesome-icon style="margin-left: 10px" icon="fas fa-compress" data-command="resetZoom"
|
||||
class="command fa fa-compress" title="适应页面"></font-awesome-icon>
|
||||
<font-awesome-icon style="margin-left: 10px" icon="fas fa-object-group" data-command="addGroup"
|
||||
class="command fa fa-object-group" title="组合"></font-awesome-icon>
|
||||
<font-awesome-icon style="margin-left: 10px" icon="fas fa-object-ungroup" data-command="unGroup"
|
||||
class="command fa fa-object-ungroup" title="取消组合"></font-awesome-icon>
|
||||
<font-awesome-icon style="margin-left: 10px" icon="fas fa-crop" data-command="multiSelect"
|
||||
class="command fa fa fa-crop" title="多选"></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="fas fa-clone"
|
||||
data-command="paste"
|
||||
class="command fa fa-clipboard"
|
||||
title="粘贴"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="fas fa-expand"
|
||||
data-command="autoZoom"
|
||||
class="command fa fa-expand"
|
||||
title="实际大小"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="fas fa-compress"
|
||||
data-command="resetZoom"
|
||||
class="command fa fa-compress"
|
||||
title="适应页面"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="fas fa-object-group"
|
||||
data-command="addGroup"
|
||||
class="command fa fa-object-group"
|
||||
title="组合"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="fas fa-object-ungroup"
|
||||
data-command="unGroup"
|
||||
class="command fa fa-object-ungroup"
|
||||
title="取消组合"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="fas fa-crop"
|
||||
data-command="multiSelect"
|
||||
class="command fa fa fa-crop"
|
||||
title="多选"
|
||||
></font-awesome-icon>
|
||||
</div>
|
||||
<el-button
|
||||
type="primary"
|
||||
plain
|
||||
size="small"
|
||||
style="position: absolute; top: 10px; right: 41px"
|
||||
@click="back"
|
||||
>返回</el-button
|
||||
>
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
@ -99,23 +211,33 @@
|
||||
<article>
|
||||
<!-- 下载图片 -->
|
||||
<section class="save-as-image-dialog">
|
||||
<el-dialog title="下载图片" :visible.sync="saveAsImageDialogVisible" width="360px">
|
||||
<el-dialog
|
||||
title="下载图片"
|
||||
:visible.sync="saveAsImageDialogVisible"
|
||||
width="360px"
|
||||
>
|
||||
<el-form label-width="100px" label-position="top">
|
||||
<el-form-item label="选择图片格式">
|
||||
<el-select v-model="saveAsImageFormat">
|
||||
<el-option label="jpg" value="jpg">
|
||||
<span style="float: left">jpg</span>
|
||||
<span style="float: right; color: #8492a6; font-size: 13px">白色背景</span>
|
||||
<span style="float: right; color: #8492a6; font-size: 13px"
|
||||
>白色背景</span
|
||||
>
|
||||
</el-option>
|
||||
<el-option label="png" value="png">
|
||||
<span style="float: left">png</span>
|
||||
<span style="float: right; color: #8492a6; font-size: 13px">透明背景</span>
|
||||
<span style="float: right; color: #8492a6; font-size: 13px"
|
||||
>透明背景</span
|
||||
>
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<span slot="footer">
|
||||
<el-button @click="saveAsImageDialogVisible = false">取 消</el-button>
|
||||
<el-button @click="saveAsImageDialogVisible = false"
|
||||
>取 消</el-button
|
||||
>
|
||||
<el-button type="primary" @click="saveAsImage">确 定</el-button>
|
||||
</span>
|
||||
</el-dialog>
|
||||
@ -140,7 +262,9 @@
|
||||
</div>
|
||||
<div data-status="canvas-selected" class="menu">
|
||||
<el-button data-command="undo" class="command">撤销</el-button>
|
||||
<el-button data-command="redo" class="command disable">重做</el-button>
|
||||
<el-button data-command="redo" class="command disable"
|
||||
>重做</el-button
|
||||
>
|
||||
</div>
|
||||
<div data-status="multi-selected" class="menu">
|
||||
<el-button data-command="copy" class="command">复制</el-button>
|
||||
@ -167,329 +291,6 @@ export default {
|
||||
nodes: [],
|
||||
edges: [],
|
||||
},
|
||||
// form: {
|
||||
// nodes: [{
|
||||
// color
|
||||
// :
|
||||
// "#FA8C16",
|
||||
// id
|
||||
// :
|
||||
// "655c5165",
|
||||
// index
|
||||
// :
|
||||
// 0,
|
||||
// label
|
||||
// :
|
||||
// "自我介绍确认",
|
||||
// nodetype
|
||||
// :
|
||||
// "startNode",
|
||||
// shape
|
||||
// :
|
||||
// "flow-circle",
|
||||
// size
|
||||
// :
|
||||
// "72*72",
|
||||
// type
|
||||
// :
|
||||
// "node",
|
||||
// x
|
||||
// :
|
||||
// 441.5124969482422,
|
||||
// y
|
||||
// :
|
||||
// 60.79999542236328,
|
||||
// }, {
|
||||
// color
|
||||
// :
|
||||
// "#1890ff",
|
||||
// id
|
||||
// :
|
||||
// "8660695d",
|
||||
// index
|
||||
// :
|
||||
// 1,
|
||||
// label
|
||||
// :
|
||||
// "家属是否能代打",
|
||||
// size
|
||||
// :
|
||||
// "100*50",
|
||||
// type
|
||||
// :
|
||||
// "node",
|
||||
// x
|
||||
// :
|
||||
// 242.5124969482422,
|
||||
// y
|
||||
// :
|
||||
// 183.5999984741211,
|
||||
// },
|
||||
// {
|
||||
// color
|
||||
// :
|
||||
// "#1890ff",
|
||||
// id
|
||||
// :
|
||||
// "59c9ceed",
|
||||
// index
|
||||
// :
|
||||
// 2,
|
||||
// label
|
||||
// :
|
||||
// "常规节点",
|
||||
// size
|
||||
// :
|
||||
// "100*50",
|
||||
// type
|
||||
// :
|
||||
// "node",
|
||||
// x
|
||||
// :
|
||||
// 606.5124969482422,
|
||||
// y
|
||||
// :
|
||||
// 187.5999984741211,
|
||||
// }, {
|
||||
// color
|
||||
// :
|
||||
// "#722ED1",
|
||||
// id
|
||||
// :
|
||||
// "16f4c8ba",
|
||||
// index
|
||||
// :
|
||||
// 5,
|
||||
// label
|
||||
// :
|
||||
// "你好,我这边是#机构#的工作人员",
|
||||
// shape
|
||||
// :
|
||||
// "flow-capsule",
|
||||
// size
|
||||
// :
|
||||
// "200*48",
|
||||
// type
|
||||
// :
|
||||
// "node",
|
||||
// x
|
||||
// :
|
||||
// 433.5124969482422,
|
||||
// y
|
||||
// :
|
||||
// 125.5999984741211,
|
||||
// }, {
|
||||
// color
|
||||
// :
|
||||
// "#722ED1",
|
||||
// id
|
||||
// :
|
||||
// "e4839dcc",
|
||||
// index
|
||||
// :
|
||||
// 6,
|
||||
// label
|
||||
// :
|
||||
// "好的是这样的",
|
||||
// shape
|
||||
// :
|
||||
// "flow-capsule",
|
||||
// size
|
||||
// :
|
||||
// "80*48",
|
||||
// type
|
||||
// :
|
||||
// "node",
|
||||
// x
|
||||
// :
|
||||
// 233.5124969482422,
|
||||
// y
|
||||
// :
|
||||
// 251.5999984741211,
|
||||
// }, {
|
||||
// color
|
||||
// :
|
||||
// "#1890ff",
|
||||
// id
|
||||
// :
|
||||
// "392ca0b8",
|
||||
// index
|
||||
// :
|
||||
// 7,
|
||||
// label
|
||||
// :
|
||||
// "家属不能代打",
|
||||
// size
|
||||
// :
|
||||
// "100*50",
|
||||
// type
|
||||
// :
|
||||
// "node",
|
||||
// x
|
||||
// :
|
||||
// 55.51249694824219,
|
||||
// y
|
||||
// :
|
||||
// 299.5999984741211
|
||||
// }, {
|
||||
// color
|
||||
// :
|
||||
// "#1890ff",
|
||||
// id
|
||||
// :
|
||||
// "6bcab22d",
|
||||
// index
|
||||
// :
|
||||
// 8,
|
||||
// label
|
||||
// :
|
||||
// "家属能代打",
|
||||
// size
|
||||
// :
|
||||
// "100*50",
|
||||
// type
|
||||
// :
|
||||
// "node",
|
||||
// x
|
||||
// :
|
||||
// 384.5124969482422,
|
||||
// y
|
||||
// :
|
||||
// 307.5999984741211
|
||||
// },
|
||||
// {
|
||||
// color
|
||||
// :
|
||||
// "#722ED1",
|
||||
// id
|
||||
// :
|
||||
// "dc5de91f",
|
||||
// index
|
||||
// :
|
||||
// 11,
|
||||
// label
|
||||
// :
|
||||
// "好的 麻烦转告一下",
|
||||
// shape
|
||||
// :
|
||||
// "flow-capsule",
|
||||
// size
|
||||
// :
|
||||
// "200*48",
|
||||
// type
|
||||
// :
|
||||
// "node",
|
||||
// x
|
||||
// :
|
||||
// 55.51249694824219,
|
||||
// y
|
||||
// :
|
||||
// 366.5
|
||||
|
||||
// }],
|
||||
// edges: [{
|
||||
// id: "b04d23c7",
|
||||
// index
|
||||
// :
|
||||
// 3,
|
||||
// label
|
||||
// :
|
||||
// "是本人",
|
||||
// shape
|
||||
// :
|
||||
// "flow-polyline-round",
|
||||
// source
|
||||
// :
|
||||
// "655c5165",
|
||||
// sourceAnchor
|
||||
// :
|
||||
// 1,
|
||||
// target
|
||||
// :
|
||||
// "59c9ceed",
|
||||
// targetAnchor
|
||||
// :
|
||||
// 0,
|
||||
// }, {
|
||||
// id
|
||||
// :
|
||||
// "7894068d",
|
||||
// index
|
||||
// :
|
||||
// 4,
|
||||
// label
|
||||
// :
|
||||
// "是家属",
|
||||
// shape
|
||||
// :
|
||||
// "flow-polyline-round",
|
||||
// source
|
||||
// :
|
||||
// "655c5165",
|
||||
// sourceAnchor
|
||||
// :
|
||||
// 3,
|
||||
// target
|
||||
// :
|
||||
// "8660695d",
|
||||
// targetAnchor
|
||||
// :
|
||||
// 0,
|
||||
// }, {
|
||||
// id
|
||||
// :
|
||||
// "6aa429cc",
|
||||
// index
|
||||
// :
|
||||
// 9,
|
||||
// label
|
||||
// :
|
||||
// "能带大",
|
||||
// shape
|
||||
// :
|
||||
// "flow-polyline-round",
|
||||
// source
|
||||
// :
|
||||
// "8660695d",
|
||||
// sourceAnchor
|
||||
// :
|
||||
// 3,
|
||||
// target
|
||||
// :
|
||||
// "392ca0b8",
|
||||
// targetAnchor
|
||||
// :
|
||||
// 0,
|
||||
// },
|
||||
// {
|
||||
// id
|
||||
// :
|
||||
// "02bfc4d0",
|
||||
// index
|
||||
// :
|
||||
// 10,
|
||||
// label
|
||||
// :
|
||||
// "不能代打",
|
||||
// shape
|
||||
// :
|
||||
// "flow-polyline-round",
|
||||
// source
|
||||
// :
|
||||
// "8660695d",
|
||||
// sourceAnchor
|
||||
// :
|
||||
// 1,
|
||||
// target
|
||||
// :
|
||||
// "6bcab22d",
|
||||
// targetAnchor
|
||||
// :
|
||||
// 0
|
||||
// }
|
||||
// ]
|
||||
|
||||
// },
|
||||
// 节点属性表单
|
||||
nodeAttributeForm: {
|
||||
label: "",
|
||||
@ -526,11 +327,15 @@ export default {
|
||||
this.editor.getCurrentPage().read(this.form);
|
||||
},
|
||||
methods: {
|
||||
// 返回
|
||||
back() {
|
||||
this.$router.go(-1);//返回上一层
|
||||
},
|
||||
getlist() {
|
||||
selectScriptEdgeNode(this.$route.query.id).then(res => {
|
||||
if(res.data.flowScheme){
|
||||
if (res.data.flowScheme) {
|
||||
this.form = JSON.parse(res.data.flowScheme)
|
||||
this.editor.getCurrentPage().read(this.form);
|
||||
this.editor.getCurrentPage().read(this.form);
|
||||
|
||||
}
|
||||
})
|
||||
|
||||
@ -21,7 +21,7 @@ body {
|
||||
#toolbar {
|
||||
background: @backgroundColor;
|
||||
border-bottom: 1px solid @borderColor;
|
||||
padding: 4px 14px;
|
||||
padding: 15px 14px;
|
||||
i {
|
||||
font-size: 18px;
|
||||
padding: 4px;
|
||||
|
||||
@ -9,167 +9,164 @@
|
||||
<el-row>
|
||||
<el-col :span="24">
|
||||
<div id="toolbar">
|
||||
<!-- <font-awesome-icon icon="fa fa-history" />
|
||||
<font-awesome-icon icon="heart" />
|
||||
<font-awesome-icon icon="clock" />
|
||||
<font-awesome-icon icon="clock" style="color: #476151" />
|
||||
<i
|
||||
class="el-icon-edit"
|
||||
data-command="save"
|
||||
title="保存"
|
||||
@click="submitForm"
|
||||
>保存</i
|
||||
> -->
|
||||
<!-- <font-awesome-icon icon="heart" /> -->
|
||||
<!-- <FontAwesomeIcon icon="far fa-copy" /> -->
|
||||
<font-awesome-icon
|
||||
data-command="save"
|
||||
class="command fa fa-floppy-o"
|
||||
icon="command far far fa-copy"
|
||||
title="保存"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="fas fa-reply-all"
|
||||
title="历史数据"
|
||||
@click="readHistoryData"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
class="fa fa-hdd-o"
|
||||
icon="fas fa-file"
|
||||
title="上传数据"
|
||||
@click="readUploadData"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
icon="fas fa-download"
|
||||
style="margin-left: 10px"
|
||||
title="另存为文件"
|
||||
@click="saveAsFile"
|
||||
>文件</font-awesome-icon
|
||||
<div>
|
||||
<font-awesome-icon
|
||||
data-command="save"
|
||||
class="command fa fa-floppy-o"
|
||||
icon="command far far fa-copy"
|
||||
title="保存"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="fas fa-reply-all"
|
||||
title="历史数据"
|
||||
@click="readHistoryData"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
class="fa fa-hdd-o"
|
||||
icon="fas fa-file"
|
||||
title="上传数据"
|
||||
@click="readUploadData"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
icon="fas fa-download"
|
||||
style="margin-left: 10px"
|
||||
title="另存为文件"
|
||||
@click="saveAsFile"
|
||||
>文件</font-awesome-icon
|
||||
>
|
||||
<!-- <FontAwesomeIcon icon="fas fa-image" /> -->
|
||||
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="fas fa-image"
|
||||
title="另存为图片"
|
||||
@click="openSaveAsImageDialog"
|
||||
></font-awesome-icon>
|
||||
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
data-command="undo"
|
||||
icon="fas fa-undo"
|
||||
class="command fa fa-undo"
|
||||
title="撤销"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
data-command="redo"
|
||||
class="command fa fa-repeat"
|
||||
icon="fas fa-repeat"
|
||||
title="重做"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
data-command="delete"
|
||||
class="command fa fa-trash-o"
|
||||
icon="fas fa-trash-alt"
|
||||
title="删除"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
data-command="zoomOut"
|
||||
class="command fa fa-search-minus"
|
||||
icon="fas fa-search-minus"
|
||||
title="缩小"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
data-command="zoomIn"
|
||||
icon="fas fa-search-plus"
|
||||
class="command fa fa-search-plus"
|
||||
title="放大"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="fas fa-eraser"
|
||||
data-command="clear"
|
||||
class="command fa fa-eraser"
|
||||
title="清除画布"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="fas fa-arrow-up"
|
||||
data-command="toFront"
|
||||
class="command fa fa-arrow-up"
|
||||
title="提升层级"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="fas fa-arrow-down"
|
||||
data-command="toBack"
|
||||
class="command fa fa-arrow-down"
|
||||
title="下降层级"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="fas fa-check-square"
|
||||
data-command="selectAll"
|
||||
class="command fa fa-check-square-o"
|
||||
title="全选"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="far fa-copy"
|
||||
data-command="copy"
|
||||
class="command fa fa-files-o"
|
||||
title="复制"
|
||||
></font-awesome-icon>
|
||||
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="fas fa-clone"
|
||||
data-command="paste"
|
||||
class="command fa fa-clipboard"
|
||||
title="粘贴"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="fas fa-expand"
|
||||
data-command="autoZoom"
|
||||
class="command fa fa-expand"
|
||||
title="实际大小"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="fas fa-compress"
|
||||
data-command="resetZoom"
|
||||
class="command fa fa-compress"
|
||||
title="适应页面"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="fas fa-object-group"
|
||||
data-command="addGroup"
|
||||
class="command fa fa-object-group"
|
||||
title="组合"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="fas fa-object-ungroup"
|
||||
data-command="unGroup"
|
||||
class="command fa fa-object-ungroup"
|
||||
title="取消组合"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="fas fa-crop"
|
||||
data-command="multiSelect"
|
||||
class="command fa fa fa-crop"
|
||||
title="多选"
|
||||
></font-awesome-icon>
|
||||
</div>
|
||||
<el-button
|
||||
type="primary"
|
||||
plain
|
||||
size="small"
|
||||
style="position: absolute; top: 10px; right: 41px"
|
||||
@click="back"
|
||||
>返回</el-button
|
||||
>
|
||||
<!-- <FontAwesomeIcon icon="fas fa-image" /> -->
|
||||
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="fas fa-image"
|
||||
title="另存为图片"
|
||||
@click="openSaveAsImageDialog"
|
||||
></font-awesome-icon>
|
||||
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
data-command="undo"
|
||||
icon="fas fa-undo"
|
||||
class="command fa fa-undo"
|
||||
title="撤销"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
data-command="redo"
|
||||
class="command fa fa-repeat"
|
||||
icon="fas fa-repeat"
|
||||
title="重做"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
data-command="delete"
|
||||
class="command fa fa-trash-o"
|
||||
icon="fas fa-trash-alt"
|
||||
title="删除"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
data-command="zoomOut"
|
||||
class="command fa fa-search-minus"
|
||||
icon="fas fa-search-minus"
|
||||
title="缩小"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
data-command="zoomIn"
|
||||
icon="fas fa-search-plus"
|
||||
class="command fa fa-search-plus"
|
||||
title="放大"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="fas fa-eraser"
|
||||
data-command="clear"
|
||||
class="command fa fa-eraser"
|
||||
title="清除画布"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="fas fa-arrow-up"
|
||||
data-command="toFront"
|
||||
class="command fa fa-arrow-up"
|
||||
title="提升层级"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="fas fa-arrow-down"
|
||||
data-command="toBack"
|
||||
class="command fa fa-arrow-down"
|
||||
title="下降层级"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="fas fa-check-square"
|
||||
data-command="selectAll"
|
||||
class="command fa fa-check-square-o"
|
||||
title="全选"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="far fa-copy"
|
||||
data-command="copy"
|
||||
class="command fa fa-files-o"
|
||||
title="复制"
|
||||
></font-awesome-icon>
|
||||
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="fas fa-clone"
|
||||
data-command="paste"
|
||||
class="command fa fa-clipboard"
|
||||
title="粘贴"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="fas fa-expand"
|
||||
data-command="autoZoom"
|
||||
class="command fa fa-expand"
|
||||
title="实际大小"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="fas fa-compress"
|
||||
data-command="resetZoom"
|
||||
class="command fa fa-compress"
|
||||
title="适应页面"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="fas fa-object-group"
|
||||
data-command="addGroup"
|
||||
class="command fa fa-object-group"
|
||||
title="组合"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="fas fa-object-ungroup"
|
||||
data-command="unGroup"
|
||||
class="command fa fa-object-ungroup"
|
||||
title="取消组合"
|
||||
></font-awesome-icon>
|
||||
<font-awesome-icon
|
||||
style="margin-left: 10px"
|
||||
icon="fas fa-crop"
|
||||
data-command="multiSelect"
|
||||
class="command fa fa fa-crop"
|
||||
title="多选"
|
||||
></font-awesome-icon>
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
@ -558,6 +555,10 @@ export default {
|
||||
},
|
||||
|
||||
methods: {
|
||||
// 返回
|
||||
back(){
|
||||
this.$router.go(-1);//返回上一层
|
||||
},
|
||||
getlist() {
|
||||
selectScriptEdgeNode(this.$route.query.id).then(res => {
|
||||
if (res.data.flowScheme) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user