Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing-opeartion
Overview
Overview
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
gic-web
marketing-opeartion
Commits
71fc984a
Commit
71fc984a
authored
Jun 21, 2022
by
crushh
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/营销' into dev
parents
50b0a2b2
c014e804
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
15 deletions
+18
-15
component.less
src/styles/component.less
+4
-7
request.js
src/utils/request.js
+0
-1
NewActivity.vue
src/views/activity/component/NewActivity.vue
+7
-0
template-detail.vue
src/views/activity/template-detail.vue
+0
-0
template-list.vue
src/views/activity/template-list.vue
+7
-7
No files found.
src/styles/component.less
View file @
71fc984a
...
...
@@ -16,6 +16,9 @@
.ml10 {
margin-left: 10px;
}
.mt6 {
margin-top: 6px;
}
.mt10 {
margin-top: 10px;
}
...
...
@@ -56,13 +59,7 @@
.border-bottom{
border-bottom: 1px solid #E4E7ED;
}
.image-tip {
margin: 6px 0 14px;
font-size: 12px;
color: #909399;
line-height: 17px;
cursor: default;
}
[class^="dm-status--"]::before {
display: inline-block;
width: 6px;
...
...
src/utils/request.js
View file @
71fc984a
...
...
@@ -6,7 +6,6 @@ import { origin } from '@/config/index.js';
axios
.
defaults
.
baseURL
=
origin
;
const
request
=
(
opt
,
params
)
=>
{
console
.
log
(
opt
,
params
);
params
=
typeof
params
===
'object'
?
JSON
.
parse
(
JSON
.
stringify
(
params
))
:
params
;
opt
=
Object
.
assign
({},
opt
);
let
requestConfig
=
{
...
...
src/views/activity/component/NewActivity.vue
View file @
71fc984a
...
...
@@ -214,6 +214,13 @@ export default {
color
:
#303133
;
}
}
.image-tip
{
margin
:
6px
0
14px
;
font-size
:
12px
;
color
:
#909399
;
line-height
:
17px
;
cursor
:
default
;
}
/
deep
/
.el-input-number.is-controls-right
:hover
.el-input-number__decrease
,
/
deep
/
.el-input-number.is-controls-right
:hover
.el-input-number__increase
{
...
...
src/views/activity/template-detail.vue
View file @
71fc984a
This diff is collapsed.
Click to expand it.
src/views/activity/template-list.vue
View file @
71fc984a
...
...
@@ -53,7 +53,8 @@ export default {
return
{
searchParams
:
{
templateName
:
''
,
statusFlag
:
''
statusFlag
:
''
,
templateType
:
this
.
$route
.
query
.
type
},
loading
:
false
,
list
:
[],
...
...
@@ -118,21 +119,20 @@ export default {
sort
.
option
(
'sort'
,
isSortIcon
);
},
onEnd
({
newIndex
,
oldIndex
})
{
console
.
log
(
newIndex
);
// const currRow = that.list.splice(oldIndex, 1)[0];
// that.list.splice(newIndex, 0, currRow);
// console.log(newIndex);
const
currRow
=
that
.
list
.
splice
(
oldIndex
,
1
)[
0
];
that
.
list
.
splice
(
newIndex
,
0
,
currRow
);
console
.
log
(
that
.
list
);
const
arr
=
that
.
list
.
map
((
item
,
index
)
=>
{
return
{
sort
:
index
,
templateId
:
item
.
templateId
};
});
console
.
log
(
arr
);
// that.batchupdateTemplateSort({ sort: newIndex, templateId: currRow.templateId });
// console.log(arr);
that
.
batchupdateTemplateSort
(
arr
);
}
});
},
batchupdateTemplateSort
(
arr
)
{
fetch
.
batchupdateTemplateSort
(
arr
).
then
((
res
)
=>
{
console
.
log
(
res
);
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