scorpio 2 роки тому
батько
коміт
3b07773f9f
1 змінених файлів з 14 додано та 6 видалено
  1. 14 6
      src/views/home/component/params/params3.vue

+ 14 - 6
src/views/home/component/params/params3.vue

@@ -75,7 +75,7 @@
       </el-form>
     </div>
 
-    <el-dialog v-model='show' :title='current ? current.year + "年度" + current.index : ""' width='1260px'
+    <el-dialog v-model='show' :title='current ? current.year + "年度" : ""' width='1260px'
                @close='update(false)'>
       <div class='flex flex-center flex-align-start'>
         <div>
@@ -85,8 +85,16 @@
         </div>
         <div>
           <div class='mr-5  flex flex-center '>
-            <div v-for='item in 12' :key='item' class='title'>
-              {{ item }}月
+            <div v-for='(item,index) in 12' :key='item' class='title'>
+              <div v-if='index === 0'>
+                一季度合集
+              </div>
+              <div v-else-if='index === 1'>
+                1-2月
+              </div>
+              <div v-else>
+                {{item}}月
+              </div>
             </div>
           </div>
           <div class='mr-5  flex flex-center'>
@@ -333,14 +341,14 @@ export default {
 }
 
 .title {
-  width: 60px;
+  width: 70px;
   padding: 0 11px;
   margin-bottom: 10px;
   font-weight: bold;
 }
 
 .input {
-  width: 60px;
+  width: 70px;
   height: 30px;
   border: #e7e7e7 solid 1px;
   padding: 0 10px;
@@ -348,7 +356,7 @@ export default {
 }
 
 .input:last-child {
-  width: 60px;
+  width: 70px;
   height: 40px;
   padding: 0 10px;
   border-right: #e7e7e7 solid 1px;