229d8a1f by xiaomiao

切换菜单组件更新

1 parent 709fae50
......@@ -200,6 +200,7 @@ export default {
};
},
created() {
console.log("受理信息",this.ruleForm);
this.loadData();
},
mounted() {},
......
......@@ -122,6 +122,7 @@ export default {
},
methods: {
// 获取右侧选项卡
getCurrentSelectProps (val) {
this.currentSelectProps = val
if(this.currentSelectProps.bsmRepair){
......@@ -158,27 +159,8 @@ export default {
},
// 增加补录记录
addRepairRecord(row){
let from={
bsmQlxx:"",
bsmSlsq:this.bsmSlsq,
bsmSldy:this.currentSelectProps.bsmSldy,
operate:"C",
qllx:this.currentSelectProps.qllx
}
if(row){
from.bsmQlxx=row.bsmQlxx
from.operate="U"
}
addRepairRecord(from).then((res) => {
this.$nextTick(() => {
this.$refs.Menu.getleftMenubl(res.result);
});
});
},
tabset(){
this.tabName = '';
this.tabList = [
{
name: "受理信息",
......@@ -196,7 +178,11 @@ export default {
sort: 2,
},
];
this.tabName = 'slxx';
this.$nextTick(function () {
this.tabName = 'slxx';
});
},
// stepForm(index){
......@@ -216,7 +202,28 @@ export default {
}
}
this.componentTag = getForm(tabname, this.$route.query.sqywbm);
}
},
// 增加补录记录
addRepairRecord(row){
let from={
bsmQlxx:"",
bsmSlsq:this.bsmSlsq,
bsmSldy:this.currentSelectProps.bsmSldy,
operate:"C",
qllx:this.currentSelectProps.qllx
}
if(row){
from.bsmQlxx=row.bsmQlxx
from.operate="U"
}
addRepairRecord(from).then((res) => {
this.$nextTick(() => {
this.$refs.Menu.getleftMenubl(res.result);
});
});
},
},
};
</script>
......