通道配对
This commit is contained in:
@@ -360,7 +360,13 @@ const columns = reactive<ColumnProps<Plan.ReqPlan>[]>([
|
||||
label: '标准设备',
|
||||
minWidth: 250,
|
||||
isShow: modeStore.currentMode == "比对式",
|
||||
|
||||
render: scope => {
|
||||
const standardDevNameStr = scope.row.standardDevNameStr
|
||||
if (!standardDevNameStr) {
|
||||
return '/'
|
||||
}
|
||||
return standardDevNameStr
|
||||
}
|
||||
},
|
||||
{
|
||||
prop: 'testItemNameStr',
|
||||
@@ -481,7 +487,17 @@ const exportClick = () => {
|
||||
|
||||
// 打开 drawer(新增、编辑)
|
||||
const openDialog = (titleType: string, row: Partial<Plan.ReqPlan> = {}) => {
|
||||
planPopup.value?.open(titleType, row,modeStore.currentMode,0)//0主计划 1子计划 2修改子计划
|
||||
if(modeStore.currentMode == '比对式'){
|
||||
if(row.children?.length > 0){
|
||||
planPopup.value?.open(titleType, row,modeStore.currentMode,0)//0主计划 1子计划 2修改子计划
|
||||
}else{
|
||||
planPopup.value?.open(titleType, row,modeStore.currentMode,2)//0主计划 1子计划 2修改子计划
|
||||
}
|
||||
}else{
|
||||
planPopup.value?.open(titleType, row,modeStore.currentMode,0)//0主计划 1子计划 2修改子计划
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user