Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
longhui_web
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
杨硕
longhui_web
Commits
61a347f9
Commit
61a347f9
authored
Jun 20, 2023
by
高宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
会员权益
parent
77db558d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
4 deletions
+27
-4
businessadd.vue
src/views/business/businessadd.vue
+6
-3
index.vue
src/views/business/index.vue
+18
-1
index.vue
src/views/complaint/index.vue
+3
-0
No files found.
src/views/business/businessadd.vue
View file @
61a347f9
...
@@ -47,11 +47,12 @@
...
@@ -47,11 +47,12 @@
:limit=
"1"
:limit=
"1"
list-type=
"picture"
list-type=
"picture"
>
>
<img
v-if=
"imgUrl"
:src=
"imgUrl"
class=
"avatar"
>
<!--
<el-button
size=
"small"
type=
"primary"
>
点击上传
</el-button>
-->
<!--
<el-button
size=
"small"
type=
"primary"
>
点击上传
</el-button>
-->
<div
class=
"upload-trademark"
>
<div
v-if=
"!imgUrl"
class=
"upload-trademark"
>
<i
class=
"el-icon-plus"
style=
"width: 20px;height: 20px;margin-top: 10px;"
/>
<i
class=
"el-icon-plus"
style=
"width: 20px;height: 20px;margin-top: 10px;"
/>
<div
class=
"upload-trademark-title"
>
上传竖版封面
</div></div>
<div
class=
"upload-trademark-title"
>
上传竖版封面
</div></div>
<div
slot=
"tip"
class=
"el-upload__tip"
>
支持文件格式:.jpg .gpeg .png.单个文件不能超过4M
</div>
<div
v-if=
"!imgUrl"
slot=
"tip"
class=
"el-upload__tip"
>
支持文件格式:.jpg .gpeg .png.单个文件不能超过4M
</div>
</el-upload>
</el-upload>
</el-form-item>
</el-form-item>
<el-form-item
label=
"封面"
prop=
"image"
>
<el-form-item
label=
"封面"
prop=
"image"
>
...
@@ -135,7 +136,7 @@ export default {
...
@@ -135,7 +136,7 @@ export default {
}
}
},
},
created
()
{
created
()
{
//
const baseURL = 'http://192.144.239.97:20043/file/'
const
baseURL
=
'http://192.144.239.97:20043/file/'
if
(
this
.
type
===
0
)
{
if
(
this
.
type
===
0
)
{
this
.
form
=
{}
this
.
form
=
{}
}
else
if
(
this
.
type
===
1
)
{
}
else
if
(
this
.
type
===
1
)
{
...
@@ -144,6 +145,8 @@ export default {
...
@@ -144,6 +145,8 @@ export default {
queryDetailById
(
id
).
then
(
res
=>
{
queryDetailById
(
id
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
this
.
form
=
res
.
data
this
.
form
=
res
.
data
this
.
imgUrl
=
baseURL
+
this
.
form
.
imgUrl
this
.
imgageUrl
=
baseURL
+
this
.
form
.
imageUrl
console
.
log
(
'form'
,
this
.
form
)
console
.
log
(
'form'
,
this
.
form
)
}
}
})
})
...
...
src/views/business/index.vue
View file @
61a347f9
...
@@ -110,6 +110,7 @@
...
@@ -110,6 +110,7 @@
:inactive-value=
"0"
:inactive-value=
"0"
active-text=
"启用"
active-text=
"启用"
inactive-text=
"停用"
inactive-text=
"停用"
@
change=
"handleChangeStatus(scope.row)"
/>
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -344,7 +345,7 @@ import {
...
@@ -344,7 +345,7 @@ import {
clearCache
clearCache
}
from
'@/api/system/dict/type'
}
from
'@/api/system/dict/type'
import
dictCons
from
'@/utils/dictCons'
import
dictCons
from
'@/utils/dictCons'
import
{
queryBussinessAll
,
queryDetailById
,
deleteBussiness
,
BingBussinss
,
UnBingBussiness
}
from
'@/api/bussiness/bussiness'
import
{
queryBussinessAll
,
queryDetailById
,
deleteBussiness
,
BingBussinss
,
UnBingBussiness
,
updataBussinessInfo
}
from
'@/api/bussiness/bussiness'
import
{
queryMemberList
}
from
'@/api/member/member'
import
{
queryMemberList
}
from
'@/api/member/member'
export
default
{
export
default
{
...
@@ -467,6 +468,19 @@ export default {
...
@@ -467,6 +468,19 @@ export default {
// })
// })
},
},
methods
:
{
methods
:
{
handleChangeStatus
(
row
)
{
console
.
log
(
'状态的变化'
,
row
)
const
obj
=
{
businessId
:
row
.
businessId
,
status
:
row
.
status
}
updataBussinessInfo
(
obj
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
.
success
(
'操作成功'
)
}
})
console
.
log
(
'obj'
,
obj
)
},
replaceImg
(
value
)
{
replaceImg
(
value
)
{
console
.
log
(
'img'
,
value
)
console
.
log
(
'img'
,
value
)
if
(
value
===
''
)
{
if
(
value
===
''
)
{
...
@@ -785,6 +799,9 @@ export default {
...
@@ -785,6 +799,9 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.memberDialog
{
.memberDialog
{
::v-deep
.el-table
tr
{
height
:
48px
;
}
::v-deep
.el-table__header-wrapper
.el-checkbox
{
::v-deep
.el-table__header-wrapper
.el-checkbox
{
display
:
none
display
:
none
}
}
...
...
src/views/complaint/index.vue
View file @
61a347f9
...
@@ -549,6 +549,9 @@ export default {
...
@@ -549,6 +549,9 @@ export default {
.el-switch
.el-switch__label
{
.el-switch
.el-switch__label
{
width
:
57px
!
important
;
width
:
57px
!
important
;
}
}
::v-deep
.el-table
td
.cell
{
height
:
48px
;
}
</
style
>
</
style
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
.app-container-dict
{
.app-container-dict
{
...
...
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