22c5ff02 by renchao@pashanhoo.com

style:图形定位

1 parent 1311e185
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-16 08:59:32 4 * @LastEditTime: 2023-08-30 14:13:47
5 */ 5 */
6 import { getPrintTemplateByCode } from "@/api/print"; 6 import { getPrintTemplateByCode } from "@/api/print";
7 import { uploadUndo } from "@/api/clxx"; 7 import { uploadUndo } from "@/api/clxx";
...@@ -14,9 +14,9 @@ import { ...@@ -14,9 +14,9 @@ import {
14 getWorkFlowImage, 14 getWorkFlowImage,
15 getPrintApplicationInfo, 15 getPrintApplicationInfo,
16 deleteFlow, 16 deleteFlow,
17 unClaimTask 17 unClaimTask,
18 getZdInfo
18 } from "@/api/workFlow.js"; 19 } from "@/api/workFlow.js";
19 import { mapGetters } from 'vuex'
20 import { getZrzbsmList } from "@/api/search.js"; 20 import { getZrzbsmList } from "@/api/search.js";
21 import { ywPopupDialog } from "@/utils/popup.js"; 21 import { ywPopupDialog } from "@/utils/popup.js";
22 export default { 22 export default {
...@@ -43,7 +43,6 @@ export default { ...@@ -43,7 +43,6 @@ export default {
43 this.flowInitParam(); 43 this.flowInitParam();
44 }, 44 },
45 methods: { 45 methods: {
46 //加载流程初始参数
47 /** 46 /**
48 * @description: 加载流程初始参数 47 * @description: 加载流程初始参数
49 * @author: renchao 48 * @author: renchao
...@@ -174,7 +173,10 @@ export default { ...@@ -174,7 +173,10 @@ export default {
174 break; 173 break;
175 // 图形定位 174 // 图形定位
176 case "B-TXDW": 175 case "B-TXDW":
177 this.$popupDialog('图形定位', 'workflow/components/dialog/txdw', { bsmZd: this.bsmZd }, '85%', true) 176 getZdInfo(this.currentSelectProps.bdcdyid).then(res => {
177 this.bsmZd = res?.result[0]?.bsmZd
178 this.$popupDialog('图形定位', 'workflow/components/dialog/txdw', { bsmZd: this.bsmZd }, '85%', true)
179 })
178 break; 180 break;
179 case "back": //退回按钮 181 case "back": //退回按钮
180 this.$popupDialog("退回", "workflow/components/th", { 182 this.$popupDialog("退回", "workflow/components/th", {
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-30 14:03:05 4 * @LastEditTime: 2023-08-30 14:14:55
5 --> 5 -->
6 <template> 6 <template>
7 <div class="container"> 7 <div class="container">
...@@ -133,9 +133,6 @@ ...@@ -133,9 +133,6 @@
133 */ 133 */
134 getCurrentSelectProps (val) { 134 getCurrentSelectProps (val) {
135 this.currentSelectProps = val 135 this.currentSelectProps = val
136 getZdInfo(val.bdcdyid).then(res => {
137 this.bsmZd = res?.result[0]?.bsmZd
138 })
139 }, 136 },
140 /** 137 /**
141 * @description: beforeunloadHandler 138 * @description: beforeunloadHandler
......