刘洋 пре 8 месеци
родитељ
комит
42cccbcdae

+ 1 - 1
src/App.vue

@@ -1,7 +1,7 @@
 <template>
   <t-config-provider :global-config="config">
     <router-view />
-    <Robot></Robot>
+    <!-- <Robot></Robot> -->
   </t-config-provider>
 </template>
 

+ 6 - 6
src/views/report/project-analysis/index.vue

@@ -332,8 +332,8 @@ watch(serviceId, (serviceUnitId) => {
   run3({ serviceUnitId });
 });
 const columns1 = [
-  { colKey: 'leadName', title: '大区经理' },
-  { colKey: 'total', title: '总数' },
+  { colKey: 'leadName', title: '大区经理', fixed: 'left' },
+  { colKey: 'total', title: '总数', width: 50 },
   { colKey: 'prepareSopNum', title: '准备阶段' },
   { colKey: 'scanSopNum', title: '扫描阶段' },
   { colKey: 'markSopNum', title: '评卷阶段' },
@@ -341,8 +341,8 @@ const columns1 = [
   { colKey: 'finishSopNum', title: '已完成' },
 ];
 const columns2 = [
-  { colKey: 'supplierName', title: '人力商' },
-  { colKey: 'total', title: '总数' },
+  { colKey: 'supplierName', title: '人力商', fixed: 'left' },
+  { colKey: 'total', title: '总数', width: 50 },
   { colKey: 'prepareSopNum', title: '准备阶段' },
   { colKey: 'scanSopNum', title: '扫描阶段' },
   { colKey: 'markSopNum', title: '评卷阶段' },
@@ -350,8 +350,8 @@ const columns2 = [
   { colKey: 'finishSopNum', title: '已完成' },
 ];
 const columns3 = [
-  { colKey: 'coordinatorName', title: '区域协调人' },
-  { colKey: 'total', title: '总数' },
+  { colKey: 'coordinatorName', title: '区域协调人', fixed: 'left' },
+  { colKey: 'total', title: '总数', width: 50 },
   { colKey: 'prepareSopNum', title: '准备阶段' },
   { colKey: 'scanSopNum', title: '扫描阶段' },
   { colKey: 'markSopNum', title: '评卷阶段' },

+ 12 - 4
src/views/report/resource-analysis/index.vue

@@ -78,7 +78,7 @@ const options1 = computed(() => {
       name: item.deviceSupplierName,
       value: item.count,
     })),
-    radius: [0, 85],
+    radius: [0, 100],
     center: ['30%', '50%'],
   });
 });
@@ -88,7 +88,7 @@ const options2 = computed(() => {
       name: item.humanSupplierName,
       value: item.count,
     })),
-    radius: [0, 85],
+    radius: [0, 100],
     center: ['30%', '50%'],
   });
 });
@@ -104,10 +104,18 @@ const barDataHandle = (data, key) => {
   };
 };
 const options3 = computed(() => {
-  return createBarOption(barDataHandle(data3.value, 'areaManagerName'));
+  return createBarOption(barDataHandle(data3.value, 'areaManagerName'), {
+    tooltip: {
+      formatter: '{b} : {c}',
+    },
+  });
 });
 const options4 = computed(() => {
-  return createBarOption(barDataHandle(data4.value, 'humanSupplierName'));
+  return createBarOption(barDataHandle(data4.value, 'humanSupplierName'), {
+    tooltip: {
+      formatter: '{b} : {c}',
+    },
+  });
 });
 
 const serviceId = ref('');

+ 9 - 3
src/views/report/sop-analysis/index.vue

@@ -344,10 +344,16 @@ const baseColumns = [
   { colKey: 'markStartTimeNum', title: '评卷开始时间预警' },
   { colKey: 'markEndTimeNum', title: '评卷结束时间预警' },
 ];
-const columns1 = [{ colKey: 'leadName', title: '大区经理' }, ...baseColumns];
-const columns2 = [{ colKey: 'supplierName', title: '人力商' }, ...baseColumns];
+const columns1 = [
+  { colKey: 'leadName', title: '大区经理', fixed: 'left' },
+  ...baseColumns,
+];
+const columns2 = [
+  { colKey: 'supplierName', title: '人力商', fixed: 'left' },
+  ...baseColumns,
+];
 const columns3 = [
-  { colKey: 'coordinatorName', title: '区域协调人' },
+  { colKey: 'coordinatorName', title: '区域协调人', fixed: 'left' },
   ...baseColumns,
 ];
 </script>