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
a25697f9
Commit
a25697f9
authored
Jul 27, 2023
by
qinjianhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 问题修改
parent
7948aeff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
21 deletions
+31
-21
src/views/taskManage/index.vue
+31
-21
No files found.
src/views/taskManage/index.vue
View file @
a25697f9
...
...
@@ -118,8 +118,9 @@
placeholder=
"请选择"
>
<el-option
v-for=
"(priorityStatus,
index) in priorityStatusList"
v-for=
"(
priorityStatus, index
) in priorityStatusList"
:key=
"index"
:value=
"priorityStatus.value"
:label=
"priorityStatus.name"
...
...
@@ -284,7 +285,11 @@
>
<span
class=
"label"
>
工单内容
</span>
<span
style=
"flex: 1; display: inline-block;padding:0 3%"
style=
"
flex: 1;
display: inline-block;
padding: 0 3%;
"
class=
"value"
v-html=
"detail.content"
></span>
...
...
@@ -295,7 +300,11 @@
>
<span
class=
"label"
>
备注
</span>
<span
style=
"flex: 1; display: inline-block;padding:0 3%"
style=
"
flex: 1;
display: inline-block;
padding: 0 3%;
"
class=
"value"
v-html=
"detail.remark"
></span>
...
...
@@ -593,7 +602,7 @@ export default {
key
:
'title'
,
minWidth
:
120
,
align
:
'left'
,
render
:
item
=>
(
render
:
(
item
)
=>
(
<
span
style
=
"position: relative;"
>
<
span
>
{
item
.
title
}
<
/span
>
{
item
.
sign
===
1
&&
...
...
@@ -647,9 +656,9 @@ export default {
label
:
'优先级'
,
key
:
'priorityStatus'
,
width
:
80
,
render
:
item
=>
{
render
:
(
item
)
=>
{
if
(
item
.
priorityStatus
)
{
return
this
.
priorityStatusList
.
find
(
v
=>
{
return
this
.
priorityStatusList
.
find
(
(
v
)
=>
{
return
v
.
value
===
item
.
priorityStatus
}).
name
}
else
{
...
...
@@ -660,7 +669,7 @@ export default {
{
label
:
'描述'
,
key
:
'content'
,
render
:
item
=>
{
render
:
(
item
)
=>
{
return
(
<
div
class
=
"description"
...
...
@@ -699,7 +708,7 @@ export default {
fixed
:
'right'
,
width
:
120
,
align
:
'center'
,
render
:
item
=>
(
render
:
(
item
)
=>
(
<
span
>
{
item
.
orderStatus
===
'PRE_HANDLING'
&&
Number
(
item
.
fromUser
)
===
...
...
@@ -755,8 +764,11 @@ export default {
<
/span
>
)}
{
item
.
orderStatus
===
'TO_BE_CONFIRMED'
&&
Number
(
item
.
leaders
)
===
this
.
userInfo
.
id
&&
(
item
.
leaders
&&
item
.
leaders
.
split
(
','
)
.
map
((
e
)
=>
+
e
)
.
includes
(
this
.
userInfo
.
id
)
&&
(
<
span
title
=
"开始"
class
=
"icon-view"
>
<
img
width
=
"24"
...
...
@@ -820,7 +832,7 @@ export default {
methods
:
{
handlePriorityStatus
(
data
)
{
if
(
data
)
{
return
this
.
priorityStatusList
.
find
(
v
=>
{
return
this
.
priorityStatusList
.
find
(
(
v
)
=>
{
return
v
.
value
===
data
}).
name
}
else
{
...
...
@@ -837,7 +849,7 @@ export default {
this
.
$refs
.
editForm
.
resetFields
()
},
update
(
v
)
{
getInfo
(
v
.
id
).
then
(
res
=>
{
getInfo
(
v
.
id
).
then
(
(
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
editForm
=
JSON
.
parse
(
JSON
.
stringify
(
res
.
data
),
...
...
@@ -1001,10 +1013,8 @@ export default {
},
async
getlist
()
{
this
.
loading
=
true
const
{
pageSize
,
currentPage
,
}
=
this
.
centerPageOptions
const
{
pageSize
,
currentPage
}
=
this
.
centerPageOptions
axios
.
post
(
'platform/platformWorkOrder/list_page'
,
{
pageSize
,
...
...
@@ -1017,7 +1027,7 @@ export default {
this
.
searchForm
.
leaders
&&
this
.
searchForm
.
leaders
.
join
(
','
),
})
.
then
(
res
=>
{
.
then
(
(
res
)
=>
{
if
(
res
.
code
!==
200
)
return
this
.
sourceData
=
res
.
data
.
records
this
.
centerPageOptions
.
total
=
res
.
data
.
total
...
...
@@ -1073,7 +1083,7 @@ export default {
cancelButtonText
:
'取消'
,
type
:
'warning'
,
}).
then
(()
=>
{
closeForPending
(
v
.
id
).
then
(
res
=>
{
closeForPending
(
v
.
id
).
then
(
(
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
.
success
(
'已关闭'
)
this
.
getlist
()
...
...
@@ -1114,7 +1124,7 @@ export default {
cancelButtonText
:
'取消'
,
type
:
'warning'
,
}).
then
(()
=>
{
reject
(
v
.
id
).
then
(
res
=>
{
reject
(
v
.
id
).
then
(
(
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
.
success
(
'已驳回'
)
this
.
getlist
()
...
...
@@ -1170,7 +1180,7 @@ export default {
.
get
(
`platform/platformWorkOrderChat/getByWorkOrder?workOrderId=
${
item
.
id
}
`
,
)
.
then
(
res
=>
{
.
then
(
(
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
chatRecord
=
res
.
data
}
...
...
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