Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Y
yishuju-ui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
何远江
yishuju-ui
Commits
e8ff9033
Commit
e8ff9033
authored
May 19, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
案件id可点击
parent
588ea991
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
13 deletions
+35
-13
index.vue
src/views/business-approval/by-stages-apply/index.vue
+10
-1
index.vue
src/views/business-approval/reduction-apply/index.vue
+11
-3
index.vue
src/views/business-approval/repayment-approve/index.vue
+14
-9
No files found.
src/views/business-approval/by-stages-apply/index.vue
View file @
e8ff9033
...
...
@@ -56,6 +56,7 @@
import
{
ElMessageBox
,
ElMessage
,
ElButton
}
from
'element-plus'
;
import
{
Download
}
from
'@element-plus/icons-vue'
;
import
{
getTenantPage
}
from
'@/api/tenant'
;
import
{
useRouter
}
from
'vue-router'
;
import
{
useDict
}
from
'@/hooks/useDict'
;
import
{
getAppEnvConfig
}
from
'@/utils/env'
;
import
{
useAuthStore
}
from
'@/stores/modules/auth'
;
...
...
@@ -74,6 +75,7 @@
const
downloadfile
=
inject
(
'download'
);
const
activeName
=
ref
(
'pending'
);
const
tabs
=
ref
([]);
const
router
=
useRouter
();
const
ProTableRef
=
ref
();
const
showModal
=
ref
(
false
);
...
...
@@ -195,6 +197,12 @@
RefImage
.
value
=
true
;
srcList
.
value
=
list
;
};
const
onCellClick
=
(
row
)
=>
{
router
.
push
({
path
:
'/property/case-detail'
,
query
:
{
id
:
row
.
id
},
//这里不能直接写成 query: JSON.stringify(item)
});
};
const
config
=
computed
(()
=>
{
return
{
columns
:
[
...
...
@@ -207,7 +215,8 @@
search
:
{
el
:
'input'
,
labelWidth
:
90
},
slots
:
{
default
:
({
row
})
=>
{
return
<>
{
Array
.
from
(
new
Set
(
row
.
loans
.
map
((
v
)
=>
v
.
caseId
))).
join
(
','
)}
<
/>
;
return
<>
{
Array
.
from
(
new
Set
(
row
.
loans
.
map
((
v
,
iiii
)
=>
<><
span
onClick
=
{()
=>
onCellClick
(
v
)}
className
=
"text-blue-400 cursor-pointer"
>
{
v
.
caseId
}
<
/span><span>{iiii === row.loans.length - 1
?
'':','}</
span
><
/>
)))
}</
>
;
},
},
width
:
80
,
...
...
src/views/business-approval/reduction-apply/index.vue
View file @
e8ff9033
...
...
@@ -59,6 +59,9 @@
import
{
Download
}
from
'@element-plus/icons-vue'
;
import
{
getAppEnvConfig
}
from
'@/utils/env'
;
import
{
useAuthStore
}
from
'@/stores/modules/auth'
;
import
{
useRouter
}
from
'vue-router'
;
const
router
=
useRouter
();
const
envs
=
getAppEnvConfig
();
const
reduceDrawerRef
=
ref
();
const
{
authButtonListGet
}
=
useAuthStore
();
// 获取用户权限列表
...
...
@@ -163,6 +166,12 @@
query
();
};
const
onCellClick
=
(
row
)
=>
{
router
.
push
({
path
:
'/property/case-detail'
,
query
:
{
id
:
row
.
id
},
//这里不能直接写成 query: JSON.stringify(item)
});
};
const
config
=
computed
(()
=>
{
return
{
columns
:
[
...
...
@@ -175,9 +184,8 @@
search
:
{
el
:
'input'
,
labelWidth
:
90
},
slots
:
{
default
:
({
row
})
=>
{
return
(
<>
{
Array
.
from
(
new
Set
(
row
.
reduceRecords
.
map
((
v
)
=>
v
.
loan
.
caseId
))).
join
(
','
)}
<
/
>
);
return
<>
{
Array
.
from
(
new
Set
(
row
.
reduceRecords
.
map
((
v
,
iiii
)
=>
<><
span
onClick
=
{()
=>
onCellClick
(
v
.
loan
)}
className
=
"text-blue-400 cursor-pointer"
>
{
v
.
loan
.
caseId
}
<
/span><span>{iiii === row.reduceRecords.length - 1
?
'':','}</
span
><
/>
)))
}</
>
;
},
},
width
:
120
,
...
...
src/views/business-approval/repayment-approve/index.vue
View file @
e8ff9033
...
...
@@ -58,6 +58,8 @@
import
{
useAuthStore
}
from
'@/stores/modules/auth'
;
const
{
authButtonListGet
}
=
useAuthStore
();
// 获取用户权限列表
const
returnModalRef
=
ref
();
import
{
useRouter
}
from
'vue-router'
;
const
router
=
useRouter
();
const
{
RepayType
,
FlowStatus
}
=
useDict
(
'RepayType'
,
'FlowStatus'
);
const
ProTableRef
=
ref
();
...
...
@@ -77,6 +79,12 @@
selectdList
.
value
=
[];
}
};
const
onCellClick
=
(
row
)
=>
{
router
.
push
({
path
:
'/property/case-detail'
,
query
:
{
id
:
row
.
id
},
//这里不能直接写成 query: JSON.stringify(item)
});
};
const
handleClick
=
()
=>
{
setTimeout
(()
=>
{
query
();
...
...
@@ -171,17 +179,14 @@
slots
:
{
default
:
({
row
})
=>
{
if
(
row
.
reduce
&&
row
.
reduce
.
reduceRecords
)
{
return
(
<>
{
Array
.
from
(
new
Set
(
row
.
reduce
.
reduceRecords
.
map
((
v
)
=>
v
.
loan
.
caseId
))).
join
(
','
)}
<
/
>
);
return
<>
{
Array
.
from
(
new
Set
(
row
.
reduce
.
reduceRecords
.
map
((
v
,
iiii
)
=>
<><
span
onClick
=
{()
=>
onCellClick
(
v
.
loan
)}
className
=
"text-blue-400 cursor-pointer"
>
{
v
.
loan
.
caseId
}
<
/span><span>{iiii === row.reduce.reduceRecords.length - 1
?
'':','}</
span
><
/>
)))
}</
>
;
}
else
if
(
row
.
stages
&&
row
.
stages
.
loans
)
{
return
<>
{
Array
.
from
(
new
Set
(
row
.
stages
.
loans
.
map
((
v
)
=>
v
.
caseId
))).
join
(
','
)}
<
/>
;
return
<>
{
Array
.
from
(
new
Set
(
row
.
stages
.
loans
.
map
((
v
,
iiii
)
=>
<><
span
onClick
=
{()
=>
onCellClick
(
v
)}
className
=
"text-blue-400 cursor-pointer"
>
{
v
.
caseId
}
<
/span><span>{iiii === row.stages.loans.length - 1
?
'':','}</
span
><
/>
)))
}</
>
;
}
else
{
return
<>
{
row
.
loan
?.
caseId
}
<
/>
;
return
<><
span
onClick
=
{()
=>
onCellClick
(
row
.
loan
)}
className
=
"text-blue-400 cursor-pointer"
>
{
row
.
loan
?.
caseId
}
<
/span></
>
;
}
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment