ソースを参照

列显示顺序修改

duy 8 ヶ月 前
コミット
cbbbef3ad7
1 ファイル変更4 行追加3 行削除
  1. 4 3
      src/views/tentative/detect/test.vue

+ 4 - 3
src/views/tentative/detect/test.vue

@@ -515,10 +515,12 @@ const tableRef = ref(null)
 const tableColumn = ref([
     { key: 'recordNo', name: '记录编号', width: 190 },
     { key: 'reportNo', name: '报告编号', width: 190, autoWidth: true },
-    { key: 'samplingLocation', name: '取样地点', width: 180, autoWidth: true },
     { key: 'trialProjectName', name: '试验项目名称', width: 100, autoWidth: true },
     { key: 'detectionResult', name: '检测结果', width: 140, autoWidth: true },
     { key: 'taskStatus', name: '任务状态', width: 120, autoWidth: true },
+    { key: 'reportDate', name: '报告日期', width: 170, autoWidth: true },
+    { key: 'trialUserName', name: '试验人员', width: 170, autoWidth: true },
+    { key: 'samplingLocation', name: '取样地点', width: 180, autoWidth: true },
     { key: 'detectionCategory', name: '检测类别', width: 100, autoWidth: true },
     { key: 'isUploadCertificate', name: '是否上传合格证', width: 120, autoWidth: true },
     { key: 'contractId', name: '合同段', width: 140, autoWidth: true },
@@ -529,8 +531,7 @@ const tableColumn = ref([
     { key: 'specificationModel', name: '规格类型', width: 200, autoWidth: true },
     //{key:'projectPosition', name: '工程部位及用途', width: 160},
     { key: 'projectPositionName', name: '工程部位及用途', width: 160, autoWidth: true },
-    { key: 'reportDate', name: '报告日期', width: 170, autoWidth: true },
-    { key: 'trialUserName', name: '试验人员', width: 170, autoWidth: true },
+ 
     { key: 'action', name: '操作', width: 120, fixed: 'right', align: 'center' },
 ])
 const tableData = ref([])