dbc993f4 by 任超

style:流程图

1 parent 14d76203
...@@ -109,8 +109,6 @@ class data extends filter { ...@@ -109,8 +109,6 @@ class data extends filter {
109 ] 109 ]
110 } 110 }
111 } 111 }
112
113
114 } 112 }
115 let datas = new data() 113 let datas = new data()
116 export { 114 export {
......
1 import { getWorkFlowImage } from "@/api/jsydsyqFlow.js"; 1 import { getWorkFlowImage } from "@/api/jsydsyqFlow.js";
2 import { popupDialog } from "@/utils/popup.js"; 2 import { popupDialog } from "@/utils/popup.js";
3
4 import { 3 import {
5 leftMenu, 4 leftMenu,
6 stepExpandInfo, 5 stepExpandInfo,
...@@ -139,7 +138,7 @@ export default { ...@@ -139,7 +138,7 @@ export default {
139 popupDialog("退回", "workflow/components/th", { 138 popupDialog("退回", "workflow/components/th", {
140 bsmSlsq: this.bsmSlsq, 139 bsmSlsq: this.bsmSlsq,
141 bestepid: this.bestepid 140 bestepid: this.bestepid
142 }, '30%', "200px", true,) 141 }, '30%', "200px", true)
143 break; 142 break;
144 case "transfer": //转件按钮 143 case "transfer": //转件按钮
145 getNextLinkInfo({ 144 getNextLinkInfo({
...@@ -277,9 +276,9 @@ export default { ...@@ -277,9 +276,9 @@ export default {
277 }).then((action) => { 276 }).then((action) => {
278 this.$message({ 277 this.$message({
279 type: "info", 278 type: "info",
280 message: "action: " + action, 279 message: "action: " + action
281 }); 280 })
282 }); 281 })
283 } 282 }
284 } 283 }
285 } 284 }
......
...@@ -72,6 +72,7 @@ import { ...@@ -72,6 +72,7 @@ import {
72 getStepFormInfo 72 getStepFormInfo
73 } from "@/api/fqsq.js" 73 } from "@/api/fqsq.js"
74 import publicFlow from "./mixin/public.js" 74 import publicFlow from "./mixin/public.js"
75 import { popupDialog } from "@/utils/popup.js";
75 import NoticeBar from '@/components/NoticeBar/index' 76 import NoticeBar from '@/components/NoticeBar/index'
76 import { getWorkFlowImage } from "@/api/jsydsyqFlow.js" 77 import { getWorkFlowImage } from "@/api/jsydsyqFlow.js"
77 export default { 78 export default {
...@@ -139,15 +140,19 @@ export default { ...@@ -139,15 +140,19 @@ export default {
139 operation (item) { 140 operation (item) {
140 //按钮 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 141 //按钮 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书
141 //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout 142 //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout
142 let that = this;
143 switch (item.value) { 143 switch (item.value) {
144 case "B1": 144 case "B1":
145 getWorkFlowImage(this.bsmSlsq).then(res => { 145 getWorkFlowImage(this.bsmSlsq, this.$route.query.bestepid).then(res => {
146 this.imgSrc = URL.createObjectURL(res) 146 let { result } = res
147 this.$popup({ 147 popupDialog("流程图", "workflow/components/processViewer", {
148 title: '流程图', 148 xml: result.xml,
149 editItem: 'workflow/components/flowChart', 149 finishedInfo: {
150 formData: this.imgSrc 150 finishedTaskSet: result.finishedTaskSet,
151 unfinishedTaskSet: result.unfinishedTaskSet,
152 rejectedTaskSet: result.rejectedTaskSet,
153 finishedSequenceFlowSet: result.finishedSequenceFlowSet
154 },
155 allCommentList: result.historyTaskList
151 }) 156 })
152 }) 157 })
153 break; 158 break;
...@@ -198,7 +203,7 @@ export default { ...@@ -198,7 +203,7 @@ export default {
198 //默认加载第一个表单信息 203 //默认加载第一个表单信息
199 this.tabName = res.result[0].value; 204 this.tabName = res.result[0].value;
200 } 205 }
201 }); 206 })
202 } 207 }
203 } 208 }
204 } 209 }
......
...@@ -121,7 +121,7 @@ export default { ...@@ -121,7 +121,7 @@ export default {
121 console.log(name, sort); 121 console.log(name, sort);
122 }, 122 },
123 openDialog (item) { 123 openDialog (item) {
124 const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + item.bsmBusiness + '&viewtype=3') 124 const { href } = this.$router.resolve('/workFrameViewcs?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + item.bsmBusiness + '&viewtype=3')
125 window.open(href, '_blank'); 125 window.open(href, '_blank');
126 } 126 }
127 } 127 }
......