5a669229 by renchao@pashanhoo.com

Merge branch 'dev'

2 parents bd1d48ef 3f8965b6
<!--
* @Description: workFrame左侧菜单列表-分割
* @Autor: renchao
* @LastEditTime: 2023-10-12 17:12:42
* @LastEditTime: 2023-10-13 11:24:29
-->
<template>
<div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }">
......@@ -221,7 +221,7 @@
* @author: renchao
*/
unitClick (index) {
window.currentSelect = this.unitData[index]
window.currentSelect = this.aroundUnitData[index]
this.activeHIndex = '-1'
this.currentSelectProps = this.aroundUnitData[index];
this.currentSelectProps.issave = '1'
......@@ -233,12 +233,12 @@
this.$parent.stepForm(index);
},
/**
* @description: handleAfterunitClick
* @description: 变更后单元
* @param {*} index
* @author: renchao
*/
handleAfterunitClick (index) {
window.currentSelect = this.unitData[index]
window.currentSelect = this.afterUnitData[index]
this.activeIndex = '-1'
this.currentSelectProps = this.afterUnitData[index];
this.currentSelectProps.batchOperation = false;
......
......@@ -23,6 +23,7 @@
}
},
mounted () {
console.log(this.formData, 'this.formData');
if (this.formData?.sqywInfo?.djywbm || this.formData?.djywbm) {
let view = queueDjywmc(this.formData?.sqywInfo?.djywbm || this.formData?.djywbm, this.formData?.sqywInfo?.nodecode || this.formData?.nodecode);
this.router = this.loadView(view);
......