1
Showing
7 changed files
with
55 additions
and
71 deletions
This diff is collapsed.
Click to expand it.
1 | <!-- | 1 | <!-- |
2 | * @Description: workFrame左侧菜单列表-普通 | 2 | * @Description: workFrame左侧菜单列表-普通 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-15 17:06:29 | 4 | * @LastEditTime: 2023-09-18 11:00:38 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> | 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> |
... | @@ -45,14 +45,12 @@ | ... | @@ -45,14 +45,12 @@ |
45 | import { mapGetters } from 'vuex' | 45 | import { mapGetters } from 'vuex' |
46 | import { leftMenu, deleteSlbdcdy, jdcxLeftMenu } from "@/api/workFlow.js" | 46 | import { leftMenu, deleteSlbdcdy, jdcxLeftMenu } from "@/api/workFlow.js" |
47 | export default { | 47 | export default { |
48 | props: { | ||
49 | paramData: { | ||
50 | type: Object, | ||
51 | default: () => { } | ||
52 | } | ||
53 | }, | ||
54 | data () { | 48 | data () { |
55 | return { | 49 | return { |
50 | //受理申请标识码 | ||
51 | bsmSlsq: this.$route.query.bsmSlsq, | ||
52 | //当前流程所在环节 | ||
53 | bestepid: this.$route.query.bestepid, | ||
56 | // 默认选中 | 54 | // 默认选中 |
57 | activeIndex: '0', | 55 | activeIndex: '0', |
58 | // 折叠 | 56 | // 折叠 |
... | @@ -67,6 +65,9 @@ | ... | @@ -67,6 +65,9 @@ |
67 | currentSelectProps: {} | 65 | currentSelectProps: {} |
68 | } | 66 | } |
69 | }, | 67 | }, |
68 | mounted () { | ||
69 | this.loadBdcdylist(); | ||
70 | }, | ||
70 | computed: { | 71 | computed: { |
71 | ...mapGetters(['isRefresh']) | 72 | ...mapGetters(['isRefresh']) |
72 | }, | 73 | }, |
... | @@ -78,16 +79,7 @@ | ... | @@ -78,16 +79,7 @@ |
78 | } | 79 | } |
79 | }, | 80 | }, |
80 | immediate: true | 81 | immediate: true |
81 | }, | 82 | } |
82 | paramData: { | ||
83 | handler (newVal, oldVal) { | ||
84 | if (newVal) { | ||
85 | this.loadBdcdylist() | ||
86 | } | ||
87 | }, | ||
88 | immediate: true, | ||
89 | deep: true | ||
90 | }, | ||
91 | }, | 83 | }, |
92 | methods: { | 84 | methods: { |
93 | /** | 85 | /** |
... | @@ -97,11 +89,13 @@ | ... | @@ -97,11 +89,13 @@ |
97 | loadBdcdylist () { | 89 | loadBdcdylist () { |
98 | let that = this | 90 | let that = this |
99 | var formdata = new FormData(); | 91 | var formdata = new FormData(); |
100 | // 受理申请标识码 | 92 | formdata.append("bsmSlsq", this.bsmSlsq); |
101 | formdata.append("bsmSlsq", this.paramData.bsmSlsq); | 93 | if (this.$route.query.bestepid) { |
102 | // 当前流程所在环节 | 94 | formdata.append("bestepid", this.bestepid); |
103 | formdata.append("bestepid", this.paramData.bestepid); | 95 | } |
104 | formdata.append("bsmBusiness", this.paramData.bsmBusiness); | 96 | if (this.$route.query.bsmBusiness) { |
97 | formdata.append("bsmBusiness", this.$route.query.bsmBusiness); | ||
98 | } | ||
105 | if (this.$route.query.type == 'jdcx') { | 99 | if (this.$route.query.type == 'jdcx') { |
106 | jdcxLeftMenu(formdata).then((res) => { | 100 | jdcxLeftMenu(formdata).then((res) => { |
107 | if (res.code === 200 && res.result) { | 101 | if (res.code === 200 && res.result) { | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-18 09:32:09 | 4 | * @LastEditTime: 2023-09-18 10:46:56 |
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"; |
8 | import { getLodop } from "@/utils/LodopFuncs" | 8 | import { getLodop } from "@/utils/LodopFuncs" |
9 | import { getXtParamsByYwh } from "@/api/djyw.js" | ||
10 | import { | 9 | import { |
11 | stepExpandInfo, | 10 | stepExpandInfo, |
12 | record, | 11 | record, |
... | @@ -39,19 +38,11 @@ export default { | ... | @@ -39,19 +38,11 @@ export default { |
39 | batchButtonName: '', | 38 | batchButtonName: '', |
40 | // 受理申请信息 | 39 | // 受理申请信息 |
41 | slsq: {}, | 40 | slsq: {}, |
42 | dqhj: "", | 41 | dqhj: "" |
43 | // 业务流程需要的参数 | ||
44 | paramData: {}, | ||
45 | } | 42 | } |
46 | }, | 43 | }, |
47 | created () { | 44 | mounted () { |
48 | // 根据业务号获取系统参数 | 45 | this.flowInitParam(); |
49 | getXtParamsByYwh(this.$route.query.ywh).then(res => { | ||
50 | this.paramData = res.result | ||
51 | console.log(this.paramData, 'this.paramData'); | ||
52 | this.isShowMenu = true | ||
53 | this.flowInitParam(); | ||
54 | }) | ||
55 | }, | 46 | }, |
56 | methods: { | 47 | methods: { |
57 | /** | 48 | /** |
... | @@ -60,8 +51,8 @@ export default { | ... | @@ -60,8 +51,8 @@ export default { |
60 | */ | 51 | */ |
61 | flowInitParam () { | 52 | flowInitParam () { |
62 | var formdata = new FormData(); | 53 | var formdata = new FormData(); |
63 | formdata.append("bsmSlsq", this.paramData.bsmSlsq); | 54 | formdata.append("bsmSlsq", this.bsmSlsq); |
64 | formdata.append("bestepid", this.paramData.bestepid); | 55 | formdata.append("bestepid", this.bestepid); |
65 | if (this.type) { | 56 | if (this.type) { |
66 | formdata.append("type", "READ_ONLY"); | 57 | formdata.append("type", "READ_ONLY"); |
67 | } | 58 | } |
... | @@ -171,7 +162,6 @@ export default { | ... | @@ -171,7 +162,6 @@ export default { |
171 | this.$popupDialog('楼盘表', 'lpb/index', { | 162 | this.$popupDialog('楼盘表', 'lpb/index', { |
172 | bsm: res.result[0], | 163 | bsm: res.result[0], |
173 | onlyShow: false, | 164 | onlyShow: false, |
174 | showSave: true, | ||
175 | unitData: window.unitData | 165 | unitData: window.unitData |
176 | }, '90%', true) | 166 | }, '90%', true) |
177 | } else { | 167 | } else { |
... | @@ -321,7 +311,8 @@ export default { | ... | @@ -321,7 +311,8 @@ export default { |
321 | width: "50%", | 311 | width: "50%", |
322 | btnShow: false, | 312 | btnShow: false, |
323 | bsmSlsq: this.bsmSlsq, | 313 | bsmSlsq: this.bsmSlsq, |
324 | dataList: this.unitData | 314 | dataList: this.unitData, |
315 | |||
325 | }) | 316 | }) |
326 | }, | 317 | }, |
327 | /** | 318 | /** |
... | @@ -342,7 +333,6 @@ export default { | ... | @@ -342,7 +333,6 @@ export default { |
342 | } | 333 | } |
343 | }) | 334 | }) |
344 | }, | 335 | }, |
345 | // 上传 | ||
346 | /** | 336 | /** |
347 | * @description: 上传 | 337 | * @description: 上传 |
348 | * @param {*} file | 338 | * @param {*} file | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-15 16:32:06 | 4 | * @LastEditTime: 2023-09-18 10:49:50 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="container"> | 7 | <div class="container"> |
... | @@ -26,10 +26,8 @@ | ... | @@ -26,10 +26,8 @@ |
26 | <!-- 内容框架 --> | 26 | <!-- 内容框架 --> |
27 | <div class="containerFrame"> | 27 | <div class="containerFrame"> |
28 | <!-- 左侧菜单栏 区分业务--> | 28 | <!-- 左侧菜单栏 区分业务--> |
29 | <div v-if="isShowMenu"> | 29 | <segmentMenu v-if="['A0320099','A0330099' ].includes(slsq.djqxbm)" @getCurrentSelectProps="getCurrentSelectProps" /> |
30 | <segmentMenu :paramData="paramData" v-if="['A0320099','A0330099' ].includes(slsq.djqxbm)" @getCurrentSelectProps="getCurrentSelectProps" /> | 30 | <ordinaryMenu v-else @getCurrentSelectProps="getCurrentSelectProps" /> |
31 | <ordinaryMenu :paramData="paramData" v-else @getCurrentSelectProps="getCurrentSelectProps" /> | ||
32 | </div> | ||
33 | 31 | ||
34 | <div class="leftCon"> | 32 | <div class="leftCon"> |
35 | <!-- 分屏左侧预览 --> | 33 | <!-- 分屏左侧预览 --> |
... | @@ -71,8 +69,6 @@ | ... | @@ -71,8 +69,6 @@ |
71 | }, | 69 | }, |
72 | data () { | 70 | data () { |
73 | return { | 71 | return { |
74 | // 左侧是否显示,获取完成系统参数之后再显示 | ||
75 | isShowMenu: false, | ||
76 | // 流程图 | 72 | // 流程图 |
77 | imgSrc: "", | 73 | imgSrc: "", |
78 | // 折叠 | 74 | // 折叠 | ... | ... |
... | @@ -315,24 +315,19 @@ | ... | @@ -315,24 +315,19 @@ |
315 | ); | 315 | ); |
316 | window.open(href, `djbworkFrame${item.bsmSlsq}`); | 316 | window.open(href, `djbworkFrame${item.bsmSlsq}`); |
317 | } else { | 317 | } else { |
318 | // const { href } = this.$router.resolve( | 318 | const { href } = this.$router.resolve( |
319 | // "/workFrame?bsmSlsq=" + | 319 | "/workFrame?bsmSlsq=" + |
320 | // item.bsmSlsq + | 320 | item.bsmSlsq + |
321 | // "&bestepid=" + | 321 | "&bestepid=" + |
322 | // item.bestepid + | 322 | item.bestepid + |
323 | // "&bsmBusiness=" + | 323 | "&bsmBusiness=" + |
324 | // "&sqywbm=" + | 324 | "&sqywbm=" + |
325 | // item.djywbm + | 325 | item.djywbm + |
326 | // "&zbhj=" + | 326 | "&zbhj=" + |
327 | // item.zbhj | 327 | item.zbhj |
328 | // ); | 328 | ); |
329 | // window.open(href, `workFrame${item.bsmSlsq}`); | 329 | window.open(href, `workFrame${item.bsmSlsq}`); |
330 | |||
331 | const { href } = this.$router.resolve('/workFrame?ywh=' + item.ywh + '&zbhj=' + item.zbhj) | ||
332 | window.open(href, `workFrame${item.ywh}`) | ||
333 | |||
334 | } | 330 | } |
335 | |||
336 | localStorage.setItem("ywbl", JSON.stringify(item)); | 331 | localStorage.setItem("ywbl", JSON.stringify(item)); |
337 | 332 | ||
338 | //从待办箱进入的调取任务领取接口 | 333 | //从待办箱进入的调取任务领取接口 | ... | ... |
... | @@ -13,7 +13,7 @@ | ... | @@ -13,7 +13,7 @@ |
13 | @submit.native.prevent | 13 | @submit.native.prevent |
14 | label-width="80px"> | 14 | label-width="80px"> |
15 | <el-row> | 15 | <el-row> |
16 | <el-col :span="5"> | 16 | <el-col :span="5"> |
17 | <el-form-item label="业务来源"> | 17 | <el-form-item label="业务来源"> |
18 | <el-select | 18 | <el-select |
19 | v-model="queryForm.ywly" | 19 | v-model="queryForm.ywly" |
... | @@ -91,7 +91,7 @@ | ... | @@ -91,7 +91,7 @@ |
91 | </el-form-item> | 91 | </el-form-item> |
92 | </el-col> | 92 | </el-col> |
93 | </el-row> | 93 | </el-row> |
94 | <el-row> | 94 | <el-row> |
95 | <el-col :span="5"> | 95 | <el-col :span="5"> |
96 | <el-form-item label="不动产单元号"> | 96 | <el-form-item label="不动产单元号"> |
97 | <el-input | 97 | <el-input |
... | @@ -274,8 +274,15 @@ | ... | @@ -274,8 +274,15 @@ |
274 | ); | 274 | ); |
275 | window.open(href, `djbworkFrameview${item.bsmSlsq}`); | 275 | window.open(href, `djbworkFrameview${item.bsmSlsq}`); |
276 | } else { | 276 | } else { |
277 | const { href } = this.$router.resolve('/workFrameView?ywh=' + item.ywh + '&type=jdcx') | 277 | const { href } = this.$router.resolve( |
278 | window.open(href, `urlname${item.ywh}`) | 278 | "/workFrameView?bsmSlsq=" + |
279 | item.bsmSlsq + | ||
280 | "&bestepid=" + | ||
281 | item.bestepid + | ||
282 | "&sqywbm=" + | ||
283 | item.djywbm + '&type=jdcx' | ||
284 | ); | ||
285 | window.open(href, `urlname${item.bsmSlsq}`); | ||
279 | } | 286 | } |
280 | } | 287 | } |
281 | } | 288 | } | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-15 15:06:50 | 4 | * @LastEditTime: 2023-07-25 16:34:27 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -114,6 +114,7 @@ | ... | @@ -114,6 +114,7 @@ |
114 | this.queryClick() | 114 | this.queryClick() |
115 | }, | 115 | }, |
116 | methods: { | 116 | methods: { |
117 | // 初始化数据 | ||
117 | /** | 118 | /** |
118 | * @description: 初始化数据 | 119 | * @description: 初始化数据 |
119 | * @author: renchao | 120 | * @author: renchao |
... | @@ -138,6 +139,7 @@ | ... | @@ -138,6 +139,7 @@ |
138 | handleSort (name, sort) { | 139 | handleSort (name, sort) { |
139 | console.log(name, sort); | 140 | console.log(name, sort); |
140 | }, | 141 | }, |
142 | // 高级查询 | ||
141 | /** | 143 | /** |
142 | * @description: 高级查询 | 144 | * @description: 高级查询 |
143 | * @author: renchao | 145 | * @author: renchao |
... | @@ -149,8 +151,8 @@ | ... | @@ -149,8 +151,8 @@ |
149 | * @author: renchao | 151 | * @author: renchao |
150 | */ | 152 | */ |
151 | openDialog (item) { | 153 | openDialog (item) { |
152 | const { href } = this.$router.resolve('/workFrameView?ywh=' + item.ywh + '&type=jdcx') | 154 | const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + item.bsmBusiness + '&viewtype=3' + '&type=jdcx') |
153 | window.open(href, `urlname${item.ywh}`) | 155 | window.open(href, `urlname${item.bsmSlsq}`) |
154 | } | 156 | } |
155 | } | 157 | } |
156 | } | 158 | } | ... | ... |
-
Please register or sign in to post a comment