Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
so-manage-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
smart-operation
so-manage-ui
Commits
07be3c5e
Commit
07be3c5e
authored
Oct 30, 2023
by
张耀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:
修复bug:10775 【研发环境】新增预警工单时,推送方式已经选择,在列表中点击手动下发工单时,需要重新选择推送方式。
parent
04c54296
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
6 deletions
+27
-6
src/components/manual-distribution/index.vue
src/components/manual-distribution/index.vue
+3
-6
src/page/main/ticket/business-ticket-manage/index.vue
src/page/main/ticket/business-ticket-manage/index.vue
+24
-0
No files found.
src/components/manual-distribution/index.vue
View file @
07be3c5e
...
...
@@ -4,12 +4,7 @@
<GapTitle
title=
"手动下发"
></GapTitle>
</
template
>
<div
class=
"manual-distribution"
>
<Form
labelWidth=
"80px"
:methodLists=
"ORDER_METHODS"
:history=
"history"
:user_list_url=
"user_list_url"
ref=
"form"
/>
<Form
labelWidth=
"80px"
:methodLists=
"ORDER_METHODS"
:history=
"history"
ref=
"form"
:is_all=
"is_all"
/>
</div>
<
template
#footer
>
<el-button
size=
"default"
@
click=
"Close"
>
关闭
</el-button>
...
...
@@ -61,6 +56,8 @@ const history = computed(() => {
*/
return
props
.
row
?.
history
||
null
;
});
const
is_all
=
computed
(()
=>
props
.
is_all
);
const
emits
=
defineEmits
([
"
update:visible
"
]);
const
form
=
ref
(
null
);
// 关闭调用
...
...
src/page/main/ticket/business-ticket-manage/index.vue
View file @
07be3c5e
...
...
@@ -231,6 +231,10 @@ let headers = reactive([
fixed
:
"
right
"
,
},
]);
const
history
=
ref
({
methods
:
[],
lists
:
[],
});
let
rows
=
ref
([]);
const
selectable
=
(
row
,
index
)
=>
{
return
!
row
.
timing_state
;
...
...
@@ -279,6 +283,26 @@ const active_row = ref(null);
const
operation
=
(
row
)
=>
{
active_row
.
value
=
row
;
visible
.
value
=
true
;
const
params
=
{
id
:
row
.
id
,
};
axios
.
get
(
"
/v1/api/work_order/work_order_manage/details
"
,
{
params
}).
then
((
res
)
=>
{
if
(
res
.
data
.
code
==
200
)
{
let
{
data
}
=
res
.
data
;
if
(
!
data
)
return
;
active_row
.
value
.
history
=
{
method
:
data
.
push_obj
.
push_method
==
3
?
[
"
1
"
,
"
2
"
]
:
[
`
${
data
.
push_obj
.
push_method
}
`
]
||
[],
lists
:
data
.
push_obj
.
user_obj
?.
map
((
e
)
=>
{
return
{
user_id
:
e
.
system_account
,
user_name
:
e
.
user_name
,
phone
:
e
.
phone
,
};
})
||
[],
};
}
});
};
// 编辑调用
const
Edit
=
(
row
)
=>
{
...
...
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