Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web
Showing
8 changed files
with
72 additions
and
34 deletions
... | @@ -32,6 +32,16 @@ export function getDjlxInfo (id) { | ... | @@ -32,6 +32,16 @@ export function getDjlxInfo (id) { |
32 | } | 32 | } |
33 | 33 | ||
34 | /* | 34 | /* |
35 | 获取登记类型信息-申请业务规则 | ||
36 | */ | ||
37 | export function getQllxByBsmSqyw (id) { | ||
38 | return request({ | ||
39 | url: SERVER.SERVERAPI + '/rest/system/sysSqdjyw/getQllxByBsmSqyw?bsmSqyw=' + id, | ||
40 | method: 'post' | ||
41 | }) | ||
42 | } | ||
43 | |||
44 | /* | ||
35 | 读取申请登记业务信息-申请业务规则 | 45 | 读取申请登记业务信息-申请业务规则 |
36 | */ | 46 | */ |
37 | export function getSqdjywDetail (bsmSqyw) { | 47 | export function getSqdjywDetail (bsmSqyw) { | ... | ... |
... | @@ -379,7 +379,11 @@ export default { | ... | @@ -379,7 +379,11 @@ export default { |
379 | getDjlxInfo(this.sqqlRule.bsmSqyw).then((res) => { | 379 | getDjlxInfo(this.sqqlRule.bsmSqyw).then((res) => { |
380 | let { result } = res; | 380 | let { result } = res; |
381 | this.djlxList = result ? result : []; | 381 | this.djlxList = result ? result : []; |
382 | this.getDetail(this.djlxList[0].bsmSqyw); | 382 | if(this.djlxList.length>0){ |
383 | this.getDetail(this.djlxList[0].bsmSqyw); | ||
384 | }else{ | ||
385 | this.getDetail(this.sqqlRule.bsmSqyw); | ||
386 | } | ||
383 | }); | 387 | }); |
384 | //} | 388 | //} |
385 | }, | 389 | }, | ... | ... |
... | @@ -15,9 +15,9 @@ | ... | @@ -15,9 +15,9 @@ |
15 | > | 15 | > |
16 | <el-option | 16 | <el-option |
17 | v-for="item in qllxs" | 17 | v-for="item in qllxs" |
18 | :key="item.value" | 18 | :key="item.sxzdz" |
19 | :label="item.label" | 19 | :label="item.sxzdmc" |
20 | :value="item.value" | 20 | :value="item.sxzdz" |
21 | > | 21 | > |
22 | </el-option> | 22 | </el-option> |
23 | </el-select> | 23 | </el-select> |
... | @@ -93,15 +93,13 @@ import { defaultParameters } from "../javascript/publicDefaultPar.js"; | ... | @@ -93,15 +93,13 @@ import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
93 | import table from "@/utils/mixin/table"; | 93 | import table from "@/utils/mixin/table"; |
94 | import jump from "./mixin/jump"; | 94 | import jump from "./mixin/jump"; |
95 | import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; | 95 | import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; |
96 | import { getQllxByBsmSqyw } from "@/api/system.js"; | ||
96 | export default { | 97 | export default { |
97 | mixins: [table, jump], | 98 | mixins: [table, jump], |
98 | props: { | 99 | props: { |
99 | isJump: { type: Boolean, default: false }, | 100 | isJump: { type: Boolean, default: false }, |
100 | djywbm: { type: String, default: "" }, | 101 | djywbm: { type: String, default: "" }, |
101 | djqxObj: { | 102 | djqxObj: { type: Object, default: {} }, |
102 | type: Object, | ||
103 | default: {}, | ||
104 | }, | ||
105 | bsmSqyw: { type: String, default: "" }, | 103 | bsmSqyw: { type: String, default: "" }, |
106 | }, | 104 | }, |
107 | data() { | 105 | data() { |
... | @@ -114,11 +112,24 @@ export default { | ... | @@ -114,11 +112,24 @@ export default { |
114 | data: [], | 112 | data: [], |
115 | }, | 113 | }, |
116 | bdcdysz: [], | 114 | bdcdysz: [], |
115 | bsmSqyw: "", | ||
117 | }; | 116 | }; |
118 | }, | 117 | }, |
119 | mounted() { | 118 | mounted() { |
120 | sendThis(this); | 119 | sendThis(this); |
121 | }, | 120 | }, |
121 | created() { | ||
122 | if (this.djqxObj.nodetype === "djlx") { | ||
123 | this.bsmSqyw = this.djqxObj.bsmSqyw; | ||
124 | } else { | ||
125 | this.bsmSqyw = this.djqxObj.parentid; | ||
126 | } | ||
127 | getQllxByBsmSqyw(this.bsmSqyw).then((res) => { | ||
128 | if (res.code === 200) { | ||
129 | this.qllxs = res.result ? res.result : []; | ||
130 | } | ||
131 | }); | ||
132 | }, | ||
122 | methods: { | 133 | methods: { |
123 | //点击行选中或取消复选框 | 134 | //点击行选中或取消复选框 |
124 | handleRowClick(row, column, event) { | 135 | handleRowClick(row, column, event) { |
... | @@ -129,7 +140,12 @@ export default { | ... | @@ -129,7 +140,12 @@ export default { |
129 | this.$emit("closeDialog"); | 140 | this.$emit("closeDialog"); |
130 | }, | 141 | }, |
131 | fetchData() { | 142 | fetchData() { |
132 | this.queryForm.bsmSqyw = this.djqxObj.parentid; | 143 | //this.queryForm.bsmSqyw = this.bsmSqyw; |
144 | if (this.djqxObj.nodetype === "djlx") { | ||
145 | this.queryForm.bsmSqyw = this.djqxObj.bsmSqyw; | ||
146 | } else { | ||
147 | this.queryForm.bsmSqyw = this.djqxObj.parentid; | ||
148 | } | ||
133 | selectQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { | 149 | selectQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { |
134 | if (res.code === 200) { | 150 | if (res.code === 200) { |
135 | let { total, records } = res.result; | 151 | let { total, records } = res.result; |
... | @@ -152,13 +168,13 @@ export default { | ... | @@ -152,13 +168,13 @@ export default { |
152 | if (res.code == 200) { | 168 | if (res.code == 200) { |
153 | this.$message({ | 169 | this.$message({ |
154 | showClose: true, | 170 | showClose: true, |
155 | message: '发起申请成功', | 171 | message: "发起申请成功", |
156 | type: 'success' | 172 | type: "success", |
157 | }) | 173 | }); |
158 | if (!this.isJump) { | 174 | if (!this.isJump) { |
159 | this.jump(res.result, this.djywbm) | 175 | this.jump(res.result, this.djywbm); |
160 | } else { | 176 | } else { |
161 | this.$emit('updateDialog', true) | 177 | this.$emit("updateDialog", true); |
162 | } | 178 | } |
163 | } else { | 179 | } else { |
164 | this.$message.error(res.message); | 180 | this.$message.error(res.message); | ... | ... |
... | @@ -57,7 +57,7 @@ | ... | @@ -57,7 +57,7 @@ |
57 | import { datas, sendThis } from "../javascript/jsydsyq200.js"; | 57 | import { datas, sendThis } from "../javascript/jsydsyq200.js"; |
58 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 58 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
59 | import table from "@/utils/mixin/table"; | 59 | import table from "@/utils/mixin/table"; |
60 | import jump from "../components/mixin/jump"; | 60 | import jump from "./mixin/jump"; |
61 | import { startBusinessFlow, selectJsydQlxx } from "@/api/ywbl.js"; | 61 | import { startBusinessFlow, selectJsydQlxx } from "@/api/ywbl.js"; |
62 | export default { | 62 | export default { |
63 | mixins: [table, jump], | 63 | mixins: [table, jump], | ... | ... |
... | @@ -43,17 +43,14 @@ | ... | @@ -43,17 +43,14 @@ |
43 | import { datas, sendThis } from "../javascript/jsydsyq100.js"; | 43 | import { datas, sendThis } from "../javascript/jsydsyq100.js"; |
44 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 44 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
45 | import table from "@/utils/mixin/table"; | 45 | import table from "@/utils/mixin/table"; |
46 | import jump from "../components/mixin/jump"; | 46 | import jump from "./mixin/jump"; |
47 | import { startBusinessFlow, selectZdjbxx } from "@/api/ywbl.js"; | 47 | import { startBusinessFlow, selectZdjbxx } from "@/api/ywbl.js"; |
48 | export default { | 48 | export default { |
49 | mixins: [table, jump], | 49 | mixins: [table, jump], |
50 | props: { | 50 | props: { |
51 | isJump: { type: Boolean, default: false }, | 51 | isJump: { type: Boolean, default: false }, |
52 | djywbm: { type: String, default: '' }, | 52 | djywbm: { type: String, default: '' }, |
53 | djqxObj: { | 53 | djqxObj: {type: Object, default: {}}, |
54 | type: Object, | ||
55 | default: {} | ||
56 | }, | ||
57 | bsmSqyw: { type: String, default: '' }, | 54 | bsmSqyw: { type: String, default: '' }, |
58 | }, | 55 | }, |
59 | data () { | 56 | data () { | ... | ... |
1 | <template> | 1 | <template> |
2 | <dialogBox title="查询权利信息" width="85%" :isButton="false" :isMain="true" @closeDialog="closeDialog" v-model="myValue"> | 2 | <dialogBox :title="title" width="85%" :isButton="false" :isMain="true" @closeDialog="closeDialog" v-model="myValue"> |
3 | <component :is="editItem" @closeDialog="closeDialog" v-bind="$attrs" :isJump="isJump" id="slectBdc" | 3 | <component :is="editItem" @closeDialog="closeDialog" v-bind="$attrs" :isJump="isJump" id="slectBdc" |
4 | @updateDialog="updateDialog" :djywbm="djywbm" :key="key" /> | 4 | @updateDialog="updateDialog" :djywbm="djywbm" :key="key" :djqxObj="djqxObj"/> |
5 | </dialogBox> | 5 | </dialogBox> |
6 | </template> | 6 | </template> |
7 | <script> | 7 | <script> |
... | @@ -10,14 +10,15 @@ export default { | ... | @@ -10,14 +10,15 @@ export default { |
10 | props: { | 10 | props: { |
11 | isJump: { type: Boolean, default: false }, | 11 | isJump: { type: Boolean, default: false }, |
12 | value: { type: Boolean, default: true }, | 12 | value: { type: Boolean, default: true }, |
13 | djywbm: { type: String, default: '' } | 13 | djywbm: { type: String, default: '' }, |
14 | djqxObj: { type: Object, default: {} } | ||
14 | }, | 15 | }, |
15 | data () { | 16 | data () { |
16 | return { | 17 | return { |
18 | title:"", | ||
17 | key: 0, | 19 | key: 0, |
18 | editItem: '', | 20 | editItem: '', |
19 | myValue: this.value, | 21 | myValue: this.value |
20 | djqxObj:this.$attrs | ||
21 | } | 22 | } |
22 | }, | 23 | }, |
23 | watch: { | 24 | watch: { |
... | @@ -36,6 +37,7 @@ export default { | ... | @@ -36,6 +37,7 @@ export default { |
36 | }, | 37 | }, |
37 | methods: { | 38 | methods: { |
38 | loadView (view) { | 39 | loadView (view) { |
40 | this.title ="申请业务:"+this.djqxObj.djywmc; | ||
39 | return r => require.ensure([], () => r(require(`./components/${view}.vue`))) | 41 | return r => require.ensure([], () => r(require(`./components/${view}.vue`))) |
40 | }, | 42 | }, |
41 | closeDialog () { | 43 | closeDialog () { | ... | ... |
1 | export function queueDjywmc (djywbm) { | 1 | export function queueDjywmc(djywbm) { |
2 | let vm = null; | 2 | let vm = null; |
3 | switch (djywbm) { | 3 | switch (djywbm) { |
4 | case "A03100"://建设用地使用权(首次登记) | 4 | case "A03100"://建设用地使用权(首次登记) |
5 | case "A05100"://宅基地使用权(首次登记) | 5 | case "A05100"://宅基地使用权(首次登记) |
6 | case "A07100"://集体建设用地使用权(首次登记) | 6 | case "A07100"://集体建设用地使用权(首次登记) |
7 | vm = "jsydsyq100"; | 7 | vm = "selectQjzdjbxx"; |
8 | break; | 8 | break; |
9 | case "A03200": | 9 | case "A03200": |
10 | case "A03300": | 10 | case "A03300": |
11 | case "A03400": | 11 | case "A03400": |
12 | vm = "jsydsyq200"; | 12 | case "A05200": |
13 | case "A05300": | ||
14 | case "A05400": | ||
15 | case "A07200": | ||
16 | case "A07300": | ||
17 | case "A07400": | ||
18 | vm = "selectJsydsyq"; | ||
13 | break; | 19 | break; |
14 | case "A04100"://国有建设用地使用权/房屋所有权(首次登记) | 20 | case "A04100"://国有建设用地使用权/房屋所有权(首次登记) |
21 | case "A06100": | ||
22 | case "A08100": | ||
15 | vm = "fwsyq"; | 23 | vm = "fwsyq"; |
16 | break; | 24 | break; |
17 | case "A23100"://农用地使用权(首次登记) | 25 | case "A23100"://农用地使用权(首次登记) |
18 | case "A09100"://土地经营权(首次登记) | 26 | case "A09100"://土地经营权(首次登记) |
19 | vm = "nydsyq100"; | 27 | vm = "nydsyq100"; |
20 | break; | 28 | break; |
21 | case "A23200": | 29 | case "A23200": |
22 | case "A23300": | 30 | case "A23300": |
23 | case "A23400": | 31 | case "A23400": |
24 | case "A09200": | 32 | case "A09200": |
25 | case "A09300": | 33 | case "A09300": |
26 | case "A09400": | 34 | case "A09400": |
27 | vm = "nydsyq200"; | 35 | vm = "nydsyq200"; |
28 | break; | 36 | break; |
29 | case "A05200": | 37 | case "A05200": |
30 | case "A05300": | 38 | case "A05300": |
31 | case "A05400": | 39 | case "A05400": | ... | ... |
... | @@ -208,11 +208,12 @@ export default { | ... | @@ -208,11 +208,12 @@ export default { |
208 | item.cselect = false | 208 | item.cselect = false |
209 | }) | 209 | }) |
210 | this.btnDisabled = true | 210 | this.btnDisabled = true |
211 | item.cselect = true | 211 | item.cselect = true; |
212 | this.djqxObj = item; | ||
212 | if (item.sffqlc == '1') { | 213 | if (item.sffqlc == '1') { |
213 | this.btnDisabled = false | 214 | this.btnDisabled = false |
214 | this.bsmSqyw = item.bsmSqyw | 215 | this.bsmSqyw = item.bsmSqyw |
215 | this.djywbm = item.djywbm | 216 | this.djywbm = item.djywbm; |
216 | } else { | 217 | } else { |
217 | this.getNextNode(item.bsmSqyw, false) | 218 | this.getNextNode(item.bsmSqyw, false) |
218 | } | 219 | } | ... | ... |
-
Please register or sign in to post a comment