UPDATE: 优化

This commit is contained in:
贾同学
2025-09-22 16:16:45 +08:00
parent 783e1c080b
commit 55f579ef64
2 changed files with 3 additions and 4 deletions

View File

@@ -986,7 +986,7 @@ const open = async (sign: string, data: Plan.ReqPlan, currentMode: string, plan:
formContent.name = ''
// 新建子计划允许选择数据源
const datasourceDicts = dictStore.getDictData('Datasource')
formContent.datasourceIds = datasourceDicts[0]?.code ?? ''
formContent.datasourceIds = [datasourceDicts[0]?.code] ?? []
formContent.memberIds = []
}
generateData()

View File

@@ -86,10 +86,9 @@
<el-button
type="primary"
link
:icon="List"
icon="List"
@click="openChildrenPlan(scope.row)"
v-if="modeStore.currentMode == '比对式' && scope.row.fatherPlanId == 0"
v-auth.plan="'add_subplan'"
v-if="modeStore.currentMode == '比对式' && scope.row.fatherPlanId == 0 && scope.row.importFlag == 0"
>
子计划
</el-button>