feat:图审弹窗展示逻辑修改 #62

Merged
liushilong merged 2 commits from al into test 1 year ago

@ -233,6 +233,10 @@ function unFavoriteHandler(event: MouseEvent, item) {
} }
} }
const handleScroll= (event)=>{
console.log(event)
}
const moveEnd = () => { const moveEnd = () => {
unData.value.map((v, index) => { unData.value.map((v, index) => {
sort(v.id, index); sort(v.id, index);
@ -291,7 +295,7 @@ const moveEnd = () => {
</n-form-item> </n-form-item>
</n-form> </n-form>
<ul ref="el" class="wrapper-left-list"> <ul ref="el" class="wrapper-left-list" @scroll="handleScroll">
<li <li
v-for="(item, index) in data" v-for="(item, index) in data"
:key="index" :key="index"

@ -36,11 +36,11 @@ function showModal(id) {
async function getDetail(id) { async function getDetail(id) {
// const userInfo = storage.get(CURRENT_USER); // const userInfo = storage.get(CURRENT_USER);
// const nodeType = userInfo.nodeType; // const nodeType = userInfo.nodeType;
// id = "264626184091111068"; // id = "264627119490116380";
const res = await aiApprovaltools({ taskid: id }); const res = await aiApprovaltools({ taskid: id });
if (res.code === "OK") { if (res.code === "OK") {
state.detail = res.data; state.detail = res.data;
if(Number(res.data.similarComplete) > 0){ if(Number(res.data.pendingApprovaCount) > 0){
show.value = true; show.value = true;
} }
} }

Loading…
Cancel
Save