Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web
Showing
9 changed files
with
285 additions
and
216 deletions
... | @@ -31,13 +31,21 @@ export function getNextNode (bsmSqyw) { | ... | @@ -31,13 +31,21 @@ export function getNextNode (bsmSqyw) { |
31 | /* | 31 | /* |
32 | 业务办理-选择单元-根据条件进行列表查询 | 32 | 业务办理-选择单元-根据条件进行列表查询 |
33 | */ | 33 | */ |
34 | export function getselectBdcdy (data) { | 34 | export function selectBdcdy (data) { |
35 | return request({ | 35 | return request({ |
36 | url: '/ywbl/ywsq/selectBdcdy', | 36 | url: '/ywbl/ywsq/selectBdcdy', |
37 | method: 'post', | 37 | method: 'post', |
38 | data | 38 | data |
39 | }) | 39 | }) |
40 | } | 40 | } |
41 | // 待办箱列表查询接口 | ||
42 | export function searchTaskToDo (data) { | ||
43 | return request({ | ||
44 | url: '/business/todoBox/searchTaskToDo', | ||
45 | method: 'post', | ||
46 | data | ||
47 | }) | ||
48 | } | ||
41 | 49 | ||
42 | /* | 50 | /* |
43 | 业务办理-发起业务申请流程 | 51 | 业务办理-发起业务申请流程 | ... | ... |
... | @@ -80,18 +80,11 @@ | ... | @@ -80,18 +80,11 @@ |
80 | </el-form> | 80 | </el-form> |
81 | </div> | 81 | </div> |
82 | <!-- 表格 --> | 82 | <!-- 表格 --> |
83 | <!-- 表格 --> | ||
83 | <div class="from-clues-content"> | 84 | <div class="from-clues-content"> |
84 | <lb-table | 85 | <lb-table :page-size="pageData.size" heightNumSetting :current-page.sync="pageData.current" |
85 | :page-size="pageData.size" | 86 | :total="pageData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange" |
86 | @sort-change="handleSort" | 87 | :column="tableData.columns" :data="tableData.data"> |
87 | :current-page.sync="pageData.current" | ||
88 | :total="pageData.total" | ||
89 | @selection-change="handleSelectionChange" | ||
90 | @size-change="handleSizeChange" | ||
91 | @p-current-change="handleCurrentChange" | ||
92 | :column="tableData.columns" | ||
93 | :data="tableData.data" | ||
94 | > | ||
95 | </lb-table> | 88 | </lb-table> |
96 | </div> | 89 | </div> |
97 | </div> | 90 | </div> |
... | @@ -99,6 +92,7 @@ | ... | @@ -99,6 +92,7 @@ |
99 | <script> | 92 | <script> |
100 | import table from "@/utils/mixin/table"; | 93 | import table from "@/utils/mixin/table"; |
101 | import { datas, sendThis } from "./dbxdata"; | 94 | import { datas, sendThis } from "./dbxdata"; |
95 | import {searchTaskToDo} from "@/api/ywbl.js" | ||
102 | export default { | 96 | export default { |
103 | name: "dbx", | 97 | name: "dbx", |
104 | components: {}, | 98 | components: {}, |
... | @@ -108,6 +102,8 @@ export default { | ... | @@ -108,6 +102,8 @@ export default { |
108 | }, | 102 | }, |
109 | data() { | 103 | data() { |
110 | return { | 104 | return { |
105 | qllxs:[], | ||
106 | djlxs:[], | ||
111 | queryForm: { | 107 | queryForm: { |
112 | ywly: "", | 108 | ywly: "", |
113 | qllx: "", | 109 | qllx: "", |
... | @@ -117,34 +113,32 @@ export default { | ... | @@ -117,34 +113,32 @@ export default { |
117 | pageData: { | 113 | pageData: { |
118 | current: 1, | 114 | current: 1, |
119 | size: 10, | 115 | size: 10, |
120 | total: 2, | 116 | total: 0, |
121 | }, | 117 | }, |
122 | 118 | ||
123 | ywlys: datas.ywlys(), | 119 | ywlys: datas.ywlys(), |
124 | 120 | ||
125 | tableData: { | 121 | tableData: { |
126 | columns: datas.columns(), | 122 | columns: datas.columns(), |
127 | data: [ | 123 | data: [], |
128 | { | ||
129 | ywly:"办事大厅", | ||
130 | lczt:"进行中", | ||
131 | zbhj:"受理", | ||
132 | ywh:"20200409146", | ||
133 | sqywmc:"预告买卖登记||首次登记", | ||
134 | qlr:"张三", | ||
135 | ywr:"绿地开发商", | ||
136 | zl:"C区沙尾金地名轩塔楼1栋101", | ||
137 | slsj: "2022-5-12", | ||
138 | slry:"窗口人员1", | ||
139 | zrsj:"2016-10-01 10:00:00", | ||
140 | }, | ||
141 | ], | ||
142 | }, | 124 | }, |
143 | }; | 125 | }; |
144 | }, | 126 | }, |
127 | created () { }, | ||
145 | methods: { | 128 | methods: { |
146 | // 初始化数据 | 129 | // 列表渲染接口 |
147 | fetchData() {}, | 130 | fetchData(){ |
131 | searchTaskToDo({...this.queryForm,...this.pageData}).then(res=>{ | ||
132 | if (res.code === 200) { | ||
133 | let { total, records } = res.result | ||
134 | this.pageData.total = total; | ||
135 | this.tableData.data = records | ||
136 | } | ||
137 | }) | ||
138 | }, | ||
139 | queryClick(){ | ||
140 | this.fetchData() | ||
141 | }, | ||
148 | handleSort(name, sort) { | 142 | handleSort(name, sort) { |
149 | console.log(name, sort); | 143 | console.log(name, sort); |
150 | }, | 144 | }, | ... | ... |
... | @@ -5,17 +5,17 @@ | ... | @@ -5,17 +5,17 @@ |
5 | <el-row> | 5 | <el-row> |
6 | <el-col :span="8"> | 6 | <el-col :span="8"> |
7 | <el-form-item label="业务号:" prop="ywh"> | 7 | <el-form-item label="业务号:" prop="ywh"> |
8 | <el-input v-model="ruleForm.ywh"></el-input> | 8 | <el-input class="width200px" v-model="ruleForm.ywh"></el-input> |
9 | </el-form-item> | 9 | </el-form-item> |
10 | </el-col> | 10 | </el-col> |
11 | <el-col :span="8"> | 11 | <el-col :span="8"> |
12 | <el-form-item label="受理人员:" prop="slry"> | 12 | <el-form-item label="受理人员:" prop="slry"> |
13 | <el-input v-model="ruleForm.slry"></el-input> | 13 | <el-input class="width200px" v-model="ruleForm.slry"></el-input> |
14 | </el-form-item> | 14 | </el-form-item> |
15 | </el-col> | 15 | </el-col> |
16 | <el-col :span="8"> | 16 | <el-col :span="8"> |
17 | <el-form-item label="使用权结束时间:" prop="slsj"> | 17 | <el-form-item label="使用权结束时间:" prop="slsj"> |
18 | <el-date-picker v-model="ruleForm.slsj" type="datetime" placeholder="选择结束时间" | 18 | <el-date-picker class="width200px" v-model="ruleForm.slsj" type="datetime" placeholder="选择结束时间" |
19 | value-format="yyyy-MM-dd" > | 19 | value-format="yyyy-MM-dd" > |
20 | </el-date-picker> | 20 | </el-date-picker> |
21 | </el-form-item> | 21 | </el-form-item> |
... | @@ -24,7 +24,7 @@ | ... | @@ -24,7 +24,7 @@ |
24 | <el-row> | 24 | <el-row> |
25 | <el-col :span="8"> | 25 | <el-col :span="8"> |
26 | <el-form-item label="权利类型:" prop="qllx"> | 26 | <el-form-item label="权利类型:" prop="qllx"> |
27 | <el-select v-model="ruleForm.qllx" filterable clearable placeholder="请选择权利类型"> | 27 | <el-select class="width200px" v-model="ruleForm.qllx" filterable clearable placeholder="请选择权利类型"> |
28 | <el-option v-for="item in qllxOption" :key="item.value" :label="item.label" :value="item.value"> | 28 | <el-option v-for="item in qllxOption" :key="item.value" :label="item.label" :value="item.value"> |
29 | </el-option> | 29 | </el-option> |
30 | </el-select> | 30 | </el-select> |
... | @@ -32,7 +32,7 @@ | ... | @@ -32,7 +32,7 @@ |
32 | </el-col> | 32 | </el-col> |
33 | <el-col :span="8"> | 33 | <el-col :span="8"> |
34 | <el-form-item label="登记类型:" prop="djlx"> | 34 | <el-form-item label="登记类型:" prop="djlx"> |
35 | <el-select v-model="ruleForm.djlx" filterable clearable placeholder="请选择登记类型"> | 35 | <el-select class="width200px" v-model="ruleForm.djlx" filterable clearable placeholder="请选择登记类型"> |
36 | <el-option v-for="item in djlxOption" :key="item.value" :label="item.label" :value="item.value"> | 36 | <el-option v-for="item in djlxOption" :key="item.value" :label="item.label" :value="item.value"> |
37 | </el-option> | 37 | </el-option> |
38 | </el-select> | 38 | </el-select> |
... | @@ -40,7 +40,7 @@ | ... | @@ -40,7 +40,7 @@ |
40 | </el-col> | 40 | </el-col> |
41 | <el-col :span="8"> | 41 | <el-col :span="8"> |
42 | <el-form-item label="登记情形:" prop="djqx"> | 42 | <el-form-item label="登记情形:" prop="djqx"> |
43 | <el-select v-model="ruleForm.djqx" filterable clearable placeholder="请选择登记情形"> | 43 | <el-select class="width200px" v-model="ruleForm.djqx" filterable clearable placeholder="请选择登记情形"> |
44 | <el-option v-for="item in djqxOption" :key="item.value" :label="item.label" :value="item.value"> | 44 | <el-option v-for="item in djqxOption" :key="item.value" :label="item.label" :value="item.value"> |
45 | </el-option> | 45 | </el-option> |
46 | </el-select> | 46 | </el-select> |
... | @@ -51,17 +51,17 @@ | ... | @@ -51,17 +51,17 @@ |
51 | <el-row> | 51 | <el-row> |
52 | <el-col :span="8"> | 52 | <el-col :span="8"> |
53 | <el-form-item label="宗地代码:" prop="zddm"> | 53 | <el-form-item label="宗地代码:" prop="zddm"> |
54 | <el-input v-model="ruleForm.zddm"></el-input> | 54 | <el-input class="width200px" v-model="ruleForm.zddm"></el-input> |
55 | </el-form-item> | 55 | </el-form-item> |
56 | </el-col> | 56 | </el-col> |
57 | <el-col :span="8"> | 57 | <el-col :span="8"> |
58 | <el-form-item label="不动产单元号:" prop="bdcdyh"> | 58 | <el-form-item label="不动产单元号:" prop="bdcdyh"> |
59 | <el-input v-model="ruleForm.bdcdyh"></el-input> | 59 | <el-input class="width200px" v-model="ruleForm.bdcdyh"></el-input> |
60 | </el-form-item> | 60 | </el-form-item> |
61 | </el-col> | 61 | </el-col> |
62 | <el-col :span="8"> | 62 | <el-col :span="8"> |
63 | <el-form-item label="权利性质:" prop="qlxz"> | 63 | <el-form-item label="权利性质:" prop="qlxz"> |
64 | <el-select v-model="ruleForm.qlxz" filterable clearable placeholder="请选择登记情形"> | 64 | <el-select class="width200px" v-model="ruleForm.qlxz" filterable clearable placeholder="请选择登记情形"> |
65 | <el-option v-for="item in qlxzOption" :key="item.value" :label="item.label" :value="item.value"> | 65 | <el-option v-for="item in qlxzOption" :key="item.value" :label="item.label" :value="item.value"> |
66 | </el-option> | 66 | </el-option> |
67 | </el-select> | 67 | </el-select> |
... | @@ -71,7 +71,7 @@ | ... | @@ -71,7 +71,7 @@ |
71 | <el-row> | 71 | <el-row> |
72 | <el-col :span="8"> | 72 | <el-col :span="8"> |
73 | <el-form-item label="宗地面积:" prop="zdmj"> | 73 | <el-form-item label="宗地面积:" prop="zdmj"> |
74 | <el-input v-model="ruleForm.zdmj"></el-input> | 74 | <el-input class="width200px" v-model="ruleForm.zdmj"></el-input> |
75 | </el-form-item> | 75 | </el-form-item> |
76 | </el-col> | 76 | </el-col> |
77 | <el-col :span="16"> | 77 | <el-col :span="16"> |
... | @@ -83,7 +83,7 @@ | ... | @@ -83,7 +83,7 @@ |
83 | <el-row> | 83 | <el-row> |
84 | <el-col :span="8"> | 84 | <el-col :span="8"> |
85 | <el-form-item label="土地用途:" prop="tdyt"> | 85 | <el-form-item label="土地用途:" prop="tdyt"> |
86 | <el-select v-model="ruleForm.tdyt" filterable clearable placeholder="请选择登记情形"> | 86 | <el-select class="width200px" v-model="ruleForm.tdyt" filterable clearable placeholder="请选择登记情形"> |
87 | <el-option v-for="item in tdytOption" :key="item.value" :label="item.label" :value="item.value"> | 87 | <el-option v-for="item in tdytOption" :key="item.value" :label="item.label" :value="item.value"> |
88 | </el-option> | 88 | </el-option> |
89 | </el-select> | 89 | </el-select> |
... | @@ -91,7 +91,7 @@ | ... | @@ -91,7 +91,7 @@ |
91 | </el-col> | 91 | </el-col> |
92 | <el-col :span="8"> | 92 | <el-col :span="8"> |
93 | <el-form-item label="权利设定方式:" prop="qlsdfs"> | 93 | <el-form-item label="权利设定方式:" prop="qlsdfs"> |
94 | <el-select v-model="ruleForm.qlsdfs" filterable clearable placeholder="请选择登记情形"> | 94 | <el-select class="width200px" v-model="ruleForm.qlsdfs" filterable clearable placeholder="请选择登记情形"> |
95 | <el-option v-for="item in qlsdfsOption" :key="item.value" :label="item.label" :value="item.value"> | 95 | <el-option v-for="item in qlsdfsOption" :key="item.value" :label="item.label" :value="item.value"> |
96 | </el-option> | 96 | </el-option> |
97 | </el-select> | 97 | </el-select> |
... | @@ -99,28 +99,28 @@ | ... | @@ -99,28 +99,28 @@ |
99 | </el-col> | 99 | </el-col> |
100 | <el-col :span="8"> | 100 | <el-col :span="8"> |
101 | <el-form-item label="取得价格:" prop="qdjg"> | 101 | <el-form-item label="取得价格:" prop="qdjg"> |
102 | <el-input v-model="ruleForm.qdjg"></el-input> | 102 | <el-input class="width200px" v-model="ruleForm.qdjg"></el-input> |
103 | </el-form-item> | 103 | </el-form-item> |
104 | </el-col> | 104 | </el-col> |
105 | </el-row> | 105 | </el-row> |
106 | <el-row> | 106 | <el-row> |
107 | <el-col :span="8"> | 107 | <el-col :span="8"> |
108 | <el-form-item label="使用权起始时间:" prop="syqqssj"> | 108 | <el-form-item label="使用权起始时间:" prop="syqqssj"> |
109 | <el-date-picker v-model="ruleForm.syqqssj" type="datetime" placeholder="选择起始时间" | 109 | <el-date-picker class="width200px" v-model="ruleForm.syqqssj" type="datetime" placeholder="选择起始时间" |
110 | value-format="yyyy-MM-dd" > | 110 | value-format="yyyy-MM-dd" > |
111 | </el-date-picker> | 111 | </el-date-picker> |
112 | </el-form-item> | 112 | </el-form-item> |
113 | </el-col> | 113 | </el-col> |
114 | <el-col :span="8"> | 114 | <el-col :span="8"> |
115 | <el-form-item label="使用权结束时间:" prop="syqjssj"> | 115 | <el-form-item label="使用权结束时间:" prop="syqjssj"> |
116 | <el-date-picker v-model="ruleForm.syqjssj" type="datetime" placeholder="选择结束时间" | 116 | <el-date-picker class="width200px" v-model="ruleForm.syqjssj" type="datetime" placeholder="选择结束时间" |
117 | value-format="yyyy-MM-dd" > | 117 | value-format="yyyy-MM-dd" > |
118 | </el-date-picker> | 118 | </el-date-picker> |
119 | </el-form-item> | 119 | </el-form-item> |
120 | </el-col> | 120 | </el-col> |
121 | <el-col :span="8"> | 121 | <el-col :span="8"> |
122 | <el-form-item label="使用期限:" prop="syqx"> | 122 | <el-form-item label="使用期限:" prop="syqx"> |
123 | <el-date-picker v-model="ruleForm.syqx" type="datetime" placeholder="选择使用期限" | 123 | <el-date-picker class="width200px" v-model="ruleForm.syqx" type="datetime" placeholder="选择使用期限" |
124 | value-format="yyyy-MM-dd" > | 124 | value-format="yyyy-MM-dd" > |
125 | </el-date-picker> | 125 | </el-date-picker> |
126 | </el-form-item> | 126 | </el-form-item> |
... | @@ -208,6 +208,7 @@ export default { | ... | @@ -208,6 +208,7 @@ export default { |
208 | } | 208 | } |
209 | </script> | 209 | </script> |
210 | <style scoped lang='scss'> | 210 | <style scoped lang='scss'> |
211 | @import "~@/styles/public.scss"; | ||
211 | .slxx_title { | 212 | .slxx_title { |
212 | border-bottom: 1px solid $borderColor; | 213 | border-bottom: 1px solid $borderColor; |
213 | padding-left: 10px; | 214 | padding-left: 10px; | ... | ... |
1 | <template> | ||
2 | <div> | ||
3 | <dialogBox | ||
4 | title="查询权利信息" | ||
5 | @submitForm="submitForm" | ||
6 | saveButton="发起申请" | ||
7 | width="85%" | ||
8 | @closeDialog="closeDialog" | ||
9 | v-model="value" | ||
10 | > | ||
11 | <div class="from-clues"> | ||
12 | <!-- 表单部分 --> | ||
13 | <div class="from-clues-header"> | ||
14 | <el-form :model="queryForm" ref="queryForm" label-width="100px"> | ||
15 | <el-row> | ||
16 | <el-col :span="5"> | ||
17 | <el-form-item label="权利类型"> | ||
18 | <el-select | ||
19 | v-model="queryForm.qllx" | ||
20 | filterable | ||
21 | clearable | ||
22 | placeholder="请选择权利类型" | ||
23 | > | ||
24 | <el-option | ||
25 | v-for="item in qllxs" | ||
26 | :key="item.value" | ||
27 | :label="item.label" | ||
28 | :value="item.value" | ||
29 | > | ||
30 | </el-option> | ||
31 | </el-select> | ||
32 | </el-form-item> | ||
33 | </el-col> | ||
34 | <el-col :span="6"> | ||
35 | <el-form-item label="不动产单元号"> | ||
36 | <el-input | ||
37 | placeholder="请输入不动产单元号" | ||
38 | v-model="queryForm.bdcdyh" | ||
39 | clearable | ||
40 | class="width200px" | ||
41 | > | ||
42 | </el-input> | ||
43 | </el-form-item> | ||
44 | </el-col> | ||
45 | <el-col :span="5"> | ||
46 | <el-form-item label="业务号"> | ||
47 | <el-input | ||
48 | placeholder="请输入业务号" | ||
49 | v-model="queryForm.ywh" | ||
50 | clearable | ||
51 | class="width200px" | ||
52 | > | ||
53 | </el-input> | ||
54 | </el-form-item> | ||
55 | </el-col> | ||
56 | <el-col :span="6"> | ||
57 | <el-form-item label="不动产权证号"> | ||
58 | <el-input | ||
59 | placeholder="请输入不动产权证号" | ||
60 | v-model="queryForm.bdcqzh" | ||
61 | clearable | ||
62 | class="width200px" | ||
63 | > | ||
64 | </el-input> | ||
65 | </el-form-item> | ||
66 | </el-col> | ||
67 | <el-col :span="2" class="btnCol"> | ||
68 | <el-form-item> | ||
69 | <el-button type="primary" @click="queryClick()" | ||
70 | >查询</el-button | ||
71 | > | ||
72 | </el-form-item> | ||
73 | </el-col> | ||
74 | </el-row> | ||
75 | </el-form> | ||
76 | </div> | ||
77 | <!-- 表格 --> | ||
78 | <div class="from-clues-content"> | ||
79 | <lb-table | ||
80 | :page-size="pageData.pageSize" | ||
81 | heightNumSetting | ||
82 | :current-page.sync="pageData.currentPage" | ||
83 | :total="pageData.total" | ||
84 | @size-change="handleSizeChange" | ||
85 | @p-current-change="handleCurrentChange" | ||
86 | @selection-change="handleSelectionChange" | ||
87 | :column="tableData.columns" | ||
88 | :data="tableData.data" | ||
89 | > | ||
90 | </lb-table> | ||
91 | </div> | ||
92 | </div> | ||
93 | </dialogBox> | ||
94 | </div> | ||
95 | </template> | ||
96 | <script> | ||
97 | import { datas } from "./gyjsydsyqdata.js"; | ||
98 | import { selectBdcdy } from "@/api/ywbl.js"; | ||
99 | export default { | ||
100 | props: { | ||
101 | value: { type: Boolean, default: false }, | ||
102 | }, | ||
103 | data() { | ||
104 | return { | ||
105 | appliDialog: false, | ||
106 | queryForm: { | ||
107 | qllx: "", | ||
108 | bdcdyh: "", | ||
109 | ywh: "", | ||
110 | bdcqzh: "", | ||
111 | sqywbm: "A03100", | ||
112 | }, | ||
113 | qllxs: [], | ||
114 | pageData: { | ||
115 | pageSize: 10, | ||
116 | currentPage: 1, | ||
117 | total: 0, | ||
118 | }, | ||
119 | tableData: { | ||
120 | columns: datas.columns(), | ||
121 | data: [], | ||
122 | }, | ||
123 | }; | ||
124 | }, | ||
125 | created() { | ||
126 | this.init(); | ||
127 | }, | ||
128 | methods: { | ||
129 | init(data) { | ||
130 | selectBdcdy({ ...this.queryForm, ...this.pageData, ...data }) | ||
131 | .then((res) => { | ||
132 | if (res.code === 200) { | ||
133 | let { total, records } = res.result; | ||
134 | this.pageData.total = total; | ||
135 | this.tableData.data = records; | ||
136 | } | ||
137 | }) | ||
138 | .catch(() => {}); | ||
139 | }, | ||
140 | |||
141 | submitForm() { | ||
142 | this.$emit("input", false); | ||
143 | const { href } = this.$router.resolve("/fqsq"); | ||
144 | window.open(href, "_blank"); | ||
145 | }, | ||
146 | |||
147 | closeDialog() { | ||
148 | this.$emit("input", false); | ||
149 | }, | ||
150 | |||
151 | handleSizeChange(val) { | ||
152 | this.list({ | ||
153 | pageSize: val, | ||
154 | currentPage: this.pageData.currentPage, | ||
155 | }); | ||
156 | }, | ||
157 | |||
158 | handleCurrentChange(val) { | ||
159 | this.list({ pageSize: this.pageData.pageSize, currentPage: val }); | ||
160 | }, | ||
161 | |||
162 | handleSelectionChange(val) {}, | ||
163 | }, | ||
164 | }; | ||
165 | </script> | ||
166 | <style scoped lang="scss"> | ||
167 | @import "~@/styles/mixin.scss"; | ||
168 | @import "~@/styles/public.scss"; | ||
169 | </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 | }, | ||
22 | { | ||
23 | prop: "status", | ||
24 | label: "状态", | ||
25 | }, | ||
26 | { | ||
27 | prop: "qllx", | ||
28 | label: "权利类型", | ||
29 | }, | ||
30 | { | ||
31 | prop: "zddm", | ||
32 | label: "宗地代码", | ||
33 | }, | ||
34 | { | ||
35 | prop: "bdcdyh", | ||
36 | label: "不动产单元号", | ||
37 | }, | ||
38 | { | ||
39 | prop: "qlxz", | ||
40 | label: "权利性质", | ||
41 | }, | ||
42 | { | ||
43 | prop: "zdmj", | ||
44 | label: "宗地面积", | ||
45 | }, | ||
46 | { | ||
47 | prop: "qlsdfs", | ||
48 | label: "权利设定方式", | ||
49 | }, | ||
50 | { | ||
51 | prop: "tdyt", | ||
52 | label: "土地用途", | ||
53 | }, | ||
54 | { | ||
55 | prop: "zl", | ||
56 | label: "坐落", | ||
57 | }, | ||
58 | ] | ||
59 | } | ||
60 | |||
61 | |||
62 | } | ||
63 | let datas = new data() | ||
64 | export { | ||
65 | datas, | ||
66 | } |
1 | <template> | ||
2 | <div> | ||
3 | <dialogBox title="查询权利信息" @submitForm="submitForm" saveButton="发起申请" width="85%" @closeDialog="closeDialog" | ||
4 | v-model="value"> | ||
5 | <div class="from-clues"> | ||
6 | <!-- 表单部分 --> | ||
7 | <div class="from-clues-header"> | ||
8 | <el-form :model="queryForm" ref="queryForm" label-width="100px"> | ||
9 | <el-row> | ||
10 | <el-col :span="5"> | ||
11 | <el-form-item label="权利类型"> | ||
12 | <el-select v-model="queryForm.qllx" filterable clearable placeholder="请选择权利类型"> | ||
13 | <el-option v-for="item in qllxs" :key="item.value" :label="item.label" :value="item.value"> | ||
14 | </el-option> | ||
15 | </el-select> | ||
16 | </el-form-item> | ||
17 | </el-col> | ||
18 | <el-col :span="6"> | ||
19 | <el-form-item label="不动产单元号"> | ||
20 | <el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width200px"> | ||
21 | </el-input> | ||
22 | </el-form-item> | ||
23 | </el-col> | ||
24 | <el-col :span="5"> | ||
25 | <el-form-item label="业务号"> | ||
26 | <el-input placeholder="请输入业务号" v-model="queryForm.ywh" clearable class="width200px"> | ||
27 | </el-input> | ||
28 | </el-form-item> | ||
29 | </el-col> | ||
30 | <el-col :span="6"> | ||
31 | <el-form-item label="不动产权证号"> | ||
32 | <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width200px"> | ||
33 | </el-input> | ||
34 | </el-form-item> | ||
35 | </el-col> | ||
36 | <el-col :span="2" class="btnCol"> | ||
37 | <el-form-item> | ||
38 | <el-button type="primary" @click="queryClick()">查询</el-button> | ||
39 | </el-form-item> | ||
40 | </el-col> | ||
41 | </el-row> | ||
42 | </el-form> | ||
43 | </div> | ||
44 | <!-- 表格 --> | ||
45 | <div class="from-clues-content"> | ||
46 | <lb-table :page-size="pageData.pageSize" heightNumSetting :current-page.sync="pageData.currentPage" | ||
47 | :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange" | ||
48 | @selection-change="handleSelectionChange" :column="tableData.columns" :data="tableData.data"> | ||
49 | </lb-table> | ||
50 | </div> | ||
51 | </div> | ||
52 | </dialogBox> | ||
53 | </div> | ||
54 | |||
55 | </template> | ||
56 | <script> | ||
57 | import { datas, sendThis } from "./ywsqdata.js"; | ||
58 | import table from "@/utils/mixin/table"; | ||
59 | import { getselectBdcdy, startBusinessFlow } from "@/api/ywbl.js" | ||
60 | export default { | ||
61 | mixins: [table], | ||
62 | props: { | ||
63 | value: { type: Boolean, default: false }, | ||
64 | bsmSqyw: { type: String, default: '' }, | ||
65 | }, | ||
66 | data () { | ||
67 | return { | ||
68 | appliDialog: false, | ||
69 | queryForm: { | ||
70 | qllx: "", | ||
71 | bdcdyh: "", | ||
72 | ywh: "", | ||
73 | bdcqzh: "", | ||
74 | sqywbm: 'A03100' | ||
75 | }, | ||
76 | qllxs: [], | ||
77 | tableData: { | ||
78 | total: 0, | ||
79 | columns: datas.columns(), | ||
80 | data: [] | ||
81 | }, | ||
82 | bdcdyid: '', | ||
83 | bdcdyh: '' | ||
84 | } | ||
85 | }, | ||
86 | watch: { | ||
87 | value (val) { | ||
88 | if (val) this.fetchData() | ||
89 | } | ||
90 | }, | ||
91 | mounted () { | ||
92 | sendThis(this); | ||
93 | }, | ||
94 | methods: { | ||
95 | fetchData () { | ||
96 | if (this.value) { | ||
97 | getselectBdcdy({ ...this.queryForm, ...this.pageData }).then(res => { | ||
98 | if (res.code === 200) { | ||
99 | let { total, records } = res.result | ||
100 | this.tableData.total = total; | ||
101 | this.tableData.data = records | ||
102 | } | ||
103 | }) | ||
104 | } | ||
105 | }, | ||
106 | submitForm () { | ||
107 | if (this.bdcdyid == '') { | ||
108 | this.$message.error('请至少选择一条数据'); | ||
109 | return | ||
110 | } | ||
111 | startBusinessFlow({ | ||
112 | bsmSqyw: this.bsmSqyw, | ||
113 | bdcdyid: this.bdcdyid, | ||
114 | bdcdyh: this.bdcdyh | ||
115 | }).then(res => { | ||
116 | this.$emit('input', false) | ||
117 | const { href } = this.$router.resolve('/fqsq?bsmSqyw=' + this.bsmSqyw) | ||
118 | window.open(href, '_blank'); | ||
119 | }) | ||
120 | }, | ||
121 | closeDialog () { | ||
122 | this.$emit('input', false) | ||
123 | }, | ||
124 | handleSelectionChange (val) { | ||
125 | this.bdcdyid = val.map(item => item.dyhbsm ? item.dyhbsm : '').join(',') | ||
126 | this.bdcdyh = val.map(item => item.bdcdyh ? item.bdcdyh : '').join(',') | ||
127 | } | ||
128 | } | ||
129 | } | ||
130 | </script> | ||
131 | <style scoped lang="scss"> | ||
132 | @import "~@/styles/mixin.scss"; | ||
133 | |||
134 | .qtjfjmb-edit-title { | ||
135 | padding-bottom: 10px; | ||
136 | border-bottom: 1px solid $borderColor; | ||
137 | margin-bottom: 10px; | ||
138 | } | ||
139 | |||
140 | /deep/.el-input { | ||
141 | width: 187px; | ||
142 | } | ||
143 | |||
144 | ul { | ||
145 | @include flex; | ||
146 | border-radius: 5px; | ||
147 | overflow: hidden; | ||
148 | margin-bottom: 20px; | ||
149 | |||
150 | .active { | ||
151 | background: $light-blue; | ||
152 | color: #fff; | ||
153 | } | ||
154 | |||
155 | li { | ||
156 | flex: 1; | ||
157 | line-height: 36px; | ||
158 | @include flex-center; | ||
159 | border: 1px solid $borderColor; | ||
160 | margin-left: -1px; | ||
161 | cursor: pointer; | ||
162 | transition: all 0.3s; | ||
163 | |||
164 | &:hover { | ||
165 | @extend .active; | ||
166 | } | ||
167 | } | ||
168 | } | ||
169 | </style> |
File mode changed
... | @@ -68,7 +68,7 @@ | ... | @@ -68,7 +68,7 @@ |
68 | </template> | 68 | </template> |
69 | <script> | 69 | <script> |
70 | import { getCollectBiz, getleftMenu, getNextNode } from "@/api/ywbl" | 70 | import { getCollectBiz, getleftMenu, getNextNode } from "@/api/ywbl" |
71 | import choiceDialog from "./components/selectql.vue" | 71 | import choiceDialog from "./components/gyjsydsyq/gyjsydsyq.vue" |
72 | export default { | 72 | export default { |
73 | data () { | 73 | data () { |
74 | return { | 74 | return { | ... | ... |
-
Please register or sign in to post a comment