79cbd3d9 by jiaozeping@pashanhoo.com

自然幢多幢选择修改代码

1 parent 940c90c0
...@@ -6,23 +6,23 @@ ...@@ -6,23 +6,23 @@
6 </el-tabs> 6 </el-tabs>
7 <div v-if="activeName == 'zrz'"> 7 <div v-if="activeName == 'zrz'">
8 <div class="from-clues-header"> 8 <div class="from-clues-header">
9 <el-form :model="queryForm" ref="queryForm" label-width="110px"> 9 <el-form :model="queryzrzForm" ref="queryzrzForm" label-width="110px">
10 <el-row> 10 <el-row>
11 <el-col :span="7"> 11 <el-col :span="7">
12 <el-form-item label="宗地代码"> 12 <el-form-item label="宗地代码">
13 <el-input placeholder="请输入宗地代码" v-model="queryForm.zddm" clearable> 13 <el-input placeholder="请输入宗地代码" v-model="queryzrzForm.zddm" clearable>
14 </el-input> 14 </el-input>
15 </el-form-item> 15 </el-form-item>
16 </el-col> 16 </el-col>
17 <el-col :span="7"> 17 <el-col :span="7">
18 <el-form-item label="土地证号"> 18 <el-form-item label="土地证号">
19 <el-input placeholder="请输入土地证号" v-model="queryForm.bdcqzh" clearable> 19 <el-input placeholder="请输入土地证号" v-model="queryzrzForm.bdcqzh" clearable>
20 </el-input> 20 </el-input>
21 </el-form-item> 21 </el-form-item>
22 </el-col> 22 </el-col>
23 <el-col :span="7"> 23 <el-col :span="7">
24 <el-form-item label="土地坐落"> 24 <el-form-item label="土地坐落">
25 <el-input placeholder="请输入土地坐落" v-model="queryForm.zl" clearable> 25 <el-input placeholder="请输入土地坐落" v-model="queryzrzForm.zl" clearable>
26 </el-input> 26 </el-input>
27 </el-form-item> 27 </el-form-item>
28 </el-col> 28 </el-col>
...@@ -30,18 +30,18 @@ ...@@ -30,18 +30,18 @@
30 <el-row> 30 <el-row>
31 <el-col :span="7"> 31 <el-col :span="7">
32 <el-form-item label="自然幢号"> 32 <el-form-item label="自然幢号">
33 <el-input placeholder="请输入自然幢号" v-model="queryForm.zrzh" clearable> 33 <el-input placeholder="请输入自然幢号" v-model="queryzrzForm.zrzh" clearable>
34 </el-input> 34 </el-input>
35 </el-form-item> 35 </el-form-item>
36 </el-col> 36 </el-col>
37 <el-col :span="7"> 37 <el-col :span="7">
38 <el-form-item label="项目名称"> 38 <el-form-item label="项目名称">
39 <el-input placeholder="请输入项目名称" v-model="queryForm.xmmc"></el-input> 39 <el-input placeholder="请输入项目名称" v-model="queryzrzForm.xmmc"></el-input>
40 </el-form-item> 40 </el-form-item>
41 </el-col> 41 </el-col>
42 <el-col :span="7"> 42 <el-col :span="7">
43 <el-form-item label="建筑物名称"> 43 <el-form-item label="建筑物名称">
44 <el-input placeholder="请输入建筑物名称" v-model="queryForm.jzwmc" clearable> 44 <el-input placeholder="请输入建筑物名称" v-model="queryzrzForm.jzwmc" clearable>
45 </el-input> 45 </el-input>
46 </el-form-item> 46 </el-form-item>
47 </el-col> 47 </el-col>
...@@ -56,9 +56,9 @@ ...@@ -56,9 +56,9 @@
56 </div> 56 </div>
57 <div class="from-clues-content"> 57 <div class="from-clues-content">
58 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :heightNum="400" 58 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :heightNum="400"
59 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" 59 :current-page.sync="pageData.currentPage" :total="zrztableData.total" @size-change="handleSizeChange"
60 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" 60 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="zrztableData.columns"
61 :data="tableData.data"> 61 :data="zrztableData.data">
62 </lb-table> 62 </lb-table>
63 </div> 63 </div>
64 <div class="submit_button"> 64 <div class="submit_button">
...@@ -68,23 +68,23 @@ ...@@ -68,23 +68,23 @@
68 </div> 68 </div>
69 <div v-if="activeName == 'dz'"> 69 <div v-if="activeName == 'dz'">
70 <div class="from-clues-header"> 70 <div class="from-clues-header">
71 <el-form :model="queryFormduo" ref="queryFormduo" label-width="110px"> 71 <el-form :model="querydzForm" ref="querydzForm" label-width="110px">
72 <el-row> 72 <el-row>
73 <el-col :span="7"> 73 <el-col :span="7">
74 <el-form-item label="宗地代码11"> 74 <el-form-item label="宗地代码11">
75 <el-input placeholder="请输入宗地代码" v-model="queryFormduo.zddm" clearable> 75 <el-input placeholder="请输入宗地代码" v-model="querydzForm.zddm" clearable>
76 </el-input> 76 </el-input>
77 </el-form-item> 77 </el-form-item>
78 </el-col> 78 </el-col>
79 <el-col :span="7"> 79 <el-col :span="7">
80 <el-form-item label="土地证号"> 80 <el-form-item label="土地证号">
81 <el-input placeholder="请输入土地证号" v-model="queryFormduo.bdcqzh" clearable> 81 <el-input placeholder="请输入土地证号" v-model="querydzForm.bdcqzh" clearable>
82 </el-input> 82 </el-input>
83 </el-form-item> 83 </el-form-item>
84 </el-col> 84 </el-col>
85 <el-col :span="7"> 85 <el-col :span="7">
86 <el-form-item label="土地坐落"> 86 <el-form-item label="土地坐落">
87 <el-input placeholder="请输入土地坐落" v-model="queryFormduo.zl" clearable> 87 <el-input placeholder="请输入土地坐落" v-model="querydzForm.zl" clearable>
88 </el-input> 88 </el-input>
89 </el-form-item> 89 </el-form-item>
90 </el-col> 90 </el-col>
...@@ -92,18 +92,18 @@ ...@@ -92,18 +92,18 @@
92 <el-row> 92 <el-row>
93 <el-col :span="7"> 93 <el-col :span="7">
94 <el-form-item label="自然幢号"> 94 <el-form-item label="自然幢号">
95 <el-input placeholder="请输入自然幢号" v-model="queryFormduo.zrzh" clearable> 95 <el-input placeholder="请输入自然幢号" v-model="querydzForm.zrzh" clearable>
96 </el-input> 96 </el-input>
97 </el-form-item> 97 </el-form-item>
98 </el-col> 98 </el-col>
99 <el-col :span="7"> 99 <el-col :span="7">
100 <el-form-item label="项目名称"> 100 <el-form-item label="项目名称">
101 <el-input placeholder="请输入项目名称" v-model="queryFormduo.xmmc"></el-input> 101 <el-input placeholder="请输入项目名称" v-model="querydzForm.xmmc"></el-input>
102 </el-form-item> 102 </el-form-item>
103 </el-col> 103 </el-col>
104 <el-col :span="7"> 104 <el-col :span="7">
105 <el-form-item label="建筑物名称"> 105 <el-form-item label="建筑物名称">
106 <el-input placeholder="请输入建筑物名称" v-model="queryFormduo.jzwmc" clearable> 106 <el-input placeholder="请输入建筑物名称" v-model="querydzForm.jzwmc" clearable>
107 </el-input> 107 </el-input>
108 </el-form-item> 108 </el-form-item>
109 </el-col> 109 </el-col>
...@@ -118,9 +118,9 @@ ...@@ -118,9 +118,9 @@
118 </div> 118 </div>
119 <div class="from-clues-content"> 119 <div class="from-clues-content">
120 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :heightNum="400" 120 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :heightNum="400"
121 :current-page.sync="pageData.currentPage" :total="tableDataduo.total" @size-change="handleSizeChange" 121 :current-page.sync="pageData.currentPage" :total="dztableData.total" @size-change="handleSizeChange"
122 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableDataduo.columns" 122 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="dztableData.columns"
123 :data="tableDataduo.data"> 123 :data="dztableData.data">
124 </lb-table> 124 </lb-table>
125 </div> 125 </div>
126 <div class="submit_button"> 126 <div class="submit_button">
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
133 <script> 133 <script>
134 //国有建设用地使用权/房屋使用权 134 //国有建设用地使用权/房屋使用权
135 import { datas, sendThis } from "../javascript/fwsyq.js"; 135 import { datas, sendThis } from "../javascript/fwsyq.js";
136 import { datasduo, sendThisduo } from "../javascript/fwsyqduo.js"; 136 // import { datasduo, sendThisduo } from "../javascript/fwsyqduo.js";
137 import table from "@/utils/mixin/table"; 137 import table from "@/utils/mixin/table";
138 import jump from "@/views/ywbl/ywsq/components/mixin/jump"; 138 import jump from "@/views/ywbl/ywsq/components/mixin/jump";
139 import { selectScBdcdy, startBusinessFlow, choiceBdcdy, selectOtherH, selectZrz, selectH } from "@/api/ywbl.js"; 139 import { selectScBdcdy, startBusinessFlow, choiceBdcdy, selectOtherH, selectZrz, selectH } from "@/api/ywbl.js";
...@@ -146,26 +146,26 @@ ...@@ -146,26 +146,26 @@
146 data () { 146 data () {
147 return { 147 return {
148 activeName: 'zrz', 148 activeName: 'zrz',
149 queryForm: { 149 queryzrzForm: {
150 qllx: '', 150 qllx: '',
151 bdcdyh: '', 151 bdcdyh: '',
152 ywh: '', 152 ywh: '',
153 bdcqzh: '' 153 bdcqzh: ''
154 }, 154 },
155 queryFormduo: { 155 querydzForm: {
156 qllx: '', 156 qllx: '',
157 bdcdyh: '', 157 bdcdyh: '',
158 ywh: '', 158 ywh: '',
159 bdcqzh: '' 159 bdcqzh: ''
160 }, 160 },
161 tableData: { 161 zrztableData: {
162 total: 0, 162 total: 0,
163 columns: datas.columns(), 163 columns: datas.zrzcolumns(),
164 data: [], 164 data: [],
165 }, 165 },
166 tableDataduo: { 166 dztableData: {
167 total: 0, 167 total: 0,
168 columns: datasduo.columns(), 168 columns: datas.dzcolumns(),
169 data: [], 169 data: [],
170 }, 170 },
171 bdcdysz: [], 171 bdcdysz: [],
...@@ -177,7 +177,6 @@ ...@@ -177,7 +177,6 @@
177 }, 177 },
178 mounted () { 178 mounted () {
179 sendThis(this) 179 sendThis(this)
180 sendThisduo(this)
181 180
182 }, 181 },
183 methods: { 182 methods: {
...@@ -185,21 +184,21 @@ ...@@ -185,21 +184,21 @@
185 if (!this.isJump) { 184 if (!this.isJump) {
186 //从业务办理进入 185 //从业务办理进入
187 if (this.activeName == "zrz") { 186 if (this.activeName == "zrz") {
188 this.queryForm.sqywbm = this.sqywInfo.djywbm; 187 this.queryzrzForm.sqywbm = this.sqywInfo.djywbm;
189 this.queryForm.fwfl = this.activeName; 188 this.queryzrzForm.fwfl = this.activeName;
190 selectZrz({ ...this.queryForm, ...this.pageData }).then((res) => { 189 selectZrz({ ...this.queryzrzForm, ...this.pageData }).then((res) => {
191 if (res.code === 200) { 190 if (res.code === 200) {
192 this.tableData.total = res.result.total; 191 this.zrztableData.total = res.result.total;
193 this.tableData.data = res.result.records; 192 this.zrztableData.data = res.result.records;
194 } 193 }
195 }); 194 });
196 } else { 195 } else {
197 this.queryFormduo.sqywbm = this.sqywInfo.djywbm; 196 this.querydzForm.sqywbm = this.sqywInfo.djywbm;
198 this.queryFormduo.fwfl = this.activeName; 197 this.querydzForm.fwfl = this.activeName;
199 selectH({ ...this.queryFormduo, ...this.pageData }).then((res) => { 198 selectH({ ...this.querydzForm, ...this.pageData }).then((res) => {
200 if (res.code === 200) { 199 if (res.code === 200) {
201 this.tableDataduo.total = res.result.total; 200 this.dztableData.total = res.result.total;
202 this.tableDataduo.data = res.result.records; 201 this.dztableData.data = res.result.records;
203 } 202 }
204 }) 203 })
205 } 204 }
...@@ -207,12 +206,12 @@ ...@@ -207,12 +206,12 @@
207 } else { 206 } else {
208 //从办理框架选择不动产单元进入 207 //从办理框架选择不动产单元进入
209 //房屋首次办理选择不动产需找出对应自然幢下未选择的户 208 //房屋首次办理选择不动产需找出对应自然幢下未选择的户
210 this.queryForm.bsmSlsq = this.$route.query.bsmSlsq; 209 this.queryzrzForm.bsmSlsq = this.$route.query.bsmSlsq;
211 selectOtherH({ ...this.queryForm, ...this.pageData }).then((res) => { 210 selectOtherH({ ...this.queryzrzForm, ...this.pageData }).then((res) => {
212 if (res.code === 200) { 211 if (res.code === 200) {
213 let { total, records } = res.result; 212 let { total, records } = res.result;
214 this.tableData.total = total; 213 this.zrztableData.total = total;
215 this.tableData.data = records; 214 this.zrztableData.data = records;
216 } 215 }
217 }) 216 })
218 } 217 }
......
...@@ -8,7 +8,7 @@ class data extends filter { ...@@ -8,7 +8,7 @@ class data extends filter {
8 constructor() { 8 constructor() {
9 super() 9 super()
10 } 10 }
11 columns () { 11 zrzcolumns () {
12 return [ 12 return [
13 { 13 {
14 type: 'selection', 14 type: 'selection',
...@@ -17,7 +17,123 @@ class data extends filter { ...@@ -17,7 +17,123 @@ class data extends filter {
17 selectable: this.selected 17 selectable: this.selected
18 }, 18 },
19 { 19 {
20 label: '序号', 20 label: '序号1',
21 type: 'index',
22 width: '50',
23 render: (h, scope) => {
24 return (
25 <div>
26 {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
27 </div>
28 )
29 }
30 },
31 {
32 label: "状态",
33 render: (h, scope) => {
34 return (
35 <div>
36 {/* <a v-on:click="doSomething"></a> */}
37 <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a>
38 <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span>
39 <span v-show={scope.row.ycfzt == 1}>,已预查封</span>
40 <span v-show={scope.row.ycfzt == 1}>,已预查封</span>
41 <span v-show={scope.row.cfzt == 1}>,已查封</span>
42 <span v-show={scope.row.diyizt == 1}>,已地役</span>
43 <span v-show={scope.row.yyzt == 1}>,异议中</span>
44 <span v-show={scope.row.xzzt == 1}>,已限制</span>
45 <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span>
46 <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span>
47 <span v-show={scope.row.dyzt == 1}>,已抵押</span>
48 </div>
49 )
50 }
51 },
52 {
53 prop: "tdzh",
54 label: "土地证号",
55 },
56 {
57 prop: "qllxmc",
58 label: "权利类型",
59 },
60 {
61 prop: "xmmc",
62 label: "项目名称",
63 },
64 {
65 prop: "zrzh",
66 label: "自然幢号",
67 },
68 {
69 prop: "jzwmc",
70 label: "建筑物名称",
71 },
72 {
73 label: "土地/房屋性质",
74 render: (h, scope) => {
75 return (
76 <div>
77 {(scope.row.showQlxz) + (' / ') + (scope.row.fwxzmc)}
78 </div>
79 )
80 }
81 },
82 {
83 label: "面积",
84 render: (h, scope) => {
85 return (
86 <div>
87 {(scope.row.zdmj) + (' / ') + (scope.row.scjzmj)}
88 </div>
89 )
90 }
91 },
92 {
93 label: "土地/房屋用途",
94 render: (h, scope) => {
95 return (
96 <div>
97 {(scope.row.showTdyt) + (' / ') + (scope.row.showFwyt)}
98 </div>
99 )
100 }
101 },
102 {
103 prop: "zcs",
104 label: "总层数",
105 width: '70',
106 },
107 {
108 prop: "zts",
109 label: "总套数",
110 width: '70',
111 },
112 {
113 prop: "zl",
114 label: "自然幢坐落",
115 },
116 {
117 label: '操作',
118 width: '80',
119 align: 'center',
120 fixed: 'right',
121 render: (h, scope) => {
122 return <el-button type="text" onClick={() => { vm.handleLpbClick(scope.row) }}>楼盘表</el-button>
123 }
124 }
125 ]
126 }
127 dzcolumns () {
128 return [
129 {
130 type: 'selection',
131 label: '全选',
132 width: '30',
133 selectable: this.selected
134 },
135 {
136 label: '序号2',
21 type: 'index', 137 type: 'index',
22 width: '50', 138 width: '50',
23 render: (h, scope) => { 139 render: (h, scope) => {
...@@ -124,7 +240,6 @@ class data extends filter { ...@@ -124,7 +240,6 @@ class data extends filter {
124 } 240 }
125 ] 241 ]
126 } 242 }
127
128 243
129 } 244 }
130 let datas = new data() 245 let datas = new data()
......
1 import filter from '@/utils/filter.js'
2 let vm = null
3
4 const sendThisduo = (_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 width: '30',
17 selectable: this.selected
18 },
19 {
20 label: '序号',
21 type: 'index',
22 width: '50',
23 render: (h, scope) => {
24 return (
25 <div>
26 {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
27 </div>
28 )
29 }
30 },
31 {
32 label: "状态",
33 render: (h, scope) => {
34 return (
35 <div>
36 {/* <a v-on:click="doSomething"></a> */}
37 <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a>
38 <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span>
39 <span v-show={scope.row.ycfzt == 1}>,已预查封</span>
40 <span v-show={scope.row.ycfzt == 1}>,已预查封</span>
41 <span v-show={scope.row.cfzt == 1}>,已查封</span>
42 <span v-show={scope.row.diyizt == 1}>,已地役</span>
43 <span v-show={scope.row.yyzt == 1}>,异议中</span>
44 <span v-show={scope.row.xzzt == 1}>,已限制</span>
45 <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span>
46 <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span>
47 <span v-show={scope.row.dyzt == 1}>,已抵押</span>
48 </div>
49 )
50 }
51 },
52 {
53 prop: "tdzh",
54 label: "土地证号",
55 },
56 {
57 prop: "qllxmc",
58 label: "权利类型",
59 },
60 {
61 prop: "xmmc",
62 label: "项目名称",
63 },
64 {
65 prop: "zrzh",
66 label: "自然幢号",
67 },
68 {
69 prop: "jzwmc",
70 label: "建筑物名称",
71 },
72 {
73 label: "土地/房屋性质",
74 render: (h, scope) => {
75 return (
76 <div>
77 {(scope.row.showQlxz) + (' / ') + (scope.row.fwxzmc)}
78 </div>
79 )
80 }
81 },
82 {
83 label: "面积",
84 render: (h, scope) => {
85 return (
86 <div>
87 {(scope.row.zdmj) + (' / ') + (scope.row.scjzmj)}
88 </div>
89 )
90 }
91 },
92 {
93 label: "土地/房屋用途",
94 render: (h, scope) => {
95 return (
96 <div>
97 {(scope.row.showTdyt) + (' / ') + (scope.row.showFwyt)}
98 </div>
99 )
100 }
101 },
102 {
103 prop: "zcs",
104 label: "总层数",
105 width: '70',
106 },
107 {
108 prop: "zts",
109 label: "总套数",
110 width: '70',
111 },
112 {
113 prop: "zl",
114 label: "自然幢坐落",
115 },
116 {
117 label: '操作',
118 width: '80',
119 align: 'center',
120 fixed: 'right',
121 render: (h, scope) => {
122 return <el-button type="text" onClick={() => { vm.handleLpbClick(scope.row) }}>楼盘表</el-button>
123 }
124 }
125 ]
126 }
127
128
129 }
130 let datasduo = new data()
131 export {
132 datasduo,
133 sendThisduo
134 }