zhaobao 3 ani în urmă
părinte
comite
595b351ba2

+ 1 - 1
src/api/hos/satisfyRecordApi.js

@@ -46,7 +46,7 @@ export function getRecentChecklistRecordByList(data) {
  */
 export function getChecklistRecordViewById(recordId) {
   return request({
-    url: '/hos/satisfy/record/view/{recordId}',
+    url: `/hos/satisfy/record/view/${recordId}`,
     method: 'GET'
   })
 }

+ 2 - 2
src/settings.js

@@ -38,8 +38,8 @@ module.exports = {
   */
   serverUrl: 'http://1.15.92.205:8001/', // 正式环境
   // devServerUrl: 'http://1.15.92.205:8001/', // 开发环境
-  // devServerUrl: 'http://192.168.3.253:8001/', // 开发环境
-  devServerUrl: 'http://127.0.0.1:8001/', // 开发环境
+  devServerUrl: 'http://192.168.3.253:8001/', // 开发环境
+  // devServerUrl: 'http://127.0.0.1:8001/', // 开发环境
   /**
   * websocket 地址
   * dev 开发环境

BIN
src/views/hos/panorama/images/satisfy.png


+ 9 - 5
src/views/hos/panorama/index.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="page-container">
     <el-row type="flex" justify="space-between" :gutter="10">
-      <el-col :span="18">
+      <el-col :span="19">
         <div class="evaluate">
           <div class="title">
             <div class="name">年满意度评价</div>
@@ -161,7 +161,7 @@
           </el-col>
         </el-row>
       </el-col>
-      <el-col :span="6">
+      <el-col :span="5">
         <div class="todayNews">
           <div class="head">
             <div class="item-title">
@@ -180,7 +180,7 @@
                 </div>
               </div>
               <div class="item">
-                <img class="icon" src="./images/notice.png" alt="评分">
+                <img class="icon" src="./images/satisfy.png" alt="评分">
                 <div class="cont">
                   <div class="top">
                     <span class="number">{{ todayOverview.score }}</span>
@@ -212,7 +212,7 @@
             </div>
           </div>
         </div>
-        <RecentRecord more="/hos/satisfy/news/index" height="calc(100vh - 240px)" :data="todayOverview.data" />
+        <RecentRecord more="/hos/satisfy/news/index" height="calc(100vh - 330px)" :data="todayOverview.data" />
       </el-col>
     </el-row>
   </div>
@@ -619,11 +619,15 @@ export default {
         display: flex;
         justify-content: center;
         align-items: center;
+        flex-wrap: wrap;
         margin-top: 42px;
         .item{
-          width: 33.33%;
+          width: 50%;
           display: flex;
           align-items: center;
+          &:nth-child(n+3){
+            padding-top: 32px;
+          }
         .icon{
           display: block;
           width: 56px;

+ 1 - 1
src/views/hos/record/components/ScoreRecord.vue

@@ -17,7 +17,7 @@
 </template>
 
 <script>
-import { getChecklistRecordViewById } from '@/api/hos/hosStatisApi'
+import { getChecklistRecordViewById } from '@/api/hos/satisfyRecordApi'
 import { checkResult } from '@/utils'
 export default {
   name: 'ScoreRecord',