首次登记和注销登记代码优化
Showing
8 changed files
with
539 additions
and
5 deletions
... | @@ -243,3 +243,27 @@ export function selectFwsyq (data) { | ... | @@ -243,3 +243,27 @@ export function selectFwsyq (data) { |
243 | data | 243 | data |
244 | }) | 244 | }) |
245 | } | 245 | } |
246 | /** | ||
247 | * 业务办理-预告登记-选择权利信息-根据条件进行列表查询 | ||
248 | * @param data | ||
249 | * @returns {*} | ||
250 | */ | ||
251 | export function selectYgdj100 (data) { | ||
252 | return request({ | ||
253 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectYgdj100', | ||
254 | method: 'post', | ||
255 | data | ||
256 | }) | ||
257 | } | ||
258 | /** | ||
259 | * 业务办理-预告登记-选择权利信息-根据条件进行列表查询 | ||
260 | * @param data | ||
261 | * @returns {*} | ||
262 | */ | ||
263 | export function selectYgdj200 (data) { | ||
264 | return request({ | ||
265 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectYgdj200', | ||
266 | method: 'post', | ||
267 | data | ||
268 | }) | ||
269 | } | ... | ... |
... | @@ -126,9 +126,10 @@ | ... | @@ -126,9 +126,10 @@ |
126 | <el-col :span="14"> | 126 | <el-col :span="14"> |
127 | <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:"> | 127 | <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:"> |
128 | <el-radio-group :disabled="$route.query.viewtype == 1" v-model="ruleForm.slywxx.gyfs"> | 128 | <el-radio-group :disabled="$route.query.viewtype == 1" v-model="ruleForm.slywxx.gyfs"> |
129 | <el-radio label="1">单独所有</el-radio> | 129 | <el-radio label="0">单独所有</el-radio> |
130 | <el-radio label="2">共同共有</el-radio> | 130 | <el-radio label="1">共同共有</el-radio> |
131 | <el-radio label="3">按份所有</el-radio> | 131 | <el-radio label="2">按份所有</el-radio> |
132 | <el-radio label="3">其它共有</el-radio> | ||
132 | </el-radio-group> | 133 | </el-radio-group> |
133 | </el-form-item> | 134 | </el-form-item> |
134 | </el-col> | 135 | </el-col> |
... | @@ -250,4 +251,4 @@ export default { | ... | @@ -250,4 +251,4 @@ export default { |
250 | <style scoped lang='scss'> | 251 | <style scoped lang='scss'> |
251 | @import "~@/styles/public.scss"; | 252 | @import "~@/styles/public.scss"; |
252 | @import "~@/styles/slxx/slxx.scss"; | 253 | @import "~@/styles/slxx/slxx.scss"; |
253 | </style> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
254 | </style> | ... | ... |
... | @@ -157,7 +157,7 @@ export default { | ... | @@ -157,7 +157,7 @@ export default { |
157 | } | 157 | } |
158 | if (!this.isJump) { | 158 | if (!this.isJump) { |
159 | startBusinessFlow({ | 159 | startBusinessFlow({ |
160 | bsmSqyw: this.sqywInfo.parentid, | 160 | bsmSqyw: this.bsmSqyw, |
161 | fwlx: this.activeName, | 161 | fwlx: this.activeName, |
162 | bdcdysz: this.bdcdysz, | 162 | bdcdysz: this.bdcdysz, |
163 | djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"", | 163 | djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"", | ... | ... |
1 | <template> | ||
2 | <!-- 主体权利信息查询 --> | ||
3 | <div class="from-clues"> | ||
4 | <!-- 表单部分 --> | ||
5 | <div class="from-clues-header"> | ||
6 | <el-form :model="queryForm" ref="queryForm" label-width="100px"> | ||
7 | <el-row> | ||
8 | <el-col :span="8"> | ||
9 | <el-form-item label="不动产权证号"> | ||
10 | <el-input | ||
11 | placeholder="请输入不动产权证号" | ||
12 | v-model="queryForm.bdcqzh" | ||
13 | clearable | ||
14 | class="width200px" | ||
15 | > | ||
16 | </el-input> | ||
17 | </el-form-item> | ||
18 | </el-col> | ||
19 | <el-col :span="8"> | ||
20 | <el-form-item label="不动产单元号"> | ||
21 | <el-input | ||
22 | placeholder="请输入不动产单元号" | ||
23 | v-model="queryForm.bdcdyh" | ||
24 | clearable | ||
25 | class="width200px" | ||
26 | > | ||
27 | </el-input> | ||
28 | </el-form-item> | ||
29 | </el-col> | ||
30 | <el-col :span="6"> | ||
31 | <el-form-item label="坐落"> | ||
32 | <el-input | ||
33 | placeholder="" | ||
34 | v-model="queryForm.zl" | ||
35 | clearable | ||
36 | class="width200px" | ||
37 | > | ||
38 | </el-input> | ||
39 | </el-form-item> | ||
40 | </el-col> | ||
41 | <el-col :span="2" class="btnColRight"> | ||
42 | <el-form-item> | ||
43 | <el-button type="primary" @click="fetchData()">查询</el-button> | ||
44 | </el-form-item> | ||
45 | </el-col> | ||
46 | </el-row> | ||
47 | </el-form> | ||
48 | </div> | ||
49 | <!-- 表格 --> | ||
50 | <div class="from-clues-content"> | ||
51 | <lb-table | ||
52 | ref="table" | ||
53 | @row-click="handleRowClick" | ||
54 | :page-size="pageData.pageSize" | ||
55 | :heightNum="400" | ||
56 | :current-page.sync="pageData.currentPage" | ||
57 | :total="tableData.total" | ||
58 | @size-change="handleSizeChange" | ||
59 | @p-current-change="handleCurrentChange" | ||
60 | @selection-change="handleSelectionChange" | ||
61 | :column="tableData.columns" | ||
62 | :data="tableData.data" | ||
63 | > | ||
64 | </lb-table> | ||
65 | </div> | ||
66 | <div class="submit_button"> | ||
67 | <el-button @click="closeDialog">取消</el-button> | ||
68 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | ||
69 | </div> | ||
70 | </div> | ||
71 | </template> | ||
72 | <script> | ||
73 | import { datas, sendThis } from "../javascript/selectYgdj100.js"; | ||
74 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | ||
75 | import table from "@/utils/mixin/table"; | ||
76 | import jump from "./mixin/jump"; | ||
77 | import { selectYgdj100, startBusinessFlow } from "@/api/ywbl.js"; | ||
78 | export default { | ||
79 | mixins: [table, jump], | ||
80 | props: { | ||
81 | isJump: { type: Boolean, default: false }, | ||
82 | sqywInfo: { type: Object, default: () => {} }, | ||
83 | }, | ||
84 | data() { | ||
85 | return { | ||
86 | queryForm: defaultParameters.defaultParameters(), | ||
87 | tableData: { | ||
88 | total: 0, | ||
89 | columns: datas.columns(), | ||
90 | data: [], | ||
91 | }, | ||
92 | bdcdysz: [], | ||
93 | }; | ||
94 | }, | ||
95 | mounted() { | ||
96 | sendThis(this); | ||
97 | }, | ||
98 | methods: { | ||
99 | //点击行选中或取消复选框 | ||
100 | handleRowClick(row, column, event) { | ||
101 | //通过ref绑定后这里使用$refs.table来操作bom元素 | ||
102 | this.$refs.table.toggleRowSelection(row); | ||
103 | }, | ||
104 | closeDialog() { | ||
105 | this.$emit("closeDialog"); | ||
106 | }, | ||
107 | fetchData() { | ||
108 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | ||
109 | selectYgdj100({ ...this.queryForm, ...this.pageData }).then((res) => { | ||
110 | if (res.code === 200) { | ||
111 | let { total, records } = res.result; | ||
112 | this.tableData.total = total; | ||
113 | this.tableData.data = records; | ||
114 | } | ||
115 | }); | ||
116 | }, | ||
117 | submitForm() { | ||
118 | if (this.bdcdysz.length == 0) { | ||
119 | this.$message.error("请至少选择一条数据"); | ||
120 | return; | ||
121 | } | ||
122 | startBusinessFlow({ | ||
123 | bsmSqyw: this.sqywInfo.bsmSqyw, | ||
124 | bdcdysz: this.bdcdysz, | ||
125 | djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"", | ||
126 | djqxmc: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodename:"", | ||
127 | }).then((res) => { | ||
128 | if (res.code == 200) { | ||
129 | this.$message({ | ||
130 | showClose: true, | ||
131 | message: '发起申请成功', | ||
132 | type: 'success' | ||
133 | }) | ||
134 | if (!this.isJump) { | ||
135 | this.jump(res.result, this.sqywInfo.djywbm) | ||
136 | } else { | ||
137 | this.$emit('updateDialog', true) | ||
138 | } | ||
139 | } else { | ||
140 | this.$message.error(res.message); | ||
141 | } | ||
142 | }); | ||
143 | }, | ||
144 | handleSelectionChange(val) { | ||
145 | val.forEach((item, index) => { | ||
146 | item.bsmSsql = item.bsmQlxx; | ||
147 | item.ybdcqzsh = item.bdcqzh; | ||
148 | }); | ||
149 | this.bdcdysz = val; | ||
150 | }, | ||
151 | }, | ||
152 | }; | ||
153 | </script> | ||
154 | <style scoped lang="scss"> | ||
155 | @import "~@/styles/mixin.scss"; | ||
156 | @import "~@/styles/public.scss"; | ||
157 | </style> |
1 | <template> | ||
2 | <!-- 主体权利信息查询 --> | ||
3 | <div class="from-clues"> | ||
4 | <!-- 表单部分 --> | ||
5 | <div class="from-clues-header"> | ||
6 | <el-form :model="queryForm" ref="queryForm" label-width="100px"> | ||
7 | <el-row> | ||
8 | <el-col :span="8"> | ||
9 | <el-form-item label="不动产权证号"> | ||
10 | <el-input | ||
11 | placeholder="请输入不动产权证号" | ||
12 | v-model="queryForm.bdcqzh" | ||
13 | clearable | ||
14 | class="width200px" | ||
15 | > | ||
16 | </el-input> | ||
17 | </el-form-item> | ||
18 | </el-col> | ||
19 | <el-col :span="8"> | ||
20 | <el-form-item label="不动产单元号"> | ||
21 | <el-input | ||
22 | placeholder="请输入不动产单元号" | ||
23 | v-model="queryForm.bdcdyh" | ||
24 | clearable | ||
25 | class="width200px" | ||
26 | > | ||
27 | </el-input> | ||
28 | </el-form-item> | ||
29 | </el-col> | ||
30 | <el-col :span="6"> | ||
31 | <el-form-item label="坐落"> | ||
32 | <el-input | ||
33 | placeholder="" | ||
34 | v-model="queryForm.zl" | ||
35 | clearable | ||
36 | class="width200px" | ||
37 | > | ||
38 | </el-input> | ||
39 | </el-form-item> | ||
40 | </el-col> | ||
41 | <el-col :span="2" class="btnColRight"> | ||
42 | <el-form-item> | ||
43 | <el-button type="primary" @click="fetchData()">查询</el-button> | ||
44 | </el-form-item> | ||
45 | </el-col> | ||
46 | </el-row> | ||
47 | </el-form> | ||
48 | </div> | ||
49 | <!-- 表格 --> | ||
50 | <div class="from-clues-content"> | ||
51 | <lb-table | ||
52 | ref="table" | ||
53 | @row-click="handleRowClick" | ||
54 | :page-size="pageData.pageSize" | ||
55 | :heightNum="400" | ||
56 | :current-page.sync="pageData.currentPage" | ||
57 | :total="tableData.total" | ||
58 | @size-change="handleSizeChange" | ||
59 | @p-current-change="handleCurrentChange" | ||
60 | @selection-change="handleSelectionChange" | ||
61 | :column="tableData.columns" | ||
62 | :data="tableData.data" | ||
63 | > | ||
64 | </lb-table> | ||
65 | </div> | ||
66 | <div class="submit_button"> | ||
67 | <el-button @click="closeDialog">取消</el-button> | ||
68 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | ||
69 | </div> | ||
70 | </div> | ||
71 | </template> | ||
72 | <script> | ||
73 | import { datas, sendThis } from "../javascript/selectYgdj200.js"; | ||
74 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | ||
75 | import table from "@/utils/mixin/table"; | ||
76 | import jump from "./mixin/jump"; | ||
77 | import { selectYgdj200, startBusinessFlow } from "@/api/ywbl.js"; | ||
78 | export default { | ||
79 | mixins: [table, jump], | ||
80 | props: { | ||
81 | isJump: { type: Boolean, default: false }, | ||
82 | sqywInfo: { type: Object, default: () => {} }, | ||
83 | }, | ||
84 | data() { | ||
85 | return { | ||
86 | queryForm: defaultParameters.defaultParameters(), | ||
87 | tableData: { | ||
88 | total: 0, | ||
89 | columns: datas.columns(), | ||
90 | data: [], | ||
91 | }, | ||
92 | bdcdysz: [], | ||
93 | }; | ||
94 | }, | ||
95 | mounted() { | ||
96 | sendThis(this); | ||
97 | }, | ||
98 | methods: { | ||
99 | //点击行选中或取消复选框 | ||
100 | handleRowClick(row, column, event) { | ||
101 | //通过ref绑定后这里使用$refs.table来操作bom元素 | ||
102 | this.$refs.table.toggleRowSelection(row); | ||
103 | }, | ||
104 | closeDialog() { | ||
105 | this.$emit("closeDialog"); | ||
106 | }, | ||
107 | fetchData() { | ||
108 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | ||
109 | selectYgdj200({ ...this.queryForm, ...this.pageData }).then((res) => { | ||
110 | if (res.code === 200) { | ||
111 | let { total, records } = res.result; | ||
112 | this.tableData.total = total; | ||
113 | this.tableData.data = records; | ||
114 | } | ||
115 | }); | ||
116 | }, | ||
117 | submitForm() { | ||
118 | if (this.bdcdysz.length == 0) { | ||
119 | this.$message.error("请至少选择一条数据"); | ||
120 | return; | ||
121 | } | ||
122 | startBusinessFlow({ | ||
123 | bsmSqyw: this.sqywInfo.bsmSqyw, | ||
124 | bdcdysz: this.bdcdysz, | ||
125 | djqxbm: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodecode:"", | ||
126 | djqxmc: this.sqywInfo.nodetype=="djqx"?this.sqywInfo.nodename:"", | ||
127 | }).then((res) => { | ||
128 | if (res.code == 200) { | ||
129 | this.$message({ | ||
130 | showClose: true, | ||
131 | message: '发起申请成功', | ||
132 | type: 'success' | ||
133 | }) | ||
134 | if (!this.isJump) { | ||
135 | this.jump(res.result, this.sqywInfo.djywbm) | ||
136 | } else { | ||
137 | this.$emit('updateDialog', true) | ||
138 | } | ||
139 | } else { | ||
140 | this.$message.error(res.message); | ||
141 | } | ||
142 | }); | ||
143 | }, | ||
144 | handleSelectionChange(val) { | ||
145 | val.forEach((item, index) => { | ||
146 | item.bsmSsql = item.bsmQlxx; | ||
147 | item.ybdcqzsh = item.bdcqzh; | ||
148 | }); | ||
149 | this.bdcdysz = val; | ||
150 | }, | ||
151 | }, | ||
152 | }; | ||
153 | </script> | ||
154 | <style scoped lang="scss"> | ||
155 | @import "~@/styles/mixin.scss"; | ||
156 | @import "~@/styles/public.scss"; | ||
157 | </style> |
1 | import filter from '@/utils/filter.js' | ||
2 | let vm = null | ||
3 | |||
4 | const sendThis = (_this) => { | ||
5 | vm = _this | ||
6 | } | ||
7 | class data extends filter { | ||
8 | constructor() { | ||
9 | super() | ||
10 | } | ||
11 | columns () { | ||
12 | return [ | ||
13 | { | ||
14 | type: 'selection', | ||
15 | label: '全选' | ||
16 | }, | ||
17 | { | ||
18 | label: '序号', | ||
19 | type: 'index', | ||
20 | width: '50', | ||
21 | render: (h, scope) => { | ||
22 | return ( | ||
23 | <div> | ||
24 | {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1} | ||
25 | </div> | ||
26 | ) | ||
27 | } | ||
28 | }, | ||
29 | { | ||
30 | label: "状态", | ||
31 | render: (h, scope) => { | ||
32 | return ( | ||
33 | <div> | ||
34 | {/* <a v-on:click="doSomething"></a> */} | ||
35 | <a style='color:#3498db;' v-show={scope.row.zt == 1} >正在办理</a> | ||
36 | <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span> | ||
37 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | ||
38 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | ||
39 | <span v-show={scope.row.cfzt == 1}>,已查封</span> | ||
40 | <span v-show={scope.row.diyizt == 1}>,已地役</span> | ||
41 | <span v-show={scope.row.yyzt == 1}>,异议中</span> | ||
42 | <span v-show={scope.row.xzzt == 1}>,已限制</span> | ||
43 | <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> | ||
44 | <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> | ||
45 | <span v-show={scope.row.dyzt == 1}>,已抵押</span> | ||
46 | </div> | ||
47 | ) | ||
48 | } | ||
49 | }, | ||
50 | { | ||
51 | prop: "qllxmc", | ||
52 | label: "权利类型", | ||
53 | }, | ||
54 | { | ||
55 | prop: "bdcdyh", | ||
56 | label: "不动产单元号", | ||
57 | }, | ||
58 | { | ||
59 | prop: "szc", | ||
60 | label: "房屋所在层数", | ||
61 | }, | ||
62 | { | ||
63 | prop: "mj", | ||
64 | label: "房屋面积", | ||
65 | }, | ||
66 | { | ||
67 | prop: "fwjgmc", | ||
68 | label: "房屋结构", | ||
69 | }, | ||
70 | { | ||
71 | prop: "zl", | ||
72 | label: "坐落", | ||
73 | } | ||
74 | ] | ||
75 | } | ||
76 | |||
77 | |||
78 | } | ||
79 | let datas = new data() | ||
80 | export { | ||
81 | datas, | ||
82 | sendThis | ||
83 | } |
1 | import filter from '@/utils/filter.js' | ||
2 | let vm = null | ||
3 | |||
4 | const sendThis = (_this) => { | ||
5 | vm = _this | ||
6 | } | ||
7 | class data extends filter { | ||
8 | constructor() { | ||
9 | super() | ||
10 | } | ||
11 | columns () { | ||
12 | return [ | ||
13 | { | ||
14 | type: 'selection', | ||
15 | label: '全选' | ||
16 | }, | ||
17 | { | ||
18 | label: '序号', | ||
19 | type: 'index', | ||
20 | width: '50', | ||
21 | render: (h, scope) => { | ||
22 | return ( | ||
23 | <div> | ||
24 | {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1} | ||
25 | </div> | ||
26 | ) | ||
27 | } | ||
28 | }, | ||
29 | { | ||
30 | prop: "status", | ||
31 | label: "状态", | ||
32 | render: (h, scope) => { | ||
33 | return ( | ||
34 | <div> | ||
35 | {/* <a v-on:click="doSomething"></a> */} | ||
36 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a> | ||
37 | <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span> | ||
38 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | ||
39 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | ||
40 | <span v-show={scope.row.cfzt == 1}>,已查封</span> | ||
41 | <span v-show={scope.row.diyizt == 1}>,已地役</span> | ||
42 | <span v-show={scope.row.yyzt == 1}>,异议中</span> | ||
43 | <span v-show={scope.row.xzzt == 1}>,已限制</span> | ||
44 | <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> | ||
45 | <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> | ||
46 | <span v-show={scope.row.dyzt == 1}>,已抵押</span> | ||
47 | </div> | ||
48 | ) | ||
49 | } | ||
50 | }, | ||
51 | { | ||
52 | prop: "qllxmc", | ||
53 | label: "权利类型", | ||
54 | }, | ||
55 | { | ||
56 | prop: "bdcdyh", | ||
57 | label: "不动产单元号", | ||
58 | }, | ||
59 | { | ||
60 | prop: "bdcqzh", | ||
61 | label: "不动产权证号", | ||
62 | }, | ||
63 | { | ||
64 | prop: "fwxz", | ||
65 | label: "房屋性质", | ||
66 | }, | ||
67 | { | ||
68 | prop: "fwjgmc", | ||
69 | label: "房屋结构", | ||
70 | }, | ||
71 | { | ||
72 | prop: "qlrmc", | ||
73 | label: "权利人", | ||
74 | }, | ||
75 | { | ||
76 | prop: "zjh", | ||
77 | label: "证件号", | ||
78 | }, | ||
79 | { | ||
80 | prop: "mj", | ||
81 | label: "面积", | ||
82 | }, | ||
83 | { | ||
84 | prop: "showTdyt", | ||
85 | label: "用途", | ||
86 | }, | ||
87 | { | ||
88 | prop: "zdmj", | ||
89 | label: "宗地面积", | ||
90 | }, | ||
91 | { | ||
92 | prop: "zl", | ||
93 | label: "坐落", | ||
94 | } | ||
95 | ] | ||
96 | } | ||
97 | |||
98 | |||
99 | } | ||
100 | let datas = new data() | ||
101 | export { | ||
102 | datas, | ||
103 | sendThis | ||
104 | } |
... | @@ -48,6 +48,14 @@ export function queueDjywmc(djywbm) { | ... | @@ -48,6 +48,14 @@ export function queueDjywmc(djywbm) { |
48 | case "B39400"://解封 | 48 | case "B39400"://解封 |
49 | vm = "cfdj"; | 49 | vm = "cfdj"; |
50 | break; | 50 | break; |
51 | case "B40100"://预告首次 | ||
52 | vm ="selectYgdj100"; | ||
53 | break; | ||
54 | case "B40200"://预告转移 | ||
55 | case "B40300"://预告变更 | ||
56 | case "B40400"://预告注销 | ||
57 | vm ="selectYgdj200"; | ||
58 | break; | ||
51 | default: | 59 | default: |
52 | vm = "selecBdcql"; | 60 | vm = "selecBdcql"; |
53 | break; | 61 | break; | ... | ... |
-
Please register or sign in to post a comment