snow 6 months ago
parent
commit
649cf42f94

File diff suppressed because it is too large
+ 0 - 0
dist/index.html


BIN
dist/static/css/app.96d86dc8.css.gz


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.ab82acba.css


BIN
dist/static/css/app.ab82acba.css.gz


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.b4708453.js


BIN
dist/static/js/app.b4708453.js.gz


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.db7211e4.js


BIN
dist/static/js/app.db7211e4.js.gz


+ 20 - 2
src/components/newResults/company-month.vue

@@ -1,8 +1,17 @@
 <template>
   <div v-loading="loading">
     <div class="search" style="align-items: center;">
-      <div style="float:left;font-size:15px;line-height:30px">
-        年度完成情况
+      <div style="float:left;line-height:30px;display:flex;align-items:center">
+        <el-popover placement="top" width="300" trigger="hover" content="9-12月目标据1-8月实际完成情况重新测定设置">
+          <template #reference>
+            <i
+              class="el-icon-warning-outline"
+              style="font-size:16px;cursor:pointer;padding-top:5px;padding-right:5px;display:inline-block"
+            ></i>
+          </template>
+        </el-popover>
+
+        <span style="font-size: 15px;">年度完成情况</span>
       </div>
 
       <div style="float:right">
@@ -166,6 +175,12 @@ export default {
       const currentMonth = dayjs().month() + 1;
       if (Number(month) > Number(currentMonth)) return;
       if (month === '合计') return;
+
+      if (Number(month) < Number(currentMonth)) {
+        if(Number(current) < 100) return 'color: red'
+      }
+
+
       const oneDay = Number(division(100, days)).toFixed(2);
       const currentDay = dayjs().date();
       const currentTotalTip = Number(multiplication(currentDay, oneDay)).toFixed(2);
@@ -176,6 +191,9 @@ export default {
       const currentMonth = dayjs().month() + 1;
       if (Number(month) > Number(currentMonth)) return;
       if (month === '合计') return;
+      if (Number(month) < Number(currentMonth)) {
+        if(Number(current) < Number(total)) return 'color: red'
+      }
       const oneDay = Number(division(total, days)).toFixed(2);
       // console.log(month,oneDay)
       const currentDay = dayjs().date();

Some files were not shown because too many files changed in this diff