!187 修复食谱计划bug

Merge pull request !187 from 德仔/develop
This commit is contained in:
德仔 2021-03-30 17:21:41 +08:00 committed by Gitee
commit b8a8047b9d
3 changed files with 7 additions and 3 deletions

View File

@ -37,7 +37,7 @@
<sql id="selectSysRecipesPlanVo"> <sql id="selectSysRecipesPlanVo">
select id, order_id, cus_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 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 from sys_recipes_plan
</sql> </sql>
<select id="selectSysRecipesPlanList" parameterType="SysRecipesPlan" resultMap="SysRecipesPlanResult"> <select id="selectSysRecipesPlanList" parameterType="SysRecipesPlan" resultMap="SysRecipesPlanResult">

View File

@ -205,11 +205,12 @@ export default {
} }
return str; return str;
}, ""); }, "");
// console.log(response.data);
this.copyValue = this.copyValue =
window.location.origin.replace("manage", "sign") + window.location.origin.replace("manage", "sign") +
"/recipes/detail/" + "/recipes/detail/" +
this.cusOutId; this.cusOutId;
console.log(this.planList); // console.log(this.planList);
this.planLoading = false; this.planLoading = false;
}); });
}, },
@ -323,7 +324,7 @@ export default {
}); });
}, },
handleOnSendChange(val, data) { handleOnSendChange(val, data) {
console.log({ val, data }); // console.log({ val, data });
const { id } = data; const { id } = data;
if (data.reviewStatus === 2) { if (data.reviewStatus === 2) {
updateRecipesPlan({ updateRecipesPlan({

View File

@ -26,6 +26,9 @@
<DailyAnalyzeCom v-else /> <DailyAnalyzeCom v-else />
</div> </div>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="快捷列表" name="3">
</el-tab-pane>
</el-tabs> </el-tabs>
</div> </div>
</template> </template>