Browse Source

优化: 添加方案明细 根据类型控制是否可以选菜单

master
FLYPHT 2 years ago
parent
commit
b3f3b0a7a3
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      smtweb-framework/bpm/src/main/resources/static/event/bpm/sys/user/menuPlan/menuPlanList.js

+ 5
- 5
smtweb-framework/bpm/src/main/resources/static/event/bpm/sys/user/menuPlan/menuPlanList.js View File

@@ -55,11 +55,11 @@ window.$swEvent.setup("bpm.sys.user.menuPlan.menuPlanList", {
} }
// 菜单类型onChange事件 // 菜单类型onChange事件
const onTypeChange = (value) => { const onTypeChange = (value) => {
// if(value === 1){
// $refs.selectMenu.$attrs.disabled = false;
// }else {
// $refs.selectMenu.$attrs.disabled = true;
// }
if(value === 1){
$refs.selectMenu.refVars.disabled = false;
}else {
$refs.selectMenu.refVars.disabled = true;
}
} }
return { return {
saveMenuPlan, saveMenuPlan,


Loading…
Cancel
Save