添加订阅情况

This commit is contained in:
huangdeliang 2021-05-18 16:06:29 +08:00
parent c1197025b3
commit 1cadc3e777
2 changed files with 8 additions and 1 deletions

View File

@ -40,7 +40,7 @@
<sql id="selectSysRecipesPlanVo"> <sql id="selectSysRecipesPlanVo">
select id, order_id, cus_id, out_id, start_date, end_date, start_num_day, end_num_day, recipes_id, send_flag, send_time, pause_date, create_time, create_by, update_time, update_by, del_flag, review_status, sub_send, sms_send from sys_recipes_plan select id, order_id, cus_id, out_id, start_date, end_date, start_num_day, end_num_day, recipes_id, send_flag, send_time, pause_date, create_time, create_by, update_time, update_by, del_flag, review_status, sub_send, sms_send, subscribed from sys_recipes_plan
</sql> </sql>
<select id="selectSysRecipesPlanList" parameterType="SysRecipesPlan" resultMap="SysRecipesPlanResult"> <select id="selectSysRecipesPlanList" parameterType="SysRecipesPlan" resultMap="SysRecipesPlanResult">

View File

@ -75,6 +75,13 @@
{{ `${scope.row.startDate}${scope.row.endDate}` }} {{ `${scope.row.startDate}${scope.row.endDate}` }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="订阅情况" align="center">
<template slot-scope="scope">
<el-tag :type="scope.row.subscribed ? 'success' : 'danger'">
{{ scope.row.subscribed ? "已订阅" : "未订阅" }}
</el-tag>
</template>
</el-table-column>
<el-table-column label="发送" align="center" width="80"> <el-table-column label="发送" align="center" width="80">
<template slot-scope="scope"> <template slot-scope="scope">
<el-switch <el-switch