5568e1e6 by xiaomiao

--no commit message

1 parent 451fa0ca
......@@ -2,7 +2,7 @@
<div class="from-clues">
<el-tabs type="card" v-model="activeName" @tab-click="handleTabClick" v-if="!isJump">
<el-tab-pane label="自然幢" name="zrz"></el-tab-pane>
<el-tab-pane label="多幢" name="h"></el-tab-pane>
<el-tab-pane label="多幢" name="dz"></el-tab-pane>
</el-tabs>
<div v-if="activeName == 'zrz'">
<div class="from-clues-header">
......@@ -66,12 +66,12 @@
<el-button type="primary" plain @click="submitForm">发起申请</el-button>
</div>
</div>
<div v-if="activeName == 'h'">
<div v-if="activeName == 'dz'">
<div class="from-clues-header">
<el-form :model="queryFormduo" ref="queryFormduo" label-width="110px">
<el-row>
<el-col :span="7">
<el-form-item label="宗地代码">
<el-form-item label="宗地代码11">
<el-input placeholder="请输入宗地代码" v-model="queryFormduo.zddm" clearable>
</el-input>
</el-form-item>
......@@ -184,7 +184,6 @@
queryClick () {
if (!this.isJump) {
//从业务办理进入
if (this.activeName == "zrz") {
this.queryForm.sqywbm = this.sqywInfo.djywbm;
this.queryForm.fwfl = this.activeName;
......@@ -198,7 +197,6 @@
this.queryFormduo.sqywbm = this.sqywInfo.djywbm;
this.queryFormduo.fwfl = this.activeName;
selectH({ ...this.queryFormduo, ...this.pageData }).then((res) => {
console.log("resssssssssssssssss", res);
if (res.code === 200) {
this.tableDataduo.total = res.result.total;
this.tableDataduo.data = res.result.records;
......@@ -219,20 +217,17 @@
})
}
},
// 切换事件
handleTabClick () {
this.bdcdysz = []
this.pageData.currentPage = 1;
this.bdcdysz = [],
this.pageData.currentPage = 1;
this.queryClick();
},
// 发起申请事件
submitForm () {
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
if (!this.isJump) {
startBusinessFlow({
bsmSqyw: this.bsmSqyw,
fwlx: this.activeName,
......@@ -269,14 +264,12 @@
})
}
},
// 列表勾选事件
handleSelectionChange (val) {
val.forEach((item, index) => {
item.bsmSsql = item.zdbsm
})
this.bdcdysz = val
},
// 点击楼盘表
handleLpbClick (item) {
this.$popup('楼盘表', 'lpb/index', {
width: '85%',
......@@ -288,6 +281,8 @@
}
})
}
}
}
</script>
......