|
@@ -1,17 +1,27 @@
|
|
|
<template>
|
|
|
<div class="">
|
|
|
<!-- banner 详情的弹框 -->
|
|
|
- <el-dialog title="研选服务点数明细" :visible.sync="isShowResearchNumber" width="80%" v-dialogDrag :close-on-click-modal="false" :modal-append-to-body="false" center @close="handleClose">
|
|
|
+ <el-dialog
|
|
|
+ :title="isShowDlgType == '专项调研' ? '专项调研次数明细' : '研选服务点数明细'"
|
|
|
+ :visible.sync="isShowResearchNumber"
|
|
|
+ width="80%"
|
|
|
+ v-dialogDrag
|
|
|
+ :close-on-click-modal="false"
|
|
|
+ :modal-append-to-body="false"
|
|
|
+ center
|
|
|
+ @close="handleClose"
|
|
|
+ >
|
|
|
<el-table style="margin-bottom: 30px" :data="tableList" border height="500">
|
|
|
<el-table-column align="center" prop="Content" label="事项"></el-table-column>
|
|
|
<el-table-column align="center" prop="CreateTime" label="时间"></el-table-column>
|
|
|
+ <el-table-column align="center" prop="ChartPermissionName" label="行业" v-if="isShowDlgType == '专项调研'"></el-table-column>
|
|
|
<el-table-column align="center" prop="RealName" label="参会人" width="150"></el-table-column>
|
|
|
<el-table-column align="center" prop="minNumber" label="小计" width="100">
|
|
|
<template slot-scope="{ row }">
|
|
|
<span :style="{ color: row.BillDetailed > 0 ? '#31c640' : '#ec808d' }"> {{ row.BillDetailed > 0 ? "+" + row.BillDetailed : row.BillDetailed }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="center" prop="Points" label="合计" width="100"></el-table-column>
|
|
|
+ <el-table-column align="center" :prop="isShowDlgType == '专项调研' ? 'Total' : 'Points'" label="合计" width="100"></el-table-column>
|
|
|
</el-table>
|
|
|
</el-dialog>
|
|
|
</div>
|
|
@@ -30,6 +40,10 @@ export default {
|
|
|
type: Object,
|
|
|
default: {},
|
|
|
},
|
|
|
+ isShowDlgType: {
|
|
|
+ type: String,
|
|
|
+ default: "",
|
|
|
+ },
|
|
|
},
|
|
|
watch: {
|
|
|
isShowResearchNumber: {
|
|
@@ -48,10 +62,12 @@ export default {
|
|
|
// 关闭弹框
|
|
|
handleClose() {
|
|
|
this.$emit("update:isShowResearchNumber", false);
|
|
|
+ this.$emit("update:isShowDlgType", "");
|
|
|
},
|
|
|
// 获取表格数据
|
|
|
async getDataList() {
|
|
|
- const res = await raiInterface.activityPointsBill({ CompanyId: this.dataForm.CompanyId });
|
|
|
+ const res =
|
|
|
+ this.isShowDlgType == "专项调研" ? await raiInterface.specialPointsBill({ CompanyId: this.dataForm.CompanyId }) : await raiInterface.activityPointsBill({ CompanyId: this.dataForm.CompanyId });
|
|
|
if (res.Ret === 200) {
|
|
|
this.tableList = res.Data.List || [];
|
|
|
}
|