|
@@ -6,12 +6,20 @@
|
|
|
class="box-justify mb-2"
|
|
|
>
|
|
|
<div></div>
|
|
|
- <el-button
|
|
|
- type="primary"
|
|
|
- icon="el-icon-circle-plus-outline"
|
|
|
- @click="toEditPredict"
|
|
|
- >预期值</el-button
|
|
|
- >
|
|
|
+ <div>
|
|
|
+ <el-button
|
|
|
+ type="primary"
|
|
|
+ icon="el-icon-circle-plus-outline"
|
|
|
+ @click="toEditPredict"
|
|
|
+ >预期值</el-button
|
|
|
+ >
|
|
|
+ <el-button
|
|
|
+ type="primary"
|
|
|
+ icon="el-icon-circle-plus-outline"
|
|
|
+ @click="toEdit({ cultureProgramId: rowData.id })"
|
|
|
+ >新增</el-button
|
|
|
+ >
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<el-table
|
|
|
ref="TableList"
|
|
@@ -45,7 +53,6 @@
|
|
|
>新增指标点</el-button
|
|
|
>
|
|
|
<el-button
|
|
|
- v-else
|
|
|
class="btn-danger"
|
|
|
type="text"
|
|
|
@click="toDeleteNode(scope.row)"
|
|
@@ -152,7 +159,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
const confirm = await this.$confirm(
|
|
|
- `确定要删除 ${row.parentName} 【${row.label}】吗?`,
|
|
|
+ `确定要删除 ${row.parentName || ""} 【${row.label}】吗?`,
|
|
|
"提示",
|
|
|
{
|
|
|
type: "warning",
|