|
@@ -105,7 +105,7 @@
|
|
<el-scrollbar>
|
|
<el-scrollbar>
|
|
<el-checkbox-group v-model="checkedMoves" @change="handleCheckedMovesChange">
|
|
<el-checkbox-group v-model="checkedMoves" @change="handleCheckedMovesChange">
|
|
<div class="hc-file-checkbox" v-for="item in fileDatasList" :key="item.id">
|
|
<div class="hc-file-checkbox" v-for="item in fileDatasList" :key="item.id">
|
|
- <el-checkbox class="size-xl space" :label="item.id">{{item.name}}</el-checkbox>
|
|
|
|
|
|
+ <el-checkbox class="size-xl space" :label="item">{{item.name}}</el-checkbox>
|
|
</div>
|
|
</div>
|
|
</el-checkbox-group>
|
|
</el-checkbox-group>
|
|
</el-scrollbar>
|
|
</el-scrollbar>
|
|
@@ -736,7 +736,8 @@ const fileDatasList = ref([])
|
|
const handleCheckAllChange = (val) => {
|
|
const handleCheckAllChange = (val) => {
|
|
const checked = fileDatasList.value
|
|
const checked = fileDatasList.value
|
|
const keys = rowsToIdNumArr(checked);
|
|
const keys = rowsToIdNumArr(checked);
|
|
- checkedMoves.value = val ? keys : []
|
|
|
|
|
|
+ // checkedMoves.value = val ? keys : []
|
|
|
|
+ checkedMoves.value = val ? checked : []
|
|
isIndeterminate.value = false
|
|
isIndeterminate.value = false
|
|
}
|
|
}
|
|
|
|
|
|
@@ -769,7 +770,9 @@ const showRadioFun = (data)=>{
|
|
//保存
|
|
//保存
|
|
const movesModalLoading = ref(false)
|
|
const movesModalLoading = ref(false)
|
|
const movesModalSave = async() => {
|
|
const movesModalSave = async() => {
|
|
- let ids = checkedMoves.value.join(',')
|
|
|
|
|
|
+ // let ids = checkedMoves.value.join(',')
|
|
|
|
+ const keys = rowsToIdNumArr(checkedMoves.value);
|
|
|
|
+ let ids =keys.join(',')
|
|
if(checkedMoves.value.length < 1){
|
|
if(checkedMoves.value.length < 1){
|
|
window.$message?.warning('请勾选需要迁移的文件')
|
|
window.$message?.warning('请勾选需要迁移的文件')
|
|
return;
|
|
return;
|