|
@@ -124,6 +124,7 @@ const getElTreeData = async ()=>{
|
|
console.log(data, 'data')
|
|
console.log(data, 'data')
|
|
ElTreeData.value = getArrValue(data['list'])
|
|
ElTreeData.value = getArrValue(data['list'])
|
|
defaultCheckedKeys.value = getArrValue(data['ids'])
|
|
defaultCheckedKeys.value = getArrValue(data['ids'])
|
|
|
|
+ checkKeys.value = getArrValue(data['ids'])
|
|
} else {
|
|
} else {
|
|
ElTreeData.value = []
|
|
ElTreeData.value = []
|
|
defaultCheckedKeys.value = []
|
|
defaultCheckedKeys.value = []
|
|
@@ -152,7 +153,6 @@ const confirmAllocationClick = async () => {
|
|
|
|
|
|
//确认并进入抽检
|
|
//确认并进入抽检
|
|
const ToInspection = () => {
|
|
const ToInspection = () => {
|
|
- console.log( checkKeys.value, ' checkKeys.value')
|
|
|
|
const ids = checkKeys.value.join(',')
|
|
const ids = checkKeys.value.join(',')
|
|
if (checkKeys.value.length > 0) {
|
|
if (checkKeys.value.length > 0) {
|
|
goInspection(ids)
|
|
goInspection(ids)
|