5568e1e6 by xiaomiao

--no commit message

1 parent 451fa0ca
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 <div class="from-clues"> 2 <div class="from-clues">
3 <el-tabs type="card" v-model="activeName" @tab-click="handleTabClick" v-if="!isJump"> 3 <el-tabs type="card" v-model="activeName" @tab-click="handleTabClick" v-if="!isJump">
4 <el-tab-pane label="自然幢" name="zrz"></el-tab-pane> 4 <el-tab-pane label="自然幢" name="zrz"></el-tab-pane>
5 <el-tab-pane label="多幢" name="h"></el-tab-pane> 5 <el-tab-pane label="多幢" name="dz"></el-tab-pane>
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">
...@@ -66,12 +66,12 @@ ...@@ -66,12 +66,12 @@
66 <el-button type="primary" plain @click="submitForm">发起申请</el-button> 66 <el-button type="primary" plain @click="submitForm">发起申请</el-button>
67 </div> 67 </div>
68 </div> 68 </div>
69 <div v-if="activeName == 'h'"> 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="queryFormduo" ref="queryFormduo" label-width="110px">
72 <el-row> 72 <el-row>
73 <el-col :span="7"> 73 <el-col :span="7">
74 <el-form-item label="宗地代码"> 74 <el-form-item label="宗地代码11">
75 <el-input placeholder="请输入宗地代码" v-model="queryFormduo.zddm" clearable> 75 <el-input placeholder="请输入宗地代码" v-model="queryFormduo.zddm" clearable>
76 </el-input> 76 </el-input>
77 </el-form-item> 77 </el-form-item>
...@@ -184,7 +184,6 @@ ...@@ -184,7 +184,6 @@
184 queryClick () { 184 queryClick () {
185 if (!this.isJump) { 185 if (!this.isJump) {
186 //从业务办理进入 186 //从业务办理进入
187
188 if (this.activeName == "zrz") { 187 if (this.activeName == "zrz") {
189 this.queryForm.sqywbm = this.sqywInfo.djywbm; 188 this.queryForm.sqywbm = this.sqywInfo.djywbm;
190 this.queryForm.fwfl = this.activeName; 189 this.queryForm.fwfl = this.activeName;
...@@ -198,7 +197,6 @@ ...@@ -198,7 +197,6 @@
198 this.queryFormduo.sqywbm = this.sqywInfo.djywbm; 197 this.queryFormduo.sqywbm = this.sqywInfo.djywbm;
199 this.queryFormduo.fwfl = this.activeName; 198 this.queryFormduo.fwfl = this.activeName;
200 selectH({ ...this.queryFormduo, ...this.pageData }).then((res) => { 199 selectH({ ...this.queryFormduo, ...this.pageData }).then((res) => {
201 console.log("resssssssssssssssss", res);
202 if (res.code === 200) { 200 if (res.code === 200) {
203 this.tableDataduo.total = res.result.total; 201 this.tableDataduo.total = res.result.total;
204 this.tableDataduo.data = res.result.records; 202 this.tableDataduo.data = res.result.records;
...@@ -219,20 +217,17 @@ ...@@ -219,20 +217,17 @@
219 }) 217 })
220 } 218 }
221 }, 219 },
222 // 切换事件
223 handleTabClick () { 220 handleTabClick () {
224 this.bdcdysz = [] 221 this.bdcdysz = [],
225 this.pageData.currentPage = 1; 222 this.pageData.currentPage = 1;
226 this.queryClick(); 223 this.queryClick();
227 }, 224 },
228 // 发起申请事件
229 submitForm () { 225 submitForm () {
230 if (this.bdcdysz.length == 0) { 226 if (this.bdcdysz.length == 0) {
231 this.$message.error("请至少选择一条数据"); 227 this.$message.error("请至少选择一条数据");
232 return; 228 return;
233 } 229 }
234 if (!this.isJump) { 230 if (!this.isJump) {
235
236 startBusinessFlow({ 231 startBusinessFlow({
237 bsmSqyw: this.bsmSqyw, 232 bsmSqyw: this.bsmSqyw,
238 fwlx: this.activeName, 233 fwlx: this.activeName,
...@@ -269,14 +264,12 @@ ...@@ -269,14 +264,12 @@
269 }) 264 })
270 } 265 }
271 }, 266 },
272 // 列表勾选事件
273 handleSelectionChange (val) { 267 handleSelectionChange (val) {
274 val.forEach((item, index) => { 268 val.forEach((item, index) => {
275 item.bsmSsql = item.zdbsm 269 item.bsmSsql = item.zdbsm
276 }) 270 })
277 this.bdcdysz = val 271 this.bdcdysz = val
278 }, 272 },
279 // 点击楼盘表
280 handleLpbClick (item) { 273 handleLpbClick (item) {
281 this.$popup('楼盘表', 'lpb/index', { 274 this.$popup('楼盘表', 'lpb/index', {
282 width: '85%', 275 width: '85%',
...@@ -288,6 +281,8 @@ ...@@ -288,6 +281,8 @@
288 } 281 }
289 }) 282 })
290 } 283 }
284
285
291 } 286 }
292 } 287 }
293 </script> 288 </script>
......