style:业务申请
Showing
18 changed files
with
245 additions
and
260 deletions
... | @@ -92,7 +92,7 @@ export default { | ... | @@ -92,7 +92,7 @@ export default { |
92 | let that = this; | 92 | let that = this; |
93 | switch (item.value) { | 93 | switch (item.value) { |
94 | case "B0": | 94 | case "B0": |
95 | this.isDialog = true; | 95 | this.openDialog() |
96 | break; | 96 | break; |
97 | case "B1": | 97 | case "B1": |
98 | getWorkFlowImage(this.bsmSlsq, this.$route.query.bestepid).then(res => { | 98 | getWorkFlowImage(this.bsmSlsq, this.$route.query.bestepid).then(res => { |
... | @@ -161,9 +161,9 @@ export default { | ... | @@ -161,9 +161,9 @@ export default { |
161 | }) | 161 | }) |
162 | break; | 162 | break; |
163 | case "B7": | 163 | case "B7": |
164 | this.$popup("证书领取", "workflow/components/zslq", { | 164 | this.$popupDialog("证书领取", "workflow/components/zslq", |
165 | formData: { bsmSlsq: this.$route.query.bsmSlsq } | 165 | { bsmSlsq: this.$route.query.bsmSlsq }, '60%', true |
166 | }) | 166 | ) |
167 | break; | 167 | break; |
168 | case "back": //退回按钮 | 168 | case "back": //退回按钮 |
169 | this.$popupDialog("退回", "workflow/components/th", { | 169 | this.$popupDialog("退回", "workflow/components/th", { |
... | @@ -352,6 +352,6 @@ export default { | ... | @@ -352,6 +352,6 @@ export default { |
352 | // 上传 | 352 | // 上传 |
353 | beforeUpload (file) { | 353 | beforeUpload (file) { |
354 | return true; | 354 | return true; |
355 | }, | 355 | } |
356 | } | 356 | } |
357 | } | 357 | } | ... | ... |
... | @@ -76,7 +76,6 @@ | ... | @@ -76,7 +76,6 @@ |
76 | :on-change="handleChange" :before-upload="beforeUpload"> | 76 | :on-change="handleChange" :before-upload="beforeUpload"> |
77 | <el-button id="cldr" icon="el-icon-upload" type="primary" v-show="false">上传</el-button> | 77 | <el-button id="cldr" icon="el-icon-upload" type="primary" v-show="false">上传</el-button> |
78 | </el-upload> | 78 | </el-upload> |
79 | <selectBdc v-model="isDialog" :djywbm="$route.query.sqywbm" :isJump="true" @updateDialog="updateDialog" /> | ||
80 | </div> | 79 | </div> |
81 | </template> | 80 | </template> |
82 | <style scoped lang="scss"> | 81 | <style scoped lang="scss"> |
... | @@ -84,6 +83,7 @@ | ... | @@ -84,6 +83,7 @@ |
84 | @import "./workFrame.scss"; | 83 | @import "./workFrame.scss"; |
85 | </style> | 84 | </style> |
86 | <script> | 85 | <script> |
86 | import { mapGetters } from 'vuex' | ||
87 | import WorkFlow from "./mixin/index"; | 87 | import WorkFlow from "./mixin/index"; |
88 | import publicFlow from "./mixin/public.js"; | 88 | import publicFlow from "./mixin/public.js"; |
89 | import { getStepFormInfo } from "@/api/fqsq.js"; | 89 | import { getStepFormInfo } from "@/api/fqsq.js"; |
... | @@ -134,12 +134,21 @@ export default { | ... | @@ -134,12 +134,21 @@ export default { |
134 | batchButtonName: "", | 134 | batchButtonName: "", |
135 | }; | 135 | }; |
136 | }, | 136 | }, |
137 | computed: { | ||
138 | ...mapGetters(['isRefresh']) | ||
139 | }, | ||
140 | watch: { | ||
141 | isRefresh: { | ||
142 | handler (newVal, oldVal) { | ||
143 | if (newVal) this.updateDialog() | ||
144 | } | ||
145 | } | ||
146 | }, | ||
137 | mounted () { | 147 | mounted () { |
138 | //添加页面监听事件 | 148 | //添加页面监听事件 |
139 | window.addEventListener("beforeunload", (e) => this.beforeunloadHandler(e)); | 149 | window.addEventListener("beforeunload", (e) => this.beforeunloadHandler(e)); |
140 | window.addEventListener("unload", (e) => this.unloadHandler(e)); | 150 | window.addEventListener("unload", (e) => this.unloadHandler(e)); |
141 | }, | 151 | }, |
142 | |||
143 | destroyed () { | 152 | destroyed () { |
144 | window.removeEventListener("beforeunload", (e) => | 153 | window.removeEventListener("beforeunload", (e) => |
145 | this.beforeunloadHandler(e) | 154 | this.beforeunloadHandler(e) |
... | @@ -232,6 +241,11 @@ export default { | ... | @@ -232,6 +241,11 @@ export default { |
232 | this.activeIndex = "-1"; | 241 | this.activeIndex = "-1"; |
233 | this.stepForm(); | 242 | this.stepForm(); |
234 | }, | 243 | }, |
235 | }, | 244 | openDialog () { |
236 | }; | 245 | let title = "申请业务:" + this.$route.query.sqywbm ? this.$route.query.sqywbm : '' |
246 | this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'djywbm': this.$route.query.sqywbm, 'isJump': true }, "80%", true) | ||
247 | } | ||
248 | } | ||
249 | } | ||
237 | </script> | 250 | </script> |
251 | ... | ... |
... | @@ -40,13 +40,14 @@ | ... | @@ -40,13 +40,14 @@ |
40 | </lb-table> | 40 | </lb-table> |
41 | </div> | 41 | </div> |
42 | <div class="submit_button"> | 42 | <div class="submit_button"> |
43 | <el-button @click="closeDialog">取消</el-button> | 43 | <el-button @click="$popupCacel">取消</el-button> |
44 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 44 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> |
45 | </div> | 45 | </div> |
46 | </div> | 46 | </div> |
47 | </template> | 47 | </template> |
48 | <script> | 48 | <script> |
49 | //查封登记 | 49 | //查封登记 |
50 | import store from '@/store/index.js' | ||
50 | import { datas, sendThis } from "../javascript/cfdj.js"; | 51 | import { datas, sendThis } from "../javascript/cfdj.js"; |
51 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 52 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
52 | import table from "@/utils/mixin/table"; | 53 | import table from "@/utils/mixin/table"; |
... | @@ -122,7 +123,7 @@ export default { | ... | @@ -122,7 +123,7 @@ export default { |
122 | message: '发起申请成功', | 123 | message: '发起申请成功', |
123 | type: 'success' | 124 | type: 'success' |
124 | }) | 125 | }) |
125 | this.$emit('updateDialog', true) | 126 | store.dispatch('user/refreshPage', true); |
126 | } else { | 127 | } else { |
127 | this.$message.error(res.message); | 128 | this.$message.error(res.message); |
128 | } | 129 | } | ... | ... |
... | @@ -49,12 +49,13 @@ | ... | @@ -49,12 +49,13 @@ |
49 | </lb-table> | 49 | </lb-table> |
50 | </div> | 50 | </div> |
51 | <div class="submit_button"> | 51 | <div class="submit_button"> |
52 | <el-button @click="closeDialog">取消</el-button> | 52 | <el-button @click="$popupCacel">取消</el-button> |
53 | <el-button type="primary" plain @click="submitFormClick()">发起申请</el-button> | 53 | <el-button type="primary" plain @click="submitFormClick()">发起申请</el-button> |
54 | </div> | 54 | </div> |
55 | </div> | 55 | </div> |
56 | </template> | 56 | </template> |
57 | <script> | 57 | <script> |
58 | import store from '@/store/index.js' | ||
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"; |
... | @@ -112,7 +113,7 @@ export default { | ... | @@ -112,7 +113,7 @@ export default { |
112 | if (!this.isJump) { | 113 | if (!this.isJump) { |
113 | this.jump(res.result, this.sqywInfo.djywbm); | 114 | this.jump(res.result, this.sqywInfo.djywbm); |
114 | } else { | 115 | } else { |
115 | this.$emit("updateDialog", true); | 116 | store.dispatch('user/refreshPage', true); |
116 | } | 117 | } |
117 | } else { | 118 | } else { |
118 | this.$message.error(res.message); | 119 | this.$message.error(res.message); | ... | ... |
... | @@ -114,166 +114,166 @@ | ... | @@ -114,166 +114,166 @@ |
114 | </lb-table> | 114 | </lb-table> |
115 | </div> | 115 | </div> |
116 | <div class="submit_button"> | 116 | <div class="submit_button"> |
117 | <el-button @click="closeDialog">取消</el-button> | 117 | <el-button @click="$popupCacel">取消</el-button> |
118 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 118 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> |
119 | </div> | 119 | </div> |
120 | </div> | 120 | </div> |
121 | </div> | 121 | </div> |
122 | </template> | 122 | </template> |
123 | <script> | 123 | <script> |
124 | //国有建设用地使用权/房屋使用权 | 124 | import store from '@/store/index.js' |
125 | import { datas, sendThis } from "../javascript/fwsyq.js"; | 125 | //国有建设用地使用权/房屋使用权 |
126 | // import { datasduo, sendThisduo } from "../javascript/fwsyqduo.js"; | 126 | import { datas, sendThis } from "../javascript/fwsyq.js"; |
127 | import table from "@/utils/mixin/table"; | 127 | // import { datasduo, sendThisduo } from "../javascript/fwsyqduo.js"; |
128 | import jump from "@/views/ywbl/ywsq/components/mixin/jump"; | 128 | import table from "@/utils/mixin/table"; |
129 | import { selectScBdcdy, startBusinessFlow, choiceBdcdy, selectOtherH, selectZrz, selectDz } from "@/api/ywbl.js"; | 129 | import jump from "@/views/ywbl/ywsq/components/mixin/jump"; |
130 | export default { | 130 | import { selectScBdcdy, startBusinessFlow, choiceBdcdy, selectOtherH, selectZrz, selectDz } from "@/api/ywbl.js"; |
131 | mixins: [table, jump], | 131 | export default { |
132 | props: { | 132 | mixins: [table, jump], |
133 | isJump: { type: Boolean, default: false }, | 133 | props: { |
134 | sqywInfo: { type: Object, default: () => { } }, | 134 | isJump: { type: Boolean, default: false }, |
135 | }, | 135 | sqywInfo: { type: Object, default: () => { } }, |
136 | data () { | 136 | }, |
137 | return { | 137 | data () { |
138 | activeName: 'zrz', | 138 | return { |
139 | queryzrzForm: { | 139 | activeName: 'zrz', |
140 | qllx: '', | 140 | queryzrzForm: { |
141 | bdcdyh: '', | 141 | qllx: '', |
142 | ywh: '', | 142 | bdcdyh: '', |
143 | bdcqzh: '' | 143 | ywh: '', |
144 | }, | 144 | bdcqzh: '' |
145 | querydzForm: { | ||
146 | qllx: '', | ||
147 | bdcdyh: '', | ||
148 | ywh: '', | ||
149 | bdcqzh: '' | ||
150 | }, | ||
151 | zrztableData: { | ||
152 | total: 0, | ||
153 | columns: datas.zrzcolumns(), | ||
154 | data: [], | ||
155 | }, | ||
156 | dztableData: { | ||
157 | total: 0, | ||
158 | columns: datas.dzcolumns(), | ||
159 | data: [], | ||
160 | }, | ||
161 | bdcdysz: [], | ||
162 | bsmSqyw: | ||
163 | this.sqywInfo.nodetype === "djlx" | ||
164 | ? this.sqywInfo.bsmSqyw | ||
165 | : this.sqywInfo.parentid, | ||
166 | }; | ||
167 | }, | ||
168 | mounted () { | ||
169 | sendThis(this) | ||
170 | |||
171 | }, | ||
172 | methods: { | ||
173 | queryClick () { | ||
174 | if (!this.isJump) { | ||
175 | //从业务办理进入 | ||
176 | if (this.activeName == "zrz") { | ||
177 | this.queryzrzForm.sqywbm = this.sqywInfo.djywbm; | ||
178 | this.queryzrzForm.fwfl = this.activeName; | ||
179 | selectZrz({ ...this.queryzrzForm, ...this.pageData }).then((res) => { | ||
180 | if (res.code === 200) { | ||
181 | this.zrztableData.total = res.result.total; | ||
182 | this.zrztableData.data = res.result.records; | ||
183 | } | ||
184 | }); | ||
185 | } else { | ||
186 | this.querydzForm.sqywbm = this.sqywInfo.djywbm; | ||
187 | this.querydzForm.fwfl = this.activeName; | ||
188 | selectDz({ ...this.querydzForm, ...this.pageData }).then((res) => { | ||
189 | if (res.code === 200) { | ||
190 | this.dztableData.total = res.result.total; | ||
191 | this.dztableData.data = res.result.records; | ||
192 | } | ||
193 | }) | ||
194 | } | ||
195 | |||
196 | } else { | ||
197 | //从办理框架选择不动产单元进入 | ||
198 | //房屋首次办理选择不动产需找出对应自然幢下未选择的户 | ||
199 | this.queryzrzForm.bsmSlsq = this.$route.query.bsmSlsq; | ||
200 | selectOtherH({ ...this.queryzrzForm, ...this.pageData }).then((res) => { | ||
201 | if (res.code === 200) { | ||
202 | let { total, records } = res.result; | ||
203 | this.zrztableData.total = total; | ||
204 | this.zrztableData.data = records; | ||
205 | } | ||
206 | }) | ||
207 | } | ||
208 | }, | 145 | }, |
209 | handleTabClick () { | 146 | querydzForm: { |
210 | this.bdcdysz = [], | 147 | qllx: '', |
211 | this.pageData.currentPage = 1; | 148 | bdcdyh: '', |
212 | this.queryClick(); | 149 | ywh: '', |
150 | bdcqzh: '' | ||
213 | }, | 151 | }, |
214 | submitForm () { | 152 | zrztableData: { |
215 | if (this.bdcdysz.length == 0) { | 153 | total: 0, |
216 | this.$message.error("请至少选择一条数据"); | 154 | columns: datas.zrzcolumns(), |
217 | return; | 155 | data: [], |
218 | } | 156 | }, |
219 | if (!this.isJump) { | 157 | dztableData: { |
220 | startBusinessFlow({ | 158 | total: 0, |
221 | bsmSqyw: this.bsmSqyw, | 159 | columns: datas.dzcolumns(), |
222 | fwlx: this.activeName, | 160 | data: [], |
223 | bdcdysz: this.bdcdysz, | 161 | }, |
224 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 162 | bdcdysz: [], |
225 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 163 | bsmSqyw: |
226 | }).then((res) => { | 164 | this.sqywInfo.nodetype === "djlx" |
227 | if (res.code == 200) { | 165 | ? this.sqywInfo.bsmSqyw |
228 | this.$message({ | 166 | : this.sqywInfo.parentid, |
229 | showClose: true, | 167 | }; |
230 | message: '发起申请成功', | 168 | }, |
231 | type: 'success' | 169 | mounted () { |
232 | }) | 170 | sendThis(this) |
233 | this.jump(res.result, this.djywbm) | 171 | }, |
234 | } else { | 172 | methods: { |
235 | this.$message.error(res.message); | 173 | queryClick () { |
174 | if (!this.isJump) { | ||
175 | //从业务办理进入 | ||
176 | if (this.activeName == "zrz") { | ||
177 | this.queryzrzForm.sqywbm = this.sqywInfo.djywbm; | ||
178 | this.queryzrzForm.fwfl = this.activeName; | ||
179 | selectZrz({ ...this.queryzrzForm, ...this.pageData }).then((res) => { | ||
180 | if (res.code === 200) { | ||
181 | this.zrztableData.total = res.result.total; | ||
182 | this.zrztableData.data = res.result.records; | ||
236 | } | 183 | } |
237 | }) | 184 | }); |
238 | } else { | 185 | } else { |
239 | choiceBdcdy({ | 186 | this.querydzForm.sqywbm = this.sqywInfo.djywbm; |
240 | bsmSlsq: this.$route.query.bsmSlsq, | 187 | this.querydzForm.fwfl = this.activeName; |
241 | bdcdysz: this.bdcdysz | 188 | selectDz({ ...this.querydzForm, ...this.pageData }).then((res) => { |
242 | }).then(res => { | 189 | if (res.code === 200) { |
243 | if (res.code == 200) { | 190 | this.dztableData.total = res.result.total; |
244 | this.$message({ | 191 | this.dztableData.data = res.result.records; |
245 | showClose: true, | ||
246 | message: '发起申请成功', | ||
247 | type: 'success' | ||
248 | }) | ||
249 | this.$emit('updateDialog', true) | ||
250 | } else { | ||
251 | this.$message.error(res.message); | ||
252 | } | 192 | } |
253 | }) | 193 | }) |
254 | } | 194 | } |
255 | }, | 195 | |
256 | handleSelectionChange (val) { | 196 | } else { |
257 | val.forEach((item, index) => { | 197 | //从办理框架选择不动产单元进入 |
258 | item.bsmSsql = item.zdbsm | 198 | //房屋首次办理选择不动产需找出对应自然幢下未选择的户 |
199 | this.queryzrzForm.bsmSlsq = this.$route.query.bsmSlsq; | ||
200 | selectOtherH({ ...this.queryzrzForm, ...this.pageData }).then((res) => { | ||
201 | if (res.code === 200) { | ||
202 | let { total, records } = res.result; | ||
203 | this.zrztableData.total = total; | ||
204 | this.zrztableData.data = records; | ||
205 | } | ||
259 | }) | 206 | }) |
260 | this.bdcdysz = val | 207 | } |
261 | }, | 208 | }, |
262 | handleLpbClick (item) { | 209 | handleTabClick () { |
263 | this.$popup('楼盘表', 'lpb/index', { | 210 | this.bdcdysz = [], |
264 | width: '85%', | 211 | this.pageData.currentPage = 1; |
265 | formData: { | 212 | this.queryClick(); |
266 | bsm: item.bsm, | 213 | }, |
267 | bsmSqyw: this.bsmSqyw, | 214 | submitForm () { |
268 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 215 | if (this.bdcdysz.length == 0) { |
269 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 216 | this.$message.error("请至少选择一条数据"); |
217 | return; | ||
218 | } | ||
219 | if (!this.isJump) { | ||
220 | startBusinessFlow({ | ||
221 | bsmSqyw: this.bsmSqyw, | ||
222 | fwlx: this.activeName, | ||
223 | bdcdysz: this.bdcdysz, | ||
224 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | ||
225 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | ||
226 | }).then((res) => { | ||
227 | if (res.code == 200) { | ||
228 | this.$message({ | ||
229 | showClose: true, | ||
230 | message: '发起申请成功', | ||
231 | type: 'success' | ||
232 | }) | ||
233 | this.jump(res.result, this.djywbm) | ||
234 | } else { | ||
235 | this.$message.error(res.message); | ||
236 | } | ||
237 | }) | ||
238 | } else { | ||
239 | choiceBdcdy({ | ||
240 | bsmSlsq: this.$route.query.bsmSlsq, | ||
241 | bdcdysz: this.bdcdysz | ||
242 | }).then(res => { | ||
243 | if (res.code == 200) { | ||
244 | this.$message({ | ||
245 | showClose: true, | ||
246 | message: '发起申请成功', | ||
247 | type: 'success' | ||
248 | }) | ||
249 | store.dispatch('user/refreshPage', true); | ||
250 | } else { | ||
251 | this.$message.error(res.message); | ||
270 | } | 252 | } |
271 | }) | 253 | }) |
272 | } | 254 | } |
255 | }, | ||
256 | handleSelectionChange (val) { | ||
257 | val.forEach((item, index) => { | ||
258 | item.bsmSsql = item.zdbsm | ||
259 | }) | ||
260 | this.bdcdysz = val | ||
261 | }, | ||
262 | handleLpbClick (item) { | ||
263 | this.$popup('楼盘表', 'lpb/index', { | ||
264 | width: '85%', | ||
265 | formData: { | ||
266 | bsm: item.bsm, | ||
267 | bsmSqyw: this.bsmSqyw, | ||
268 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | ||
269 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | ||
270 | } | ||
271 | }) | ||
273 | } | 272 | } |
274 | } | 273 | } |
274 | } | ||
275 | </script> | 275 | </script> |
276 | <style scoped lang="scss"> | 276 | <style scoped lang="scss"> |
277 | @import "~@/styles/mixin.scss"; | 277 | @import "~@/styles/mixin.scss"; |
278 | @import "~@/styles/public.scss"; | 278 | @import "~@/styles/public.scss"; |
279 | </style> | 279 | </style> | ... | ... |
1 | /* | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-04-13 15:06:25 | ||
5 | */ | ||
1 | export default { | 6 | export default { |
2 | methods: { | 7 | methods: { |
3 | closeDialog () { | ||
4 | this.$emit("closeDialog") | ||
5 | }, | ||
6 | //点击行选中或取消复选框 | 8 | //点击行选中或取消复选框 |
7 | handleRowClick (row, column, event) { | 9 | handleRowClick (row, column, event) { |
8 | row.djblzt != 1 && (this.$refs.table.toggleRowSelection(row)) | 10 | row.djblzt != 1 && (this.$refs.table.toggleRowSelection(row)) |
9 | }, | 11 | }, |
10 | jump (data, type) { | 12 | jump (data, type) { |
11 | this.$emit("closeDialog"); | 13 | this.$popupCacel() |
12 | const { href } = this.$router.resolve( | 14 | const { href } = this.$router.resolve( |
13 | "/workFrame?bsmSlsq=" + | 15 | "/workFrame?bsmSlsq=" + |
14 | data.bsmSlsq + | 16 | data.bsmSlsq + | ... | ... |
... | @@ -34,13 +34,14 @@ | ... | @@ -34,13 +34,14 @@ |
34 | </lb-table> | 34 | </lb-table> |
35 | </div> | 35 | </div> |
36 | <div class="submit_button"> | 36 | <div class="submit_button"> |
37 | <el-button @click="closeDialog">取消</el-button> | 37 | <el-button @click="$popupCacel">取消</el-button> |
38 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 38 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> |
39 | </div> | 39 | </div> |
40 | </div> | 40 | </div> |
41 | </template> | 41 | </template> |
42 | <script> | 42 | <script> |
43 | //首次登记 | 43 | //首次登记 |
44 | import store from '@/store/index.js' | ||
44 | import { datas, sendThis } from "../javascript/nydsyq100.js"; | 45 | import { datas, sendThis } from "../javascript/nydsyq100.js"; |
45 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 46 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
46 | import table from "@/utils/mixin/table"; | 47 | import table from "@/utils/mixin/table"; |
... | @@ -101,7 +102,7 @@ export default { | ... | @@ -101,7 +102,7 @@ export default { |
101 | if (!this.isJump) { | 102 | if (!this.isJump) { |
102 | this.jump(res.result, this.djywbm) | 103 | this.jump(res.result, this.djywbm) |
103 | } else { | 104 | } else { |
104 | this.$emit('updateDialog', true) | 105 | store.dispatch('user/refreshPage', true); |
105 | } | 106 | } |
106 | } else { | 107 | } else { |
107 | this.$message.error(res.message); | 108 | this.$message.error(res.message); | ... | ... |
... | @@ -34,13 +34,14 @@ | ... | @@ -34,13 +34,14 @@ |
34 | </lb-table> | 34 | </lb-table> |
35 | </div> | 35 | </div> |
36 | <div class="submit_button"> | 36 | <div class="submit_button"> |
37 | <el-button @click="closeDialog">取消</el-button> | 37 | <el-button @click="$popupCacel">取消</el-button> |
38 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 38 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> |
39 | </div> | 39 | </div> |
40 | </div> | 40 | </div> |
41 | </template> | 41 | </template> |
42 | <script> | 42 | <script> |
43 | //首次登记 | 43 | //首次登记 |
44 | import store from '@/store/index.js' | ||
44 | import { datas, sendThis } from "../javascript/selectJsydsyq.js"; | 45 | import { datas, sendThis } from "../javascript/selectJsydsyq.js"; |
45 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 46 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
46 | import table from "@/utils/mixin/table"; | 47 | import table from "@/utils/mixin/table"; |
... | @@ -98,7 +99,7 @@ export default { | ... | @@ -98,7 +99,7 @@ export default { |
98 | if (!this.isJump) { | 99 | if (!this.isJump) { |
99 | this.jump(res.result, this.djywbm) | 100 | this.jump(res.result, this.djywbm) |
100 | } else { | 101 | } else { |
101 | this.$emit('updateDialog', true) | 102 | store.dispatch('user/refreshPage', true); |
102 | } | 103 | } |
103 | } else { | 104 | } else { |
104 | this.$message.error(res.message); | 105 | this.$message.error(res.message); | ... | ... |
... | @@ -49,12 +49,13 @@ | ... | @@ -49,12 +49,13 @@ |
49 | </lb-table> | 49 | </lb-table> |
50 | </div> | 50 | </div> |
51 | <div class="submit_button"> | 51 | <div class="submit_button"> |
52 | <el-button @click="closeDialog">取消</el-button> | 52 | <el-button @click="$popupCacel">取消</el-button> |
53 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 53 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> |
54 | </div> | 54 | </div> |
55 | </div> | 55 | </div> |
56 | </template> | 56 | </template> |
57 | <script> | 57 | <script> |
58 | import store from '@/store/index.js' | ||
58 | import { datas, sendThis } from "../javascript/selecBdcql.js"; | 59 | import { datas, sendThis } from "../javascript/selecBdcql.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"; |
... | @@ -128,7 +129,7 @@ export default { | ... | @@ -128,7 +129,7 @@ export default { |
128 | if (!this.isJump) { | 129 | if (!this.isJump) { |
129 | this.jump(res.result, this.sqywInfo.djywbm); | 130 | this.jump(res.result, this.sqywInfo.djywbm); |
130 | } else { | 131 | } else { |
131 | this.$emit("updateDialog", true); | 132 | store.dispatch('user/refreshPage', true); |
132 | } | 133 | } |
133 | } else { | 134 | } else { |
134 | this.$alert(res.message); | 135 | this.$alert(res.message); | ... | ... |
... | @@ -41,12 +41,13 @@ | ... | @@ -41,12 +41,13 @@ |
41 | </lb-table> | 41 | </lb-table> |
42 | </div> | 42 | </div> |
43 | <div class="submit_button"> | 43 | <div class="submit_button"> |
44 | <el-button @click="closeDialog">取消</el-button> | 44 | <el-button @click="$popupCacel">取消</el-button> |
45 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 45 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> |
46 | </div> | 46 | </div> |
47 | </div> | 47 | </div> |
48 | </template> | 48 | </template> |
49 | <script> | 49 | <script> |
50 | import store from '@/store/index.js' | ||
50 | import { datas, sendThis } from "../javascript/selectAllHInfo.js"; | 51 | import { datas, sendThis } from "../javascript/selectAllHInfo.js"; |
51 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 52 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
52 | import table from "@/utils/mixin/table"; | 53 | import table from "@/utils/mixin/table"; |
... | @@ -103,7 +104,7 @@ export default { | ... | @@ -103,7 +104,7 @@ export default { |
103 | if (!this.isJump) { | 104 | if (!this.isJump) { |
104 | this.jump(res.result, this.sqywInfo.djywbm) | 105 | this.jump(res.result, this.sqywInfo.djywbm) |
105 | } else { | 106 | } else { |
106 | this.$emit('updateDialog', true) | 107 | store.dispatch('user/refreshPage', true); |
107 | } | 108 | } |
108 | } else { | 109 | } else { |
109 | this.$message.error(res.message); | 110 | this.$message.error(res.message); | ... | ... |
... | @@ -41,12 +41,13 @@ | ... | @@ -41,12 +41,13 @@ |
41 | </lb-table> | 41 | </lb-table> |
42 | </div> | 42 | </div> |
43 | <div class="submit_button"> | 43 | <div class="submit_button"> |
44 | <el-button @click="closeDialog">取消</el-button> | 44 | <el-button @click="$popupCacel">取消</el-button> |
45 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 45 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> |
46 | </div> | 46 | </div> |
47 | </div> | 47 | </div> |
48 | </template> | 48 | </template> |
49 | <script> | 49 | <script> |
50 | import store from '@/store/index.js' | ||
50 | import { datas, sendThis } from "../javascript/selectFwsyq.js"; | 51 | import { datas, sendThis } from "../javascript/selectFwsyq.js"; |
51 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 52 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
52 | import table from "@/utils/mixin/table"; | 53 | import table from "@/utils/mixin/table"; |
... | @@ -103,7 +104,7 @@ export default { | ... | @@ -103,7 +104,7 @@ export default { |
103 | if (!this.isJump) { | 104 | if (!this.isJump) { |
104 | this.jump(res.result, this.sqywInfo.djywbm); | 105 | this.jump(res.result, this.sqywInfo.djywbm); |
105 | } else { | 106 | } else { |
106 | this.$emit("updateDialog", true); | 107 | store.dispatch('user/refreshPage', true); |
107 | } | 108 | } |
108 | } else { | 109 | } else { |
109 | this.$message.error(res.message); | 110 | this.$message.error(res.message); | ... | ... |
... | @@ -6,24 +6,13 @@ | ... | @@ -6,24 +6,13 @@ |
6 | <el-row> | 6 | <el-row> |
7 | <el-col :span="10"> | 7 | <el-col :span="10"> |
8 | <el-form-item label="不动产单元号"> | 8 | <el-form-item label="不动产单元号"> |
9 | <el-input | 9 | <el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable maxlength="28" class="width300px"> |
10 | placeholder="请输入不动产单元号" | ||
11 | v-model="queryForm.bdcdyh" | ||
12 | clearable | ||
13 | maxlength="28" | ||
14 | class="width300px" | ||
15 | > | ||
16 | </el-input> | 10 | </el-input> |
17 | </el-form-item> | 11 | </el-form-item> |
18 | </el-col> | 12 | </el-col> |
19 | <el-col :span="10"> | 13 | <el-col :span="10"> |
20 | <el-form-item label="不动产权证号"> | 14 | <el-form-item label="不动产权证号"> |
21 | <el-input | 15 | <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width300px"> |
22 | placeholder="请输入不动产权证号" | ||
23 | v-model="queryForm.bdcqzh" | ||
24 | clearable | ||
25 | class="width300px" | ||
26 | > | ||
27 | </el-input> | 16 | </el-input> |
28 | </el-form-item> | 17 | </el-form-item> |
29 | </el-col> | 18 | </el-col> |
... | @@ -31,23 +20,13 @@ | ... | @@ -31,23 +20,13 @@ |
31 | <el-row> | 20 | <el-row> |
32 | <el-col :span="10"> | 21 | <el-col :span="10"> |
33 | <el-form-item label="权利人"> | 22 | <el-form-item label="权利人"> |
34 | <el-input | 23 | <el-input placeholder="请输入权利人" v-model="queryForm.qlr" clearable class="width300px"> |
35 | placeholder="请输入权利人" | ||
36 | v-model="queryForm.qlr" | ||
37 | clearable | ||
38 | class="width300px" | ||
39 | > | ||
40 | </el-input> | 24 | </el-input> |
41 | </el-form-item> | 25 | </el-form-item> |
42 | </el-col> | 26 | </el-col> |
43 | <el-col :span="10"> | 27 | <el-col :span="10"> |
44 | <el-form-item label="坐落"> | 28 | <el-form-item label="坐落"> |
45 | <el-input | 29 | <el-input placeholder="请输入坐落" v-model="queryForm.zl" clearable class="width300px"> |
46 | placeholder="请输入坐落" | ||
47 | v-model="queryForm.zl" | ||
48 | clearable | ||
49 | class="width300px" | ||
50 | > | ||
51 | </el-input> | 30 | </el-input> |
52 | </el-form-item> | 31 | </el-form-item> |
53 | </el-col> | 32 | </el-col> |
... | @@ -62,29 +41,21 @@ | ... | @@ -62,29 +41,21 @@ |
62 | </div> | 41 | </div> |
63 | <!-- 表格 --> | 42 | <!-- 表格 --> |
64 | <div class="from-clues-content"> | 43 | <div class="from-clues-content"> |
65 | <lb-table | 44 | <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :heightNum="400" |
66 | ref="table" | 45 | :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" |
67 | @row-click="handleRowClick" | 46 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" |
68 | :page-size="pageData.pageSize" | 47 | :data="tableData.data"> |
69 | :heightNum="400" | ||
70 | :current-page.sync="pageData.currentPage" | ||
71 | :total="tableData.total" | ||
72 | @size-change="handleSizeChange" | ||
73 | @p-current-change="handleCurrentChange" | ||
74 | @selection-change="handleSelectionChange" | ||
75 | :column="tableData.columns" | ||
76 | :data="tableData.data" | ||
77 | > | ||
78 | </lb-table> | 48 | </lb-table> |
79 | </div> | 49 | </div> |
80 | <div class="submit_button"> | 50 | <div class="submit_button"> |
81 | <el-button @click="closeDialog">取消</el-button> | 51 | <el-button @click="$popupCacel">取消</el-button> |
82 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 52 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> |
83 | </div> | 53 | </div> |
84 | </div> | 54 | </div> |
85 | </template> | 55 | </template> |
86 | <script> | 56 | <script> |
87 | //首次登记 | 57 | //首次登记 |
58 | import store from '@/store/index.js' | ||
88 | import { datas, sendThis } from "../javascript/selectJsydsyq.js"; | 59 | import { datas, sendThis } from "../javascript/selectJsydsyq.js"; |
89 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 60 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
90 | import table from "@/utils/mixin/table"; | 61 | import table from "@/utils/mixin/table"; |
... | @@ -94,9 +65,9 @@ export default { | ... | @@ -94,9 +65,9 @@ export default { |
94 | mixins: [table, jump], | 65 | mixins: [table, jump], |
95 | props: { | 66 | props: { |
96 | isJump: { type: Boolean, default: false }, | 67 | isJump: { type: Boolean, default: false }, |
97 | sqywInfo: { type: Object, default: () => {} }, | 68 | sqywInfo: { type: Object, default: () => { } }, |
98 | }, | 69 | }, |
99 | data() { | 70 | data () { |
100 | return { | 71 | return { |
101 | queryForm: defaultParameters.defaultParameters(), | 72 | queryForm: defaultParameters.defaultParameters(), |
102 | tableData: { | 73 | tableData: { |
... | @@ -107,11 +78,11 @@ export default { | ... | @@ -107,11 +78,11 @@ export default { |
107 | bdcdysz: [], | 78 | bdcdysz: [], |
108 | }; | 79 | }; |
109 | }, | 80 | }, |
110 | mounted() { | 81 | mounted () { |
111 | sendThis(this); | 82 | sendThis(this); |
112 | }, | 83 | }, |
113 | methods: { | 84 | methods: { |
114 | queryClick() { | 85 | queryClick () { |
115 | this.$startLoading(); | 86 | this.$startLoading(); |
116 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 87 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
117 | selectJsydQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { | 88 | selectJsydQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { |
... | @@ -123,7 +94,7 @@ export default { | ... | @@ -123,7 +94,7 @@ export default { |
123 | } | 94 | } |
124 | }); | 95 | }); |
125 | }, | 96 | }, |
126 | submitForm() { | 97 | submitForm () { |
127 | if (this.bdcdysz.length == 0) { | 98 | if (this.bdcdysz.length == 0) { |
128 | this.$message.error("请至少选择一条数据"); | 99 | this.$message.error("请至少选择一条数据"); |
129 | return; | 100 | return; |
... | @@ -143,21 +114,21 @@ export default { | ... | @@ -143,21 +114,21 @@ export default { |
143 | if (!this.isJump) { | 114 | if (!this.isJump) { |
144 | this.jump(res.result, this.sqywInfo.djywbm); | 115 | this.jump(res.result, this.sqywInfo.djywbm); |
145 | } else { | 116 | } else { |
146 | this.$emit("updateDialog", true); | 117 | store.dispatch('user/refreshPage', true); |
147 | } | 118 | } |
148 | } else { | 119 | } else { |
149 | this.$message.error(res.message); | 120 | this.$message.error(res.message); |
150 | } | 121 | } |
151 | }); | 122 | }); |
152 | }, | 123 | }, |
153 | handleSelectionChange(val) { | 124 | handleSelectionChange (val) { |
154 | val.forEach((item, index) => { | 125 | val.forEach((item, index) => { |
155 | item.bsmSsql = item.bsmQlxx; | 126 | item.bsmSsql = item.bsmQlxx; |
156 | item.ybdcqzsh = item.bdcqzh; | 127 | item.ybdcqzsh = item.bdcqzh; |
157 | }); | 128 | }); |
158 | this.bdcdysz = val; | 129 | this.bdcdysz = val; |
159 | }, | 130 | }, |
160 | openBook(row) { | 131 | openBook (row) { |
161 | var param = { | 132 | var param = { |
162 | bdcdyid: row.bdcdyid, | 133 | bdcdyid: row.bdcdyid, |
163 | qllx: row.qllx, | 134 | qllx: row.qllx, | ... | ... |
... | @@ -34,13 +34,14 @@ | ... | @@ -34,13 +34,14 @@ |
34 | </lb-table> | 34 | </lb-table> |
35 | </div> | 35 | </div> |
36 | <div class="submit_button"> | 36 | <div class="submit_button"> |
37 | <el-button @click="closeDialog">取消</el-button> | 37 | <el-button @click="$popupCacel">取消</el-button> |
38 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 38 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> |
39 | </div> | 39 | </div> |
40 | </div> | 40 | </div> |
41 | </template> | 41 | </template> |
42 | <script> | 42 | <script> |
43 | //首次登记 | 43 | //首次登记 |
44 | import store from '@/store/index.js' | ||
44 | import { datas, sendThis } from "../javascript/selectQjzdjbxx.js"; | 45 | import { datas, sendThis } from "../javascript/selectQjzdjbxx.js"; |
45 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 46 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
46 | import table from "@/utils/mixin/table"; | 47 | import table from "@/utils/mixin/table"; |
... | @@ -103,7 +104,7 @@ export default { | ... | @@ -103,7 +104,7 @@ export default { |
103 | if (!this.isJump) { | 104 | if (!this.isJump) { |
104 | this.jump(res.result, this.djywbm); | 105 | this.jump(res.result, this.djywbm); |
105 | } else { | 106 | } else { |
106 | this.$emit("updateDialog", true); | 107 | store.dispatch('user/refreshPage', true); |
107 | } | 108 | } |
108 | } else { | 109 | } else { |
109 | this.$alert(res.message); | 110 | this.$alert(res.message); | ... | ... |
... | @@ -41,12 +41,13 @@ | ... | @@ -41,12 +41,13 @@ |
41 | </lb-table> | 41 | </lb-table> |
42 | </div> | 42 | </div> |
43 | <div class="submit_button"> | 43 | <div class="submit_button"> |
44 | <el-button @click="closeDialog">取消</el-button> | 44 | <el-button @click="$popupCacel">取消</el-button> |
45 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 45 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> |
46 | </div> | 46 | </div> |
47 | </div> | 47 | </div> |
48 | </template> | 48 | </template> |
49 | <script> | 49 | <script> |
50 | import store from '@/store/index.js' | ||
50 | import { datas, sendThis } from "../javascript/selectYgdj100.js"; | 51 | import { datas, sendThis } from "../javascript/selectYgdj100.js"; |
51 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 52 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
52 | import table from "@/utils/mixin/table"; | 53 | import table from "@/utils/mixin/table"; |
... | @@ -103,7 +104,7 @@ export default { | ... | @@ -103,7 +104,7 @@ export default { |
103 | if (!this.isJump) { | 104 | if (!this.isJump) { |
104 | this.jump(res.result, this.sqywInfo.djywbm) | 105 | this.jump(res.result, this.sqywInfo.djywbm) |
105 | } else { | 106 | } else { |
106 | this.$emit('updateDialog', true) | 107 | store.dispatch('user/refreshPage', true); |
107 | } | 108 | } |
108 | } else { | 109 | } else { |
109 | this.$message.error(res.message); | 110 | this.$message.error(res.message); | ... | ... |
... | @@ -41,12 +41,13 @@ | ... | @@ -41,12 +41,13 @@ |
41 | </lb-table> | 41 | </lb-table> |
42 | </div> | 42 | </div> |
43 | <div class="submit_button"> | 43 | <div class="submit_button"> |
44 | <el-button @click="closeDialog">取消</el-button> | 44 | <el-button @click="$popupCacel">取消</el-button> |
45 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 45 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> |
46 | </div> | 46 | </div> |
47 | </div> | 47 | </div> |
48 | </template> | 48 | </template> |
49 | <script> | 49 | <script> |
50 | import store from '@/store/index.js' | ||
50 | import { datas, sendThis } from "../javascript/selectYgdj200.js"; | 51 | import { datas, sendThis } from "../javascript/selectYgdj200.js"; |
51 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 52 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
52 | import table from "@/utils/mixin/table"; | 53 | import table from "@/utils/mixin/table"; |
... | @@ -103,7 +104,7 @@ export default { | ... | @@ -103,7 +104,7 @@ export default { |
103 | if (!this.isJump) { | 104 | if (!this.isJump) { |
104 | this.jump(res.result, this.sqywInfo.djywbm) | 105 | this.jump(res.result, this.sqywInfo.djywbm) |
105 | } else { | 106 | } else { |
106 | this.$emit('updateDialog', true) | 107 | store.dispatch('user/refreshPage', true); |
107 | } | 108 | } |
108 | } else { | 109 | } else { |
109 | this.$message.error(res.message); | 110 | this.$message.error(res.message); | ... | ... |
... | @@ -41,12 +41,13 @@ | ... | @@ -41,12 +41,13 @@ |
41 | </lb-table> | 41 | </lb-table> |
42 | </div> | 42 | </div> |
43 | <div class="submit_button"> | 43 | <div class="submit_button"> |
44 | <el-button @click="closeDialog">取消</el-button> | 44 | <el-button @click="$popupCacel">取消</el-button> |
45 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 45 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> |
46 | </div> | 46 | </div> |
47 | </div> | 47 | </div> |
48 | </template> | 48 | </template> |
49 | <script> | 49 | <script> |
50 | import store from '@/store/index.js' | ||
50 | import { datas, sendThis } from "../javascript/selectYgdy.js"; | 51 | import { datas, sendThis } from "../javascript/selectYgdy.js"; |
51 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 52 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
52 | import table from "@/utils/mixin/table"; | 53 | import table from "@/utils/mixin/table"; |
... | @@ -103,7 +104,7 @@ export default { | ... | @@ -103,7 +104,7 @@ export default { |
103 | if (!this.isJump) { | 104 | if (!this.isJump) { |
104 | this.jump(res.result, this.sqywInfo.djywbm) | 105 | this.jump(res.result, this.sqywInfo.djywbm) |
105 | } else { | 106 | } else { |
106 | this.$emit('updateDialog', true) | 107 | store.dispatch('user/refreshPage', true); |
107 | } | 108 | } |
108 | } else { | 109 | } else { |
109 | this.$message.error(res.message); | 110 | this.$message.error(res.message); | ... | ... |
... | @@ -66,11 +66,10 @@ | ... | @@ -66,11 +66,10 @@ |
66 | <el-button type="primary" :disabled="btnDisabled" @click="dialogClick">选择不动产</el-button> | 66 | <el-button type="primary" :disabled="btnDisabled" @click="dialogClick">选择不动产</el-button> |
67 | </div> | 67 | </div> |
68 | </div> | 68 | </div> |
69 | <selectDialog v-model="isDialog" :sqywInfo="selectParam" /> | 69 | <!-- <selectDialog v-model="isDialog" :sqywInfo="selectParam" /> --> |
70 | </div> | 70 | </div> |
71 | </template> | 71 | </template> |
72 | <script> | 72 | <script> |
73 | import selectDialog from "./selectBdc.vue" | ||
74 | import { getCollectBiz, getleftMenu, getNextNode, addCollectBiz, deleteCollectBiz } from "@/api/ywbl" | 73 | import { getCollectBiz, getleftMenu, getNextNode, addCollectBiz, deleteCollectBiz } from "@/api/ywbl" |
75 | export default { | 74 | export default { |
76 | data () { | 75 | data () { |
... | @@ -95,15 +94,10 @@ export default { | ... | @@ -95,15 +94,10 @@ export default { |
95 | djqxList: [], | 94 | djqxList: [], |
96 | //选中业务的参数 | 95 | //选中业务的参数 |
97 | selectParam: {}, | 96 | selectParam: {}, |
98 | //弹框框架显示或隐藏 | ||
99 | isDialog: false, | ||
100 | //选择按钮显示或隐藏 | 97 | //选择按钮显示或隐藏 |
101 | btnDisabled: true, | 98 | btnDisabled: true, |
102 | } | 99 | } |
103 | }, | 100 | }, |
104 | components: { | ||
105 | selectDialog | ||
106 | }, | ||
107 | created () { | 101 | created () { |
108 | this.getDataList(); | 102 | this.getDataList(); |
109 | }, | 103 | }, |
... | @@ -149,7 +143,6 @@ export default { | ... | @@ -149,7 +143,6 @@ export default { |
149 | data[index].selected = true; | 143 | data[index].selected = true; |
150 | if (data[index].sffqlc == "1") { | 144 | if (data[index].sffqlc == "1") { |
151 | this.selectParam = data[index]; | 145 | this.selectParam = data[index]; |
152 | console.log(this.selectParam, 'this.selectParamthis.selectParamthis.selectParamthis.selectParam'); | ||
153 | this.btnDisabled = false; | 146 | this.btnDisabled = false; |
154 | } else { | 147 | } else { |
155 | this.btnDisabled = true; | 148 | this.btnDisabled = true; |
... | @@ -180,7 +173,7 @@ export default { | ... | @@ -180,7 +173,7 @@ export default { |
180 | }, | 173 | }, |
181 | //打开弹框内容 | 174 | //打开弹框内容 |
182 | dialogClick () { | 175 | dialogClick () { |
183 | this.isDialog = true; | 176 | this.openDialog(); |
184 | }, | 177 | }, |
185 | //收藏操作 | 178 | //收藏操作 |
186 | handleCollection (item) { | 179 | handleCollection (item) { |
... | @@ -246,17 +239,21 @@ export default { | ... | @@ -246,17 +239,21 @@ export default { |
246 | this.djywbm = item.djywbm | 239 | this.djywbm = item.djywbm |
247 | this.bsmSqyw = item.bsmSqyw | 240 | this.bsmSqyw = item.bsmSqyw |
248 | item.cselect = true | 241 | item.cselect = true |
249 | this.isDialog = true | 242 | this.openDialog() |
250 | this.btnDisabled = true | 243 | this.btnDisabled = true |
251 | } | 244 | } |
252 | }, | 245 | }, |
253 | handleSelectItem (item, list) { | 246 | handleSelectItem (item, list) { |
254 | this.handleSelectYw(item, list) | 247 | this.handleSelectYw(item, list) |
255 | this.isDialog = true | 248 | this.openDialog() |
256 | }, | 249 | }, |
257 | // 选择不动产信息 | 250 | // 选择不动产信息 |
258 | bthSelectClick () { | 251 | bthSelectClick () { |
259 | this.isDialog = true | 252 | this.openDialog() |
253 | }, | ||
254 | openDialog () { | ||
255 | let title = "申请业务:" + this.selectParam?.djywmc ? this.selectParam?.djywmc : ''; | ||
256 | this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'sqywInfo': this.selectParam }, "80%") | ||
260 | }, | 257 | }, |
261 | loadView (view) { | 258 | loadView (view) { |
262 | return r => require.ensure([], () => r(require(`./components/${view}/${view}.vue`))) | 259 | return r => require.ensure([], () => r(require(`./components/${view}/${view}.vue`))) | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-03-02 14:04:16 | 4 | * @LastEditTime: 2023-04-13 15:21:35 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <dialogBox :title="title" width="85%" @closeDialog="closeDialog" v-model="value" isMain :isButton="false"> | 7 | <component :is="router" :sqywInfo="formData.sqywInfo" @updateDialog="updateDialog" /> |
8 | <component :is="router" :sqywInfo="sqywInfo" @closeDialog="closeDialog" @updateDialog="updateDialog" /> | ||
9 | </dialogBox> | ||
10 | </template> | 8 | </template> |
11 | <script> | 9 | <script> |
12 | import { queueDjywmc } from "./slectBdcdata.js"; | 10 | import { queueDjywmc } from "./slectBdcdata.js"; |
13 | export default { | 11 | export default { |
14 | props: { | 12 | props: { |
15 | value: { type: Boolean, default: true }, | 13 | formData: { |
16 | sqywInfo: { type: Object, default: () => { } }, | 14 | type: Object, |
17 | djywbm: { type: String, default: '' } | 15 | default: () => { } |
16 | } | ||
18 | }, | 17 | }, |
19 | data () { | 18 | data () { |
20 | return { | 19 | return { |
21 | title: "", | 20 | title: "", |
22 | router: "", | 21 | router: "" |
23 | }; | 22 | } |
24 | }, | 23 | }, |
25 | watch: { | 24 | mounted () { |
26 | value (val) { | 25 | let view = queueDjywmc(this.formData?.sqywInfo?.djywbm || this.formData?.djywbm); |
27 | if (val) { | 26 | this.router = this.loadView(view); |
28 | this.title = "申请业务:" + this.sqywInfo?.djywmc ? this.sqywInfo?.djywmc : ''; | ||
29 | let view = queueDjywmc(this.sqywInfo?.djywbm || this.djywbm); | ||
30 | this.router = this.loadView(view); | ||
31 | } | ||
32 | }, | ||
33 | }, | 27 | }, |
34 | methods: { | 28 | methods: { |
35 | loadView (view) { | 29 | loadView (view) { |
36 | console.log(view, 'viewviewview'); | ||
37 | return (r) => | 30 | return (r) => |
38 | require.ensure([], () => r(require(`./components/${view}.vue`))); | 31 | require.ensure([], () => r(require(`./components/${view}.vue`))); |
39 | }, | 32 | }, |
40 | closeDialog () { | ||
41 | this.$emit("input", false); | ||
42 | }, | ||
43 | updateDialog () { | 33 | updateDialog () { |
44 | this.$emit("input", false); | 34 | this.$popupCacel() |
45 | this.$emit("updateDialog", true); | 35 | this.$emit("updateDialog", true); |
46 | }, | 36 | } |
47 | }, | 37 | } |
48 | }; | 38 | } |
49 | </script> | 39 | </script> |
50 | <style scoped lang="scss"> | 40 | <style scoped lang="scss"> |
51 | @import "~@/styles/mixin.scss"; | 41 | @import "~@/styles/mixin.scss"; | ... | ... |
-
Please register or sign in to post a comment