820e4384 by renchao@pashanhoo.com

style:批量操作

1 parent 0e4babcb
......@@ -76,7 +76,6 @@
* @author: renchao
*/
handleSubmit () {
debugger
this.$refs['ruleForm'].validate((valid) => {
if (valid) {
this.$parent.addSave(this.ruleForm);
......
<!--
* @Description: workFrame左侧菜单列表-普通
* @Autor: renchao
* @LastEditTime: 2023-07-21 10:15:11
* @LastEditTime: 2023-07-25 14:14:04
-->
<template>
<div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }">
......@@ -177,9 +177,8 @@
* @author: renchao
*/
batchUnitClick () {
debugger
this.currentSelectProps.batchOperation = true;
// this.activeIndex = "-1";
this.activeIndex = "-1";
this.$parent.stepForm(0);
},
......@@ -201,7 +200,7 @@
* @author: renchao
*/
unitClick (index) {
if(this.unitData.length==0) return
if (this.unitData.length == 0) return
this.currentSelectProps = this.unitData[index];
this.currentSelectProps.batchOperation = false;
this.activeIndex = index.toString();
......
......@@ -158,6 +158,7 @@
this.fresh++;
//获取单元对应的所有表单信息
this.tabList = res.result;
console.log(res.result, 'res.result');
//默认加载第一个表单信息
let arr = res.result.filter(item => item.defaultForm)
if (arr.length > 0) {
......