Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust_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
张伯涛
cust_web
Commits
7e9517de
Commit
7e9517de
authored
Mar 11, 2025
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
4de8239a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
137 additions
and
112 deletions
+137
-112
control.vue
src/views/controlPlatform/control.vue
+114
-109
index.vue
src/views/operationsManagement/memGoldCoinFlow/index.vue
+23
-3
No files found.
src/views/controlPlatform/control.vue
View file @
7e9517de
...
@@ -159,7 +159,6 @@
...
@@ -159,7 +159,6 @@
<!-- 详情弹窗 -->
<!-- 详情弹窗 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"600px"
append-to-body
>
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"600px"
append-to-body
>
<el-form
ref=
"deviceFormRef"
:model=
"form"
label-position=
"right"
label-width=
"auto"
>
<div
class=
"item"
>
<div
class=
"item"
>
<div>
<div>
<img
v-if=
"form.avatarImg"
class=
"avatarSize"
:src=
"form.avatarImg"
alt=
""
mode=
"aspectFill"
>
<img
v-if=
"form.avatarImg"
class=
"avatarSize"
:src=
"form.avatarImg"
alt=
""
mode=
"aspectFill"
>
...
@@ -177,18 +176,18 @@
...
@@ -177,18 +176,18 @@
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<div
style=
"font-size: 15px;padding-left: 20px;padding-bottom: 20px;"
class=
"content"
>
{{ form.content }}
</div>
<div
style=
"font-size: 15px;padding-left: 20px;padding-bottom: 20px;"
class=
"content"
>
{{ form.content }}
</div>
</el-col>
</el-col>
<div
>
<div
style=
"width: 500px"
>
<!-- 当没有图片时 -->
<!-- 当没有图片时 -->
<div
v-if=
"!form.url || form.url.length === 0"
style=
"text-align: center; color: #999;"
/>
<div
v-if=
"!form.url || form.url.length === 0"
style=
"text-align: center; color: #999;"
/>
<!-- 当图片数量为1时 -->
<!-- 当图片数量为1时 -->
<div
v-else-if=
"form.url.length === 1"
style=
"margin-left: 15
0px"
>
<div
v-else-if=
"form.url.length === 1"
style=
"margin-left: 3
0px"
>
<img
:src=
"form.url[0]"
alt=
""
class=
"avatar1"
>
<img
:src=
"form.url[0]"
alt=
""
class=
"avatar1"
>
</div>
</div>
<!-- 当图片数量为4或6时,上下两排展示 -->
<!-- 当图片数量为4或6时,上下两排展示 -->
<div
v-else-if=
" form.url.length === 2"
style=
"padding-left: 40px"
>
<div
v-else-if=
" form.url.length === 2"
style=
"padding-left: 40px"
>
<el-row
v-for=
"(row, rowIndex) in Math.ceil(form.url.length / 2)"
:key=
"rowIndex"
:gutter=
"1"
>
<el-row
v-for=
"(row, rowIndex) in Math.ceil(form.url.length / 2)"
:key=
"rowIndex"
:gutter=
"1"
>
<el-col
v-for=
"(imagePath, index) in form.url.slice(rowIndex * 2, rowIndex * 2 + 2)"
:key=
"index"
:span=
"12"
>
<el-col
v-for=
"(imagePath, index) in form.url.slice(rowIndex * 2, rowIndex * 2 + 2)"
:key=
"index"
:span=
"12"
>
<div
style=
"margin-left: -15
px"
>
<div
style=
"margin-left: -10
px"
>
<img
:src=
"imagePath"
alt=
""
class=
"avatar3"
>
<img
:src=
"imagePath"
alt=
""
class=
"avatar3"
>
</div>
</div>
</el-col>
</el-col>
...
@@ -205,7 +204,7 @@
...
@@ -205,7 +204,7 @@
</el-row>
</el-row>
</div>
</div>
<!-- 当图片数量为5, 7, 8或9时,按九宫格显示 -->
<!-- 当图片数量为5, 7, 8或9时,按九宫格显示 -->
<el-row
v-else
:gutter=
"2"
style=
"padding-left: 5
0px"
>
<el-row
v-else
:gutter=
"2"
style=
"padding-left: 6
0px"
>
<el-col
v-for=
"(imagePath, index) in form.url"
:key=
"index"
:span=
"8"
>
<el-col
v-for=
"(imagePath, index) in form.url"
:key=
"index"
:span=
"8"
>
<div
style=
"margin-left: -20px"
>
<div
style=
"margin-left: -20px"
>
<img
:src=
"imagePath"
alt=
""
class=
"avatar2"
>
<img
:src=
"imagePath"
alt=
""
class=
"avatar2"
>
...
@@ -228,6 +227,7 @@
...
@@ -228,6 +227,7 @@
</div>
</div>
</el-row>
</el-row>
<div
class=
"commentsSection"
>
<div
class=
"commentsSection"
>
<el-alert
v-if=
"!isEdit && queryParams.examStatus === '2'"
:closable=
"false"
>
驳回原因:{{ form.remarks }}
</el-alert>
<ul
v-if=
"form.articleCommentVOList"
class=
"commentTree"
>
<ul
v-if=
"form.articleCommentVOList"
class=
"commentTree"
>
<li
v-for=
"(comment, index) in form.articleCommentVOList"
:key=
"index"
class=
"commentItem"
>
<li
v-for=
"(comment, index) in form.articleCommentVOList"
:key=
"index"
class=
"commentItem"
>
<div
v-if=
"index !== null"
style=
"border-top: 1px solid #dadada; margin: 5px 0 7px;"
/>
<div
v-if=
"index !== null"
style=
"border-top: 1px solid #dadada; margin: 5px 0 7px;"
/>
...
@@ -247,8 +247,11 @@
...
@@ -247,8 +247,11 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
style=
"display: flex;justify-content: flex-end"
>
<span
v-if=
"comment.examStatus=='0'"
style=
"color: red"
>
*
</span>
<el-button
v-if=
"isEdit"
type=
"text"
@
click=
"deleteComment(comment)"
>
删除
</el-button>
<el-button
v-if=
"isEdit"
type=
"text"
@
click=
"deleteComment(comment)"
>
删除
</el-button>
</div>
</div>
</div>
<ul
v-if=
"comment.childrenCommentList && comment.childrenCommentList.length > 0"
class=
"replies"
>
<ul
v-if=
"comment.childrenCommentList && comment.childrenCommentList.length > 0"
class=
"replies"
>
<li
v-for=
"(reply, replyIndex) in comment.childrenCommentList"
:key=
"replyIndex"
class=
"replyItem"
>
<li
v-for=
"(reply, replyIndex) in comment.childrenCommentList"
:key=
"replyIndex"
class=
"replyItem"
>
<div
v-if=
"replyIndex !== null"
style=
"border-top: 1px solid #dadada; margin: 5px 0 7px;"
/>
<div
v-if=
"replyIndex !== null"
style=
"border-top: 1px solid #dadada; margin: 5px 0 7px;"
/>
...
@@ -268,17 +271,19 @@
...
@@ -268,17 +271,19 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
style=
"display: flex;justify-content: flex-end"
>
<span
v-if=
"reply.examStatus=='0'"
style=
"color: red"
>
*
</span>
<el-button
v-if=
"isEdit"
type=
"text"
@
click=
"deleteReply(reply)"
>
删除
</el-button>
<el-button
v-if=
"isEdit"
type=
"text"
@
click=
"deleteReply(reply)"
>
删除
</el-button>
</div>
</div>
</div>
</li>
</li>
</ul>
</ul>
</li>
</li>
</ul>
</ul>
</div>
</div>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
v-if=
"!isEdit"
class=
"cancelBtn"
@
click=
"cancel"
>
取 消
</el-button>
<el-button
v-if=
"!isEdit"
class=
"cancelBtn"
@
click=
"cancel"
>
取 消
</el-button>
<el-button
v-if=
"isEdit"
class=
"cancelBtn"
@
click=
"rejection"
>
驳 回
</el-button>
<el-button
v-if=
"isEdit
&& form.examStatus =='0'
"
class=
"cancelBtn"
@
click=
"rejection"
>
驳 回
</el-button>
<el-button
v-if=
"isEdit"
class=
"cancelBtn"
type=
"primary"
@
click=
"handleChange('1')"
>
通 过
</el-button>
<el-button
v-if=
"isEdit"
class=
"cancelBtn"
type=
"primary"
@
click=
"handleChange('1')"
>
通 过
</el-button>
</div>
</div>
</el-dialog>
</el-dialog>
...
@@ -971,13 +976,13 @@ export default {
...
@@ -971,13 +976,13 @@ export default {
display
:
block
;
display
:
block
;
}
}
.avatar2
{
.avatar2
{
width
:
1
70
px
;
width
:
1
45
px
;
height
:
1
3
0px
;
height
:
1
2
0px
;
display
:
block
;
display
:
block
;
}
}
.avatar3
{
.avatar3
{
width
:
2
63
px
;
width
:
2
30
px
;
height
:
20
0px
;
height
:
18
0px
;
display
:
block
;
display
:
block
;
}
}
.avatar4
{
.avatar4
{
...
@@ -986,9 +991,9 @@ export default {
...
@@ -986,9 +991,9 @@ export default {
display
:
block
;
display
:
block
;
}
}
.avatar5
{
.avatar5
{
width
:
2
55
px
;
width
:
2
30
px
;
height
:
2
0
0px
;
height
:
2
1
0px
;
padding-top
:
4
px
;
padding-top
:
2
px
;
display
:
block
;
display
:
block
;
}
}
.commentTitle
{
.commentTitle
{
...
...
src/views/operationsManagement/memGoldCoinFlow/index.vue
View file @
7e9517de
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
style=
"width: 150px"
style=
"width: 150px"
/>
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"用户"
prop=
"userNickName"
>
<el-form-item
label=
"
发起
用户"
prop=
"userNickName"
>
<el-input
<el-input
v-model=
"queryParams.userNickName"
v-model=
"queryParams.userNickName"
placeholder=
"请输入用户"
placeholder=
"请输入用户"
...
@@ -53,6 +53,16 @@
...
@@ -53,6 +53,16 @@
style=
"width: 150px"
style=
"width: 150px"
/>
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"发起用户会员"
prop=
"userCode"
>
<el-input
v-model=
"queryParams.userCode"
placeholder=
"请输入会员号"
clearable
:maxlength=
"50"
size=
"small"
style=
"width: 150px"
/>
</el-form-item>
<el-form-item
label=
"目标用户"
prop=
"targetNickName"
>
<el-form-item
label=
"目标用户"
prop=
"targetNickName"
>
<el-input
<el-input
v-model=
"queryParams.targetNickName"
v-model=
"queryParams.targetNickName"
...
@@ -63,6 +73,16 @@
...
@@ -63,6 +73,16 @@
style=
"width: 150px"
style=
"width: 150px"
/>
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"目标用户会员号"
prop=
"targetCode"
>
<el-input
v-model=
"queryParams.targetCode"
placeholder=
"请输入会员号"
clearable
:maxlength=
"50"
size=
"small"
style=
"width: 150px"
/>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
<el-button
:class=
"commonField.queryClass"
:class=
"commonField.queryClass"
...
@@ -118,12 +138,12 @@
...
@@ -118,12 +138,12 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"发起用户"
prop=
"userNickName"
:show-overflow-tooltip=
"true"
>
<el-table-column
label=
"发起用户"
prop=
"userNickName"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
userNickName
||
'
-
'
}}
{{
scope
.
row
.
userNickName
||
'
'
}}{{
scope
.
row
.
userCode
?
'('
+
scope
.
row
.
userCode
+
')'
:
'
'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"目标用户"
prop=
"userNickName"
:show-overflow-tooltip=
"true"
>
<el-table-column
label=
"目标用户"
prop=
"userNickName"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
targetNickName
||
'
-
'
}}
{{
scope
.
row
.
targetNickName
||
'
'
}}{{
scope
.
row
.
targetCode
?
'('
+
scope
.
row
.
targetCode
+
')'
:
'
'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"备注"
prop=
"remarks"
:show-overflow-tooltip=
"true"
>
<el-table-column
label=
"备注"
prop=
"remarks"
:show-overflow-tooltip=
"true"
>
...
...
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