Bläddra i källkod

修改高知版本

plg 1 månad sedan
förälder
incheckning
7e237b3c0d
4 ändrade filer med 15 tillägg och 9 borttagningar
  1. 1 1
      index.html
  2. 14 6
      src/views/Report.vue
  3. 0 1
      src/views/TestRecord.vue
  4. 0 1
      src/views/UpdatePas.vue

+ 1 - 1
index.html

@@ -5,7 +5,7 @@
   <meta charset="UTF-8">
   <link rel="icon" href="/favicon.png">
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
-  <title>学生心理健康测评系统</title>
+  <title>高知人员心理压力测评系统</title>
 </head>
 
 <body>

+ 14 - 6
src/views/Report.vue

@@ -47,8 +47,10 @@ const option = reactive({
         // data: ['Allocated Budget', 'Actual Spending']
     },
     radar: {
+        center: ['50%', "60%"],
         shape: 'square', //设置雷达图形状,值有circle、square,默认为方形
         splitNumber: 3, // 雷达图圈数设置
+        radius: 90,
         // shape: 'circle',
         indicator: echarts_name_list.value,
         name: { //修改indicator文字的颜色
@@ -268,12 +270,16 @@ onUnmounted(() => {
                                 </div>
                             </div>
                             <div class="report_echarts_out">
-                                <div ref="echarts_ld"
-                                    style="width:300px;height:300px;background:#F6F6F6;margin-right: 10px;"
-                                    v-show="!(goFlag == 'SHAPE_RANDOM' || goFlag == 'ETB01' || goFlag == 'FDOT' || goFlag == 'EMOTION_STROOP')">
+                                <div style="display: flex;flex-direction: column;justify-content: center;"
+                                    :style="{ height: (!(goFlag == 'SHAPE_RANDOM' || goFlag == 'ETB01' || goFlag == 'FDOT' || goFlag == 'EMOTION_STROOP')) ? '300px' : '100px' }">
+                                    <div ref="echarts_ld"
+                                        style="width:300px;display: flex; height: 300px; background:#F6F6F6;margin-right: 10px;"
+                                        v-show="!(goFlag == 'SHAPE_RANDOM' || goFlag == 'ETB01' || goFlag == 'FDOT' || goFlag == 'EMOTION_STROOP')">
+                                    </div>
                                 </div>
+
                                 <div
-                                    style="display: flex;flex-direction: column;align-items: center;flex: 1;height: 300px; box-sizing: border-box;padding: 10px; justify-content: space-around;background:#F6F6F6;">
+                                    style="display: flex;flex-direction: column;align-items: center;flex: 1; box-sizing: border-box;padding: 10px; justify-content: center;background:#F6F6F6;">
                                     <div class="progress_out" v-for="item, index in echarts_name_list">
                                         <span class="progress_out_name" style="width:150px">
                                             {{ item.name }}
@@ -473,11 +479,13 @@ onUnmounted(() => {
                 display: flex;
                 flex-direction: row;
                 justify-content: space-between;
-                align-items: center;
+                // background-color: #000000;
+                // align-items: center;
 
                 // height: 200px;
                 .progress_out {
-                    margin-bottom: 20px;
+                    margin-top: 10px;
+                    margin-bottom: 10px;
                     width: 100%;
                     display: flex;
                     justify-content: start;

+ 0 - 1
src/views/TestRecord.vue

@@ -138,7 +138,6 @@ onMounted(() => {
 
 //跳转页面切换页面
 const viewReport = (val: any) => {
-    debugger;
     router.push({ name: 'report', params: { planId: val.planId, flag: val.flag, name: val.name } })
     // router.push({ name: 'report', params: { planId: 'a', flag: 'b' } })
     // router.push({ name: 'report' })

+ 0 - 1
src/views/UpdatePas.vue

@@ -55,7 +55,6 @@ const validatePassword = (password: string) => {
 }
 //登录方法
 const loginFun = async () => {
-    debugger;
     if (isLock.value) {
         return
     }