Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
intel_promotion_manage
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
张伯涛
intel_promotion_manage
Commits
49e8d3e9
Commit
49e8d3e9
authored
Jul 31, 2024
by
刘帅阳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
a59b5fa5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
index.vue
src/views/brandAmbassador/index.vue
+6
-3
index.vue
src/views/contentManagement/clickManagement/index.vue
+3
-2
No files found.
src/views/brandAmbassador/index.vue
View file @
49e8d3e9
...
@@ -892,6 +892,7 @@ export default {
...
@@ -892,6 +892,7 @@ export default {
this
.
form
.
deptId
=
this
.
queryParams
.
deptId
.
toString
().
split
(
','
).
map
(
item
=>
Number
(
item
))
this
.
form
.
deptId
=
this
.
queryParams
.
deptId
.
toString
().
split
(
','
).
map
(
item
=>
Number
(
item
))
}
}
this
.
open
=
true
this
.
open
=
true
this
.
submitLoading
=
false
this
.
title
=
'添加代言人'
this
.
title
=
'添加代言人'
},
},
/** 修改按钮操作 */
/** 修改按钮操作 */
...
@@ -899,6 +900,7 @@ export default {
...
@@ -899,6 +900,7 @@ export default {
this
.
reset
()
this
.
reset
()
this
.
isUnitAdmin
=
flag
this
.
isUnitAdmin
=
flag
this
.
open
=
true
this
.
open
=
true
this
.
submitLoading
=
false
this
.
form
=
JSON
.
parse
(
JSON
.
stringify
(
row
))
this
.
form
=
JSON
.
parse
(
JSON
.
stringify
(
row
))
const
depIds
=
row
.
deptIdPrepares
.
split
(
','
)
const
depIds
=
row
.
deptIdPrepares
.
split
(
','
)
this
.
form
.
deptId
=
depIds
.
map
(
item
=>
Number
(
item
))
this
.
form
.
deptId
=
depIds
.
map
(
item
=>
Number
(
item
))
...
@@ -939,12 +941,12 @@ export default {
...
@@ -939,12 +941,12 @@ export default {
if
(
this
.
form
.
businessId
!==
undefined
)
{
if
(
this
.
form
.
businessId
!==
undefined
)
{
const
addParams
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
form
))
const
addParams
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
form
))
updateSysuser
(
addParams
).
then
(
response
=>
{
updateSysuser
(
addParams
).
then
(
response
=>
{
this
.
submitLoading
=
false
this
.
$message
({
this
.
$message
({
message
:
'修改成功'
,
message
:
'修改成功'
,
type
:
'success'
type
:
'success'
})
})
this
.
open
=
false
this
.
open
=
false
this
.
getList
()
this
.
getList
()
}).
catch
(()
=>
{
}).
catch
(()
=>
{
this
.
submitLoading
=
false
this
.
submitLoading
=
false
...
@@ -952,12 +954,12 @@ export default {
...
@@ -952,12 +954,12 @@ export default {
}
else
{
}
else
{
const
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
form
))
const
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
form
))
addSysuser
(
params
).
then
(
response
=>
{
addSysuser
(
params
).
then
(
response
=>
{
this
.
submitLoading
=
false
this
.
newId
=
response
.
data
.
businessId
this
.
newId
=
response
.
data
.
businessId
this
.
$message
({
this
.
$message
({
message
:
'新增成功'
,
type
:
'success'
message
:
'新增成功'
,
type
:
'success'
})
})
this
.
open
=
false
this
.
open
=
false
this
.
getList
()
this
.
getList
()
}).
catch
(()
=>
{
}).
catch
(()
=>
{
this
.
submitLoading
=
false
this
.
submitLoading
=
false
...
@@ -1015,6 +1017,7 @@ export default {
...
@@ -1015,6 +1017,7 @@ export default {
handleImport
()
{
handleImport
()
{
this
.
upload
.
title
=
'代言人导入'
this
.
upload
.
title
=
'代言人导入'
this
.
upload
.
open
=
true
this
.
upload
.
open
=
true
this
.
importLoading
=
false
},
},
/** 下载模板操作 */
/** 下载模板操作 */
importTemplate
()
{
importTemplate
()
{
...
@@ -1065,7 +1068,7 @@ export default {
...
@@ -1065,7 +1068,7 @@ export default {
this
.
$message
.
success
(
'导入成功'
)
this
.
$message
.
success
(
'导入成功'
)
this
.
fileList
=
[]
this
.
fileList
=
[]
// 导入成功后关闭弹出框
// 导入成功后关闭弹出框
this
.
importLoading
=
false
this
.
upload
.
open
=
false
this
.
upload
.
open
=
false
// 导入成功后刷新页面
// 导入成功后刷新页面
this
.
getList
()
this
.
getList
()
...
...
src/views/contentManagement/clickManagement/index.vue
View file @
49e8d3e9
...
@@ -1133,7 +1133,6 @@ export default {
...
@@ -1133,7 +1133,6 @@ export default {
formData
.
append
(
'unitId'
,
this
.
formModel
.
unitId
)
formData
.
append
(
'unitId'
,
this
.
formModel
.
unitId
)
formData
.
append
(
'newsVideoId'
,
this
.
formModel
.
newsVideoId
)
formData
.
append
(
'newsVideoId'
,
this
.
formModel
.
newsVideoId
)
handleAddForm
(
formData
).
then
(
res
=>
{
handleAddForm
(
formData
).
then
(
res
=>
{
this
.
submitLoading
=
false
this
.
$message
({
this
.
$message
({
message
:
'新增成功'
,
message
:
'新增成功'
,
type
:
'success'
type
:
'success'
...
@@ -1227,6 +1226,7 @@ export default {
...
@@ -1227,6 +1226,7 @@ export default {
handleImport
()
{
handleImport
()
{
this
.
upload
.
title
=
'推广次数导入'
this
.
upload
.
title
=
'推广次数导入'
this
.
upload
.
open
=
true
this
.
upload
.
open
=
true
this
.
importLoading
=
false
this
.
filelist
=
[]
this
.
filelist
=
[]
},
},
// 获取所有部门信息
// 获取所有部门信息
...
@@ -1824,6 +1824,7 @@ export default {
...
@@ -1824,6 +1824,7 @@ export default {
handleAdd
()
{
handleAdd
()
{
this
.
reset
()
this
.
reset
()
this
.
formOpen
=
true
this
.
formOpen
=
true
this
.
submitLoading
=
false
this
.
formTitle
=
'新增'
this
.
formTitle
=
'新增'
},
},
// 文件上传中处理
// 文件上传中处理
...
@@ -1876,7 +1877,7 @@ export default {
...
@@ -1876,7 +1877,7 @@ export default {
this
.
$message
.
success
(
'导入成功'
)
this
.
$message
.
success
(
'导入成功'
)
this
.
fileList
=
[]
this
.
fileList
=
[]
// 导入成功后关闭弹出框
// 导入成功后关闭弹出框
this
.
importLoading
=
false
this
.
upload
.
open
=
false
this
.
upload
.
open
=
false
// 导入成功后刷新页面
// 导入成功后刷新页面
this
.
loadData
()
this
.
loadData
()
...
...
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