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
f51eda25
Commit
f51eda25
authored
Jun 26, 2023
by
张耀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:
优化逻辑
parent
d6bcf35c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
28 deletions
+22
-28
src/page/main/ticket/business-ticket-manage/index.vue
src/page/main/ticket/business-ticket-manage/index.vue
+9
-0
src/page/main/ticket/modules/feedback.vue
src/page/main/ticket/modules/feedback.vue
+10
-16
src/page/main/ticket/my-warn-ticket/index.vue
src/page/main/ticket/my-warn-ticket/index.vue
+3
-12
No files found.
src/page/main/ticket/business-ticket-manage/index.vue
View file @
f51eda25
...
@@ -143,6 +143,7 @@ const status = {
...
@@ -143,6 +143,7 @@ const status = {
3
:
"
已关闭
"
,
3
:
"
已关闭
"
,
};
};
import
{
useRouter
}
from
"
vue-router
"
;
import
{
useRouter
}
from
"
vue-router
"
;
import
{
ElMessage
}
from
"
element-plus
"
;
const
router
=
useRouter
();
const
router
=
useRouter
();
const
filter
=
reactive
({
const
filter
=
reactive
({
ticket_level
:
""
,
ticket_level
:
""
,
...
@@ -326,6 +327,14 @@ const AddTicket = () => {
...
@@ -326,6 +327,14 @@ const AddTicket = () => {
};
};
// 批量删除
// 批量删除
const
delBatch
=
()
=>
{
const
delBatch
=
()
=>
{
if
(
del_ids
.
value
.
length
==
0
)
{
ElMessage
({
message
:
"
请选择要删除的工单
"
,
type
:
"
error
"
,
duration
:
3000
,
});
return
;
}
console
.
log
(
del_ids
.
value
);
console
.
log
(
del_ids
.
value
);
};
};
// 清空选中
// 清空选中
...
...
src/page/main/ticket/modules/feedback.vue
View file @
f51eda25
<
template
>
<
template
>
<el-dialog
<el-dialog
v-model=
"show"
width=
"774px"
top=
"10vh"
:before-close=
"beforeClose"
:close-on-click-modal=
"false"
>
v-model=
"show"
width=
"774px"
top=
"10vh"
:before-close=
"beforeClose"
:close-on-click-modal=
"false"
>
<template
#header
>
<template
#header
>
<GapTitle
title=
"处置反馈"
></GapTitle>
<GapTitle
title=
"处置反馈"
></GapTitle>
</
template
>
</
template
>
<div
class=
"feedback-body"
>
<div
class=
"feedback-body"
>
<el-form
<el-form
:model=
"state.form"
ref=
"form"
:rules=
"state.rules"
label-width=
"80px"
>
:model=
"state.form"
<el-form-item
label=
"预警状态"
prop=
"status"
v-if=
"props.isWarn"
>
ref=
"form"
:rules=
"state.rules"
label-width=
"80px"
>
<el-form-item
label=
"预警状态"
prop=
"status"
>
<el-radio-group
v-model=
"state.form.status"
>
<el-radio-group
v-model=
"state.form.status"
>
<el-radio
v-for=
"(value, key) in status"
:key=
"key"
:label=
"key"
>
<el-radio
v-for=
"(value, key) in status"
:key=
"key"
:label=
"key"
>
{{ value }}
{{ value }}
...
@@ -28,8 +17,9 @@
...
@@ -28,8 +17,9 @@
type=
"textarea"
type=
"textarea"
v-model=
"state.form.result"
v-model=
"state.form.result"
rows=
"5"
rows=
"5"
placeholder=
"请输入结果反馈"
maxlength=
"100"
></el-input>
show-word-limit
placeholder=
"请输入结果反馈"
></el-input>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
...
@@ -57,6 +47,10 @@ const props = defineProps({
...
@@ -57,6 +47,10 @@ const props = defineProps({
type
:
Object
,
type
:
Object
,
default
:
null
,
default
:
null
,
},
},
isWarn
:
{
type
:
Boolean
,
default
:
false
,
},
});
});
const
state
=
reactive
({
const
state
=
reactive
({
form
:
{
form
:
{
...
...
src/page/main/ticket/my-warn-ticket/index.vue
View file @
f51eda25
...
@@ -4,10 +4,7 @@
...
@@ -4,10 +4,7 @@
<bg-breadcrumb
/>
<bg-breadcrumb
/>
</div>
</div>
<div
class=
"content"
>
<div
class=
"content"
>
<bg-filter-group
<bg-filter-group
@
search=
"changeSearch"
v-model=
"filter.key_word"
placeholder=
"请输入角色名称"
>
@
search=
"changeSearch"
v-model=
"filter.key_word"
placeholder=
"请输入角色名称"
>
<template
v-slot:filter_group
>
<template
v-slot:filter_group
>
<div
class=
"left-filter filter_list"
>
<div
class=
"left-filter filter_list"
>
<div
class=
"filter_item"
>
<div
class=
"filter_item"
>
...
@@ -74,13 +71,7 @@
...
@@ -74,13 +71,7 @@
</bg-filter-group>
</bg-filter-group>
<div
class=
"table_container"
>
<div
class=
"table_container"
>
<div
class=
"table"
>
<div
class=
"table"
>
<bg-table
<bg-table
ref=
"listtable"
:headers=
"headers"
:rows=
"rows"
height=
"100%"
:isIndex=
"true"
:stripe=
"true"
>
ref=
"listtable"
:headers=
"headers"
:rows=
"rows"
height=
"100%"
:isIndex=
"true"
:stripe=
"true"
>
<
template
#warning_point
="{
row
}"
>
<
template
#warning_point
="{
row
}"
>
<div
class=
"href"
@
click=
"goTo(row)"
>
{{
row
.
warning_point
||
"
-
"
}}
</div>
<div
class=
"href"
@
click=
"goTo(row)"
>
{{
row
.
warning_point
||
"
-
"
}}
</div>
</
template
>
</
template
>
...
@@ -105,7 +96,7 @@
...
@@ -105,7 +96,7 @@
<!-- <ManualDistributionForm ref="form" :disabled="true" /> -->
<!-- <ManualDistributionForm ref="form" :disabled="true" /> -->
<!-- <ManualDistribution v-model:visible="visible" /> -->
<!-- <ManualDistribution v-model:visible="visible" /> -->
</div>
</div>
<FeedBack
v-model:visible=
"visible"
:active_row=
"active_row"
/>
<FeedBack
v-model:visible=
"visible"
:active_row=
"active_row"
:isWarn=
"true"
/>
</div>
</div>
</template>
</template>
...
...
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