抵押权首次登记
Showing
5 changed files
with
274 additions
and
4 deletions
... | @@ -64,7 +64,9 @@ export function startBusinessFlow (data) { | ... | @@ -64,7 +64,9 @@ export function startBusinessFlow (data) { |
64 | data | 64 | data |
65 | }) | 65 | }) |
66 | } | 66 | } |
67 | // 已办箱列表查询接口 | 67 | /* |
68 | 已办箱列表查询接口 | ||
69 | */ | ||
68 | export function searchTaskDone (data) { | 70 | export function searchTaskDone (data) { |
69 | return request({ | 71 | return request({ |
70 | url: '/workBox/search/searchTaskDone', | 72 | url: '/workBox/search/searchTaskDone', |
... | @@ -72,3 +74,13 @@ export function searchTaskDone (data) { | ... | @@ -72,3 +74,13 @@ export function searchTaskDone (data) { |
72 | data | 74 | data |
73 | }) | 75 | }) |
74 | } | 76 | } |
77 | /* | ||
78 | 业务办理-选择权利信息-根据条件进行列表查询 | ||
79 | */ | ||
80 | export function selectQlxx (data) { | ||
81 | return request({ | ||
82 | url: '/ywbl/ywsq/selectQlxx', | ||
83 | method: 'post', | ||
84 | data | ||
85 | }) | ||
86 | } | ... | ... |
... | @@ -53,12 +53,12 @@ class data extends filter { | ... | @@ -53,12 +53,12 @@ class data extends filter { |
53 | width:'220' | 53 | width:'220' |
54 | }, | 54 | }, |
55 | { | 55 | { |
56 | prop: "qlr", | 56 | prop: "qlrmc", |
57 | label: "权利人", | 57 | label: "权利人", |
58 | width:'70' | 58 | width:'70' |
59 | }, | 59 | }, |
60 | { | 60 | { |
61 | prop: "ywr", | 61 | prop: "ywrmc", |
62 | label: "义务人", | 62 | label: "义务人", |
63 | width:'70' | 63 | width:'70' |
64 | }, | 64 | }, | ... | ... |
... | @@ -22,7 +22,7 @@ export default { | ... | @@ -22,7 +22,7 @@ export default { |
22 | this.myValue = val | 22 | this.myValue = val |
23 | }, | 23 | }, |
24 | djywbm (val) { | 24 | djywbm (val) { |
25 | let itemObj = { 'A03100': 'scdj', default: 'scdj' } | 25 | let itemObj = { 'A03100': 'scdj','A37100': 'scdy', default: 'scdj' } |
26 | this.editItem = this.loadView(itemObj[val]) | 26 | this.editItem = this.loadView(itemObj[val]) |
27 | }, | 27 | }, |
28 | }, | 28 | }, | ... | ... |
src/views/ywbl/ywsq/components/scdy/scdy.js
0 → 100644
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 | }, | ||
33 | { | ||
34 | prop: "qllxmc", | ||
35 | label: "权利类型", | ||
36 | }, | ||
37 | { | ||
38 | prop: "bdcdyh", | ||
39 | label: "不动产单元号", | ||
40 | }, | ||
41 | { | ||
42 | prop: "bdcqzh", | ||
43 | label: "不动产权证号", | ||
44 | }, | ||
45 | { | ||
46 | prop: "qlrmc", | ||
47 | label: "权利人", | ||
48 | }, | ||
49 | { | ||
50 | prop: "zjh", | ||
51 | label: "证件号", | ||
52 | }, | ||
53 | { | ||
54 | prop: "mj", | ||
55 | label: "面积", | ||
56 | }, | ||
57 | { | ||
58 | prop: "ytmc", | ||
59 | label: "用途", | ||
60 | }, | ||
61 | { | ||
62 | prop: "zl", | ||
63 | label: "坐落", | ||
64 | }, | ||
65 | ] | ||
66 | } | ||
67 | |||
68 | |||
69 | } | ||
70 | let datas = new data() | ||
71 | export { | ||
72 | datas, | ||
73 | sendThis | ||
74 | } |
src/views/ywbl/ywsq/components/scdy/scdy.vue
0 → 100644
1 | <template> | ||
2 | <div class="from-clues"> | ||
3 | <!-- 表单部分 --> | ||
4 | <div class="from-clues-header"> | ||
5 | <el-form :model="queryForm" ref="queryForm" label-width="120px"> | ||
6 | <el-row> | ||
7 | <el-col :span="10"> | ||
8 | <el-form-item label="权利类型"> | ||
9 | <el-select | ||
10 | v-model="queryForm.qllx" | ||
11 | filterable | ||
12 | clearable | ||
13 | placeholder="请选择权利类型" | ||
14 | class="width300px" | ||
15 | > | ||
16 | <el-option | ||
17 | v-for="item in qllxs" | ||
18 | :key="item.value" | ||
19 | :label="item.label" | ||
20 | :value="item.value" | ||
21 | > | ||
22 | </el-option> | ||
23 | </el-select> | ||
24 | </el-form-item> | ||
25 | </el-col> | ||
26 | <el-col :span="10"> | ||
27 | <el-form-item label="不动产单元号"> | ||
28 | <el-input | ||
29 | placeholder="请输入不动产单元号" | ||
30 | v-model="queryForm.bdcdyh" | ||
31 | clearable | ||
32 | class="width300px" | ||
33 | > | ||
34 | </el-input> | ||
35 | </el-form-item> | ||
36 | </el-col> | ||
37 | </el-row> | ||
38 | <el-row> | ||
39 | <el-col :span="10"> | ||
40 | <el-form-item label="业务号"> | ||
41 | <el-input | ||
42 | placeholder="请输入业务号" | ||
43 | v-model="queryForm.ywh" | ||
44 | clearable | ||
45 | class="width300px" | ||
46 | > | ||
47 | </el-input> | ||
48 | </el-form-item> | ||
49 | </el-col> | ||
50 | <el-col :span="10"> | ||
51 | <el-form-item label="不动产权证号"> | ||
52 | <el-input | ||
53 | placeholder="请输入不动产权证号" | ||
54 | v-model="queryForm.bdcqzh" | ||
55 | clearable | ||
56 | class="width300px" | ||
57 | > | ||
58 | </el-input> | ||
59 | </el-form-item> | ||
60 | </el-col> | ||
61 | <el-col :span="2" class="btnCol"> | ||
62 | <el-form-item> | ||
63 | <el-button type="primary" @click="queryClick()">查询</el-button> | ||
64 | </el-form-item> | ||
65 | </el-col> | ||
66 | </el-row> | ||
67 | </el-form> | ||
68 | </div> | ||
69 | <!-- 表格 --> | ||
70 | <div class="from-clues-content"> | ||
71 | <lb-table | ||
72 | :page-size="pageData.pageSize" | ||
73 | :heightNum="400" | ||
74 | :current-page.sync="pageData.currentPage" | ||
75 | :total="tableData.total" | ||
76 | @size-change="handleSizeChange" | ||
77 | @p-current-change="handleCurrentChange" | ||
78 | @selection-change="handleSelectionChange" | ||
79 | :column="tableData.columns" | ||
80 | :data="tableData.data" | ||
81 | > | ||
82 | </lb-table> | ||
83 | </div> | ||
84 | <div class="submit_button"> | ||
85 | <el-button @click="closeDialog">取消</el-button> | ||
86 | <el-button type="primary" plain @click="submitForm" :loading="saveloding" | ||
87 | >发起申请</el-button | ||
88 | > | ||
89 | </div> | ||
90 | </div> | ||
91 | </template> | ||
92 | <script> | ||
93 | //抵押权首次登记 | ||
94 | import { datas, sendThis } from "./scdy.js"; | ||
95 | import table from "@/utils/mixin/table"; | ||
96 | import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; | ||
97 | export default { | ||
98 | props: { | ||
99 | bsmSqyw: { type: String, default: "" }, | ||
100 | djqxObj: { type: Object, default: "" }, | ||
101 | }, | ||
102 | mixins: [table], | ||
103 | data() { | ||
104 | return { | ||
105 | queryForm: { | ||
106 | qllx: "", | ||
107 | bdcdyh: "", | ||
108 | ywh: "", | ||
109 | bdcqzh: "", | ||
110 | sqywbm: "A37100", | ||
111 | }, | ||
112 | qllxs: [], | ||
113 | tableData: { | ||
114 | total: 0, | ||
115 | columns: datas.columns(), | ||
116 | data: [], | ||
117 | }, | ||
118 | bdcdysz: [], | ||
119 | saveloding: false, | ||
120 | }; | ||
121 | }, | ||
122 | watch: { | ||
123 | bsmSqyw(val) { | ||
124 | this.fetchData(); | ||
125 | }, | ||
126 | }, | ||
127 | mounted() { | ||
128 | sendThis(this); | ||
129 | }, | ||
130 | methods: { | ||
131 | closeDialog() { | ||
132 | this.$emit("closeDialog"); | ||
133 | }, | ||
134 | fetchData() { | ||
135 | if (this.bsmSqyw) { | ||
136 | selectQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { | ||
137 | if (res.code === 200) { | ||
138 | let { total, records } = res.result; | ||
139 | this.tableData.total = total; | ||
140 | this.tableData.data = records; | ||
141 | } | ||
142 | }); | ||
143 | } | ||
144 | }, | ||
145 | submitForm() { | ||
146 | if (this.bdcdysz.length == 0) { | ||
147 | this.$message.error("请至少选择一条数据"); | ||
148 | return; | ||
149 | } | ||
150 | this.saveloding = true; | ||
151 | startBusinessFlow({ | ||
152 | bsmSqyw: this.bsmSqyw, | ||
153 | bdcdysz: this.bdcdysz, | ||
154 | djqxbm: this.djqxObj.djqxbm, | ||
155 | djqxmc: this.djqxObj.djqxmc, | ||
156 | }).then((res) => { | ||
157 | this.saveloding = false; | ||
158 | if (res.code == 200) { | ||
159 | this.$emit("closeDialog"); | ||
160 | const { href } = this.$router.resolve( | ||
161 | "/fqsq?bsmSlsq=" + | ||
162 | res.result.bsmSlsq + | ||
163 | "&bestepid=" + | ||
164 | res.result.bestepid | ||
165 | ); | ||
166 | window.open(href, "_blank"); | ||
167 | } else { | ||
168 | this.$message.error(res.message); | ||
169 | } | ||
170 | }); | ||
171 | }, | ||
172 | handleSelectionChange(val) { | ||
173 | this.bdcdysz = val; | ||
174 | }, | ||
175 | queryClick() { | ||
176 | this.fetchData(); | ||
177 | }, | ||
178 | }, | ||
179 | }; | ||
180 | </script> | ||
181 | <style scoped lang="scss"> | ||
182 | @import "~@/styles/mixin.scss"; | ||
183 | @import "~@/styles/public.scss"; | ||
184 | </style> |
-
Please register or sign in to post a comment