houyaf 3 年之前
父节点
当前提交
33985c6b6d
共有 3 个文件被更改,包括 15 次插入4 次删除
  1. 1 1
      src/components/ScoreIcon/index.vue
  2. 3 3
      src/views/hos/overview/index.vue
  3. 11 0
      src/views/system/art/components/Art.vue

+ 1 - 1
src/components/ScoreIcon/index.vue

@@ -53,7 +53,7 @@ export default {
         .text {
             margin: 0;
             padding: 0;
-            font-size: 10px;
+            font-size: 9px;
             font-family: Microsoft YaHei;
             color: #ffffff !important;
             font-weight: 400;

+ 3 - 3
src/views/hos/overview/index.vue

@@ -11,7 +11,7 @@
           <span class="tip">总评分</span>
         </div>
       </el-col>
-      <el-col :xl="8" :md="8" :sm="5" :xs="12">
+      <el-col :xl="7" :md="7" :sm="5" :xs="12">
         <h3 class="page-title">
           <el-select v-model="year" placeholder="请选择" class="el-select-text" @change="getData">
             <el-option
@@ -25,7 +25,7 @@
         </h3>
         <FullYearChart :keys="yearScoreKeys" :values="yearScoreValues" @change="changeFullYearChart" />
       </el-col>
-      <el-col :xl="12" :md="12" :sm="16" :xs="24" style="margin-top: 15px;">
+      <el-col :xl="13" :md="13" :sm="16" :xs="24" style="margin-top: 15px;">
         <el-row v-if="scoreList&&scoreList.length>0">
           <el-col v-for="(item, index) in scoreList" :key="index" :span="24/scoreList.length">
             <ImageGrid :data="item" image-key="path" :use-unit="true" @click="clickImageGrid(index+1)" />
@@ -157,7 +157,7 @@ export default {
   methods: {
     initYearList() {
       const d = new Date()
-      var yearList = []
+      const yearList = []
       for (let i = -5; i < 1; i++) {
         yearList.push(d.getFullYear() + i)
       }

+ 11 - 0
src/views/system/art/components/Art.vue

@@ -33,6 +33,15 @@
                 <el-input v-model="formData.artAuthor" />
               </el-form-item>
 
+              <el-form-item label="发布时间" prop="issuedAt">
+                <el-date-picker
+                  v-model="formData.issuedAt"
+                  type="datetime"
+                  placeholder="发布时间"
+                  style="width: 100%"
+                />
+              </el-form-item>
+
               <el-form-item label="来源" prop="artSource">
                 <el-input v-model="formData.artSource" />
               </el-form-item>
@@ -95,6 +104,7 @@ export default {
         artContent: '',
         artSource: '',
         artAuthor: '',
+        issuedAt: undefined,
         status: undefined,
         attachList: []
       },
@@ -162,6 +172,7 @@ export default {
         artContent: '',
         artSource: '',
         artAuthor: '',
+        issuedAt: undefined,
         attachList: []
       }
     },