|
|
|
@ -278,7 +278,7 @@ function setBatch(value) {
|
|
|
|
|
batch.value = value;
|
|
|
|
|
}
|
|
|
|
|
if (value === false) {
|
|
|
|
|
// selectIds.value = []
|
|
|
|
|
selectIds.value = []
|
|
|
|
|
selectedApproveItems.value.forEach((item) => (item.checked = false));
|
|
|
|
|
selectedApproveItems.value.length = 0;
|
|
|
|
|
}
|
|
|
|
@ -292,12 +292,12 @@ const checked = ref(false)
|
|
|
|
|
|
|
|
|
|
const notPassModalRef = ref(null)
|
|
|
|
|
const showActions = computed(() => {
|
|
|
|
|
console.log('selectedApproveItems',selectedApproveItems)
|
|
|
|
|
return selectedApproveItems.value.length > 0 && batch;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function onCheckChange(checked: any, item: any) {
|
|
|
|
|
debugger
|
|
|
|
|
item.checked = checked
|
|
|
|
|
const index = selectedApproveItems.value.indexOf(item);
|
|
|
|
|
|
|
|
|
@ -431,7 +431,7 @@ function refreshHandler(){
|
|
|
|
|
<div class="remove" @click="remove">
|
|
|
|
|
移除可疑文件夹
|
|
|
|
|
</div>
|
|
|
|
|
<div class="wrapper-content-form-button" @click="setBatch(true)">
|
|
|
|
|
<div class="wrapper-content-form-button" @click="setBatch(true)" v-show="!showActions">
|
|
|
|
|
<SvgIcon style="margin-right: 6px;" size="14" name="tf" />
|
|
|
|
|
批量审批
|
|
|
|
|
</div>
|
|
|
|
|