Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust_web
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张伯涛
cust_web
Commits
537b4092
Commit
537b4092
authored
Feb 25, 2025
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改意见反馈
parent
f9d43c5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
22 deletions
+29
-22
index.vue
src/views/operationsManagement/memFeedBack/index.vue
+29
-22
No files found.
src/views/operationsManagement/memFeedBack/index.vue
View file @
537b4092
...
...
@@ -31,6 +31,22 @@
style=
"width: 150px"
/>
</el-form-item>
<el-form-item
label=
"处理状态"
prop=
"status"
>
<el-select
v-model=
"queryParams.status"
placeholder=
"请选择处理状态"
clearable
size=
"small"
style=
"width: 150px"
>
<el-option
v-for=
"dict in statusOptions"
:key=
"dict.dictValue"
:label=
"dict.dictLabel"
:value=
"dict.dictValue"
/>
</el-select>
</el-form-item>
<el-form-item>
<el-button
:class=
"commonField.queryClass"
...
...
@@ -84,6 +100,11 @@
{{
scope
.
row
.
content
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"处理状态"
prop=
"status"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
status
==
'1'
?
'已处理'
:
'未处理'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"备注"
prop=
"remarks"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
remarks
||
'-'
}}
...
...
@@ -101,7 +122,7 @@
:type=
"commonField.typeParent"
:size=
"commonField.size"
@
click=
"handleUpdate(scope.row)"
>
修改
</el-button>
>
处理
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -115,29 +136,14 @@
/>
<!-- 添加或修改意见反馈配置对话框 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"500px"
append-to-body
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
size=
"small"
label-width=
"90px"
>
<el-form-item
label=
"反馈类型"
prop=
"feedbackType"
>
<el-input
v-model
.
trim=
"form.feedbackType"
show-word-limit
:maxlength=
"64"
placeholder=
"请输入反馈类型"
/>
</el-form-item>
<el-form-item
label=
"标题"
prop=
"title"
>
<el-input
v-model
.
trim=
"form.title"
show-word-limit
:maxlength=
"255"
placeholder=
"请输入标题"
/>
</el-form-item>
<el-form-item
label=
"内容"
prop=
"content"
>
<el-input
v-model
.
trim=
"form.content"
show-word-limit
:maxlength=
"255"
placeholder=
"请输入内容"
/>
</el-form-item>
<el-form-item
label=
"状态"
>
<el-radio-group
v-model=
"form.flag"
>
<el-radio
label=
"1"
>
启用
</el-radio>
<el-radio
label=
"0"
>
停用
</el-radio>
</el-radio-group>
</el-form-item>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
size=
"small"
>
<el-form-item
label=
"备注"
prop=
"remarks"
>
<el-input
v-model
.
trim=
"form.remarks"
maxlength=
"200"
show-word-limit
type=
"textarea"
placeholder=
"请输入内容"
/>
</el-form-item>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
class=
"cancelBtn"
@
click=
"cancel"
>
取 消
</el-button>
<el-button
class=
"submitBtn"
type=
"primary"
@
click=
"submitForm"
>
确 定
</el-button>
<el-button
class=
"submitBtn"
type=
"primary"
@
click=
"submitForm"
>
处 理
</el-button>
</div>
</el-dialog>
</div>
...
...
@@ -169,11 +175,11 @@ export default {
// 状态菜单
statusOptions
:
[
{
dictLabel
:
'
启用
'
,
dictLabel
:
'
已处理
'
,
dictValue
:
'1'
},
{
dictLabel
:
'
停用
'
,
dictLabel
:
'
未处理
'
,
dictValue
:
'0'
}
],
...
...
@@ -259,7 +265,7 @@ export default {
getMemFeedback
(
id
).
then
(
response
=>
{
this
.
form
=
response
.
data
this
.
open
=
true
this
.
title
=
'
修改
意见反馈'
this
.
title
=
'
处理
意见反馈'
})
},
// 改变状态
...
...
@@ -285,8 +291,9 @@ export default {
this
.
$refs
[
'form'
].
validate
(
valid
=>
{
if
(
valid
)
{
if
(
this
.
form
.
businessId
!==
undefined
)
{
this
.
form
.
status
=
'1'
updateMemFeedback
(
this
.
form
).
then
(
response
=>
{
this
.
msgSuccess
(
'
修改
成功'
)
this
.
msgSuccess
(
'
处理
成功'
)
this
.
open
=
false
this
.
getList
()
})
...
...
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