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