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
79a41f40
Commit
79a41f40
authored
Apr 17, 2023
by
qinjianhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 工单负责人多选
parent
23cd68e8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
src/common/api/order.js
+1
-1
src/views/taskManage/index.vue
+6
-4
No files found.
src/common/api/order.js
View file @
79a41f40
...
...
@@ -13,7 +13,7 @@ export function workConfirmed(id) {
export
function
workAssigned
(
id
,
user
)
{
return
axios
.
post
(
'platform/platformWorkOrder/assign'
,
{
id
:
id
,
leader
:
user
,
leader
s
:
user
,
})
}
...
...
src/views/taskManage/index.vue
View file @
79a41f40
...
...
@@ -367,6 +367,7 @@
style=
"width: 100%"
size=
"small"
v-model=
"user"
multiple
>
<el-option
v-for=
"user in userList"
...
...
@@ -466,7 +467,7 @@ export default {
return
{
loading
:
false
,
detailLoading
:
false
,
user
:
''
,
user
:
[]
,
textarea
:
''
,
centerPageOptions
:
{
pageSize
:
100
,
...
...
@@ -554,7 +555,7 @@ export default {
},
{
label
:
'负责人'
,
key
:
'leaderName'
,
key
:
'leaderName
s
'
,
width
:
80
,
},
{
...
...
@@ -791,13 +792,14 @@ export default {
},
// 提交分派
async
submitAssign
()
{
if
(
!
this
.
user
)
{
if
(
this
.
user
.
length
===
0
)
{
return
this
.
$message
.
warning
(
'请选择负责人'
)
}
const
user
=
this
.
user
.
join
(
','
)
try
{
const
res
=
await
workAssigned
(
this
.
currentRowId
,
this
.
user
,
user
,
)
if
(
res
.
code
===
200
)
{
this
.
assignVisible
=
false
...
...
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