Ver Fonte

修改 部门

lxy_01 há 2 semanas atrás
pai
commit
3df1325f60

+ 4 - 6
fhKeeper/formulahousekeeper/timesheet-workshop/src/views/statistic/index.vue

@@ -64,7 +64,7 @@
             </span>
           </template>
           <!-- 选择餐别 -->
-          <el-select v-if="ins == 7" v-model="mealTypeId" :placeholder="'请选择餐别'" @change="selcts()" clearable size="small" style="width:100px;margin-left:10px">
+          <el-select v-if="ins == 7" v-model="mealTypeId" :clearable="false" :placeholder="'请选择餐别'" @change="selcts()" style="width:100px;margin-left:10px">
             <el-option 
               v-for="(meal, index) in mealTypeList" 
               :key="index" 
@@ -761,10 +761,10 @@ export default {
     textColorStyle() {
         return (status) => {
             const colorMap = {
-                0: { color: '#ff0000' },
-                1: { color: '#0000ff' },
+                0: { color: 'blue' },
+                1: { color: 'green' },
                 2: { color: '#ff0000' },
-                3: { color: '#0000ff' },
+                3: { color: 'red' },
             };
             return colorMap[status] || { color: '#333333' }; // 默认颜色
         };
@@ -1380,12 +1380,10 @@ export default {
           userId:this.userId,
           mealTypeId:this.mealTypeId,
       }
-      console.log(param)
       
       this.http.post( "/meal-applications/getMealApplicationList",param,
         res => {
           if (res.code == "ok") {
-            console.log(res.data)
             this.mealApplicationList = res.data.records
             this.personMealHead = res.data.header
             this.total=res.data.total