Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-operate-sys-cscec
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fulixin
dsk-operate-sys-cscec
Commits
b50c5130
Commit
b50c5130
authored
Dec 27, 2023
by
danfuman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
110942b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
index.vue
dsk-operate-ui/src/views/system/supplierBad/index.vue
+6
-5
No files found.
dsk-operate-ui/src/views/system/supplierBad/index.vue
View file @
b50c5130
...
...
@@ -23,7 +23,7 @@
>
<template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.status===0"
style=
"cursor: pointer;margin-right: 16px;color: #0081FF;"
@
click=
"handleClick(scope.row,1)"
>
停用
</span>
<span
v-if=
"scope.row.status===1"
style=
"cursor: pointer;margin-right: 16px;color: #0081FF;"
@
click=
"handleClick(scope.row,
1
)"
>
启用
</span>
<span
v-if=
"scope.row.status===1"
style=
"cursor: pointer;margin-right: 16px;color: #0081FF;"
@
click=
"handleClick(scope.row,
0
)"
>
启用
</span>
<span
style=
"cursor: pointer;color: #FF3C3C;"
@
click=
"handleClick(scope.row,2)"
>
删除
</span>
</
template
>
</el-table-column>
...
...
@@ -168,7 +168,7 @@
methods
:
{
radioBtn
(
val
){
configUpdate
({
configKey
:
'customer-badness-date-type'
,
configValue
:
val
}).
then
(
res
=>
{
this
.
$m
odal
.
success
(
res
.
msg
);
this
.
$m
essage
.
success
(
res
.
msg
);
});
},
getList
(){
...
...
@@ -181,7 +181,8 @@
console
.
log
(
res
)
this
.
isSkeleton
=
false
;
this
.
tableData
=
res
.
rows
;
this
.
tableDataTotal
=
res
.
total
this
.
tableDataTotal
=
res
.
total
;
})
},
handleClick
(
item
,
key
){
...
...
@@ -209,7 +210,7 @@
console
.
log
(
res
)
if
(
res
.
code
===
200
){
this
.
visible
=
false
;
this
.
$m
odal
.
success
(
"新增成功"
);
this
.
$m
essage
.
success
(
"新增成功"
);
this
.
getList
()
}
else
{
this
.
$message
.
error
(
res
.
msg
);
...
...
@@ -237,7 +238,7 @@
handleSave
(){
let
time
=
this
.
startTime
.
substring
(
0
,
2
)
+
'-'
+
this
.
endTime
.
substring
(
0
,
2
)
configUpdate
({
configKey
:
'customer-badness-time-frame'
,
configValue
:
time
}).
then
(
res
=>
{
this
.
$m
odal
.
success
(
res
.
msg
);
this
.
$m
essage
.
success
(
res
.
msg
);
});
},
converTime
(
time
)
{
...
...
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