87756a61 by xiaomiao

单元申请列表问题处理

1 parent cfac9043
......@@ -123,7 +123,12 @@
deleteSlbdcdy(formdata).then((res) => {
if (res.code == 200) {
this.$message.success("删除成功");
this.$parent.updateDialog();
/**
* @description: 更新列表
* @author: miaofang
*/
this.loadBdcdylist()
// this.$parent.updateDialog();
} else {
this.$message.error(res.message);
}
......@@ -154,6 +159,8 @@
this.currentSelectProps = this.unitData[index];
this.currentSelectProps.batchOperation = false;
this.activeIndex = index.toString();
//选中表单传递数据
this.$emit('getCurrentSelectProps', this.currentSelectProps);
this.$parent.stepForm(index);
}
}
......@@ -162,4 +169,7 @@
<style scoped lang='scss'>
@import "~@/styles/mixin.scss";
@import "../../workFrame.scss";
</style>
\ No newline at end of file
.leftmenu ul{
height: calc(100vh - 120px);
}
</style>
......
......@@ -209,4 +209,4 @@
position: absolute;
left: 0;
bottom: 0;
}
\ No newline at end of file
}
......
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-22 09:45:59
-->
......@@ -150,9 +150,30 @@
* @description: 更新列表
* @author: renchao
*/
updateDialog () {
this.loadBdcdylist();
},
// updateDialog () {
// this.loadBdcdylist();
// },
// //读取申请单元信息
// loadBdcdylist () {
// var formdata = new FormData();
// formdata.append("bsmSlsq", this.bsmSlsq);
// formdata.append("bestepid", this.bestepid);
// leftMenu(formdata).then((res) => {
// if (res.code === 200 && res.result) {
// this.unitData = res.result;
// this.currentSelectProps = res.result[0];
// this.$emit('getCurrentSelectProps', this.currentSelectProps);
// this.judgeBatchShow();
// if (this.showBatch) {
// //满足批量查封/批量抵押按钮出现 即先展示批量表单
// this.batchUnitClick();
// } else {
// //默认选择单元列表第一个
// this.unitClick(0);
// }
// }
// })
// },
//申请单元点击事件
stepForm (index) {
getStepFormInfo(this.currentSelectProps).then((res) => {
......