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
499042e9
Commit
499042e9
authored
Apr 26, 2025
by
tanghao
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/main' into dev
parents
1269063e
d6e0ea19
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
447 additions
and
443 deletions
+447
-443
index.vue
src/views/workplace/case/index.vue
+447
-443
No files found.
src/views/workplace/case/index.vue
View file @
499042e9
...
@@ -12,6 +12,7 @@
...
@@ -12,6 +12,7 @@
</el-tabs>
</el-tabs>
<ProTable
<ProTable
:config=
"config"
:config=
"config"
v-if=
"tableTrue"
ref=
"caseLRef"
ref=
"caseLRef"
:api=
"getCreditPage"
:api=
"getCreditPage"
:paramCallback=
"paramCallback"
:paramCallback=
"paramCallback"
...
@@ -87,7 +88,7 @@
...
@@ -87,7 +88,7 @@
<
script
setup
name=
"case-manage"
lang=
"jsx"
>
<
script
setup
name=
"case-manage"
lang=
"jsx"
>
import
{
useRouter
}
from
'vue-router'
;
import
{
useRouter
}
from
'vue-router'
;
import
{
reactive
,
ref
}
from
'vue'
;
import
{
computed
,
reactive
,
ref
,
nextTick
}
from
'vue'
;
import
{
getCreditPage
,
getCreditTotal
}
from
'@/api/property'
;
import
{
getCreditPage
,
getCreditTotal
}
from
'@/api/property'
;
import
{
ElMessageBox
,
ElMessage
}
from
'element-plus'
;
import
{
ElMessageBox
,
ElMessage
}
from
'element-plus'
;
const
caseLRef
=
ref
();
const
caseLRef
=
ref
();
...
@@ -123,6 +124,7 @@
...
@@ -123,6 +124,7 @@
const
activeName
=
ref
(
'全部'
);
const
activeName
=
ref
(
'全部'
);
const
selectdList
=
ref
([]);
const
selectdList
=
ref
([]);
const
tableTrue
=
ref
(
true
);
const
curParam
=
ref
({});
const
curParam
=
ref
({});
const
statisis
=
ref
({});
const
statisis
=
ref
({});
const
dataValue
=
ref
(
'对查询结果操作'
);
const
dataValue
=
ref
(
'对查询结果操作'
);
...
@@ -219,7 +221,8 @@
...
@@ -219,7 +221,8 @@
});
});
query
();
query
();
};
};
const
config
=
reactive
({
const
config
=
computed
(
()
=>
{
return
{
columns
:
[
columns
:
[
{
type
:
'checkbox'
,
title
:
''
,
width
:
60
,
fixed
:
'left'
},
{
type
:
'checkbox'
,
title
:
''
,
width
:
60
,
fixed
:
'left'
},
{
{
...
@@ -379,9 +382,8 @@
...
@@ -379,9 +382,8 @@
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
title
:
'是否有跟进记录'
,
title
:
'是否有跟进记录'
,
width
:
80
,
width
:
80
,
visible
:
false
,
enum
:
BooleanStatus
,
enum
:
BooleanStatus
,
search
:
{
el
:
'select'
,
props
:
{
filterable
:
true
,
clearable
:
true
},
labelWidth
:
90
,
defaultValue
:
'N
'
},
search
:
{
el
:
'select'
,
props
:
{
filterable
:
true
,
clearable
:
true
},
labelWidth
:
90
,
defaultValue
:
activeName
.
value
===
'全部'
?
'N'
:
'Y
'
},
fieldNames
:
{
label
:
'label'
,
value
:
'value'
},
fieldNames
:
{
label
:
'label'
,
value
:
'value'
},
slots
:
{
slots
:
{
default
:
({
row
})
=>
{
default
:
({
row
})
=>
{
...
@@ -677,11 +679,13 @@
...
@@ -677,11 +679,13 @@
],
],
onCheckboxChange
:
onCheckboxChange
,
onCheckboxChange
:
onCheckboxChange
,
onCheckboxAll
:
onCheckboxAll
,
onCheckboxAll
:
onCheckboxAll
,
}
});
});
const
query
=
()
=>
caseLRef
.
value
?.
search
();
const
query
=
()
=>
caseLRef
.
value
?.
search
();
const
handleClick
=
()
=>
{
const
handleClick
=
()
=>
{
console
.
log
(
'activeName'
,
activeName
.
value
);
tableTrue
.
value
=
false
nextTick
(()
=>
{
tableTrue
.
value
=
true
})
setTimeout
(()
=>
{
setTimeout
(()
=>
{
query
();
query
();
},
300
);
},
300
);
...
...
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