Commit 0b2cca38 by 胡悦

修复日报管理升红降绿

1 parent b7a6bf2c
...@@ -149,10 +149,10 @@ ...@@ -149,10 +149,10 @@
<div <div
:class=" :class="
scope.scope[scope.prop].monthRate > 0 scope.scope[scope.prop].monthRate > 0
? 'green' ? 'red'
: scope.scope[scope.prop].monthRate == 0 : scope.scope[scope.prop].monthRate == 0
? '' ? ''
: 'red' : 'green'
" "
> >
月 {{ scope.scope[scope.prop].monthRate }}% 月 {{ scope.scope[scope.prop].monthRate }}%
...@@ -164,10 +164,10 @@ ...@@ -164,10 +164,10 @@
<div <div
:class=" :class="
scope.scope[scope.prop].weekRate > 0 scope.scope[scope.prop].weekRate > 0
? 'green' ? 'red'
: scope.scope[scope.prop].weekRate == 0 : scope.scope[scope.prop].weekRate == 0
? '' ? ''
: 'red' : 'green'
" "
> >
周 {{ scope.scope[scope.prop].weekRate }}% 周 {{ scope.scope[scope.prop].weekRate }}%
...@@ -371,28 +371,7 @@ export default { ...@@ -371,28 +371,7 @@ export default {
addHtml: "merchantId" addHtml: "merchantId"
} }
], ],
merchantIdOptions: [ merchantIdOptions: [],
{
userId: "选项1",
userName: "黄金糕"
},
{
userId: "选项2",
userName: "双皮奶"
},
{
userId: "选项3",
userName: "蚵仔煎"
},
{
userId: "选项4",
userName: "龙须面"
},
{
userId: "选项5",
userName: "北京烤鸭"
}
],
tableParams: { tableParams: {
btnId: new Date().getTime() + parseInt(Math.random() * 1000), btnId: new Date().getTime() + parseInt(Math.random() * 1000),
listName: "list", listName: "list",
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!