UPDATE: 优化
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user