|
|
@@ -23,7 +23,7 @@ |
|
|
|
<input type="hidden" name="attachment" :value="confirmDatasetList" /> |
|
|
|
<div class="multi-dataset-box"> |
|
|
|
<span |
|
|
|
v-for="(item, index) in checkList" |
|
|
|
v-for="(item, index) in confirmChecklist" |
|
|
|
:key="index" |
|
|
|
class="select-dataset-label" |
|
|
|
:title="item" |
|
|
@@ -581,6 +581,7 @@ export default { |
|
|
|
repoLink: "", |
|
|
|
selectDatasetArray: [], |
|
|
|
checkList: [], |
|
|
|
confirmChecklist: [], |
|
|
|
confirmDatasetList: "", |
|
|
|
confirmFlag: false, |
|
|
|
|
|
|
@@ -672,7 +673,7 @@ export default { |
|
|
|
this.saveStatusList = this.selectDatasetArray.map((item) => { |
|
|
|
return item.UUID; |
|
|
|
}); |
|
|
|
this.confirmDatasetList = this.saveStatusList.join(";"); |
|
|
|
// this.confirmDatasetList = this.saveStatusList.join(";"); |
|
|
|
}, |
|
|
|
//已选择数据集checkbox group 勾选事件 |
|
|
|
changeCheckbox(checked, data) { |
|
|
@@ -685,7 +686,7 @@ export default { |
|
|
|
}); |
|
|
|
this.selectDatasetArray.splice(index, 1); |
|
|
|
this.saveStatusList.splice(index, 1); |
|
|
|
this.confirmDatasetList = this.saveStatusList.join(";"); |
|
|
|
// this.confirmDatasetList = this.saveStatusList.join(";"); |
|
|
|
}, |
|
|
|
tableHeaderStyle({ row, column, rowIndex, columnIndex }) { |
|
|
|
if (rowIndex === 0) { |
|
|
@@ -897,6 +898,8 @@ export default { |
|
|
|
return false; |
|
|
|
}, |
|
|
|
confirmDataset() { |
|
|
|
this.confirmDatasetList = this.saveStatusList.join(";"); |
|
|
|
this.confirmChecklist = this.checkList; |
|
|
|
this.dialogVisible = false; |
|
|
|
this.confirmFlag = true; |
|
|
|
}, |
|
|
|