hyf 3 yıl önce
ebeveyn
işleme
be79dd774e

+ 2 - 1
src/api/hos/satisfyPanoramaApi.js

@@ -17,10 +17,11 @@ export function yearOverview(year) {
  */
 export function monthOverview(year, month) {
   return request({
-    url: `/hos/satisfy/panorama/month/${year}/${month}`,
+    url: `/hos/satisfy/panorama/year/month/${year}/${month}`,
     method: 'GET'
   })
 }
+
 /**
  * 月度数据
  * @returns

+ 2 - 2
src/router/modules/csat.js

@@ -74,7 +74,7 @@ const csatRouter = [
         path: 'group',
         component: () => import('@/views/hos/statis/group/index'),
         name: 'hos_satisfy_statis_group',
-        meta: { title: '科室排名', noCache: true, permit: 'hos_satisfy_statis_group' }
+        meta: { title: '部门排名', noCache: true, permit: 'hos_satisfy_statis_group' }
       },
       {
         path: 'doctor',
@@ -86,7 +86,7 @@ const csatRouter = [
         path: 'grid',
         component: () => import('@/views/hos/statis/grid/index'),
         name: 'hos_satisfy_statis_grid',
-        meta: { title: '场所排名', noCache: true, permit: 'hos_satisfy_statis_grid' }
+        meta: { title: '科室排名', noCache: true, permit: 'hos_satisfy_statis_grid' }
       },
       {
         path: 'year',

+ 2 - 2
src/settings.js

@@ -37,9 +37,9 @@ module.exports = {
   * 服务API地址
   */
   serverUrl: 'http://1.15.92.205:8001/', // 正式环境
-  devServerUrl: '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://127.0.0.1:8001/', // 开发环境
   /**
   * websocket 地址
   * dev 开发环境

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

@@ -134,7 +134,7 @@
             <div class="rank-list">
               <div class="item-title">
                 <div class="name">科室-英雄榜</div>
-                <div class="more" @click="handleMoreAssess">更多</div>
+                <div class="more" @click="handleMoreAssess('/hos/satisfy/statis/grid')">更多</div>
               </div>
               <el-row>
                 <vuescroll :ops="ops" style="height: calc(100vh - 646px)">
@@ -147,7 +147,7 @@
             <div class="rank-list">
               <div class="item-title">
                 <div class="name">医生-英雄榜</div>
-                <div class="more" @click="handleMoreAssess">更多</div>
+                <div class="more" @click="handleMoreAssess('/hos/satisfy/statis/doctor')">更多</div>
               </div>
               <el-row>
                 <vuescroll :ops="ops" style="height: calc(100vh - 646px)">
@@ -414,9 +414,9 @@ export default {
       }
       return arr
     },
-    handleMoreAssess() {
+    handleMoreAssess(url) {
       this.$router.push({
-        path: '/hos/satisfy/assess/index'
+        path: url
       })
     },
     formatCheckListValues(data) {
@@ -459,7 +459,7 @@ export default {
     height: 242px;
     padding: 20px;
     background-color: #1F3C51;
-    border: 5px 0px 0px 0px;
+    border: 5px 0 0 0;
     border-top: 5px solid rgba(31, 60, 81, 1);
     background: linear-gradient(0deg, #1B3144, #1B3144),linear-gradient(0deg, #1F3C51, #1F3C51);
     &.month{

+ 1 - 1
src/views/hos/statis/grid/index.vue

@@ -99,7 +99,7 @@ export default {
           onlyShowBarOnScroll: false
         }
       },
-      title: '场所排名',
+      title: '科室排名',
       listLoading: false,
       dataList: [],
       conditions: {

+ 3 - 8
src/views/hos/statis/group/index.vue

@@ -97,7 +97,7 @@ export default {
           onlyShowBarOnScroll: false
         }
       },
-      title: '科室排名',
+      title: '部门排名',
       listLoading: false,
       dataList: [],
       conditions: {
@@ -106,7 +106,6 @@ export default {
         year: undefined,
         month: undefined
       }
-
     }
   },
   computed: {
@@ -123,12 +122,8 @@ export default {
       this.listLoading = true
       groupByList(this.conditions).then((resp) => {
         this.listLoading = false
-        const { code, msg, data } = resp
-        if (code === 200) {
-          this.dataList = data
-        } else {
-          this.$message.error(msg)
-        }
+        const { data } = resp
+        this.dataList = data
       }).catch((error) => {
         console.log(error)
       })