|
@@ -9,9 +9,9 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column label="剩余天数" align="center" prop="ExpireDay"> </el-table-column>
|
|
|
</el-table>
|
|
|
- <div style="margin-bottom: 20px">
|
|
|
+ <div style="margin-bottom: 20px" v-if="Points">
|
|
|
<span>研选服务点数</span>
|
|
|
- <span>3333</span>
|
|
|
+ <span>{{Points}}</span>
|
|
|
<span class="editsty" @click="lookNumber">明细>></span>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
@@ -41,36 +41,43 @@ export default {
|
|
|
default: false,
|
|
|
type: Boolean,
|
|
|
},
|
|
|
- // remindList: {
|
|
|
- // default: {},
|
|
|
- // type: Object,
|
|
|
- // },
|
|
|
+ researchDetailId: {
|
|
|
+ default: 0,
|
|
|
+ type: Number,
|
|
|
+ },
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
tableData: [],
|
|
|
-
|
|
|
isShowResearchNumber: false, // 研选服务点数明细 弹框
|
|
|
tableListResearch: [], // 严选数据
|
|
|
+ Points: "",
|
|
|
};
|
|
|
},
|
|
|
computed: {},
|
|
|
- watch: {},
|
|
|
+ watch: {
|
|
|
+ isPermissionDetailShow: {
|
|
|
+ handler(newVal) {
|
|
|
+ newVal && this.getDetailList();
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
created() {},
|
|
|
mounted() {},
|
|
|
methods: {
|
|
|
// 弹框关闭的事件
|
|
|
cancelHandle() {
|
|
|
- this.$parent.isShowRemindDlg = false;
|
|
|
- this.$emit("update:remindList", {});
|
|
|
+ this.$emit("update:researchDetailId", 0);
|
|
|
+ this.$emit("update:isPermissionDetailShow", false);
|
|
|
},
|
|
|
/* 获取客户详情 */
|
|
|
async getDetailList() {
|
|
|
const res = await customInterence.customDetail({
|
|
|
- // CompanyId: this.companyId,
|
|
|
+ CompanyId: this.researchDetailId,
|
|
|
});
|
|
|
if (res.Ret !== 200) return;
|
|
|
this.tableData = res.Data.RaiItem.PermissionList[0].Items;
|
|
|
+ this.Points = res.Data.RaiItem.Points || "";
|
|
|
},
|
|
|
// 查看
|
|
|
lookNumber() {
|
|
@@ -85,10 +92,10 @@ export default {
|
|
|
// 获取表格数据
|
|
|
async getDataList() {
|
|
|
const res = await raiInterface.activityPointsBill({
|
|
|
- // CompanyId: this.dataForm.CompanyId
|
|
|
+ CompanyId: this.researchDetailId,
|
|
|
});
|
|
|
if (res.Ret === 200) {
|
|
|
- this.tableList = res.Data.List || [];
|
|
|
+ this.tableListResearch = res.Data.List || [];
|
|
|
}
|
|
|
},
|
|
|
},
|