新增替换功能,快速增加餐类菜品

This commit is contained in:
huangdeliang
2021-03-04 16:50:51 +08:00
parent 96a405a314
commit bea29e310e
10 changed files with 207 additions and 71 deletions

View File

@ -68,7 +68,7 @@ export default {
this.updateChart(this.data.length > 0 ? this.data : {});
},
updateChart(source) {
console.log(this.max);
// console.log(this.max);
this.chart.clear();
this.chart.setOption({
title: {
@ -141,10 +141,10 @@ export default {
x: 0,
},
markLine: {
data: [{ name: "BMR", yAxis: this.max - 400 }],
data: [{ name: "BMR", yAxis: this.max ? this.max - 400 : 0 }],
symbol: "none",
lineStyle: {
color: "red",
color: "#d96969",
},
},
itemStyle: {

View File

@ -87,7 +87,7 @@ export default {
return obj;
}, {}),
}));
console.log(mData);
// console.log(mData);
return mData;
},
},

View File

@ -26,7 +26,6 @@
slot="reference"
size="mini"
v-if="reviewStatus"
@click="handleReview"
:type="reviewStatus === 1 ? 'danger' : 'success'"
>
{{ reviewStatus === 1 ? "未审核" : "已审核" }}