yanghao 20 godzin temu
rodzic
commit
4cf1e85a2d

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

@@ -31,7 +31,7 @@ const defaultOptions: Partial<Props> = {
   showBorder: false,
   customClass: false,
   tooltipOptions: {
-    popperClass: 'max-w-180'
+    popperClass: 'max-w-120'
   }
 }
 

+ 4 - 0
src/config/axios/index.ts

@@ -6,10 +6,14 @@ const { default_headers } = config
 
 const request = (option: any) => {
   const { headersType, headers, ...otherOption } = option
+
+  const langStore = JSON.parse(localStorage.getItem('lang') || '{}')
+
   return service({
     ...otherOption,
     headers: {
       'Content-Type': headersType || default_headers,
+      Lang: langStore.v.replace(/"/g, ''),
       ...headers
     }
   })

+ 1 - 1
src/views/pms/device/allotlog/ConfigDeviceAllot.vue

@@ -65,7 +65,7 @@
         <div class="control-row">
           <!-- 左侧人员选择 -->
           <div class="control-group">
-            <label class="control-title">{{ t('devicePerson.rp') }}</label>
+            <label class="control-title">{{ t('devicePerson.rp') }} <span class="required-star">*</span></label>
             <div class="person-selector">
               <el-select
                 v-model="selectedPersons"

+ 5 - 5
src/views/report-statistics/rd-daily-report.vue

@@ -71,11 +71,11 @@ const columns = ref<Column[]>([
     fixed: 'left',
     'min-width': '120px'
   },
-  {
-    label: '时间节点',
-    prop: 'timeRange',
-    'min-width': '120px'
-  },
+  // {
+  //   label: '时间节点',
+  //   prop: 'timeRange',
+  //   'min-width': '120px'
+  // },
   {
     label: '施工状态',
     prop: 'rdStatus',