08ed7634 by renchao@pashanhoo.com

style:不动产流程流程图弹框修改

1 parent caffac19
1 import { getWorkFlowImage } from "@/api/workflow/jsydsyqFlow.js"; 1 import { getWorkFlowImage } from "@/api/workflow/jsydsyqFlow.js";
2 import { popupDialog } from "@/utils/popup.js"; 2 // import { popupDialog } from "@/utils/popup.js";
3 import { getPrintTemplateByCode } from "@/api/system"; 3 import { getPrintTemplateByCode } from "@/api/system";
4 import { getPrintApplicationInfo } from "@/api/fqsq"; 4 import { getPrintApplicationInfo } from "@/api/fqsq";
5 import { uploadUndo } from "@/api/clxx"; 5 import { uploadUndo } from "@/api/clxx";
...@@ -12,7 +12,7 @@ import { ...@@ -12,7 +12,7 @@ import {
12 getNextLinkInfo, 12 getNextLinkInfo,
13 } from "@/api/fqsq.js"; 13 } from "@/api/fqsq.js";
14 export default { 14 export default {
15 data() { 15 data () {
16 return { 16 return {
17 //是否开启材料分屏 17 //是否开启材料分屏
18 splitScreen: false, 18 splitScreen: false,
...@@ -28,13 +28,13 @@ export default { ...@@ -28,13 +28,13 @@ export default {
28 batchButtonName: '', 28 batchButtonName: '',
29 } 29 }
30 }, 30 },
31 mounted() { 31 mounted () {
32 this.flowInitParam(); 32 this.flowInitParam();
33 this.loadBdcdylist(); 33 this.loadBdcdylist();
34 }, 34 },
35 methods: { 35 methods: {
36 //读取申请单元信息 36 //读取申请单元信息
37 loadBdcdylist() { 37 loadBdcdylist () {
38 var formdata = new FormData(); 38 var formdata = new FormData();
39 formdata.append("bsmSlsq", this.bsmSlsq); 39 formdata.append("bsmSlsq", this.bsmSlsq);
40 formdata.append("bestepid", this.bestepid); 40 formdata.append("bestepid", this.bestepid);
...@@ -56,7 +56,7 @@ export default { ...@@ -56,7 +56,7 @@ export default {
56 }); 56 });
57 }, 57 },
58 //批量按钮判断 58 //批量按钮判断
59 judgeBatchShow() { 59 judgeBatchShow () {
60 this.showBatch = false; 60 this.showBatch = false;
61 if (this.unitData.length > 1) { 61 if (this.unitData.length > 1) {
62 let qllx = this.$route.query.sqywbm.substring(0, 3); 62 let qllx = this.$route.query.sqywbm.substring(0, 3);
...@@ -75,7 +75,7 @@ export default { ...@@ -75,7 +75,7 @@ export default {
75 } 75 }
76 }, 76 },
77 //加载流程初始参数 77 //加载流程初始参数
78 flowInitParam() { 78 flowInitParam () {
79 var formdata = new FormData(); 79 var formdata = new FormData();
80 formdata.append("bsmSlsq", this.bsmSlsq); 80 formdata.append("bsmSlsq", this.bsmSlsq);
81 formdata.append("bestepid", this.bestepid); 81 formdata.append("bestepid", this.bestepid);
...@@ -87,7 +87,7 @@ export default { ...@@ -87,7 +87,7 @@ export default {
87 }); 87 });
88 }, 88 },
89 //流程环节操作按钮 89 //流程环节操作按钮
90 operation(item) { 90 operation (item) {
91 //按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿 91 //按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿
92 //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout 92 //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout
93 let that = this; 93 let that = this;
...@@ -98,7 +98,7 @@ export default { ...@@ -98,7 +98,7 @@ export default {
98 case "B1": 98 case "B1":
99 getWorkFlowImage(this.bsmSlsq, this.$route.query.bestepid).then(res => { 99 getWorkFlowImage(this.bsmSlsq, this.$route.query.bestepid).then(res => {
100 let { result } = res 100 let { result } = res
101 popupDialog("流程图", "workflow/components/processViewer", { 101 this.$popupDialog("流程图", "workflow/components/processViewer", {
102 xml: result.xml, 102 xml: result.xml,
103 finishedInfo: { 103 finishedInfo: {
104 finishedTaskSet: result.finishedTaskSet, 104 finishedTaskSet: result.finishedTaskSet,
...@@ -107,7 +107,7 @@ export default { ...@@ -107,7 +107,7 @@ export default {
107 finishedSequenceFlowSet: result.finishedSequenceFlowSet 107 finishedSequenceFlowSet: result.finishedSequenceFlowSet
108 }, 108 },
109 allCommentList: result.historyTaskList 109 allCommentList: result.historyTaskList
110 }) 110 }, '70%', true)
111 }) 111 })
112 break; 112 break;
113 case "B2": //材料分屏按钮 113 case "B2": //材料分屏按钮
...@@ -227,7 +227,7 @@ export default { ...@@ -227,7 +227,7 @@ export default {
227 } 227 }
228 }, 228 },
229 //发送下一个环节 229 //发送下一个环节
230 sendToNext(obj) { 230 sendToNext (obj) {
231 const h = this.$createElement; 231 const h = this.$createElement;
232 this.$msgbox({ 232 this.$msgbox({
233 title: "您确定转出吗?", 233 title: "您确定转出吗?",
...@@ -276,7 +276,7 @@ export default { ...@@ -276,7 +276,7 @@ export default {
276 }); 276 });
277 }); 277 });
278 }, 278 },
279 sendToEnd() { 279 sendToEnd () {
280 let that = this 280 let that = this
281 const h = this.$createElement; 281 const h = this.$createElement;
282 this.$msgbox({ 282 this.$msgbox({
...@@ -322,7 +322,7 @@ export default { ...@@ -322,7 +322,7 @@ export default {
322 }) 322 })
323 }, 323 },
324 //批量操作 324 //批量操作
325 handleBatchDel() { 325 handleBatchDel () {
326 let that = this; 326 let that = this;
327 this.$popup("批量删除", "workflow/components/batchDel", { 327 this.$popup("批量删除", "workflow/components/batchDel", {
328 width: "50%", 328 width: "50%",
...@@ -337,7 +337,7 @@ export default { ...@@ -337,7 +337,7 @@ export default {
337 } 337 }
338 }) 338 })
339 }, 339 },
340 handleChange(file) { 340 handleChange (file) {
341 var formdata = new FormData(); 341 var formdata = new FormData();
342 formdata.append("file", file.raw); 342 formdata.append("file", file.raw);
343 formdata.append("bsmSldy", this.currentSelectProps.bsmSldy); 343 formdata.append("bsmSldy", this.currentSelectProps.bsmSldy);
...@@ -351,7 +351,7 @@ export default { ...@@ -351,7 +351,7 @@ export default {
351 }) 351 })
352 }, 352 },
353 // 上传 353 // 上传
354 beforeUpload(file) { 354 beforeUpload (file) {
355 return true; 355 return true;
356 }, 356 },
357 } 357 }
......