Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
saas-manage
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chehuidong
saas-manage
Commits
107e38fa
Commit
107e38fa
authored
Jun 30, 2023
by
qinjianhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 问题修改
parent
bdc60142
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
14 deletions
+43
-14
src/assets/work/reject.png
+0
-0
src/views/taskManage/index.vue
+43
-14
No files found.
src/assets/work/reject.png
0 → 100644
View file @
107e38fa
933 Bytes
src/views/taskManage/index.vue
View file @
107e38fa
...
@@ -42,11 +42,17 @@
...
@@ -42,11 +42,17 @@
v-model=
"searchForm.prop"
v-model=
"searchForm.prop"
placeholder=
"请选择"
placeholder=
"请选择"
clearable
clearable
style=
"width:100px"
style=
"width:
100px"
>
>
<el-option
label=
"开始时间"
value=
"startTime"
></el-option>
<el-option
<el-option
label=
"创建时间"
value=
"createTime"
></el-option>
label=
"开始时间"
</el-select>
value=
"startTime"
></el-option>
<el-option
label=
"创建时间"
value=
"createTime"
></el-option>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<choose-time-period
<choose-time-period
...
@@ -450,6 +456,7 @@ import assignWork from '@/assets/work/assign.png'
...
@@ -450,6 +456,7 @@ import assignWork from '@/assets/work/assign.png'
import
startWork
from
'@/assets/work/start.png'
import
startWork
from
'@/assets/work/start.png'
import
archiveWork
from
'@/assets/work/archive.png'
import
archiveWork
from
'@/assets/work/archive.png'
import
completeWork
from
'@/assets/work/complete.png'
import
completeWork
from
'@/assets/work/complete.png'
import
rejectWork
from
'@/assets/work/reject.png'
export
default
{
export
default
{
name
:
'task_center'
,
name
:
'task_center'
,
...
@@ -482,7 +489,11 @@ export default {
...
@@ -482,7 +489,11 @@ export default {
selections
:
[],
selections
:
[],
is_tab
:
'1'
,
is_tab
:
'1'
,
statusCode
:
'PRE_HANDLING'
,
statusCode
:
'PRE_HANDLING'
,
searchForm
:
{
timeProp
:
'create_time'
,
leaders
:
[],
prop
:
'createTime'
},
searchForm
:
{
timeProp
:
'create_time'
,
leaders
:
[],
prop
:
'createTime'
,
},
isEdit
:
false
,
isEdit
:
false
,
sourceData
:
[],
sourceData
:
[],
currentRowId
:
''
,
currentRowId
:
''
,
...
@@ -609,8 +620,7 @@ export default {
...
@@ -609,8 +620,7 @@ export default {
align
:
'center'
,
align
:
'center'
,
render
:
(
item
)
=>
(
render
:
(
item
)
=>
(
<
span
>
<
span
>
{(
item
.
orderStatus
===
'PRE_HANDLING'
||
{
item
.
orderStatus
===
'IN_COMPLETE'
)
&&
(
<
span
<
span
title
=
"详情"
title
=
"详情"
class
=
"icon-view icon-tools-view"
class
=
"icon-view icon-tools-view"
...
@@ -620,7 +630,7 @@ export default {
...
@@ -620,7 +630,7 @@ export default {
onClick
=
{()
=>
this
.
showDetail
(
item
)}
onClick
=
{()
=>
this
.
showDetail
(
item
)}
><
/i
>
><
/i
>
<
/span
>
<
/span
>
)
}
}
{
item
.
orderStatus
===
'TO_BE_ASSIGN'
&&
(
{
item
.
orderStatus
===
'TO_BE_ASSIGN'
&&
(
<
span
title
=
"指派给"
class
=
"icon-view"
>
<
span
title
=
"指派给"
class
=
"icon-view"
>
<
img
<
img
...
@@ -663,6 +673,16 @@ export default {
...
@@ -663,6 +673,16 @@ export default {
/
>
/
>
<
/span
>
<
/span
>
)}
)}
{
item
.
orderStatus
===
'IN_COMPLETE'
&&
(
<
span
title
=
"驳回"
class
=
"icon-view"
>
<
img
width
=
"24"
height
=
"24"
src
=
{
rejectWork
}
onClick
=
{()
=>
this
.
reject
(
item
)}
/
>
<
/span
>
)}
<
/span
>
<
/span
>
),
),
},
},
...
@@ -831,7 +851,9 @@ export default {
...
@@ -831,7 +851,9 @@ export default {
startTime
:
this
.
periodTime
&&
this
.
periodTime
[
0
],
startTime
:
this
.
periodTime
&&
this
.
periodTime
[
0
],
endTime
:
this
.
periodTime
&&
this
.
periodTime
[
1
],
endTime
:
this
.
periodTime
&&
this
.
periodTime
[
1
],
...
this
.
searchForm
,
...
this
.
searchForm
,
leaders
:
this
.
searchForm
.
leaders
&&
this
.
searchForm
.
leaders
.
join
(
','
),
leaders
:
this
.
searchForm
.
leaders
&&
this
.
searchForm
.
leaders
.
join
(
','
),
})
})
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
this
.
sourceData
=
res
.
data
.
records
this
.
sourceData
=
res
.
data
.
records
...
@@ -879,6 +901,15 @@ export default {
...
@@ -879,6 +901,15 @@ export default {
console
.
error
(
e
)
console
.
error
(
e
)
}
}
},
},
async
reject
()
{
try
{
await
this
.
$confirm
(
'确定驳回吗?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
})
}
catch
{}
},
async
submitTime
()
{
async
submitTime
()
{
if
(
!
this
.
estimateCompleteTime
)
{
if
(
!
this
.
estimateCompleteTime
)
{
return
this
.
$message
.
warning
(
'请选择预计完成时间'
)
return
this
.
$message
.
warning
(
'请选择预计完成时间'
)
...
@@ -938,11 +969,9 @@ export default {
...
@@ -938,11 +969,9 @@ export default {
watch
:
{
watch
:
{
statusCode
(
val
)
{
statusCode
(
val
)
{
if
(
val
===
'IN_PROGRESS'
)
{
if
(
val
===
'IN_PROGRESS'
)
{
this
.
$set
(
this
.
$set
(
this
.
searchForm
,
'leaders'
,
[
this
.
searchForm
,
this
.
userInfo
.
id
,
'leaders'
,
])
[
this
.
userInfo
.
id
],
)
}
else
{
}
else
{
this
.
$set
(
this
.
searchForm
,
'leaders'
,
[])
this
.
$set
(
this
.
searchForm
,
'leaders'
,
[])
}
}
...
...
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