|
|
@ -211,8 +211,8 @@ async function loadMore() {
|
|
|
|
if (pagination.pageNo <= 2) {
|
|
|
|
if (pagination.pageNo <= 2) {
|
|
|
|
listData.value = []
|
|
|
|
listData.value = []
|
|
|
|
listData.value = listData.value.concat(more)
|
|
|
|
listData.value = listData.value.concat(more)
|
|
|
|
console.log('listData.value出来了11111111111111', listData.value)
|
|
|
|
console.log('listData.value出来了11111111111111', listData.value, pagination.pageNo)
|
|
|
|
if (pagination.pageNo == 1)
|
|
|
|
if (pagination.pageNo <= 2)
|
|
|
|
waterfallRef.value?.resize()
|
|
|
|
waterfallRef.value?.resize()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
else {
|
|
|
@ -499,7 +499,7 @@ function setBatch(value) {
|
|
|
|
batch.value = !value
|
|
|
|
batch.value = !value
|
|
|
|
else
|
|
|
|
else
|
|
|
|
batch.value = value
|
|
|
|
batch.value = value
|
|
|
|
|
|
|
|
waterfallRef.value?.resize()
|
|
|
|
if (value === false) {
|
|
|
|
if (value === false) {
|
|
|
|
selectIds.value = []
|
|
|
|
selectIds.value = []
|
|
|
|
selectedApproveItems.value.forEach(item => (item.checked = false))
|
|
|
|
selectedApproveItems.value.forEach(item => (item.checked = false))
|
|
|
@ -612,13 +612,17 @@ function doAudit(param: any) {
|
|
|
|
if (code === 'OK') {
|
|
|
|
if (code === 'OK') {
|
|
|
|
message.info(res.message)
|
|
|
|
message.info(res.message)
|
|
|
|
// emitter.emit('refresh')
|
|
|
|
// emitter.emit('refresh')
|
|
|
|
refreshHandler()
|
|
|
|
// refreshHandler()
|
|
|
|
|
|
|
|
reset()
|
|
|
|
|
|
|
|
loadMore()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else { message.error(res.message) }
|
|
|
|
else { message.error(res.message) }
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function reloadList() {
|
|
|
|
function reloadList() {
|
|
|
|
refreshHandler()
|
|
|
|
// refreshHandler()
|
|
|
|
|
|
|
|
reset()
|
|
|
|
|
|
|
|
loadMore()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
async function refreshHandler(filtersearchId?: any) {
|
|
|
|
async function refreshHandler(filtersearchId?: any) {
|
|
|
|
// 注释 rao start
|
|
|
|
// 注释 rao start
|
|
|
@ -738,7 +742,7 @@ watch(() => show.value, async (newVal) => {
|
|
|
|
批量审批
|
|
|
|
批量审批
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div v-show="showActions" class="batch">
|
|
|
|
<div v-show="showActions" class="batch">
|
|
|
|
<n-button text @click="setBatch(false)">
|
|
|
|
<n-button text style="margin-left: 20px;" @click="setBatch(false)">
|
|
|
|
<template #icon>
|
|
|
|
<template #icon>
|
|
|
|
<SvgIcon name="revoke" />
|
|
|
|
<SvgIcon name="revoke" />
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
@ -853,7 +857,7 @@ watch(() => show.value, async (newVal) => {
|
|
|
|
:style="{ backgroundImage: `url(${loading ? bgLoadingImg : 'none'})`, display: 'none' }"
|
|
|
|
:style="{ backgroundImage: `url(${loading ? bgLoadingImg : 'none'})`, display: 'none' }"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
<n-checkbox
|
|
|
|
<n-checkbox
|
|
|
|
v-if="batch && item.historyStates === 1" v-model:checked="item.checked"
|
|
|
|
v-if="batch && item.historyStates === 1"
|
|
|
|
style="position:absolute;left:20px;top:20px" @click.prevent.stop
|
|
|
|
style="position:absolute;left:20px;top:20px" @click.prevent.stop
|
|
|
|
@update:checked="onCheckChange($event, item)"
|
|
|
|
@update:checked="onCheckChange($event, item)"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
@ -1039,7 +1043,7 @@ watch(() => show.value, async (newVal) => {
|
|
|
|
width: 46px;
|
|
|
|
width: 46px;
|
|
|
|
height: 22px;
|
|
|
|
height: 22px;
|
|
|
|
position: absolute;
|
|
|
|
position: absolute;
|
|
|
|
left: 16px;
|
|
|
|
left: 2px;
|
|
|
|
top: 20px;
|
|
|
|
top: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -1056,8 +1060,8 @@ watch(() => show.value, async (newVal) => {
|
|
|
|
background: #6f92fd;
|
|
|
|
background: #6f92fd;
|
|
|
|
border-radius: 6px 0px 6px 0px;
|
|
|
|
border-radius: 6px 0px 6px 0px;
|
|
|
|
z-index: 5;
|
|
|
|
z-index: 5;
|
|
|
|
right: 28px;
|
|
|
|
right: 16px;
|
|
|
|
top: 0px;
|
|
|
|
top: 6px;
|
|
|
|
color: #fff;
|
|
|
|
color: #fff;
|
|
|
|
font-size: 14px;
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
|
|
|
|
|
@ -1073,10 +1077,10 @@ watch(() => show.value, async (newVal) => {
|
|
|
|
.time {
|
|
|
|
.time {
|
|
|
|
position: absolute;
|
|
|
|
position: absolute;
|
|
|
|
width: 182px;
|
|
|
|
width: 182px;
|
|
|
|
// padding-left: 10px;
|
|
|
|
padding-left: 10px;
|
|
|
|
z-index: 3;
|
|
|
|
z-index: 3;
|
|
|
|
left: 6px;
|
|
|
|
left: 6px;
|
|
|
|
bottom: 0px;
|
|
|
|
bottom: 6px;
|
|
|
|
background: linear-gradient(180deg,rgba(6,0,0,0.01),rgba(0, 0, 0, 0.44) 100%);
|
|
|
|
background: linear-gradient(180deg,rgba(6,0,0,0.01),rgba(0, 0, 0, 0.44) 100%);
|
|
|
|
border-radius: 0 0 7px 7px;
|
|
|
|
border-radius: 0 0 7px 7px;
|
|
|
|
.time-item {
|
|
|
|
.time-item {
|
|
|
@ -1100,6 +1104,7 @@ watch(() => show.value, async (newVal) => {
|
|
|
|
|
|
|
|
|
|
|
|
.scroll {
|
|
|
|
.scroll {
|
|
|
|
overflow-y: auto;
|
|
|
|
overflow-y: auto;
|
|
|
|
|
|
|
|
overflow-x: hidden;
|
|
|
|
// height: calc(100vh - 282px);
|
|
|
|
// height: calc(100vh - 282px);
|
|
|
|
height: 800px;
|
|
|
|
height: 800px;
|
|
|
|
margin-left: 20px;
|
|
|
|
margin-left: 20px;
|
|
|
|