Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
3c4be862
Commit
3c4be862
authored
Apr 18, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
投诉管理增加删除 和 去除 重复提交验证
parent
0a48963c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
6 deletions
+30
-6
AddComplaints.vue
src/components/Complaints/AddComplaints.vue
+6
-6
ComplaintsManage.vue
src/components/Complaints/ComplaintsManage.vue
+24
-0
No files found.
src/components/Complaints/AddComplaints.vue
View file @
3c4be862
...
...
@@ -126,7 +126,7 @@
<p>
投诉情况
</p>
<div
class=
"AC_complaintList"
>
<div
class=
"t"
>
主题内容:
</div>
<ul>
<ul
style=
"width:90%;"
>
<li
v-for=
"subItem in themeList"
@
click=
"getTheme(subItem)"
:class=
"
{'checked':subItem.isCheck}">
{{
subItem
.
Name
}}
</li>
...
...
@@ -134,7 +134,7 @@
</div>
<div
class=
"AC_complaintList"
>
<div
class=
"t"
>
严重程度:
</div>
<ul>
<ul
style=
"width:90%;"
>
<li
v-for=
"subItem in severityList"
@
click=
"getServerity(subItem)"
:class=
"
{'checked':subItem.isCheck}">
{{
subItem
.
Name
}}
</li>
...
...
@@ -234,10 +234,10 @@
this
.
EditMsg
.
LineID
=
this
.
PriceInfo
.
LineID
;
this
.
EditMsg
.
LineteamId
=
this
.
PriceInfo
.
LineteamId
;
}
this
.
ExitCount
=
res
.
data
.
data
.
ExitCount
;
if
(
this
.
ExitCount
>
0
){
this
.
Error
(
"该订单已存在投诉"
);
}
//
this.ExitCount = res.data.data.ExitCount;
//
if(this.ExitCount>0){
//
this.Error("该订单已存在投诉");
//
}
}
else
{
this
.
Error
(
res
.
data
.
message
)
}
...
...
src/components/Complaints/ComplaintsManage.vue
View file @
3c4be862
...
...
@@ -203,6 +203,7 @@
<td>
{{
getTimeConsuming
(
item
,
2
)
}}
</td>
<td>
<span
class=
"CM_detail"
@
click=
"goUrl('ComplaintsDetail',item.ID,item.OrderID,'投诉详情')"
>
详情
</span>
<span
class=
"CM_detail"
@
click=
"delComplaints(item.ID,item.CreateBy)"
>
删除
</span>
</td>
</tr>
</table>
...
...
@@ -438,6 +439,29 @@
var
fileName
=
"投诉报表.xls"
;
this
.
GetLocalFile
(
"get_complain_GetExport"
,
msg
,
fileName
);
},
//删除
delComplaints
(
ID
,
UserID
){
let
userInfo
=
this
.
getLocalStorage
();
if
(
userInfo
.
EmployeeId
==
UserID
){
var
that
=
this
;
that
.
Confirm
(
"是否删除?"
,
function
()
{
var
msg
=
{
ID
:
ID
};
that
.
apipost
(
"conplain_post_Remove"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
res
.
data
.
message
);
that
.
getList
();
}
},
null
);
});
}
else
{
this
.
Error
(
'只能删除自己创建的单据'
);
}
}
},
mounted
()
{
this
.
getLineList
()
...
...
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