Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web
Showing
27 changed files
with
235 additions
and
198 deletions
... | @@ -29,15 +29,29 @@ export function getNextNode (bsmSqyw) { | ... | @@ -29,15 +29,29 @@ export function getNextNode (bsmSqyw) { |
29 | } | 29 | } |
30 | 30 | ||
31 | /* | 31 | /* |
32 | 业务办理-选择单元-根据条件进行列表查询 | 32 | 业务办理-选择单元-根据条件进行列表查询-国有建设用地使用权 |
33 | */ | 33 | */ |
34 | export function selectScBdcdy (data) { | 34 | export function selectScBdcdy (data) { |
35 | return request({ | 35 | return request({ |
36 | url: '/ywbl/ywsq/selectScBdcdy', | 36 | url: '/ywbl/ywsq/selectScBdcdy', |
37 | method: 'post', | 37 | method: 'post', |
38 | data | 38 | data, |
39 | showLoading: true | ||
39 | }) | 40 | }) |
40 | } | 41 | } |
42 | |||
43 | /* | ||
44 | 业务办理-选择单元-根据条件进行列表查询-房屋所有权 | ||
45 | */ | ||
46 | export function selectFwsyq (data) { | ||
47 | return request({ | ||
48 | url: 'ywbl/ywsq/selectFwsyq', | ||
49 | method: 'post', | ||
50 | data, | ||
51 | showLoading: true | ||
52 | }) | ||
53 | } | ||
54 | |||
41 | // 待办箱列表查询接口 | 55 | // 待办箱列表查询接口 |
42 | export function searchTaskToDo (data) { | 56 | export function searchTaskToDo (data) { |
43 | return request({ | 57 | return request({ |
... | @@ -62,7 +76,8 @@ export function startBusinessFlow (data) { | ... | @@ -62,7 +76,8 @@ export function startBusinessFlow (data) { |
62 | return request({ | 76 | return request({ |
63 | url: '/business/workFlow/startBusinessFlow', | 77 | url: '/business/workFlow/startBusinessFlow', |
64 | method: 'post', | 78 | method: 'post', |
65 | data | 79 | data, |
80 | showLoading: true | ||
66 | }) | 81 | }) |
67 | } | 82 | } |
68 | /* | 83 | /* |
... | @@ -83,7 +98,8 @@ export function selectQlxx (data) { | ... | @@ -83,7 +98,8 @@ export function selectQlxx (data) { |
83 | return request({ | 98 | return request({ |
84 | url: '/ywbl/ywsq/selectQlxx', | 99 | url: '/ywbl/ywsq/selectQlxx', |
85 | method: 'post', | 100 | method: 'post', |
86 | data | 101 | data, |
102 | showLoading: true | ||
87 | }) | 103 | }) |
88 | } | 104 | } |
89 | /* | 105 | /* |
... | @@ -93,7 +109,8 @@ export function selectDiyaq (data) { | ... | @@ -93,7 +109,8 @@ export function selectDiyaq (data) { |
93 | return request({ | 109 | return request({ |
94 | url: '/ywbl/ywsq/selectDiyaq', | 110 | url: '/ywbl/ywsq/selectDiyaq', |
95 | method: 'post', | 111 | method: 'post', |
96 | data | 112 | data, |
113 | showLoading: true | ||
97 | }) | 114 | }) |
98 | } | 115 | } |
99 | /* | 116 | /* |
... | @@ -103,7 +120,8 @@ export function selectCfdj (data) { | ... | @@ -103,7 +120,8 @@ export function selectCfdj (data) { |
103 | return request({ | 120 | return request({ |
104 | url: '/ywbl/ywsq/selectCfdj', | 121 | url: '/ywbl/ywsq/selectCfdj', |
105 | method: 'post', | 122 | method: 'post', |
106 | data | 123 | data, |
124 | showLoading: true | ||
107 | }) | 125 | }) |
108 | } | 126 | } |
109 | /* | 127 | /* | ... | ... |
... | @@ -3,14 +3,17 @@ | ... | @@ -3,14 +3,17 @@ |
3 | <div class="ls-mask" v-loading="loading"> | 3 | <div class="ls-mask" v-loading="loading"> |
4 | <div class="ls-mask-window" :style="{'width':width,'height':height}"> | 4 | <div class="ls-mask-window" :style="{'width':width,'height':height}"> |
5 | <div class="ls-head"> | 5 | <div class="ls-head"> |
6 | <div class="ls-title" :style="{'text-align':titleStyle}"><b>{{title}}</b></div> | 6 | <div class="ls-title" :style="{'text-align':titleStyle}"> |
7 | <i class="el-icon-close" @click="onCancel"></i> | 7 | <svg-icon v-if="iconClass!=''" :icon-class='iconClass' /> |
8 | <b>{{title}}</b> | ||
9 | </div> | ||
10 | <svg-icon icon-class='close' class="closeStyle" @click="onCancel" /> | ||
8 | </div> | 11 | </div> |
9 | 12 | ||
10 | <div class="ls-mask-content" ref='contentRef' :style="{'height': contentHeight + 'px'}"> | 13 | <div class="ls-mask-content" ref='contentRef' :style="{'height': contentHeight + 'px'}"> |
11 | <component :is="editItem" ref='childRef' @loading='loadingFn' :formData='formData' /> | 14 | <component :is="editItem" ref='childRef' @loading='loadingFn' :key="key" :formData='formData' /> |
12 | </div> | 15 | </div> |
13 | <div class="ls-mask-footer"> | 16 | <div class="ls-mask-footer" v-if='btnShow'> |
14 | <el-button type="primary" @click="onConfirm">{{confirmText}}</el-button> | 17 | <el-button type="primary" @click="onConfirm">{{confirmText}}</el-button> |
15 | <el-button @click="onCancel">{{cancelText}}</el-button> | 18 | <el-button @click="onCancel">{{cancelText}}</el-button> |
16 | </div> | 19 | </div> |
... | @@ -23,6 +26,7 @@ export default { | ... | @@ -23,6 +26,7 @@ export default { |
23 | name: 'index', | 26 | name: 'index', |
24 | data () { | 27 | data () { |
25 | return { | 28 | return { |
29 | btnShow:false, | ||
26 | title: '提示', | 30 | title: '提示', |
27 | cancelText: '取消', | 31 | cancelText: '取消', |
28 | confirmText: '确认', | 32 | confirmText: '确认', |
... | @@ -35,23 +39,25 @@ export default { | ... | @@ -35,23 +39,25 @@ export default { |
35 | width: "75%", | 39 | width: "75%", |
36 | height: "auto", | 40 | height: "auto", |
37 | formData: "",//父组件传递的参数 负责传给子组件 | 41 | formData: "",//父组件传递的参数 负责传给子组件 |
38 | contentHeight:"", | 42 | contentHeight: "", |
43 | iconClass: "", | ||
44 | key: 0 | ||
39 | } | 45 | } |
40 | }, | 46 | }, |
41 | |||
42 | props: { | 47 | props: { |
43 | loading: { type: Boolean, default: false }, | 48 | loading: { type: Boolean, default: false }, |
44 | }, | 49 | }, |
45 | watch: { | 50 | watch: { |
46 | isShow (a, b) { | 51 | isShow (a, b) { |
52 | this.key++ | ||
47 | this.editItem = this.loadViewFn(this.editItem) | 53 | this.editItem = this.loadViewFn(this.editItem) |
48 | }, | 54 | }, |
49 | }, | 55 | }, |
50 | mounted(){ | 56 | mounted () { |
51 | // 计算滚动条高度 | 57 | // 计算滚动条高度 |
52 | setTimeout(() => { | 58 | setTimeout(() => { |
53 | this.contentHeight = this.$refs.contentRef.offsetHeight | 59 | this.contentHeight = this.$refs.contentRef.offsetHeight |
54 | }, 1000); | 60 | }, 1000) |
55 | }, | 61 | }, |
56 | methods: { | 62 | methods: { |
57 | onCancel () { | 63 | onCancel () { |
... | @@ -76,7 +82,7 @@ export default { | ... | @@ -76,7 +82,7 @@ export default { |
76 | require.ensure([], () => | 82 | require.ensure([], () => |
77 | r(require(`@/views/${view}.vue`)) | 83 | r(require(`@/views/${view}.vue`)) |
78 | ); | 84 | ); |
79 | }, | 85 | } |
80 | } | 86 | } |
81 | } | 87 | } |
82 | </script> | 88 | </script> |
... | @@ -105,40 +111,42 @@ export default { | ... | @@ -105,40 +111,42 @@ export default { |
105 | transform: translate(-50%, -50%); | 111 | transform: translate(-50%, -50%); |
106 | border-radius: 10px; | 112 | border-radius: 10px; |
107 | } | 113 | } |
108 | .ls-head{ | 114 | |
109 | position: relative; | ||
110 | } | ||
111 | .ls-mask-window b { | 115 | .ls-mask-window b { |
112 | padding-left: 12px; | 116 | padding-left: 5px; |
113 | } | 117 | } |
114 | .ls-title{ | 118 | |
115 | padding: 20px; | 119 | .ls-title { |
116 | background: #1E9FFF; | 120 | padding: 16px; |
121 | background: linear-gradient(2deg, #00CCFF, transparent); | ||
117 | color: #ffffff; | 122 | color: #ffffff; |
123 | |||
124 | } | ||
125 | |||
126 | .ls-title .svg-icon { | ||
127 | font-size: 18px; | ||
118 | } | 128 | } |
129 | |||
119 | .ls-mask-content { | 130 | .ls-mask-content { |
120 | padding: 20px; | 131 | padding: 20px; |
121 | text-align: center; | ||
122 | position: absolute; | ||
123 | width: 100%; | 132 | width: 100%; |
124 | overflow: scroll; | 133 | overflow: scroll; |
134 | max-height: 500px; | ||
125 | } | 135 | } |
126 | 136 | ||
127 | .ls-mask-footer { | 137 | .ls-mask-footer { |
128 | height: 65px; | 138 | height: 65px; |
129 | border-top: 1px solid #f0f0f0; | ||
130 | display: flex; | 139 | display: flex; |
131 | justify-content: center; | 140 | justify-content: center; |
132 | position: absolute; | ||
133 | width: 100%; | 141 | width: 100%; |
134 | bottom: 0px; | 142 | box-shadow: 0px 0px 2px 0px; |
135 | right: 0px; | 143 | border-radius: 0 0 10px 10px; |
136 | background: #f3f3f3; | ||
137 | } | 144 | } |
138 | 145 | ||
139 | /deep/.el-icon-close { | 146 | |
147 | /deep/.closeStyle { | ||
140 | position: absolute; | 148 | position: absolute; |
141 | top: 20px; | 149 | top: 17px; |
142 | right: 12px; | 150 | right: 12px; |
143 | font-size: 20px; | 151 | font-size: 20px; |
144 | cursor: pointer; | 152 | cursor: pointer; |
... | @@ -148,8 +156,10 @@ export default { | ... | @@ -148,8 +156,10 @@ export default { |
148 | /deep/.el-loading-mask { | 156 | /deep/.el-loading-mask { |
149 | background: none; | 157 | background: none; |
150 | } | 158 | } |
151 | /deep/.el-button{ | 159 | |
160 | /deep/.el-button { | ||
152 | margin: 15px 10px; | 161 | margin: 15px 10px; |
162 | width: 75px; | ||
153 | } | 163 | } |
154 | </style> | 164 | </style> |
155 | 165 | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -9,10 +9,12 @@ | ... | @@ -9,10 +9,12 @@ |
9 | height:"", //弹窗的高度 | 9 | height:"", //弹窗的高度 |
10 | editItem: 'ywbl/dbx/aa', // 子组件的路径 相当于你平时img取的路径 | 10 | editItem: 'ywbl/dbx/aa', // 子组件的路径 相当于你平时img取的路径 |
11 | formData:this.formData, //父组件传给子组件的参数 | 11 | formData:this.formData, //父组件传给子组件的参数 |
12 | btnShow:false,//按钮显隐 false隐藏 true显示 | ||
12 | confirmText:"" // 确认按钮的文字 | 13 | confirmText:"" // 确认按钮的文字 |
13 | cancelText:"" //取消按钮的文字 | 14 | cancelText:"" //取消按钮的文字 |
14 | cancel: function () {}, //取消事件的回调 | 15 | cancel: function () {}, //取消事件的回调 |
15 | confirm: function () {}, //确认事件的回调 | 16 | confirm: function () {}, //确认事件的回调 |
17 | iconClass:"",//标题前面icon图标名称 | ||
16 | }) | 18 | }) |
17 | 3.子组件的方法名字必须统一为 childFn() | 19 | 3.子组件的方法名字必须统一为 childFn() |
18 | 4.子组件切记props接收 父组件传参formData | 20 | 4.子组件切记props接收 父组件传参formData | ... | ... |
src/image/icons/svg/close.svg
0 → 100644
1 | <svg t="1665567795982" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2615" width="200" height="200"><path d="M512 74.666667C270.933333 74.666667 74.666667 270.933333 74.666667 512S270.933333 949.333333 512 949.333333 949.333333 753.066667 949.333333 512 753.066667 74.666667 512 74.666667z m0 810.666666c-204.8 0-373.333333-168.533333-373.333333-373.333333S307.2 138.666667 512 138.666667 885.333333 307.2 885.333333 512 716.8 885.333333 512 885.333333z" p-id="2616"></path><path d="M657.066667 360.533333c-12.8-12.8-32-12.8-44.8 0l-102.4 102.4-102.4-102.4c-12.8-12.8-32-12.8-44.8 0-12.8 12.8-12.8 32 0 44.8l102.4 102.4-102.4 102.4c-12.8 12.8-12.8 32 0 44.8 6.4 6.4 14.933333 8.533333 23.466666 8.533334s17.066667-2.133333 23.466667-8.533334l102.4-102.4 102.4 102.4c6.4 6.4 14.933333 8.533333 23.466667 8.533334s17.066667-2.133333 23.466666-8.533334c12.8-12.8 12.8-32 0-44.8l-106.666666-100.266666 102.4-102.4c12.8-12.8 12.8-34.133333 0-46.933334z" p-id="2617"></path></svg> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
... | @@ -11,6 +11,10 @@ const getters = { | ... | @@ -11,6 +11,10 @@ const getters = { |
11 | addRoutes: state => state.permission.addRoutes, | 11 | addRoutes: state => state.permission.addRoutes, |
12 | addDict: state => state.dict.addDict, | 12 | addDict: state => state.dict.addDict, |
13 | dictData: state => state.dict.dictData, | 13 | dictData: state => state.dict.dictData, |
14 | djbxx: state => state.djbxx.djbxx | 14 | djbxx: state => state.djbxx.djbxx, |
15 | // 业务办理 | ||
16 | bsmSqyw: state => state.ywbl.bsmSqyw, | ||
17 | djqxObj: state => state.ywbl.djqxObj, | ||
18 | djywbm: state => state.ywbl.djywbm | ||
15 | } | 19 | } |
16 | export default getters | 20 | export default getters | ... | ... |
src/store/modules/ywbl.js
0 → 100644
1 | const state = { | ||
2 | bsmSqyw: '', | ||
3 | djqxObj: { | ||
4 | djqxbm: "", | ||
5 | djqxmc: "" | ||
6 | }, | ||
7 | djywbm: '' | ||
8 | } | ||
9 | const mutations = { | ||
10 | SET_BSMSQYW: (state, data) => { | ||
11 | state.bsmSqyw = data | ||
12 | }, | ||
13 | SET_DJQXOBJ: (state, data) => { | ||
14 | state.djqxObj = data | ||
15 | }, | ||
16 | SET_DJYWBM: (state, data) => { | ||
17 | state.djywbm = data | ||
18 | }, | ||
19 | } | ||
20 | |||
21 | const actions = { | ||
22 | setBsmSqyw ({ commit }, data) { | ||
23 | commit('SET_BSMSQYW', data) | ||
24 | }, | ||
25 | setDjqxObj ({ commit }, data) { | ||
26 | commit('SET_DJQXOBJ', data) | ||
27 | }, | ||
28 | setDjywbm ({ commit }, data) { | ||
29 | commit('SET_DJYWBM', data) | ||
30 | } | ||
31 | } | ||
32 | |||
33 | export default { | ||
34 | namespaced: true, | ||
35 | state, | ||
36 | mutations, | ||
37 | actions | ||
38 | } |
... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ |
7 | 7 | ||
8 | &-header { | 8 | &-header { |
9 | width: 100%; | 9 | width: 100%; |
10 | padding: 10px 10px 3px 10px; | 10 | padding: 10px; |
11 | box-sizing: border-box; | 11 | box-sizing: border-box; |
12 | background: #FFFFFF; | 12 | background: #FFFFFF; |
13 | border-radius: 2px; | 13 | border-radius: 2px; |
... | @@ -18,7 +18,7 @@ | ... | @@ -18,7 +18,7 @@ |
18 | display: flex; | 18 | display: flex; |
19 | font-size: 12px; | 19 | font-size: 12px; |
20 | flex-wrap: wrap; | 20 | flex-wrap: wrap; |
21 | line-height: 36px; | 21 | padding-top: 10px; |
22 | 22 | ||
23 | span { | 23 | span { |
24 | display: flex; | 24 | display: flex; | ... | ... |
... | @@ -229,7 +229,7 @@ export default { | ... | @@ -229,7 +229,7 @@ export default { |
229 | height: calc(100% - 80px); | 229 | height: calc(100% - 80px); |
230 | align-items: center; | 230 | align-items: center; |
231 | background: rgba(194, 190, 190, 0.1); | 231 | background: rgba(194, 190, 190, 0.1); |
232 | 232 | overflow: scroll; | |
233 | img { | 233 | img { |
234 | display: block; | 234 | display: block; |
235 | object-fit: scale-down; | 235 | object-fit: scale-down; | ... | ... |
... | @@ -59,7 +59,8 @@ export default { | ... | @@ -59,7 +59,8 @@ export default { |
59 | myValue: this.value, | 59 | myValue: this.value, |
60 | ruleForm: { | 60 | ruleForm: { |
61 | cxyt: '', | 61 | cxyt: '', |
62 | ycyrgx: 1 | 62 | ycyrgx: 1, |
63 | cxlx: '1' //查询类型 1:房产查询 2:登记簿查询 | ||
63 | }, | 64 | }, |
64 | dataList: [{ | 65 | dataList: [{ |
65 | sqrxm: '', | 66 | sqrxm: '', | ... | ... |
... | @@ -59,7 +59,6 @@ import table from "@/utils/mixin/table"; | ... | @@ -59,7 +59,6 @@ import table from "@/utils/mixin/table"; |
59 | import { datas, sendThis } from "./dydjbdata"; | 59 | import { datas, sendThis } from "./dydjbdata"; |
60 | export default { | 60 | export default { |
61 | name: "dydjb", | 61 | name: "dydjb", |
62 | components: {}, | ||
63 | mixins: [table], | 62 | mixins: [table], |
64 | mounted () { | 63 | mounted () { |
65 | sendThis(this); | 64 | sendThis(this); | ... | ... |
... | @@ -23,8 +23,15 @@ class data extends filter { | ... | @@ -23,8 +23,15 @@ class data extends filter { |
23 | } | 23 | } |
24 | }, | 24 | }, |
25 | { | 25 | { |
26 | prop: "cxlx", | ||
27 | label: "查询类型", | 26 | label: "查询类型", |
27 | render: (h, scope) => { | ||
28 | switch (scope.row.cxlx) { | ||
29 | case '1': | ||
30 | return <div>家庭房产</div> | ||
31 | case '2': | ||
32 | return <div>登记簿</div> | ||
33 | } | ||
34 | } | ||
28 | }, | 35 | }, |
29 | { | 36 | { |
30 | prop: "cxbh", | 37 | prop: "cxbh", |
... | @@ -35,19 +42,28 @@ class data extends filter { | ... | @@ -35,19 +42,28 @@ class data extends filter { |
35 | label: "查询时间", | 42 | label: "查询时间", |
36 | }, | 43 | }, |
37 | { | 44 | { |
38 | prop: "slry", | 45 | prop: "cxr", |
39 | label: "受理人员", | 46 | label: "受理人员", |
40 | }, | 47 | }, |
41 | { | 48 | { |
42 | prop: "sqr", | 49 | prop: "sqrxm", |
43 | label: "申请人", | 50 | label: "申请人", |
44 | }, | 51 | }, |
45 | { | 52 | { |
46 | prop: "yqlrgx", | ||
47 | label: "与权利人的关系", | 53 | label: "与权利人的关系", |
54 | render: (h, scope) => { | ||
55 | switch (scope.row.ycyrgx) { | ||
56 | case '1': | ||
57 | return <div>权利人</div> | ||
58 | case '2': | ||
59 | return <div>产权利害关系人</div> | ||
60 | case '3': | ||
61 | return <div>委托人</div> | ||
62 | } | ||
63 | } | ||
48 | }, | 64 | }, |
49 | { | 65 | { |
50 | prop: "qlr", | 66 | prop: "qlrxm", |
51 | label: "权利人", | 67 | label: "权利人", |
52 | }, | 68 | }, |
53 | { | 69 | { | ... | ... |
... | @@ -74,6 +74,7 @@ import { | ... | @@ -74,6 +74,7 @@ import { |
74 | } from "@/api/fqsq.js" | 74 | } from "@/api/fqsq.js" |
75 | import { getWorkFlowImage } from "@/api/jsydsyqFlow.js" | 75 | import { getWorkFlowImage } from "@/api/jsydsyqFlow.js" |
76 | import { getForm } from "./flowform.js" | 76 | import { getForm } from "./flowform.js" |
77 | import { queueDjywmc } from '@/views/ywbl/ywsq/slectBdcdata.js'; | ||
77 | export default { | 78 | export default { |
78 | data () { | 79 | data () { |
79 | return { | 80 | return { |
... | @@ -149,6 +150,13 @@ export default { | ... | @@ -149,6 +150,13 @@ export default { |
149 | //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout | 150 | //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout |
150 | let that = this; | 151 | let that = this; |
151 | switch (item.value) { | 152 | switch (item.value) { |
153 | case "B0": | ||
154 | let type = queueDjywmc(this.$route.query.sqywbm) | ||
155 | this.$popup({ | ||
156 | title: '查询权利信息', | ||
157 | editItem: 'ywbl/ywsq/components/houseOwnership', | ||
158 | }) | ||
159 | break; | ||
152 | case "B1": | 160 | case "B1": |
153 | getWorkFlowImage(this.bsmSlsq).then(res => { | 161 | getWorkFlowImage(this.bsmSlsq).then(res => { |
154 | this.imgSrc = URL.createObjectURL(res) | 162 | this.imgSrc = URL.createObjectURL(res) | ... | ... |
... | @@ -76,10 +76,7 @@ | ... | @@ -76,10 +76,7 @@ |
76 | </el-col> | 76 | </el-col> |
77 | <el-col :span="8"> | 77 | <el-col :span="8"> |
78 | <el-form-item :class="flag ? 'marginBot0' : ''" label="权利设定方式:" prop="qlsdfs"> | 78 | <el-form-item :class="flag ? 'marginBot0' : ''" label="权利设定方式:" prop="qlsdfs"> |
79 | <el-select disabled v-model="ruleForm.qlsdfs" filterable clearable placeholder="请选择权利设定方式"> | 79 | <el-input disabled v-model="ruleForm.qlsdfsmc"></el-input> |
80 | <el-option v-for="item in qlsdfsOption" :key="item.value" :label="item.label" :value="item.value"> | ||
81 | </el-option> | ||
82 | </el-select> | ||
83 | </el-form-item> | 80 | </el-form-item> |
84 | </el-col> | 81 | </el-col> |
85 | </el-row> | 82 | </el-row> |
... | @@ -189,8 +186,6 @@ export default { | ... | @@ -189,8 +186,6 @@ export default { |
189 | data () { | 186 | data () { |
190 | return { | 187 | return { |
191 | disabled: true, | 188 | disabled: true, |
192 | tdytOption: [], | ||
193 | qlsdfsOption: [], | ||
194 | czrOptions: [], | 189 | czrOptions: [], |
195 | ruleForm: { | 190 | ruleForm: { |
196 | ywh: "", | 191 | ywh: "", | ... | ... |
... | @@ -59,10 +59,6 @@ import table from "@/utils/mixin/table"; | ... | @@ -59,10 +59,6 @@ import table from "@/utils/mixin/table"; |
59 | import jump from "../components/mixin/jump"; | 59 | import jump from "../components/mixin/jump"; |
60 | import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; | 60 | import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; |
61 | export default { | 61 | export default { |
62 | props: { | ||
63 | bsmSqyw: { type: String, default: '' }, | ||
64 | djywbm: { type: String, default: "" } | ||
65 | }, | ||
66 | mixins: [table, jump], | 62 | mixins: [table, jump], |
67 | data () { | 63 | data () { |
68 | return { | 64 | return { |
... | @@ -77,21 +73,18 @@ export default { | ... | @@ -77,21 +73,18 @@ export default { |
77 | saveloding: false | 73 | saveloding: false |
78 | }; | 74 | }; |
79 | }, | 75 | }, |
80 | watch: { | ||
81 | bsmSqyw (val) { | ||
82 | this.fetchData() | ||
83 | }, | ||
84 | }, | ||
85 | mounted () { | 76 | mounted () { |
86 | sendThis(this); | 77 | sendThis(this) |
78 | }, | ||
79 | computed: { | ||
80 | ...mapGetters([ 'bsmSqyw', 'djywbm']) | ||
87 | }, | 81 | }, |
88 | methods: { | 82 | methods: { |
89 | closeDialog () { | 83 | closeDialog () { |
90 | this.$emit("closeDialog") | 84 | this.$emit("closeDialog") |
91 | }, | 85 | }, |
92 | fetchData () { | 86 | fetchData () { |
93 | if (this.bsmSqyw) { | 87 | this.queryForm.sqywbm = this.djywbm; |
94 | this.queryForm.sqywbm=this.djywbm; | ||
95 | selectQlxx({ ...this.queryForm, ...this.pageData }) | 88 | selectQlxx({ ...this.queryForm, ...this.pageData }) |
96 | .then((res) => { | 89 | .then((res) => { |
97 | if (res.code === 200) { | 90 | if (res.code === 200) { |
... | @@ -100,7 +93,6 @@ export default { | ... | @@ -100,7 +93,6 @@ export default { |
100 | this.tableData.data = records; | 93 | this.tableData.data = records; |
101 | } | 94 | } |
102 | }) | 95 | }) |
103 | } | ||
104 | }, | 96 | }, |
105 | submitForm () { | 97 | submitForm () { |
106 | if (this.bdcdysz.length == 0) { | 98 | if (this.bdcdysz.length == 0) { | ... | ... |
... | @@ -53,16 +53,13 @@ | ... | @@ -53,16 +53,13 @@ |
53 | </div> | 53 | </div> |
54 | </template> | 54 | </template> |
55 | <script> | 55 | <script> |
56 | import { mapGetters } from 'vuex' | ||
56 | import { datas, sendThis } from "../javascript/bdcqlMain.js"; | 57 | import { datas, sendThis } from "../javascript/bdcqlMain.js"; |
57 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 58 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
58 | import table from "@/utils/mixin/table"; | 59 | import table from "@/utils/mixin/table"; |
59 | import jump from "../components/mixin/jump"; | 60 | import jump from "../components/mixin/jump"; |
60 | import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; | 61 | import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; |
61 | export default { | 62 | export default { |
62 | props: { | ||
63 | bsmSqyw: { type: String, default: '' }, | ||
64 | djywbm: { type: String, default: "" } | ||
65 | }, | ||
66 | mixins: [table, jump], | 63 | mixins: [table, jump], |
67 | data () { | 64 | data () { |
68 | return { | 65 | return { |
... | @@ -77,21 +74,18 @@ export default { | ... | @@ -77,21 +74,18 @@ export default { |
77 | saveloding: false | 74 | saveloding: false |
78 | }; | 75 | }; |
79 | }, | 76 | }, |
80 | watch: { | ||
81 | bsmSqyw (val) { | ||
82 | this.fetchData() | ||
83 | }, | ||
84 | }, | ||
85 | mounted () { | 77 | mounted () { |
86 | sendThis(this); | 78 | sendThis(this) |
79 | }, | ||
80 | computed: { | ||
81 | ...mapGetters(['bsmSqyw', 'djywbm']), | ||
87 | }, | 82 | }, |
88 | methods: { | 83 | methods: { |
89 | closeDialog () { | 84 | closeDialog () { |
90 | this.$emit("closeDialog") | 85 | this.$emit("closeDialog") |
91 | }, | 86 | }, |
92 | fetchData () { | 87 | fetchData () { |
93 | if (this.bsmSqyw) { | 88 | this.queryForm.sqywbm = this.djywbm; |
94 | this.queryForm.sqywbm=this.djywbm; | ||
95 | selectQlxx({ ...this.queryForm, ...this.pageData }) | 89 | selectQlxx({ ...this.queryForm, ...this.pageData }) |
96 | .then((res) => { | 90 | .then((res) => { |
97 | if (res.code === 200) { | 91 | if (res.code === 200) { |
... | @@ -100,7 +94,6 @@ export default { | ... | @@ -100,7 +94,6 @@ export default { |
100 | this.tableData.data = records; | 94 | this.tableData.data = records; |
101 | } | 95 | } |
102 | }) | 96 | }) |
103 | } | ||
104 | }, | 97 | }, |
105 | submitForm () { | 98 | submitForm () { |
106 | if (this.bdcdysz.length == 0) { | 99 | if (this.bdcdysz.length == 0) { | ... | ... |
... | @@ -53,6 +53,7 @@ | ... | @@ -53,6 +53,7 @@ |
53 | </template> | 53 | </template> |
54 | <script> | 54 | <script> |
55 | //查封登记 | 55 | //查封登记 |
56 | import { mapGetters } from 'vuex' | ||
56 | import { datas, sendThis } from "../javascript/cfdj.js"; | 57 | import { datas, sendThis } from "../javascript/cfdj.js"; |
57 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 58 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
58 | import table from "@/utils/mixin/table"; | 59 | import table from "@/utils/mixin/table"; |
... | @@ -60,7 +61,6 @@ import jump from "../components/mixin/jump"; | ... | @@ -60,7 +61,6 @@ import jump from "../components/mixin/jump"; |
60 | import { selectCfdj, startBusinessFlow } from "@/api/ywbl.js"; | 61 | import { selectCfdj, startBusinessFlow } from "@/api/ywbl.js"; |
61 | export default { | 62 | export default { |
62 | props: { | 63 | props: { |
63 | bsmSqyw: { type: String, default: '' }, | ||
64 | djywbm: { type: String, default: "" } | 64 | djywbm: { type: String, default: "" } |
65 | }, | 65 | }, |
66 | mixins: [table, jump], | 66 | mixins: [table, jump], |
... | @@ -77,21 +77,18 @@ export default { | ... | @@ -77,21 +77,18 @@ export default { |
77 | saveloding: false | 77 | saveloding: false |
78 | }; | 78 | }; |
79 | }, | 79 | }, |
80 | watch: { | ||
81 | bsmSqyw (val) { | ||
82 | this.fetchData() | ||
83 | }, | ||
84 | }, | ||
85 | mounted () { | 80 | mounted () { |
86 | sendThis(this); | 81 | sendThis(this); |
87 | }, | 82 | }, |
83 | computed: { | ||
84 | ...mapGetters(['bsmSqyw', 'djywbm']), | ||
85 | }, | ||
88 | methods: { | 86 | methods: { |
89 | closeDialog () { | 87 | closeDialog () { |
90 | this.$emit("closeDialog") | 88 | this.$emit("closeDialog") |
91 | }, | 89 | }, |
92 | fetchData () { | 90 | fetchData () { |
93 | if (this.bsmSqyw) { | 91 | this.queryForm.sqywbm = this.djywbm; |
94 | this.queryForm.sqywbm=this.djywbm; | ||
95 | selectCfdj({ ...this.queryForm, ...this.pageData }) | 92 | selectCfdj({ ...this.queryForm, ...this.pageData }) |
96 | .then((res) => { | 93 | .then((res) => { |
97 | if (res.code === 200) { | 94 | if (res.code === 200) { |
... | @@ -100,7 +97,6 @@ export default { | ... | @@ -100,7 +97,6 @@ export default { |
100 | this.tableData.data = records; | 97 | this.tableData.data = records; |
101 | } | 98 | } |
102 | }) | 99 | }) |
103 | } | ||
104 | }, | 100 | }, |
105 | submitForm () { | 101 | submitForm () { |
106 | if (this.bdcdysz.length == 0) { | 102 | if (this.bdcdysz.length == 0) { | ... | ... |
... | @@ -55,17 +55,13 @@ | ... | @@ -55,17 +55,13 @@ |
55 | </template> | 55 | </template> |
56 | <script> | 56 | <script> |
57 | //抵押权首次登记 | 57 | //抵押权首次登记 |
58 | import { mapGetters } from 'vuex' | ||
58 | import { datas, sendThis } from "../javascript/diyaq.js"; | 59 | import { datas, sendThis } from "../javascript/diyaq.js"; |
59 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 60 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
60 | import table from "@/utils/mixin/table"; | 61 | import table from "@/utils/mixin/table"; |
61 | import jump from "../components/mixin/jump"; | 62 | import jump from "../components/mixin/jump"; |
62 | import { selectDiyaq, startBusinessFlow } from "@/api/ywbl.js"; | 63 | import { selectDiyaq, startBusinessFlow } from "@/api/ywbl.js"; |
63 | export default { | 64 | export default { |
64 | props: { | ||
65 | bsmSqyw: { type: String, default: "" }, | ||
66 | djqxObj: { type: Object, default: "" }, | ||
67 | djywbm: { type: String, default: "" } | ||
68 | }, | ||
69 | mixins: [table, jump], | 65 | mixins: [table, jump], |
70 | data () { | 66 | data () { |
71 | return { | 67 | return { |
... | @@ -80,21 +76,19 @@ export default { | ... | @@ -80,21 +76,19 @@ export default { |
80 | saveloding: false, | 76 | saveloding: false, |
81 | }; | 77 | }; |
82 | }, | 78 | }, |
83 | watch: { | ||
84 | bsmSqyw (val) { | ||
85 | this.fetchData(); | ||
86 | }, | ||
87 | }, | ||
88 | mounted () { | 79 | mounted () { |
89 | sendThis(this); | 80 | sendThis(this); |
90 | }, | 81 | }, |
82 | computed: { | ||
83 | ...mapGetters(['bsmSqyw', 'djqxObj', 'djywbm']), | ||
84 | }, | ||
91 | methods: { | 85 | methods: { |
92 | closeDialog () { | 86 | closeDialog () { |
93 | this.$emit("closeDialog"); | 87 | this.$emit("closeDialog"); |
94 | }, | 88 | }, |
95 | fetchData () { | 89 | fetchData () { |
96 | if (this.bsmSqyw) { | 90 | if (this.bsmSqyw) { |
97 | this.queryForm.sqywbm=this.djywbm; | 91 | this.queryForm.sqywbm = this.djywbm; |
98 | selectDiyaq({ ...this.queryForm, ...this.pageData }).then((res) => { | 92 | selectDiyaq({ ...this.queryForm, ...this.pageData }).then((res) => { |
99 | if (res.code === 200) { | 93 | if (res.code === 200) { |
100 | let { total, records } = res.result; | 94 | let { total, records } = res.result; | ... | ... |
... | @@ -2,35 +2,21 @@ | ... | @@ -2,35 +2,21 @@ |
2 | <div class="from-clues"> | 2 | <div class="from-clues"> |
3 | <!-- 表单部分 --> | 3 | <!-- 表单部分 --> |
4 | <div class="from-clues-header"> | 4 | <div class="from-clues-header"> |
5 | <el-tabs v-model="activeName"> | 5 | <el-tabs v-model="activeName" @tab-click="handleTabClick"> |
6 | <el-tab-pane label="自然幢" name="first"></el-tab-pane> | 6 | <el-tab-pane label="自然幢" name="zrz"></el-tab-pane> |
7 | <el-tab-pane label="户" name="second"></el-tab-pane> | 7 | <el-tab-pane label="户" name="h"></el-tab-pane> |
8 | </el-tabs> | 8 | </el-tabs> |
9 | <el-form :model="queryForm" ref="queryForm" label-width="100px"> | 9 | <el-form :model="queryForm" ref="queryForm" label-width="100px"> |
10 | <el-row> | 10 | <el-row> |
11 | <el-col :span="5"> | 11 | <el-col :span="6"> |
12 | <el-form-item label="权利类型" label-width="70px"> | ||
13 | <el-select v-model="queryForm.qllx" filterable class="width100" clearable placeholder="请选择权利类型"> | ||
14 | <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | ||
15 | </el-option> | ||
16 | </el-select> | ||
17 | </el-form-item> | ||
18 | </el-col> | ||
19 | <el-col :span="5"> | ||
20 | <el-form-item label="不动产单元号"> | 12 | <el-form-item label="不动产单元号"> |
21 | <el-input placeholder="不动产单元号" v-model="queryForm.bdcdyh" clearable> | 13 | <el-input placeholder="不动产单元号" v-model="queryForm.bdcdyh" clearable> |
22 | </el-input> | 14 | </el-input> |
23 | </el-form-item> | 15 | </el-form-item> |
24 | </el-col> | 16 | </el-col> |
25 | <el-col :span="5"> | 17 | <el-col :span="6"> |
26 | <el-form-item label="业务号" label-width="70px"> | 18 | <el-form-item label="坐落"> |
27 | <el-input placeholder="业务号" v-model="queryForm.ywh" clearable> | 19 | <el-input placeholder="请输入坐落" v-model="queryForm.zl" clearable class="width300px"> |
28 | </el-input> | ||
29 | </el-form-item> | ||
30 | </el-col> | ||
31 | <el-col :span="5"> | ||
32 | <el-form-item label="不动产权证号"> | ||
33 | <el-input placeholder="不动产权证号" v-model="queryForm.bdcqzh" clearable> | ||
34 | </el-input> | 20 | </el-input> |
35 | </el-form-item> | 21 | </el-form-item> |
36 | </el-col> | 22 | </el-col> |
... | @@ -51,27 +37,22 @@ | ... | @@ -51,27 +37,22 @@ |
51 | </div> | 37 | </div> |
52 | <div class="submit_button"> | 38 | <div class="submit_button"> |
53 | <el-button @click="closeDialog">取消</el-button> | 39 | <el-button @click="closeDialog">取消</el-button> |
54 | <el-button type="primary" plain @click="submitForm" :loading="saveloding">发起申请</el-button> | 40 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> |
55 | </div> | 41 | </div> |
56 | </div> | 42 | </div> |
57 | </template> | 43 | </template> |
58 | <script> | 44 | <script> |
59 | //国有建设用地使用权/房屋使用权 | 45 | //国有建设用地使用权/房屋使用权 |
60 | import { mapGetters } from 'vuex' | 46 | import { mapGetters } from 'vuex' |
61 | import { datas, sendThis } from "../javascript/houseOwnership.js"; | 47 | import { datas, sendThis } from "../javascript/fwsyq.js"; |
62 | import table from "@/utils/mixin/table"; | 48 | import table from "@/utils/mixin/table"; |
63 | import jump from "../components/mixin/jump"; | 49 | import jump from "../components/mixin/jump"; |
64 | import { selectScBdcdy, startBusinessFlow } from "@/api/ywbl.js"; | 50 | import { selectFwsyq, startBusinessFlow } from "@/api/ywbl.js"; |
65 | export default { | 51 | export default { |
66 | props: { | ||
67 | bsmSqyw: { type: String, default: "" }, | ||
68 | djqxObj: { type: Object, default: "" }, | ||
69 | djywbm: { type: String, default: "" } | ||
70 | }, | ||
71 | mixins: [table, jump], | 52 | mixins: [table, jump], |
72 | data () { | 53 | data () { |
73 | return { | 54 | return { |
74 | activeName: 'first', | 55 | activeName: 'zrz', |
75 | queryForm: { | 56 | queryForm: { |
76 | qllx: '', | 57 | qllx: '', |
77 | bdcdyh: '', | 58 | bdcdyh: '', |
... | @@ -84,63 +65,56 @@ export default { | ... | @@ -84,63 +65,56 @@ export default { |
84 | columns: datas.columns(), | 65 | columns: datas.columns(), |
85 | data: [], | 66 | data: [], |
86 | }, | 67 | }, |
87 | bdcdysz: [], | 68 | bdcdysz: [] |
88 | saveloding: false, | ||
89 | }; | 69 | }; |
90 | }, | 70 | }, |
91 | watch: { | ||
92 | bsmSqyw (val) { | ||
93 | this.fetchData(); | ||
94 | }, | ||
95 | }, | ||
96 | mounted () { | 71 | mounted () { |
97 | sendThis(this); | 72 | sendThis(this) |
98 | }, | 73 | }, |
99 | computed: { | 74 | computed: { |
100 | ...mapGetters(['dictData']), | 75 | ...mapGetters(['dictData', 'bsmSqyw', 'djqxObj', 'djywbm']), |
101 | }, | 76 | }, |
102 | methods: { | 77 | methods: { |
103 | closeDialog () { | 78 | closeDialog () { |
104 | this.$emit("closeDialog"); | 79 | this.$emit("closeDialog"); |
105 | }, | 80 | }, |
106 | fetchData () { | 81 | queryClick () { |
107 | if (this.bsmSqyw) { | ||
108 | this.queryForm.sqywbm = this.djywbm; | 82 | this.queryForm.sqywbm = this.djywbm; |
109 | console.log(this.queryForm, this.bsmSqyw); | 83 | selectFwsyq({ ...this.queryForm, ...this.pageData, fwfl: this.activeName }).then((res) => { |
110 | selectScBdcdy({ ...this.queryForm, ...this.pageData }).then((res) => { | ||
111 | if (res.code === 200) { | 84 | if (res.code === 200) { |
112 | let { total, records } = res.result; | 85 | let { total, records } = res.result; |
113 | this.tableData.total = total; | 86 | this.tableData.total = total; |
114 | this.tableData.data = records; | 87 | this.tableData.data = records; |
115 | } | 88 | } |
116 | }); | 89 | }) |
117 | } | 90 | }, |
91 | handleTabClick () { | ||
92 | this.pageData.currentPage = 1 | ||
93 | this.queryClick() | ||
118 | }, | 94 | }, |
119 | submitForm () { | 95 | submitForm () { |
120 | if (this.bdcdysz.length == 0) { | 96 | if (this.bdcdysz.length == 0) { |
121 | this.$message.error("请至少选择一条数据"); | 97 | this.$message.error("请至少选择一条数据"); |
122 | return; | 98 | return; |
123 | } | 99 | } |
124 | this.saveloding = true; | ||
125 | startBusinessFlow({ | 100 | startBusinessFlow({ |
126 | bsmSqyw: this.bsmSqyw, | 101 | bsmSqyw: this.bsmSqyw, |
127 | bdcdysz: this.bdcdysz, | 102 | bdcdysz: this.bdcdysz, |
128 | djqxbm: this.djqxObj.djqxbm, | 103 | djqxbm: this.djqxObj.djqxbm, |
129 | djqxmc: this.djqxObj.djqxmc, | 104 | djqxmc: this.djqxObj.djqxmc, |
130 | }).then((res) => { | 105 | }).then((res) => { |
131 | this.saveloding = false; | ||
132 | if (res.code == 200) { | 106 | if (res.code == 200) { |
133 | this.jump(res.result) | 107 | this.jump(res.result, this.djywbm) |
134 | } else { | 108 | } else { |
135 | this.$message.error(res.message); | 109 | this.$message.error(res.message); |
136 | } | 110 | } |
137 | }); | 111 | }) |
138 | }, | 112 | }, |
139 | handleSelectionChange (val) { | 113 | handleSelectionChange (val) { |
140 | this.bdcdysz = val; | 114 | this.bdcdysz = val |
141 | } | 115 | } |
142 | }, | 116 | } |
143 | }; | 117 | } |
144 | </script> | 118 | </script> |
145 | <style scoped lang="scss"> | 119 | <style scoped lang="scss"> |
146 | @import "~@/styles/mixin.scss"; | 120 | @import "~@/styles/mixin.scss"; | ... | ... |
... | @@ -39,17 +39,13 @@ | ... | @@ -39,17 +39,13 @@ |
39 | </template> | 39 | </template> |
40 | <script> | 40 | <script> |
41 | //首次登记 | 41 | //首次登记 |
42 | import { mapGetters } from 'vuex' | ||
42 | import { datas, sendThis } from "../javascript/jsydsyq100.js"; | 43 | import { datas, sendThis } from "../javascript/jsydsyq100.js"; |
43 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 44 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
44 | import table from "@/utils/mixin/table"; | 45 | import table from "@/utils/mixin/table"; |
45 | import jump from "../components/mixin/jump"; | 46 | import jump from "../components/mixin/jump"; |
46 | import { selectScBdcdy, startBusinessFlow } from "@/api/ywbl.js"; | 47 | import { selectScBdcdy, startBusinessFlow } from "@/api/ywbl.js"; |
47 | export default { | 48 | export default { |
48 | props: { | ||
49 | bsmSqyw: { type: String, default: "" }, | ||
50 | djqxObj: { type: Object, default: "" }, | ||
51 | djywbm: { type: String, default: "" } | ||
52 | }, | ||
53 | mixins: [table, jump], | 49 | mixins: [table, jump], |
54 | data () { | 50 | data () { |
55 | return { | 51 | return { |
... | @@ -73,6 +69,9 @@ export default { | ... | @@ -73,6 +69,9 @@ export default { |
73 | mounted () { | 69 | mounted () { |
74 | sendThis(this); | 70 | sendThis(this); |
75 | }, | 71 | }, |
72 | computed: { | ||
73 | ...mapGetters(['bsmSqyw', 'djqxObj', 'djywbm']), | ||
74 | }, | ||
76 | methods: { | 75 | methods: { |
77 | closeDialog () { | 76 | closeDialog () { |
78 | this.$emit("closeDialog"); | 77 | this.$emit("closeDialog"); | ... | ... |
... | @@ -55,17 +55,13 @@ | ... | @@ -55,17 +55,13 @@ |
55 | </template> | 55 | </template> |
56 | <script> | 56 | <script> |
57 | //首次登记 | 57 | //首次登记 |
58 | import { mapGetters } from 'vuex' | ||
58 | import { datas, sendThis } from "../javascript/jsydsyq200.js"; | 59 | import { datas, sendThis } from "../javascript/jsydsyq200.js"; |
59 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 60 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
60 | import table from "@/utils/mixin/table"; | 61 | import table from "@/utils/mixin/table"; |
61 | import jump from "../components/mixin/jump"; | 62 | import jump from "../components/mixin/jump"; |
62 | import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; | 63 | import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; |
63 | export default { | 64 | export default { |
64 | props: { | ||
65 | bsmSqyw: { type: String, default: "" }, | ||
66 | djqxObj: { type: Object, default: "" }, | ||
67 | djywbm: { type: String, default: "" } | ||
68 | }, | ||
69 | mixins: [table, jump], | 65 | mixins: [table, jump], |
70 | data () { | 66 | data () { |
71 | return { | 67 | return { |
... | @@ -88,6 +84,9 @@ export default { | ... | @@ -88,6 +84,9 @@ export default { |
88 | mounted () { | 84 | mounted () { |
89 | sendThis(this); | 85 | sendThis(this); |
90 | }, | 86 | }, |
87 | computed: { | ||
88 | ...mapGetters(['bsmSqyw', 'djqxObj', 'djywbm']), | ||
89 | }, | ||
91 | methods: { | 90 | methods: { |
92 | closeDialog () { | 91 | closeDialog () { |
93 | this.$emit("closeDialog"); | 92 | this.$emit("closeDialog"); | ... | ... |
1 | export default { | 1 | export default { |
2 | methods: { | 2 | methods: { |
3 | jump (data) { | 3 | jump (data, type) { |
4 | this.$emit("closeDialog"); | 4 | this.$emit("closeDialog"); |
5 | const { href } = this.$router.resolve( | 5 | const { href } = this.$router.resolve( |
6 | "/workFrame?bsmSlsq=" + | 6 | "/workFrame?bsmSlsq=" + |
7 | data.bsmSlsq + | 7 | data.bsmSlsq + |
8 | "&bestepid=" + | 8 | "&bestepid=" + |
9 | data.bestepid + '&bsmBusiness=' | 9 | data.bestepid + '&bsmBusiness=' + '&sqywbm=' + type |
10 | ); | 10 | ); |
11 | window.open(href, "_blank"); | 11 | window.open(href, "_blank"); |
12 | }, | 12 | }, | ... | ... |
... | @@ -51,11 +51,11 @@ class data extends filter { | ... | @@ -51,11 +51,11 @@ class data extends filter { |
51 | label: "宗地面积", | 51 | label: "宗地面积", |
52 | }, | 52 | }, |
53 | { | 53 | { |
54 | prop: "qlsdfsmc", | 54 | prop: "qlsdfs", |
55 | label: "权利设定方式", | 55 | label: "权利设定方式", |
56 | }, | 56 | }, |
57 | { | 57 | { |
58 | prop: "showFwyt", | 58 | prop: "jzwjbyt", |
59 | label: "房屋用途", | 59 | label: "房屋用途", |
60 | }, | 60 | }, |
61 | { | 61 | { | ... | ... |
1 | <template> | 1 | <template> |
2 | <dialogBox title="查询权利信息" width="85%" :isButton="false" @closeDialog="closeDialog" v-model="myValue"> | 2 | <dialogBox title="查询权利信息" width="85%" :isButton="false" @closeDialog="closeDialog" v-model="myValue"> |
3 | <component :is="editItem" @closeDialog="closeDialog" :bsmSqyw="bsmSqyw" :djqxObj='djqxObj' :djywbm="djywbm" /> | 3 | <component :is="editItem" @closeDialog="closeDialog" :key="key" /> |
4 | </dialogBox> | 4 | </dialogBox> |
5 | </template> | 5 | </template> |
6 | <script> | 6 | <script> |
7 | import { queueDjywmc } from './slectBdcdata.js'; | 7 | import { mapGetters } from 'vuex' |
8 | import { queueDjywmc } from './slectBdcdata.js' | ||
8 | export default { | 9 | export default { |
9 | props: { | 10 | props: { |
10 | value: { type: Boolean, default: true }, | 11 | value: { type: Boolean, default: true } |
11 | bsmSqyw: { type: String, default: '' }, | ||
12 | djywbm: { type: String, default: '' }, | ||
13 | djqxObj: { type: Object, default: '' } | ||
14 | }, | 12 | }, |
15 | data () { | 13 | data () { |
16 | return { | 14 | return { |
15 | key: 0, | ||
17 | editItem: '', | 16 | editItem: '', |
18 | myValue: this.value, | 17 | myValue: this.value |
19 | }; | 18 | } |
19 | }, | ||
20 | computed: { | ||
21 | ...mapGetters(['djywbm']) | ||
20 | }, | 22 | }, |
21 | watch: { | 23 | watch: { |
22 | value (val) { | 24 | value (val) { |
23 | this.myValue = val | 25 | this.myValue = val |
26 | this.key++ | ||
24 | }, | 27 | }, |
25 | djywbm (val) { | 28 | djywbm (val) { |
26 | console.log(val); | 29 | let dd = queueDjywmc(val) |
27 | let dd = queueDjywmc(val); | 30 | this.editItem = this.loadView(dd) |
28 | this.editItem = this.loadView(dd); | 31 | } |
29 | }, | ||
30 | }, | 32 | }, |
31 | methods: { | 33 | methods: { |
32 | loadView (view) { | 34 | loadView (view) { |
33 | console.log(view); | ||
34 | return r => require.ensure([], () => r(require(`./components/${view}.vue`))) | 35 | return r => require.ensure([], () => r(require(`./components/${view}.vue`))) |
35 | }, | 36 | }, |
36 | closeDialog () { | 37 | closeDialog () { |
37 | this.$emit("input", false); | 38 | this.$emit("input", false) |
38 | } | 39 | } |
39 | } | 40 | } |
40 | }; | 41 | } |
41 | </script> | 42 | </script> |
42 | <style scoped lang="scss"> | 43 | <style scoped lang="scss"> |
43 | @import "~@/styles/mixin.scss"; | 44 | @import "~@/styles/mixin.scss"; | ... | ... |
... | @@ -11,8 +11,8 @@ export function queueDjywmc (djywbm) { | ... | @@ -11,8 +11,8 @@ export function queueDjywmc (djywbm) { |
11 | case "A03400": | 11 | case "A03400": |
12 | vm = "jsydsyq200"; | 12 | vm = "jsydsyq200"; |
13 | break; | 13 | break; |
14 | case "A04100": | 14 | case "A04100"://国有建设用地使用权/房屋所有权(首次登记) |
15 | vm = "houseOwnership"; | 15 | vm = "fwsyq"; |
16 | break; | 16 | break; |
17 | case "A05200": | 17 | case "A05200": |
18 | case "A05300": | 18 | case "A05300": | ... | ... |
... | @@ -65,7 +65,7 @@ | ... | @@ -65,7 +65,7 @@ |
65 | <el-button type="primary" :disabled="btnDisabled" @click="bthSelectClick">选择不动产</el-button> | 65 | <el-button type="primary" :disabled="btnDisabled" @click="bthSelectClick">选择不动产</el-button> |
66 | </div> | 66 | </div> |
67 | </div> | 67 | </div> |
68 | <fqsqDialog v-model="isDialog" :bsmSqyw="bsmSqyw" :djywbm="djywbm" :djqxObj='djqxObj' /> | 68 | <fqsqDialog v-model="isDialog" /> |
69 | </div> | 69 | </div> |
70 | </template> | 70 | </template> |
71 | <script> | 71 | <script> |
... | @@ -83,14 +83,8 @@ export default { | ... | @@ -83,14 +83,8 @@ export default { |
83 | djlxList: [], | 83 | djlxList: [], |
84 | ywList: [], | 84 | ywList: [], |
85 | djqxList: [], | 85 | djqxList: [], |
86 | bsmSqyw: '', | ||
87 | isDialog: false, | 86 | isDialog: false, |
88 | btnDisabled: true, | 87 | btnDisabled: true, |
89 | djywbm: '', | ||
90 | djqxObj: { | ||
91 | djqxbm: "", | ||
92 | djqxmc: "", | ||
93 | } | ||
94 | } | 88 | } |
95 | }, | 89 | }, |
96 | components: { | 90 | components: { |
... | @@ -122,17 +116,17 @@ export default { | ... | @@ -122,17 +116,17 @@ export default { |
122 | // 业务-登记情形选择 | 116 | // 业务-登记情形选择 |
123 | handleSelectYw (item, list) { | 117 | handleSelectYw (item, list) { |
124 | list.forEach(item => { | 118 | list.forEach(item => { |
125 | item.cselect = false | 119 | this.$set(item, 'cselect', false) |
126 | }) | 120 | }) |
127 | item.cselect = !item.cselect | 121 | item.cselect = true |
128 | this.djqxObj = { | 122 | this.$store.dispatch('ywbl/setDjqxObj', { |
129 | 'djqxbm': item.nodecode, | 123 | 'djqxbm': item.nodecode, |
130 | 'djqxmc': item.nodename, | 124 | 'djqxmc': item.nodename, |
131 | } | 125 | }) |
132 | if (item.sffqlc == '1') { | 126 | if (item.sffqlc == '1') { |
133 | this.btnDisabled = false | 127 | this.btnDisabled = false |
134 | this.bsmSqyw = item.parentid | 128 | this.$store.dispatch('ywbl/setBsmSqyw', item.parentid) |
135 | this.djywbm = item.djywbm | 129 | this.$store.dispatch('ywbl/setDjywbm', item.djywbm) |
136 | } | 130 | } |
137 | }, | 131 | }, |
138 | handleList (list, obj) { | 132 | handleList (list, obj) { |
... | @@ -147,18 +141,18 @@ export default { | ... | @@ -147,18 +141,18 @@ export default { |
147 | this.djlxList = [] | 141 | this.djlxList = [] |
148 | }, | 142 | }, |
149 | // 获取下个节点类型 | 143 | // 获取下个节点类型 |
150 | getNextNode (bsmSqyw) { | 144 | getNextNode (bsmSqyw, type) { |
151 | getNextNode(bsmSqyw).then(res => { | 145 | getNextNode(bsmSqyw).then(res => { |
152 | if (res.result.djqx) this.djqxList = res.result.djqx | 146 | if (res.result.djqx) this.djqxList = res.result.djqx |
153 | if (res.result.djlx) this.djlxList = res.result.djlx | 147 | if (res.result.djlx) this.djlxList = res.result.djlx |
148 | if (type) { | ||
154 | this.djqxList.forEach(item => { | 149 | this.djqxList.forEach(item => { |
155 | this.$set(item, 'cselect', false) | 150 | this.$set(item, 'cselect', false) |
156 | this.$set(item, 'select', false) | ||
157 | }) | 151 | }) |
158 | this.djlxList.forEach(item => { | 152 | this.djlxList.forEach(item => { |
159 | this.$set(item, 'cselect', false) | 153 | this.$set(item, 'cselect', false) |
160 | this.$set(item, 'select', false) | ||
161 | }) | 154 | }) |
155 | } | ||
162 | }) | 156 | }) |
163 | }, | 157 | }, |
164 | handleCollection (item) { | 158 | handleCollection (item) { |
... | @@ -171,6 +165,7 @@ export default { | ... | @@ -171,6 +165,7 @@ export default { |
171 | message: '收藏成功!', | 165 | message: '收藏成功!', |
172 | type: 'success' | 166 | type: 'success' |
173 | }) | 167 | }) |
168 | that.getDataList() | ||
174 | } | 169 | } |
175 | }) | 170 | }) |
176 | } else { | 171 | } else { |
... | @@ -181,6 +176,7 @@ export default { | ... | @@ -181,6 +176,7 @@ export default { |
181 | message: '取消收藏成功!', | 176 | message: '取消收藏成功!', |
182 | type: 'success' | 177 | type: 'success' |
183 | }) | 178 | }) |
179 | that.getDataList() | ||
184 | } | 180 | } |
185 | }) | 181 | }) |
186 | } | 182 | } |
... | @@ -200,10 +196,10 @@ export default { | ... | @@ -200,10 +196,10 @@ export default { |
200 | this.$set(item, 'cselect', true) | 196 | this.$set(item, 'cselect', true) |
201 | if (item.sffqlc == '1') { | 197 | if (item.sffqlc == '1') { |
202 | this.btnDisabled = false | 198 | this.btnDisabled = false |
203 | this.bsmSqyw = item.bsmSqyw | 199 | this.$store.dispatch('ywbl/setBsmSqyw', item.bsmSqyw) |
204 | this.djywbm = item.djywbm | 200 | this.$store.dispatch('ywbl/setDjywbm', item.djywbm) |
205 | } else { | 201 | } else { |
206 | this.getNextNode(item.bsmSqyw) | 202 | this.getNextNode(item.bsmSqyw, false) |
207 | } | 203 | } |
208 | this.djqxList = [] | 204 | this.djqxList = [] |
209 | }, | 205 | }, | ... | ... |
-
Please register or sign in to post a comment