新建重构工作流程框架
Showing
3 changed files
with
264 additions
and
44 deletions
... | @@ -39,6 +39,15 @@ export function getZdjbxx(qlbsm) { | ... | @@ -39,6 +39,15 @@ export function getZdjbxx(qlbsm) { |
39 | }) | 39 | }) |
40 | } | 40 | } |
41 | 41 | ||
42 | // 获取宗地信息 | ||
43 | export function getZdjjxxBySLdy(data) { | ||
44 | return request({ | ||
45 | url: '/zhcx/djbcx/getZdjjxxBySLdy', | ||
46 | method: 'get', | ||
47 | params: data | ||
48 | }) | ||
49 | } | ||
50 | |||
42 | // 获取不动产权利及其他事项页面信息 | 51 | // 获取不动产权利及其他事项页面信息 |
43 | export function getQlname(qlbsm) { | 52 | export function getQlname(qlbsm) { |
44 | return request({ | 53 | return request({ |
... | @@ -56,7 +65,7 @@ export function getDetail(qlbsm) { | ... | @@ -56,7 +65,7 @@ export function getDetail(qlbsm) { |
56 | } | 65 | } |
57 | 66 | ||
58 | // 获取权利详细信息 | 67 | // 获取权利详细信息 |
59 | export function getJsydsyqList(data) { | 68 | export function getJsydsyqList(data) { |
60 | return request({ | 69 | return request({ |
61 | url: '/zhcx/djbcx/getJsydsyqList', | 70 | url: '/zhcx/djbcx/getJsydsyqList', |
62 | method: 'post', | 71 | method: 'post', |
... | @@ -65,10 +74,10 @@ export function getJsydsyqList(data) { | ... | @@ -65,10 +74,10 @@ export function getJsydsyqList(data) { |
65 | } | 74 | } |
66 | 75 | ||
67 | // 进度查询列表 | 76 | // 进度查询列表 |
68 | export function getJdcxBysearch (data) { | 77 | export function getJdcxBysearch(data) { |
69 | return request({ | 78 | return request({ |
70 | url: '/zhcx/search/getJdcxBysearch', | 79 | url: '/zhcx/search/getJdcxBysearch', |
71 | method: 'post', | 80 | method: 'post', |
72 | data | 81 | data |
73 | }) | 82 | }) |
74 | } | 83 | } | ... | ... |
... | @@ -26,11 +26,38 @@ | ... | @@ -26,11 +26,38 @@ |
26 | </ul> | 26 | </ul> |
27 | </div> | 27 | </div> |
28 | <!-- 内容框架 --> | 28 | <!-- 内容框架 --> |
29 | <div> | 29 | <div id="ContainerFrame"> |
30 | <!-- 左侧菜单栏 --> | 30 | <!-- 左侧菜单栏 --> |
31 | <div></div> | 31 | <div id="leftmenu"> |
32 | <ul> | ||
33 | <p class="title">申请单元列表({{ unitData.length }})</p> | ||
34 | <div v-for="(item, index) in unitData" :key="index"> | ||
35 | <li @click="unitClick(item)"> | ||
36 | <p>{{ item.bdcdyh }}</p> | ||
37 | <p>{{ item.zl }}</p> | ||
38 | </li> | ||
39 | <!-- <div class="xian"></div> --> | ||
40 | </div> | ||
41 | </ul> | ||
42 | </div> | ||
32 | <!-- 表单内容区域 --> | 43 | <!-- 表单内容区域 --> |
33 | <div></div> | 44 | <div id="rightContainer"> |
45 | <div class="tabDiv"> | ||
46 | <el-tabs v-model="activeName" @tab-click="tabClick"> | ||
47 | <el-tab-pane | ||
48 | :label="item.name" | ||
49 | :name="item.value" | ||
50 | v-for="(item, index) in tabList" | ||
51 | :key="index" | ||
52 | > | ||
53 | </el-tab-pane> | ||
54 | </el-tabs> | ||
55 | <component :is="componentTag" v-bind="currentSelectProps" /> | ||
56 | </div> | ||
57 | <!-- <div style="width: 100%"> | ||
58 | |||
59 | </div> --> | ||
60 | </div> | ||
34 | </div> | 61 | </div> |
35 | </div> | 62 | </div> |
36 | </template> | 63 | </template> |
... | @@ -38,6 +65,68 @@ | ... | @@ -38,6 +65,68 @@ |
38 | <style scoped lang='scss'> | 65 | <style scoped lang='scss'> |
39 | @import "~@/styles/mixin.scss"; | 66 | @import "~@/styles/mixin.scss"; |
40 | 67 | ||
68 | #ContainerFrame { | ||
69 | // margin-left: 5px; | ||
70 | // border: 1px solid #ebeef5; | ||
71 | // position: relative; | ||
72 | // box-sizing: border-box; | ||
73 | // width: 100%; | ||
74 | // height: 100%; | ||
75 | // display: inline; | ||
76 | height: 100%; | ||
77 | width: 100%; | ||
78 | position: sticky; | ||
79 | top: 80px; | ||
80 | //background-color: #ffffff; | ||
81 | border: 1px solid #ebeef5; | ||
82 | z-index: 100; | ||
83 | @include flex; | ||
84 | } | ||
85 | |||
86 | #leftmenu { | ||
87 | width: 250px; | ||
88 | border-right: 1px solid #ebeef5; | ||
89 | position: relative; | ||
90 | box-sizing: border-box; | ||
91 | ul { | ||
92 | position: relative; | ||
93 | .xian { | ||
94 | background: #f2f2f2; | ||
95 | padding: 2px; | ||
96 | } | ||
97 | .title { | ||
98 | padding: 5px; | ||
99 | text-align: center; | ||
100 | } | ||
101 | li { | ||
102 | padding: 5px; | ||
103 | font-size: 14px; | ||
104 | color: #606266; | ||
105 | line-height: 20px; | ||
106 | } | ||
107 | li:hover { | ||
108 | color: #0f93f6; | ||
109 | cursor: pointer; | ||
110 | } | ||
111 | } | ||
112 | } | ||
113 | #rightContainer { | ||
114 | .tabDiv { | ||
115 | width: 100%; | ||
116 | height: 100%; | ||
117 | } | ||
118 | // .fenpin { | ||
119 | // min-width: 50%; | ||
120 | // border-right: 1px solid #ebeef5; | ||
121 | // } | ||
122 | |||
123 | background-color: #ffffffe7; | ||
124 | width: 100%; | ||
125 | height: 100%; | ||
126 | z-index: 100; | ||
127 | @include flex; | ||
128 | } | ||
129 | |||
41 | .svg-icon { | 130 | .svg-icon { |
42 | width: 2.5em; | 131 | width: 2.5em; |
43 | height: 2.5em; | 132 | height: 2.5em; |
... | @@ -95,22 +184,34 @@ | ... | @@ -95,22 +184,34 @@ |
95 | <script> | 184 | <script> |
96 | import { leftMenu, stepExpandInfo, record } from "@/api/fqsq.js"; | 185 | import { leftMenu, stepExpandInfo, record } from "@/api/fqsq.js"; |
97 | export default { | 186 | export default { |
187 | components: { | ||
188 | slxx: () => import("./components/slxx.vue"), | ||
189 | spyj: () => import("./components/spyj.vue"), | ||
190 | zdjbxx: () => import("../../zhcx/djbcx/components/zdxx.vue"), | ||
191 | qlxx: () => import("../../components/jsydsyq/jsydsyq.vue"), | ||
192 | }, | ||
98 | data() { | 193 | data() { |
99 | return { | 194 | return { |
100 | bsmSlsq: "", | 195 | bsmSlsq: "", |
101 | bestepid: "", | 196 | bestepid: "", |
102 | leftButtonList: [], | 197 | leftButtonList: [], |
103 | rightButtonList: [], | 198 | rightButtonList: [], |
199 | unitData: [], | ||
200 | activeName: "", | ||
201 | tabList: [], | ||
202 | componentTag: "", | ||
203 | currentSelectProps: {}, | ||
104 | }; | 204 | }; |
105 | }, | 205 | }, |
106 | mounted() { | 206 | mounted() { |
107 | this.bsmSlsq = this.$route.query.bsmSlsq; | 207 | this.bsmSlsq = this.$route.query.bsmSlsq; |
108 | this.bestepid = this.$route.query.bestepid; | 208 | this.bestepid = this.$route.query.bestepid; |
109 | this.loadButton(); | 209 | this.loadBdcdylist(); |
210 | this.flowInitParam(); | ||
110 | }, | 211 | }, |
111 | methods: { | 212 | methods: { |
112 | //读取顶部按钮事件 | 213 | //加载流程初始参数 |
113 | loadButton() { | 214 | flowInitParam() { |
114 | var formdata = new FormData(); | 215 | var formdata = new FormData(); |
115 | formdata.append("bsmSlsq", this.bsmSlsq); | 216 | formdata.append("bsmSlsq", this.bsmSlsq); |
116 | formdata.append("bestepid", this.bestepid); | 217 | formdata.append("bestepid", this.bestepid); |
... | @@ -118,9 +219,101 @@ export default { | ... | @@ -118,9 +219,101 @@ export default { |
118 | if (res.code === 200) { | 219 | if (res.code === 200) { |
119 | this.leftButtonList = res.result.button; | 220 | this.leftButtonList = res.result.button; |
120 | this.rightButtonList = res.result.operation; | 221 | this.rightButtonList = res.result.operation; |
222 | this.tabList = res.result.form; | ||
223 | //默认选择第一个选项卡内容 | ||
224 | this.activeName = res.result.form[0].value; | ||
225 | //默认加载第一个选项卡的组件内容 | ||
226 | this.componentTag = res.result.form[0].value; | ||
121 | } | 227 | } |
122 | }); | 228 | }); |
123 | }, | 229 | }, |
230 | //流程环节操作按钮 | ||
231 | operation(index, item) { | ||
232 | let that = this; | ||
233 | switch (item.value) { | ||
234 | case "zsyl": | ||
235 | this.zsylFlag = true; | ||
236 | break; | ||
237 | case "clfp": | ||
238 | this.key++; | ||
239 | this.issplitScreen = !this.issplitScreen; | ||
240 | this.flag = !this.flag; | ||
241 | if (this.issplitScreen) { | ||
242 | this.tabList.splice(1, 1); | ||
243 | } else { | ||
244 | this.tabList = [...this.tabList1]; | ||
245 | } | ||
246 | break; | ||
247 | case "th": | ||
248 | this.thflag = true; | ||
249 | this.$nextTick(() => { | ||
250 | this.$refs.thdialogRef.tablelistFn(); | ||
251 | }); | ||
252 | break; | ||
253 | case "zc": | ||
254 | this.zcDialog = true; | ||
255 | this.$refs.zcDialogRef.tablelistFn(); | ||
256 | break; | ||
257 | case "tc": | ||
258 | window.close(); | ||
259 | break; | ||
260 | case "db": | ||
261 | var formdata = new FormData(); | ||
262 | formdata.append("bsmSlsq", this.bsmSlsq); | ||
263 | formdata.append("bestepid", this.bestepid); | ||
264 | // comMsg; | ||
265 | this.$confirm("请确认是否登簿", "提示", { | ||
266 | iconClass: "el-icon-question", //自定义图标样式 | ||
267 | confirmButtonText: "确认", //确认按钮文字更换 | ||
268 | cancelButtonText: "取消", //取消按钮文字更换 | ||
269 | showClose: true, //是否显示右上角关闭按钮 | ||
270 | type: "warning", //提示类型 success/info/warning/error | ||
271 | }).then(function () { | ||
272 | record(formdata).then((res) => { | ||
273 | if (res.code === 200 || res.code === 2002) { | ||
274 | that.$alert(res.message); | ||
275 | } | ||
276 | }); | ||
277 | }); | ||
278 | break; | ||
279 | } | ||
280 | }, | ||
281 | loadBdcdylist() { | ||
282 | var formdata = new FormData(); | ||
283 | formdata.append("bsmSlsq", this.bsmSlsq); | ||
284 | formdata.append("bestepid", this.bestepid); | ||
285 | leftMenu(formdata).then((res) => { | ||
286 | if (res.code === 200) { | ||
287 | this.unitData = res.result; | ||
288 | this.currentSelectProps = res.result[0]; | ||
289 | //debugger; | ||
290 | //this.$alert(res.result[0].bsmSldy); | ||
291 | // setTimeout(() => { | ||
292 | // that.$refs.slxx?.[0].list(that.unitData?.[0]?.bsmSldy); | ||
293 | // this.bsmBusiness = that.unitData?.[0]?.bsmBusiness; | ||
294 | // }, 300); | ||
295 | } | ||
296 | }); | ||
297 | }, | ||
298 | // 左侧列表点击调用接口 | ||
299 | unitClick(item) { | ||
300 | // this.bsmBusiness = item.bsmBusiness | ||
301 | // var activeTabName = this.activeName | ||
302 | // if(activeTabName == 'slxx'){ | ||
303 | // //受理信息页面接口调取 | ||
304 | // this.$nextTick(() => { | ||
305 | // this.$refs.slxx[0].list(item.bsmSldy) | ||
306 | // }) | ||
307 | // }else if(activeTabName == 'spyj'){ | ||
308 | // //审批页面接口调取 | ||
309 | // this.$nextTick(() => { | ||
310 | // this.$refs.spyj[0].list(this.bsmBusiness,this.queryForm.bestepid) | ||
311 | // }) | ||
312 | // } | ||
313 | }, | ||
314 | tabClick(tab, event) { | ||
315 | this.componentTag = tab.name; | ||
316 | }, | ||
124 | }, | 317 | }, |
125 | }; | 318 | }; |
126 | </script> | 319 | </script> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -24,84 +24,84 @@ | ... | @@ -24,84 +24,84 @@ |
24 | </tr> | 24 | </tr> |
25 | <tr> | 25 | <tr> |
26 | <td colspan="2">坐落</td> | 26 | <td colspan="2">坐落</td> |
27 | <td colspan="4">{{ djzd.zl }}</td> | 27 | <td colspan="4">{{ zdjbxx.zdjxx.zl }}</td> |
28 | </tr> | 28 | </tr> |
29 | <tr> | 29 | <tr> |
30 | <td rowspan="8" class="title2">土地状况</td> | 30 | <td rowspan="8" class="title2">土地状况</td> |
31 | </tr> | 31 | </tr> |
32 | <tr> | 32 | <tr> |
33 | <td colspan="2">宗地面积</td> | 33 | <td colspan="2">宗地面积</td> |
34 | <td>{{ djzd.zdmj }}</td> | 34 | <td>{{ zdjbxx.zdjxx.zdmj }}</td> |
35 | <td>用途</td> | 35 | <td>用途</td> |
36 | <td>{{ djzd.yt }}</td> | 36 | <td>{{ zdjbxx.zdjxx.ghytmc }}</td> |
37 | </tr> | 37 | </tr> |
38 | <tr> | 38 | <tr> |
39 | <td colspan="2">等级</td> | 39 | <td colspan="2">等级</td> |
40 | <td>{{ djzd.dj }}</td> | 40 | <td>{{ zdjbxx.zdjxx.dj }}</td> |
41 | <td>价格</td> | 41 | <td>价格</td> |
42 | <td>{{ djzd.jg }}</td> | 42 | <td>{{ zdjbxx.zdjxx.jg }}</td> |
43 | </tr> | 43 | </tr> |
44 | <tr> | 44 | <tr> |
45 | <td colspan="2">权利类型</td> | 45 | <td colspan="2">权利类型</td> |
46 | <td>{{ djzd.qllx }}</td> | 46 | <td>{{ zdjbxx.zdjxx.qllx }}</td> |
47 | <td>权利性质</td> | 47 | <td>权利性质</td> |
48 | <td>{{ djzd.qlxz }}</td> | 48 | <td>{{ zdjbxx.zdjxx.qlxz }}</td> |
49 | </tr> | 49 | </tr> |
50 | <tr> | 50 | <tr> |
51 | <td colspan="2">权利设定方式</td> | 51 | <td colspan="2">权利设定方式</td> |
52 | <td>{{ djzd.qlsdfs }}</td> | 52 | <td>{{ zdjbxx.zdjxx.qlsdfs }}</td> |
53 | <td>容积率</td> | 53 | <td>容积率</td> |
54 | <td>{{ djzd.rjl }}</td> | 54 | <td>{{ zdjbxx.zdjxx.rjl }}</td> |
55 | </tr> | 55 | </tr> |
56 | <tr> | 56 | <tr> |
57 | <td colspan="2">建筑密度</td> | 57 | <td colspan="2">建筑密度</td> |
58 | <td>{{ djzd.jzmd }}</td> | 58 | <td>{{ zdjbxx.zdjxx.jzmd }}</td> |
59 | <td>建筑限高</td> | 59 | <td>建筑限高</td> |
60 | <td>{{ djzd.jzxg }}</td> | 60 | <td>{{ zdjbxx.zdjxx.jzxg }}</td> |
61 | </tr> | 61 | </tr> |
62 | <tr> | 62 | <tr> |
63 | <td colspan="2">图幅号</td> | 63 | <td colspan="2">图幅号</td> |
64 | <td>{{ djzd.tfh }}</td> | 64 | <td>{{ zdjbxx.zdjxx.tfh }}</td> |
65 | <td>地籍号</td> | 65 | <td>地籍号</td> |
66 | <td>{{ djzd.djh }}</td> | 66 | <td>{{ zdjbxx.zdjxx.djh }}</td> |
67 | </tr> | 67 | </tr> |
68 | <tr> | 68 | <tr> |
69 | <td colspan="2">档案号</td> | 69 | <td colspan="2">档案号</td> |
70 | <td>{{ djzd.dah }}</td> | 70 | <td>{{ zdjbxx.zdjxx.dah }}</td> |
71 | <td>地块代码</td> | 71 | <td>地块代码</td> |
72 | <td>{{ djzd.dkdm }}</td> | 72 | <td>{{ zdjbxx.zdjxx.dkdm }}</td> |
73 | </tr> | 73 | </tr> |
74 | <tr> | 74 | <tr> |
75 | <td colspan="2">宗地四至-东</td> | 75 | <td colspan="2">宗地四至-东</td> |
76 | <td colspan="4">{{ djzd.zdszd }}</td> | 76 | <td colspan="4">{{ zdjbxx.zdjxx.zdszd }}</td> |
77 | </tr> | 77 | </tr> |
78 | <tr> | 78 | <tr> |
79 | <td colspan="2">宗地四至-南</td> | 79 | <td colspan="2">宗地四至-南</td> |
80 | <td colspan="4">{{ djzd.zdszn }}</td> | 80 | <td colspan="4">{{ zdjbxx.zdjxx.zdszn }}</td> |
81 | </tr> | 81 | </tr> |
82 | <tr> | 82 | <tr> |
83 | <td colspan="2">宗地四至-西</td> | 83 | <td colspan="2">宗地四至-西</td> |
84 | <td colspan="4">{{ djzd.zdszx }}</td> | 84 | <td colspan="4">{{ zdjbxx.zdjxx.zdszx }}</td> |
85 | </tr> | 85 | </tr> |
86 | <tr> | 86 | <tr> |
87 | <td colspan="2">宗地四至-北</td> | 87 | <td colspan="2">宗地四至-北</td> |
88 | <td colspan="4">{{ djzd.zdszb }}</td> | 88 | <td colspan="4">{{ zdjbxx.zdjxx.zdszb }}</td> |
89 | </tr> | 89 | </tr> |
90 | <tr> | 90 | <tr> |
91 | <td class="title2" height="96">备注</td> | 91 | <td class="title2" height="96">备注</td> |
92 | <td colspan="5">{{ djzd.bz }}</td> | 92 | <td colspan="5">{{ zdjbxx.zdjxx.bz }}</td> |
93 | </tr> | 93 | </tr> |
94 | <tr> | 94 | <tr> |
95 | <td class="title2" height="96">附记</td> | 95 | <td class="title2" height="96">附记</td> |
96 | <td colspan="5">{{ djzd.fj }}</td> | 96 | <td colspan="5">{{ zdjbxx.zdjxx.fj }}</td> |
97 | </tr> | 97 | </tr> |
98 | <tr> | 98 | <tr> |
99 | <td colspan="2">状态</td> | 99 | <td colspan="2">状态</td> |
100 | <td colspan="2">{{ djzd.zt }}</td> | 100 | <td colspan="2">{{ zdjbxx.zdjxx.zt }}</td> |
101 | <td>区县代码</td> | 101 | <td>区县代码</td> |
102 | <td>{{ djzd.qxdm }}</td> | 102 | <td>{{ zdjbxx.zdjxx.qxdm }}</td> |
103 | </tr> | 103 | </tr> |
104 | <tr> | 104 | <tr v-show="showGroup"> |
105 | <td class="title2">变化情况</td> | 105 | <td class="title2">变化情况</td> |
106 | <td colspan="5" class="bhqk"> | 106 | <td colspan="5" class="bhqk"> |
107 | <div class="box"> | 107 | <div class="box"> |
... | @@ -123,6 +123,7 @@ | ... | @@ -123,6 +123,7 @@ |
123 | 123 | ||
124 | <script> | 124 | <script> |
125 | import { mapGetters } from "vuex"; | 125 | import { mapGetters } from "vuex"; |
126 | import { getZdjjxxBySLdy } from "@/api/zhcx.js"; | ||
126 | 127 | ||
127 | export default { | 128 | export default { |
128 | name: "zdxx", | 129 | name: "zdxx", |
... | @@ -165,19 +166,36 @@ export default { | ... | @@ -165,19 +166,36 @@ export default { |
165 | bhqkTableWidth: 745, | 166 | bhqkTableWidth: 745, |
166 | djzd: {}, | 167 | djzd: {}, |
167 | zdbhqks: [], | 168 | zdbhqks: [], |
169 | propsParam: {}, | ||
170 | zdjbxx: {}, | ||
171 | showGroup: false, | ||
168 | }; | 172 | }; |
169 | }, | 173 | }, |
170 | computed: { | 174 | // computed: { |
171 | ...mapGetters(["djbxx"]), | 175 | // ...mapGetters(["djbxx"]), |
172 | }, | 176 | // }, |
173 | mounted() { | 177 | mounted() { |
174 | this.info = this.djbxx.zdjbxx; | 178 | this.propsParam = this.$attrs; |
175 | this.djzd = this.djbxx.zdjbxx.djzd; | 179 | this.loadData(); |
176 | this.zdbhqks = this.djbxx.zdjbxx.zdbhqks; | 180 | //this.$alert(this.param.bdcdyh); |
177 | 181 | // this.info = this.djbxx.zdjbxx; | |
182 | // this.djzd = this.djbxx.zdjbxx.djzd; | ||
183 | // this.zdbhqks = this.djbxx.zdjbxx.zdbhqks; | ||
178 | 184 | ||
179 | let widths = (this.zdbhqks.length + 1) * 180 + 110; | 185 | // let widths = (this.zdbhqks.length + 1) * 180 + 110; |
180 | this.bhqkTableWidth = widths > 745 ? widths : 745; | 186 | // this.bhqkTableWidth = widths > 745 ? widths : 745; |
187 | }, | ||
188 | methods: { | ||
189 | loadData() { | ||
190 | getZdjjxxBySLdy({ bsmsldy: this.propsParam.bsmSldy }).then((res) => { | ||
191 | if (res.code === 200) { | ||
192 | this.zdjbxx = res.result; | ||
193 | if (res.result.length > 0) { | ||
194 | this.showGroup = true; | ||
195 | } | ||
196 | } | ||
197 | }); | ||
198 | }, | ||
181 | }, | 199 | }, |
182 | }; | 200 | }; |
183 | </script> | 201 | </script> | ... | ... |
-
Please register or sign in to post a comment