Merge pull request 'feat: 可疑文件夹' (#52) from jie into test

Reviewed-on: #52
pull/54/head
lizijie 1 year ago
commit 74793497cc

@ -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>

@ -78,7 +78,7 @@ const fullscreenStyles = computed<any>(() => ({
position: isFullScreen.value ? 'fixed' : '',
top: isFullScreen.value ? '0' : '',
left: isFullScreen.value ? '0' : '',
zIndex: isFullScreen.value ? '9999' : '',
zIndex: isFullScreen.value ? '100' : '',
}))
onMounted(() => {

@ -172,7 +172,7 @@ const fullscreenStyles = computed<any>(() => ({
'position': isFullScreen.value ? 'fixed' : '',
'top': isFullScreen.value ? '0' : '',
'left': isFullScreen.value ? '0' : '',
'zIndex': isFullScreen.value ? '9999' : '',
'zIndex': isFullScreen.value ? '100' : '',
}));
//

Loading…
Cancel
Save