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
17536cda
Commit
17536cda
authored
Jul 31, 2024
by
刘帅阳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
b3c078af
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
4 deletions
+18
-4
index.vue
src/views/brandAmbassador/index.vue
+9
-1
index.vue
src/views/contentManagement/clickManagement/index.vue
+6
-1
index.vue
src/views/merchantManagement/index.vue
+1
-0
vue.config.js
vue.config.js
+2
-2
No files found.
src/views/brandAmbassador/index.vue
View file @
17536cda
...
...
@@ -294,7 +294,7 @@
</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"
:loading=
"submitLoading"
@
click=
"submitForm"
>
确 定
</el-button>
</div>
</el-dialog>
<!-- 代言人导入对 话框 -->
...
...
@@ -439,6 +439,7 @@ export default {
callback
()
}
return
{
submitLoading
:
false
,
queryShop
:
true
,
clearable
:
true
,
userTypeList
:
[
...
...
@@ -933,26 +934,33 @@ export default {
submitForm
()
{
this
.
$refs
[
'form'
].
validate
(
valid
=>
{
if
(
valid
)
{
this
.
submitLoading
=
true
this
.
form
.
deptIdPrepares
=
this
.
form
.
deptId
.
join
(
','
)
if
(
this
.
form
.
businessId
!==
undefined
)
{
const
addParams
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
form
))
updateSysuser
(
addParams
).
then
(
response
=>
{
this
.
submitLoading
=
false
this
.
$message
({
message
:
'修改成功'
,
type
:
'success'
})
this
.
open
=
false
this
.
getList
()
}).
catch
(()
=>
{
this
.
submitLoading
=
false
})
}
else
{
const
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
form
))
addSysuser
(
params
).
then
(
response
=>
{
this
.
submitLoading
=
false
this
.
newId
=
response
.
data
.
businessId
this
.
$message
({
message
:
'新增成功'
,
type
:
'success'
})
this
.
open
=
false
this
.
getList
()
}).
catch
(()
=>
{
this
.
submitLoading
=
false
})
}
}
...
...
src/views/contentManagement/clickManagement/index.vue
View file @
17536cda
...
...
@@ -849,7 +849,7 @@
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
class=
"cancelBtn"
@
click=
"addDialogCancel"
>
取 消
</el-button>
<el-button
class=
"submitBtn"
type=
"primary"
@
click=
"addDialogSubmitForm"
>
确 定
</el-button>
<el-button
class=
"submitBtn"
type=
"primary"
:loading=
"submitLoading"
@
click=
"addDialogSubmitForm"
>
确 定
</el-button>
</div>
</el-dialog>
</div>
...
...
@@ -885,6 +885,7 @@ export default {
name
:
'Index'
,
data
()
{
return
{
submitLoading
:
false
,
formTitle
:
''
,
saveFile
:
{},
formModel
:
{
...
...
@@ -1125,18 +1126,22 @@ export default {
addDialogSubmitForm
()
{
this
.
$refs
[
'formModel'
].
validate
(
valid
=>
{
if
(
valid
)
{
this
.
submitLoading
=
true
const
formData
=
new
FormData
()
formData
.
append
(
'file'
,
this
.
saveFile
)
formData
.
append
(
'type'
,
this
.
formModel
.
type
)
formData
.
append
(
'unitId'
,
this
.
formModel
.
unitId
)
formData
.
append
(
'newsVideoId'
,
this
.
formModel
.
newsVideoId
)
handleAddForm
(
formData
).
then
(
res
=>
{
this
.
submitLoading
=
false
this
.
$message
({
message
:
'新增成功'
,
type
:
'success'
})
this
.
formOpen
=
false
this
.
loadData
()
}).
catch
(()
=>
{
this
.
submitLoading
=
false
})
}
})
...
...
src/views/merchantManagement/index.vue
View file @
17536cda
...
...
@@ -328,6 +328,7 @@ export default {
},
/** 新增按钮操作 */
handleAdd
()
{
this
.
getUserList
()
this
.
reset
()
this
.
open
=
true
this
.
title
=
'添加商家'
...
...
vue.config.js
View file @
17536cda
...
...
@@ -60,8 +60,8 @@ module.exports = {
proxy
:
{
[
process
.
env
.
VUE_APP_BASE_API
]:
{
// target: `http://106.3.99.36:20081/`,
// target: `http://192.168.1.23:8090/`,
// 飞龙后端
target
:
`http://1
92.168.10.10
:8099/`
,
// target: `http://192.168.1.23:8090/`,
target
:
`http://1
27.0.0.1
:8099/`
,
pathRewrite
:
{
[
'^'
+
process
.
env
.
VUE_APP_BASE_API
]:
''
}
...
...
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