Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
罗超
confucius
Commits
b2dd001b
Commit
b2dd001b
authored
Nov 12, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增一个弹出详情
parent
c7fa408d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
192 additions
and
6 deletions
+192
-6
CommissionUserDetailList.vue
...pages/financial/contribution/CommissionUserDetailList.vue
+17
-4
commissionStatistics.vue
src/pages/financial/contribution/commissionStatistics.vue
+18
-2
contributionXQ.vue
src/pages/financial/contribution/contributionXQ.vue
+157
-0
No files found.
src/pages/financial/contribution/CommissionUserDetailList.vue
View file @
b2dd001b
...
@@ -69,17 +69,24 @@
...
@@ -69,17 +69,24 @@
<el-table-column
prop=
"DeptName"
label=
"部门"
></el-table-column>
<el-table-column
prop=
"DeptName"
label=
"部门"
></el-table-column>
<el-table-column
prop=
"TeacherName"
label=
"教师"
></el-table-column>
<el-table-column
prop=
"TeacherName"
label=
"教师"
></el-table-column>
<el-table-column
prop=
"ContributeType"
label=
"投稿类型"
>
</el-table-column>
<el-table-column
prop=
"ContributeType"
label=
"投稿类型"
>
</el-table-column>
<el-table-column
width=
'80'
prop=
"ContributeId"
label=
"投稿编码"
>
</el-table-column>
<el-table-column
width=
'80'
prop=
"ContributeId"
label=
"投稿编码"
>
<el-table-column
width=
'250'
prop=
"ContributeTitle"
label=
"投稿标题"
>
</el-table-column>
<template
slot-scope=
"scope"
>
<div
style=
"cursor: pointer;text-decoration: underline;"
@
click=
"showXQ(scope.row.ContributeId)"
>
{{
scope
.
row
.
ContributeId
}}
</div>
</
template
>
</el-table-column>
<el-table-column
width=
'250'
prop=
"ContributeTitle"
label=
"投稿标题"
>
</el-table-column>
<el-table-column
prop=
"CommissionMoney"
label=
"提成金额"
>
</el-table-column>
<el-table-column
prop=
"CommissionMoney"
label=
"提成金额"
>
</el-table-column>
<el-table-column
width=
'90'
prop=
"Periods"
label=
"期数"
>
</el-table-column>
<el-table-column
width=
'90'
prop=
"Periods"
label=
"期数"
>
</el-table-column>
<el-table-column
prop=
"Remark"
width=
'160'
label=
"备注"
>
</el-table-column>
<el-table-column
prop=
"Remark"
width=
'160'
label=
"备注"
>
</el-table-column>
</el-table>
</el-table>
</template>
</template>
<div
v-if=
"isDetails==true"
>
<contributionXQ
:ContributeId=
"ContributeId"
@
close=
'isDetails=false'
></contributionXQ>
</div>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
contributionXQ
from
'./contributionXQ'
import
{
import
{
GetClassTypePageList
,
GetClassTypePageList
,
}
from
'../../../api/system/index'
;
}
from
'../../../api/system/index'
;
...
@@ -96,7 +103,7 @@
...
@@ -96,7 +103,7 @@
title
:
"用户提成明细"
title
:
"用户提成明细"
},
},
props
:
{},
props
:
{},
components
:
{},
components
:
{
contributionXQ
},
data
()
{
data
()
{
return
{
return
{
loading
:
false
,
loading
:
false
,
...
@@ -116,6 +123,8 @@
...
@@ -116,6 +123,8 @@
allClassList
:
[],
allClassList
:
[],
TeacherList
:
[],
TeacherList
:
[],
allTeacherList
:
[],
allTeacherList
:
[],
ContributeId
:
0
,
isDetails
:
false
,
}
}
},
},
created
()
{
},
created
()
{
},
...
@@ -231,6 +240,10 @@
...
@@ -231,6 +240,10 @@
goreturn
()
{
goreturn
()
{
this
.
$router
.
go
(
-
1
);
this
.
$router
.
go
(
-
1
);
},
},
showXQ
(
ContributeId
){
//弹出显示详情
this
.
ContributeId
=
ContributeId
;
this
.
isDetails
=
true
}
},
},
}
}
...
...
src/pages/financial/contribution/commissionStatistics.vue
View file @
b2dd001b
...
@@ -87,7 +87,11 @@
...
@@ -87,7 +87,11 @@
<el-table-column
prop=
"DeptName"
label=
"部门"
></el-table-column>
<el-table-column
prop=
"DeptName"
label=
"部门"
></el-table-column>
<el-table-column
prop=
"TeacherName"
label=
"教师"
>
</el-table-column>
<el-table-column
prop=
"TeacherName"
label=
"教师"
>
</el-table-column>
<el-table-column
prop=
"ContributeType"
label=
"投稿类型"
>
</el-table-column>
<el-table-column
prop=
"ContributeType"
label=
"投稿类型"
>
</el-table-column>
<el-table-column
width=
'80'
prop=
"ContributeId"
label=
"投稿编码"
>
</el-table-column>
<el-table-column
width=
'80'
prop=
"ContributeId"
label=
"投稿编码"
>
<template
slot-scope=
"scope"
>
<div
style=
"cursor: pointer;text-decoration: underline;"
@
click=
"showXQ(scope.row.ContributeId)"
>
{{
scope
.
row
.
ContributeId
}}
</div>
</
template
>
</el-table-column>
<el-table-column
width=
'250'
prop=
"ContributeTitle"
label=
"投稿标题"
>
</el-table-column>
<el-table-column
width=
'250'
prop=
"ContributeTitle"
label=
"投稿标题"
>
</el-table-column>
<el-table-column
width=
'200'
prop=
"CommissionMoney"
label=
"提成金额"
>
</el-table-column>
<el-table-column
width=
'200'
prop=
"CommissionMoney"
label=
"提成金额"
>
</el-table-column>
<el-table-column
width=
'85'
prop=
"Periods"
label=
"期数"
>
</el-table-column>
<el-table-column
width=
'85'
prop=
"Periods"
label=
"期数"
>
</el-table-column>
...
@@ -100,10 +104,15 @@
...
@@ -100,10 +104,15 @@
</el-pagination>
</el-pagination>
</div>
</div>
</template>
</template>
<div
v-if=
"isDetails==true"
>
<contributionXQ
:ContributeId=
"ContributeId"
@
close=
'isDetails=false'
></contributionXQ>
</div>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
contributionXQ
from
'./contributionXQ'
import
{
import
{
getSchoolDropdown
,
getSchoolDropdown
,
getClassDropDownList
,
getClassDropDownList
,
...
@@ -132,7 +141,8 @@
...
@@ -132,7 +141,8 @@
},
},
props
:
{},
props
:
{},
components
:
{
components
:
{
selectTree
selectTree
,
contributionXQ
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -165,6 +175,8 @@
...
@@ -165,6 +175,8 @@
AllemployeeList
:
[],
//所有员工
AllemployeeList
:
[],
//所有员工
PeriodsList
:
[],
//周期列表
PeriodsList
:
[],
//周期列表
TotalCommission
:
0
,
TotalCommission
:
0
,
ContributeId
:
0
,
isDetails
:
false
,
}
}
},
},
created
()
{
created
()
{
...
@@ -338,6 +350,10 @@
...
@@ -338,6 +350,10 @@
OrderId
:
row
.
OrderId
,
OrderId
:
row
.
OrderId
,
});
});
},
},
showXQ
(
ContributeId
){
//弹出显示详情
this
.
ContributeId
=
ContributeId
;
this
.
isDetails
=
true
}
},
},
}
}
...
...
src/pages/financial/contribution/contributionXQ.vue
0 → 100644
View file @
b2dd001b
<
style
>
.left_width
{
width
:
80px
;
}
.tougao_ImgList
{
width
:
130px
;
height
:
130px
;
margin
:
0
5px
10px
;
}
</
style
>
<
template
>
<q-dialog
v-model=
"isDetails"
maximized
@
hide=
"goclose"
>
<q-card
style=
"max-width: 790px;max-height: 90%;"
>
<q-card-section
class=
"row items-center q-pb-none"
>
<div
class=
"text-h6"
>
投稿详情
</div>
<q-space
/>
<q-btn
icon=
"close"
flat
round
dense
@
click=
"goclose"
/>
</q-card-section>
<q-card-section
v-if=
"data"
class=
"welcomeList"
>
<div
class=
"backInfo_One"
style=
"width: 740px;"
>
<template
v-if=
"data.Type==1"
>
<div>
<el-tag>
写新图文
</el-tag>
</div>
<div
style=
"margin:20px 0;display:flex;"
>
<div
style=
"flex-shrink:0;"
class=
"left_width"
>
标题:
</div>
<div
class=
"backOtherInfo"
v-if=
"data"
>
{{
data
.
Title
}}
</div>
</div>
<div
style=
"display: flex;"
>
<div
class=
"left_width"
>
作者:
</div>
<span
class=
"backOtherInfo"
v-if=
"data"
>
{{
data
.
Author
}}
</span>
</div>
<div
style=
"display: flex;margin:20px 0;width: 100%;"
>
<div
style=
"flex-shrink:0"
class=
"left_width"
>
图文内容:
</div>
<div
class=
"tougaohtml"
style=
"border:1px solid rgb(235, 235, 235);padding: 10px;flex:1"
v-html=
"data.Content"
></div>
</div>
<div
style=
"margin-top:20px;display:flex;"
>
<div
style=
"margin-bottom:10px;"
class=
"left_width"
>
封面图:
</div>
<div
class=
"tougao_ImgList"
style=
"width: 210px;height: 90px;"
>
<el-image
v-if=
"data.CoverImagePath && data.CoverImagePath!=''"
style=
"width: 100%; height: 100%"
:src=
"data.CoverImagePath"
fit=
"cover"
></el-image>
</div>
</div>
<div
style=
"margin-top:20px;display:flex;"
>
<div
style=
"margin-bottom:10px;flex-shrink:0;width:60px;"
class=
"left_width"
>
描述:
</div>
<div>
{{
data
.
Description
}}
</div>
</div>
</
template
>
<
template
v-if=
"data.Type==2"
>
<div>
<el-tag>
文本消息
</el-tag>
</div>
<div
style=
"display: flex;margin-top: 20px;"
>
<div
class=
"left_width"
>
文本内容:
</div>
<div
v-html=
"data.Content"
></div>
</div>
</
template
>
<
template
v-if=
"data.Type==4"
>
<div>
<el-tag>
音频消息
</el-tag>
</div>
<div
style=
"margin:20px 0;display:flex;"
>
<div
style=
"flex-shrink:0"
>
标题:
</div>
<div
class=
"backOtherInfo"
v-if=
"data"
>
{{
data
.
Title
}}
</div>
</div>
<div
style=
"display:flex;"
>
<div
style=
"flex-shrink:0"
>
推荐语:
</div>
<div
class=
"backOtherInfo"
v-if=
"data"
>
{{
data
.
Description
}}
</div>
</div>
<div
style=
"margin-top:20px;width:300px;"
v-if=
"data.VideoMediumPath"
>
<audio
:src=
"data.VideoMediumPath"
controls=
"controls"
></audio>
</div>
</
template
>
<
template
v-if=
"data.Type==5"
>
<div>
<el-tag>
图片消息
</el-tag>
</div>
<div
style=
"margin:20px 0;display:flex;"
>
<div
style=
"flex-shrink:0"
class=
"left_width"
>
推荐语:
</div>
<div
class=
"backOtherInfo"
v-if=
"data"
style=
"margin-left: 5px;"
>
{{
data
.
Description
}}
</div>
</div>
<!--
<div
style=
"margin:20px 0;"
>
{{
data
.
Description
}}
</div>
-->
<div
style=
"display: flex;"
>
<div
style=
"flex-shrink:0"
class=
"left_width"
>
图片列表:
</div>
<div
style=
"display:flex;flex-wrap: wrap;"
>
<div
class=
"tougao_ImgList"
v-for=
"(x,y) in data.ImageList"
:key=
'y'
>
<el-image
style=
"width: 100%; height: 100%"
:src=
"x.ImageUrl"
fit=
"cover"
>
</el-image>
</div>
</div>
</div>
</
template
>
</div>
</q-card-section>
</q-card>
</q-dialog>
</template>
<
script
>
import
{
getContributeInfo
,
}
from
'../../../api/teacher/contribution'
;
export
default
{
props
:
[
'ContributeId'
],
data
()
{
return
{
isDetails
:
false
,
data
:
null
}
},
created
()
{
this
.
isDetails
=
true
this
.
getdetails
()
},
methods
:
{
getdetails
()
{
getContributeInfo
({
ContributeId
:
this
.
ContributeId
}).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
data
=
res
.
Data
// if (this.addMsg.Type == 1) {
// this.coverimg = res.Data.CoverImagePath
// } else if (this.addMsg.Type == 4) {
// this.audiourl = this.addMsg.VideoMediumPath
// } else if (this.addMsg.Type == 5) {
// this.imgsList = this.addMsg.ImageList
// this.coverimg = res.Data.CoverImagePath
// }
}
}).
catch
(()
=>
{
})
},
goclose
()
{
this
.
$emit
(
'close'
)
}
}
}
</
script
>
\ No newline at end of file
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