UPDATE: 优化
This commit is contained in:
@@ -986,7 +986,7 @@ const open = async (sign: string, data: Plan.ReqPlan, currentMode: string, plan:
|
|||||||
formContent.name = ''
|
formContent.name = ''
|
||||||
// 新建子计划允许选择数据源
|
// 新建子计划允许选择数据源
|
||||||
const datasourceDicts = dictStore.getDictData('Datasource')
|
const datasourceDicts = dictStore.getDictData('Datasource')
|
||||||
formContent.datasourceIds = datasourceDicts[0]?.code ?? ''
|
formContent.datasourceIds = [datasourceDicts[0]?.code] ?? []
|
||||||
formContent.memberIds = []
|
formContent.memberIds = []
|
||||||
}
|
}
|
||||||
generateData()
|
generateData()
|
||||||
|
|||||||
@@ -86,10 +86,9 @@
|
|||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
link
|
link
|
||||||
:icon="List"
|
icon="List"
|
||||||
@click="openChildrenPlan(scope.row)"
|
@click="openChildrenPlan(scope.row)"
|
||||||
v-if="modeStore.currentMode == '比对式' && scope.row.fatherPlanId == 0"
|
v-if="modeStore.currentMode == '比对式' && scope.row.fatherPlanId == 0 && scope.row.importFlag == 0"
|
||||||
v-auth.plan="'add_subplan'"
|
|
||||||
>
|
>
|
||||||
子计划
|
子计划
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|||||||
Reference in New Issue
Block a user