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
b34fa970
Commit
b34fa970
authored
Mar 15, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
业务审批
parent
d6f85ce9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
5 deletions
+39
-5
index.vue
src/views/infoGather/dangerReport/index.vue
+39
-5
No files found.
src/views/infoGather/dangerReport/index.vue
View file @
b34fa970
<
template
>
<div
class=
"table-box"
>
<
!--
<
div
class=
" bg-white pt-2 pl-2"
>
<el-tabs
v-model=
"activeName"
class=
"demo-tabs"
@
tab-click=
"handleClick"
>
<div
class=
" bg-white pt-2 pl-2"
>
<el-tabs
v-model=
"activeName"
class=
"demo-tabs"
@
tab-click=
"handleClick"
v-if=
"roleType !== 'view'"
>
<el-tab-pane
:label=
"item.label"
:name=
"item.value"
...
...
@@ -16,14 +16,14 @@
</
template
>
</el-tab-pane>
</el-tabs>
</div>
-->
</div>
<ProTable
ref=
"proTable"
:config=
"config"
:api=
"func"
:paramCallback=
"paramCallback"
>
</ProTable>
</div>
</template>
<
script
setup
lang=
"jsx"
name=
"platformManage"
>
import
{
ref
,
reactive
,
onMounted
}
from
'vue'
;
import
{
ref
,
reactive
,
onMounted
,
computed
}
from
'vue'
;
import
{
Plus
,
Delete
,
Edit
,
Setting
}
from
'@element-plus/icons-vue'
;
import
{
getcustomerReportPage
,
getriskPage
,
getlegalPage
}
from
'@/api/customer'
;
import
{
ElMessageBox
,
ElMessage
,
ElButton
,
ElTag
}
from
'element-plus'
;
...
...
@@ -41,7 +41,15 @@
const
onCheckboxChange
=
(
row
)
=>
{
selectdList
.
value
=
row
.
records
;
};
const
roleType
=
computed
(()
=>
{
if
(
route
.
fullPath
.
includes
(
'infoGather/dangerReport'
))
{
return
'view'
}
else
if
(
route
.
fullPath
.
includes
(
'/business-approval/riskManager'
))
{
return
'risk'
}
else
if
(
route
.
fullPath
.
includes
(
'/business-approval/legalManager'
))
{
return
'legal'
}
});
const
router
=
useRouter
();
const
func
=
()
=>
{
if
(
route
.
fullPath
.
includes
(
'infoGather/dangerReport'
))
{
...
...
@@ -60,6 +68,32 @@
if
(
obj
[
'createTime'
][
1
])
obj
[
'createTimeEnd'
]
=
obj
[
'createTime'
][
1
];
delete
obj
[
'createTime'
];
}
if
(
roleType
.
value
===
'risk'
)
{
obj
[
'riskControlStatus'
]
=
activeName
.
value
;
}
else
if
(
roleType
.
value
===
'legal'
)
{
obj
[
'legalAffairStatus'
]
=
activeName
.
value
;
}
setTimeout
(()
=>
{
const
arr
=
JSON
.
parse
(
JSON
.
stringify
(
FlowStatus
.
value
))
// getRepairApplyTotal({...obj, flowStatus: null}).then(res => {
// if (res.success) {
// arr.forEach(item => {
// const tt = res.result.find(v => v.flowStatus === item.value)
// if (tt) {
// item['msg'] = tt.number
// } else {
// item['msg'] = 0
// }
// })
// tabs.value = arr
// } else {
// tabs.value = arr
// }
// }).catch(e => {
// tabs.value = arr
// })
tabs
.
value
=
arr
},
(
FlowStatus
.
value
&&
FlowStatus
.
value
.
length
)
?
100
:
1000
)
paramObj
.
value
=
obj
return
obj
;
};
...
...
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