|
@@ -43,6 +43,7 @@
|
|
|
:window="window" :now-tab="nowTab" :simple-filter-params="searchText"
|
|
:window="window" :now-tab="nowTab" :simple-filter-params="searchText"
|
|
|
:complex-filter-params="complexFilterParams" :uuid="uuid" :show-tab-dto="tab" :model-datas="modelDatas"
|
|
:complex-filter-params="complexFilterParams" :uuid="uuid" :show-tab-dto="tab" :model-datas="modelDatas"
|
|
|
:view-type="'Grid'" :curd-window-function-access="curdWindowFunctionAccess"
|
|
:view-type="'Grid'" :curd-window-function-access="curdWindowFunctionAccess"
|
|
|
|
|
+ :select-model-datas="selectModelDatas"
|
|
|
@create-record-in-window-edit="createRecordInWindowEdit" @delete-records="deleteRecords"
|
|
@create-record-in-window-edit="createRecordInWindowEdit" @delete-records="deleteRecords"
|
|
|
@refresh-datas="refreshDatas" @judge-is-have-buttons="judgeIsHaveButtons"
|
|
@refresh-datas="refreshDatas" @judge-is-have-buttons="judgeIsHaveButtons"
|
|
|
/>
|
|
/>
|
|
@@ -260,6 +261,7 @@ export default {
|
|
|
dynamicComponent: null,
|
|
dynamicComponent: null,
|
|
|
dynamicComponentParam: null,
|
|
dynamicComponentParam: null,
|
|
|
dynamicComponentOpen: true,
|
|
dynamicComponentOpen: true,
|
|
|
|
|
+ selectModelDatas:[],
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|
|
@@ -1422,6 +1424,16 @@ export default {
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
modelData.select = !currentStatus;
|
|
modelData.select = !currentStatus;
|
|
|
|
|
+
|
|
|
|
|
+ if (modelData.select === true) {
|
|
|
|
|
+ this.selectModelDatas.push(modelData);
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.selectModelDatas.forEach((item,index) =>{
|
|
|
|
|
+ if(item.id=== modelData.id) {
|
|
|
|
|
+ this.selectModelDatas.splice(index,1);
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
/**
|
|
/**
|