Преглед на файлове

docs: 将术语从“质检”替换为“检测

yusheng преди 2 месеца
родител
ревизия
e4e19fd855
променени са 33 файла, в които са добавени 150 реда и са изтрити 150 реда
  1. 3 3
      src/api/inspectionPlan/index.js
  2. 4 4
      src/api/inspectionReport/index.js
  3. 3 3
      src/api/inspectionStatistics/index.js
  4. 1 1
      src/api/inspectionTemplate/index.js
  5. 3 3
      src/api/inspectionWork/index.js
  6. 2 2
      src/api/warehouseManagement/index.js
  7. 1 1
      src/components/AssetTree/index.vue
  8. 1 1
      src/components/upload/import-dialog.vue
  9. 1 1
      src/utils/util.js
  10. 5 5
      src/views/certificateManagement/components/add.vue
  11. 7 7
      src/views/inspectionClassify/components/user-edit.vue
  12. 3 3
      src/views/inspectionClassify/components/user-list.vue
  13. 18 18
      src/views/inspectionPlan/components/edit.vue
  14. 22 22
      src/views/inspectionPlan/components/new-edit.vue
  15. 2 2
      src/views/inspectionPlan/components/searchWarehousing.vue
  16. 1 1
      src/views/inspectionPoint/components/EquipmentDialog.vue
  17. 1 1
      src/views/inspectionPoint/components/edit.vue
  18. 2 2
      src/views/inspectionPoint/components/inspectionProjectList.vue
  19. 2 2
      src/views/inspectionPoint/components/newEdit.vue
  20. 2 2
      src/views/inspectionPoint/components/newEquipmentDialog.vue
  21. 5 5
      src/views/inspectionProject/components/user-edit.vue
  22. 4 4
      src/views/inspectionProject/index.vue
  23. 7 7
      src/views/inspectionProjectRequest/components/inspectionProjectRequestList.vue
  24. 6 6
      src/views/inspectionProjectTask/components/inspectionProjectTaskList.vue
  25. 7 7
      src/views/inspectionProjectTask/components/inspectionProjectTaskSend.vue
  26. 1 1
      src/views/inspectionReport/components/detailDialog.vue
  27. 1 1
      src/views/inspectionReport/index.vue
  28. 2 2
      src/views/inspectionReport/template/inspection_report1.vue
  29. 8 8
      src/views/inspectionStandard/components/edit.vue
  30. 3 3
      src/views/inspectionStandard/components/standardDialog.vue
  31. 7 7
      src/views/inspectionTemplate/AddorUpdate.vue
  32. 2 2
      src/views/inspectionWork/components/inspectionWorkDialog.vue
  33. 13 13
      src/views/inspectionWork/components/inspectionWorkList.vue

+ 3 - 3
src/api/inspectionPlan/index.js

@@ -103,7 +103,7 @@ export async function getQualityTemplateList(params) {
   // return Promise.reject(new Error(res.data.message));
 }
 
-// 修改时查询 检方案
+// 修改时查询 检方案
 export async function getTemplateListByPlanId(data) {
   const res = await request.post(
     `/qms/quality_plan/getQualityTemplateList`,
@@ -115,7 +115,7 @@ export async function getTemplateListByPlanId(data) {
   return Promise.reject(new Error(res.data.message));
 }
 
-// 修改时查询 检样品
+// 修改时查询 检样品
 export async function getSampleListByPlanId(data) {
   const res = await request.post(
     `/qms/quality_plan/getQualitySampleList`,
@@ -126,7 +126,7 @@ export async function getSampleListByPlanId(data) {
   }
   return Promise.reject(new Error(res.data.message));
 }
-// 修改时查询 检清单
+// 修改时查询 检清单
 export async function getInventoryListByPlanId(data) {
   const res = await request.post(
     `/qms/quality_plan/getQueryQualityInventory`,

+ 4 - 4
src/api/inspectionReport/index.js

@@ -11,7 +11,7 @@ export async function getList(params) {
   return Promise.reject(new Error(res.data.message));
 }
 
-// 检报告基本信息
+// 检报告基本信息
 export async function queryInspectionReportData({ id, type }) {
   const res = await request.get(
     `/qms/quality_work_order/queryInspectionReportData/${id}`,
@@ -25,7 +25,7 @@ export async function queryInspectionReportData({ id, type }) {
   return Promise.reject(new Error(res.data.message));
 }
 
-// 检报告检项列表信息
+// 检报告检项列表信息
 export async function queryInspectionReportList({ id, type }) {
   const res = await request.get(
     `/qms/quality_work_order/queryInspectionReportList/${id}`,
@@ -39,7 +39,7 @@ export async function queryInspectionReportList({ id, type }) {
   return Promise.reject(new Error(res.data.message));
 }
 
-// 生成/修改检报告
+// 生成/修改检报告
 export async function generateReport(data) {
   const res = await request.post(
     `/qms/quality_work_order/generateReport`,
@@ -51,7 +51,7 @@ export async function generateReport(data) {
   return Promise.reject(new Error(res.data.message));
 }
 
-// 删除检报告
+// 删除检报告
 export async function deleteReport(id) {
   const res = await request.delete(
     `/qms/quality_work_order/deleteReport/${id}`

+ 3 - 3
src/api/inspectionStatistics/index.js

@@ -3,7 +3,7 @@ import { download } from '@/utils/file';
 
 
 
-// 出釜检列表
+// 出釜检列表
 
 export async function getQualityControlWorkOrder(data) {
   const res = await request.post('/qms/quality_work_order/List_count', data);
@@ -13,7 +13,7 @@ export async function getQualityControlWorkOrder(data) {
   return Promise.reject(new Error(res.data.message));
 }
 
-// 出釜检详情列表
+// 出釜检详情列表
 
 export async function queryListDetail(parentId) {
   const res = await request.get(`/qms/quality_work_order/query_list_detail/` + parentId)
@@ -26,7 +26,7 @@ export async function queryListDetail(parentId) {
 
 export async function exportList(data) {
   const res = await request.post('/qms/quality_work_order/List_count/export', data, { responseType: 'blob' });
-  download(res.data, '出釜检')
+  download(res.data, '出釜检')
 }
 export async function savePicture(data) {
   const res = await request.post('/qms/quality_work_order/savePicture', data);

+ 1 - 1
src/api/inspectionTemplate/index.js

@@ -81,7 +81,7 @@ export async function templatecategoryPage(params) {
   return Promise.reject(new Error(res.data.message));
 }
 
-// 通过方案ids获取检项
+// 通过方案ids获取检
 export async function getQualityTemplateByIds(data) {
   const res = await request.post(
     `/qms/qualitytemplate/getQualityTemplateByIds`,

+ 3 - 3
src/api/inspectionWork/index.js

@@ -93,7 +93,7 @@ export async function exeReportWork(data) {
   return Promise.reject(new Error(res.data.message));
 }
 
-// 根据检工单id获取清单列表
+// 根据检工单id获取清单列表
 export async function queryQualityInventory(data) {
   const res = await request.post(
     '/qms/quality_work_order/query_quality_inventory',
@@ -104,7 +104,7 @@ export async function queryQualityInventory(data) {
   }
 }
 
-// 根据检工单id获取检样品列表
+// 根据检工单id获取检样品列表
 export async function queryQualitySamplContent(data) {
   const res = await request.post(
     '/qms/quality_work_order/query_quality_sampl_content',
@@ -114,7 +114,7 @@ export async function queryQualitySamplContent(data) {
     return res.data.data;
   }
 }
-// 根据检工单id获取方案内容
+// 根据检工单id获取方案内容
 export async function queryQualityTempleContent(data) {
   const res = await request.post(
     '/qms/quality_work_order/query_quality_temple_content',

+ 2 - 2
src/api/warehouseManagement/index.js

@@ -51,7 +51,7 @@ export default {
     return Promise.reject(new Error(res.data.message));
   },
 
-  // 提交检流程
+  // 提交检流程
   qualityInspectionTwo: async (data) => {
     const res = await request.post(
       '/bpm/outinApprove/qualityInspectionTwo',
@@ -233,7 +233,7 @@ export default {
     }
     return Promise.reject(new Error(res.data.message));
   },
-  // 检保存
+  // 检保存
   qualityInspection: async (data) => {
     const res = await request.post(`/wms/outintwo/qualityInspection`, data);
     if (res.data.code == 0) {

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

@@ -1,5 +1,5 @@
 <template>
-  <!-- 检分类 -->
+  <!-- 检分类 -->
   <div class="tree-wrapper">
     <!-- <el-input placeholder="输入关键字进行过滤" v-model="filterText">
     </el-input> -->

+ 1 - 1
src/components/upload/import-dialog.vue

@@ -121,7 +121,7 @@
         download1(window.location.origin + this.fileUrl, this.fileName);
         // var a = document.createElement('a'); //创建一个<a></a>标签
         // a.href = 'static/model.xlsx'; // 给a标签的href属性值加上地址,注意,这里是绝对路径,不用加 点.
-        // a.download = '检项导入模板.xlsx'; //设置下载文件文件名,这里加上.xlsx指定文件类型,pdf文件就指定.fpd即可
+        // a.download = '检项导入模板.xlsx'; //设置下载文件文件名,这里加上.xlsx指定文件类型,pdf文件就指定.fpd即可
         // a.style.display = 'none'; // 障眼法藏起来a标签
         // document.body.appendChild(a); // 将a标签追加到文档对象中
         // a.click(); // 模拟点击了a标签,会触发a标签的href的读取,浏览器就会自动下载了

+ 1 - 1
src/utils/util.js

@@ -65,6 +65,6 @@ export function generateRandomString(num = 5) {
 }
 
 export const recordingMethodList = [
-  { label: '按检项检', value: 1 },
+  { label: '按检项检', value: 1 },
   { label: '按样品检', value: 2 }
 ];

+ 5 - 5
src/views/certificateManagement/components/add.vue

@@ -120,7 +120,7 @@
             showOverflowTooltip: true
           },
           {
-            label: '检方式',
+            label: '检方式',
             prop: 'qualityMode',
             slot: 'qualityMode',
             align: 'center',
@@ -130,7 +130,7 @@
 
           {
             prop: 'executeUserName',
-            label: '检人',
+            label: '检人',
             align: 'center',
             width: 120,
             showOverflowTooltip: true,
@@ -140,7 +140,7 @@
           },
           {
             prop: 'qualityTime',
-            label: '检时间',
+            label: '检时间',
             align: 'center',
             width: 120,
             showOverflowTooltip: true
@@ -228,9 +228,9 @@
       },
 
       save() {
-        return;
+        // return;
         if (this.list.length == 0) {
-          return this.$message.warning('检工单不能为空!');
+          return this.$message.warning('检工单不能为空!');
         }
 
         api({

+ 7 - 7
src/views/inspectionClassify/components/user-edit.vue

@@ -46,7 +46,7 @@
       </el-row>
       <!-- <el-row>
         <el-col :span="12">
-          <el-form-item label="检方式:" prop="mode">
+          <el-form-item label="检方式:" prop="mode">
             <el-select
               v-model="form.mode"
               placeholder="请选择"
@@ -85,7 +85,7 @@
         </el-col>
       </el-row>
 
-      <headerTitle title="检工具">
+      <headerTitle title="检工具">
         <el-button type="primary" size="small" @click="handleAdd"
           >新增</el-button
         >
@@ -237,13 +237,13 @@
         // 表单验证规则
         rules: {
           qualityStandardId: [
-            { required: true, message: '请选择检标准', trigger: 'blur' }
+            { required: true, message: '请选择检标准', trigger: 'blur' }
           ],
           inspectionName: [
-            { required: true, message: '请输入检名称', trigger: 'blur' }
+            { required: true, message: '请输入检名称', trigger: 'blur' }
           ],
           inspectionCode: [
-            { required: true, message: '请输入检编码', trigger: 'blur' }
+            { required: true, message: '请输入检编码', trigger: 'blur' }
           ],
 
           // unitName:
@@ -264,7 +264,7 @@
         loading: false,
         // 是否是修改
         isUpdate: false,
-        // 检分类列表
+        // 检分类列表
         categoryLevelList: []
       };
     },
@@ -408,7 +408,7 @@
       },
       async getCategoryLevelList() {
         const { data } = await getTreeByIds({ ids: '12' });
-        console.log('data 检分类', data);
+        console.log('data 检分类', data);
         this.categoryLevelList = data;
       }
     },

+ 3 - 3
src/views/inspectionClassify/components/user-list.vue

@@ -75,7 +75,7 @@
         </el-link>
         <el-popconfirm
           class="ele-action"
-          title="确定要删除此检项吗?"
+          title="确定要删除此检项吗?"
           @confirm="remove(row)"
         >
           <template v-slot:reference>
@@ -128,14 +128,14 @@
         columns: [
           {
             prop: 'itemVO.categoryLevelClassName',
-            label: '检分类层级',
+            label: '检分类层级',
             align: 'center',
             showOverflowTooltip: true,
             minWidth: 150
           },
           {
             prop: 'itemVO.categoryLevelName',
-            label: '检类型',
+            label: '检类型',
             align: 'center',
             minWidth: 110
           },

+ 18 - 18
src/views/inspectionPlan/components/edit.vue

@@ -324,31 +324,31 @@
               align="center"
             ></el-table-column>
             <el-table-column
-              label="检方案编码"
+              label="检方案编码"
               prop="qualitySchemeTemplateCode"
               align="center"
               width="170"
             ></el-table-column>
             <el-table-column
-              label="检方案名称"
+              label="检方案名称"
               prop="qualitySchemeTemplateName"
               align="center"
               width="170"
             ></el-table-column>
             <el-table-column
-              label="检类型"
+              label="检类型"
               prop="categoryLevelClassName"
               align="center"
               width="170"
             ></el-table-column>
             <el-table-column
-              label="检项编码"
+              label="检项编码"
               prop="inspectionCode"
               align="center"
               width="170"
             ></el-table-column>
             <el-table-column
-              label="检项名称"
+              label="检项名称"
               prop="inspectionName"
               align="center"
             ></el-table-column>
@@ -710,7 +710,7 @@
         const end = start + pageSize;
         return this.sampleList.slice(start, end);
       },
-      // 分页后的检方案列表
+      // 分页后的检方案列表
       paginatedSchemeList() {
         if (this.rowIds && this.isScheme) {
           console.log('101010');
@@ -877,7 +877,7 @@
         this.packingList = res.list;
         return res;
       },
-      // 切换检内容
+      // 切换检内容
       handleClick(tab) {
         this.activeName = tab.name;
       },
@@ -947,7 +947,7 @@
           }
         });
 
-        // 如果是编辑或者详情,则查询物料清单、检方案和样品列表
+        // 如果是编辑或者详情,则查询物料清单、检方案和样品列表
         if (row.id) {
           this.rowIds = row.id;
           this.isScheme = true;
@@ -971,7 +971,7 @@
           await this.reload({ planId: row.id });
           //操作行点击时查询样品
           await this.getSampleList(row.id);
-          //操作行点击时查询
+          //操作行点击时查询检
           await this.getTemplateList(row.id);
         }
       },
@@ -1029,7 +1029,7 @@
           supplierMark
         );
 
-        //通过来源和产品 获取检方案
+        //通过来源和产品 获取检方案
         await this.getQualityTemplate(productCode);
       },
       async getGoodsList(
@@ -1064,7 +1064,7 @@
             console.log('this.isCheck=true', this.isCheck);
           } else {
             res = [];
-            this.$message.error('此数据已检,无需再次检!');
+            this.$message.error('此数据已检,无需再次检!');
             return;
           }
         } else {
@@ -1080,7 +1080,7 @@
               res = [resData];
             } else {
               res = [];
-              this.$message.error('此数据已检,无需再次检!');
+              this.$message.error('此数据已检,无需再次检!');
               return;
             }
           }
@@ -1418,7 +1418,7 @@
             combinedList = combinedList.concat(
               res.qualityTemplateVOList[i].inspectionItemVOList
             );
-            console.log(combinedList, '检方案');
+            console.log(combinedList, '检方案');
             this.schemeList = combinedList;
             this.schemePagination.currentPage = 1;
             this.schemePagination.total = this.schemeList.length;
@@ -1975,7 +1975,7 @@
           console.log(params, 'params');
 
           if (this.btnType == 'issued' && this.schemeList.length < 1) {
-            this.$message.warning('检方案不能为空!');
+            this.$message.warning('检方案不能为空!');
             this.loading = false;
             return;
           }
@@ -2020,7 +2020,7 @@
           console.log(params, 'params');
 
           if (this.btnType == 'issued' && this.schemeList.length < 1) {
-            this.$message.warning('检方案不能为空!');
+            this.$message.warning('检方案不能为空!');
             this.loading = false;
             return;
           }
@@ -2052,18 +2052,18 @@
           await this.getSampleList(this.rowIds);
         }
       },
-      // 检方案分页方法
+      // 检方案分页方法
       async handleSchemeSizeChange(val) {
         this.schemePagination.pageSize = val;
         this.schemePagination.currentPage = 1;
-        //操作行点击时查询
+        //操作行点击时查询检
         if (this.rowIds && this.isScheme) {
           await this.getTemplateList(this.rowIds);
         }
       },
       async handleSchemeCurrentChange(val) {
         this.schemePagination.currentPage = val;
-        //操作行点击时查询
+        //操作行点击时查询检
         if (this.rowIds && this.isScheme) {
           await this.getTemplateList(this.rowIds);
         }

+ 22 - 22
src/views/inspectionPlan/components/new-edit.vue

@@ -277,12 +277,12 @@
           </el-table>
 
         </el-tab-pane> -->
-        <el-tab-pane label="检方案" name="3">
+        <el-tab-pane label="检方案" name="3">
           <el-button
             @click="addInspectionTemplate(baseForm.type)"
             type="primary"
             style="margin-top: 5px"
-            >选择检方案</el-button
+            >选择检方案</el-button
           >
           <el-table
             v-show="activeName === '3'"
@@ -301,31 +301,31 @@
               align="center"
             ></el-table-column>
             <el-table-column
-              label="检方案编码"
+              label="检方案编码"
               prop="qualitySchemeTemplateCode"
               align="center"
               width="170"
             ></el-table-column>
             <el-table-column
-              label="检方案名称"
+              label="检方案名称"
               prop="qualitySchemeTemplateName"
               align="center"
               width="170"
             ></el-table-column>
             <el-table-column
-              label="检类型"
+              label="检类型"
               prop="categoryLevelClassName"
               align="center"
               width="170"
             ></el-table-column>
             <el-table-column
-              label="检项编码"
+              label="检项编码"
               prop="inspectionCode"
               align="center"
               width="170"
             ></el-table-column>
             <el-table-column
-              label="检项名称"
+              label="检项名称"
               prop="inspectionName"
               align="center"
               width="150"
@@ -404,7 +404,7 @@
         @click="handleIssued"
         >下发</el-button
       >
-      <!-- 选择检方案 -->
+      <!-- 选择检方案 -->
       <inspectionTemplateDialog
         v-if="baseForm"
         :type="baseForm.type"
@@ -418,7 +418,7 @@
 <script>
   // import baseInfo from './baseInfo.vue';
   import baseInfo from './new-baseInfo.vue';
-  // 检方案的弹窗
+  // 检方案的弹窗
   import inspectionTemplateDialog from '@/views/inspectionTemplate/components/inspectionTemplateDialog.vue';
   import { getCode, getCodeList } from '@/api/login';
   import {
@@ -813,7 +813,7 @@
         // const end = start + pageSize;
         // return this.sampleList.slice(start, end);
       },
-      // 分页后的检方案列表
+      // 分页后的检方案列表
       paginatedSchemeList() {
         // if (this.rowIds && this.isScheme) {
         //   console.log(this.schemeList, 'test');
@@ -999,7 +999,7 @@
           size: limit
         });
       },
-      // 切换检内容
+      // 切换检内容
       handleClick(tab) {
         this.activeName = tab.name;
       },
@@ -1076,7 +1076,7 @@
           }
         });
 
-        // 如果是编辑或者详情,则查询物料清单、检方案和样品列表
+        // 如果是编辑或者详情,则查询物料清单、检方案和样品列表
         if (row.id) {
           this.rowIds = row.id;
           this.isScheme = true;
@@ -1101,7 +1101,7 @@
           await this.reload({ planId: row.id });
           //操作行点击时查询样品
           await this.getSampleList(row.id);
-          //操作行点击时查询
+          //操作行点击时查询检
           await this.getTemplateList(row.id);
         }
 
@@ -1201,7 +1201,7 @@
           supplierMark
         );
 
-        //通过来源和产品 获取检方案
+        //通过来源和产品 获取检方案
         await this.getQualityTemplate(productCode);
       },
       async getGoodsList(
@@ -1236,7 +1236,7 @@
             console.log('this.isCheck=true', this.isCheck);
           } else {
             res = [];
-            this.$message.error('此数据已检,无需再次检!');
+            this.$message.error('此数据已检,无需再次检!');
             return;
           }
         } else {
@@ -1252,7 +1252,7 @@
               res = [resData];
             } else {
               res = [];
-              this.$message.error('此数据已检,无需再次检!');
+              this.$message.error('此数据已检,无需再次检!');
               return;
             }
           }
@@ -1636,7 +1636,7 @@
             combinedList = combinedList.concat(
               res.qualityTemplateVOList[i].inspectionItemVOList
             );
-            console.log(combinedList, '检方案');
+            console.log(combinedList, '检方案');
             this.schemeList = combinedList;
             this.schemePagination.currentPage = 1;
             this.schemePagination.total = this.schemeList.length;
@@ -2104,7 +2104,7 @@
           console.log(params, 'params');
 
           if (this.btnType == 'issued' && this.schemeList.length < 1) {
-            this.$message.warning('检方案不能为空!');
+            this.$message.warning('检方案不能为空!');
             this.loading = false;
             return;
           }
@@ -2158,7 +2158,7 @@
           console.log(params, 'params');
 
           if (this.btnType == 'issued' && this.schemeList.length < 1) {
-            this.$message.warning('检方案不能为空!');
+            this.$message.warning('检方案不能为空!');
             this.loading = false;
             return;
           }
@@ -2190,18 +2190,18 @@
           await this.getSampleList(this.rowIds);
         }
       },
-      // 检方案分页方法
+      // 检方案分页方法
       async handleSchemeSizeChange(val) {
         this.schemePagination.pageSize = val;
         this.schemePagination.currentPage = 1;
-        //操作行点击时查询
+        //操作行点击时查询检
         if (this.rowIds && this.isScheme) {
           await this.getTemplateList(this.rowIds);
         }
       },
       async handleSchemeCurrentChange(val) {
         this.schemePagination.currentPage = val;
-        //操作行点击时查询
+        //操作行点击时查询检
         if (this.rowIds && this.isScheme) {
           await this.getTemplateList(this.rowIds);
         }

+ 2 - 2
src/views/inspectionPlan/components/searchWarehousing.vue

@@ -32,7 +32,7 @@
     <el-row :gutter="15">
 
       <!-- <el-col v-bind="styleResponsive ? { lg: 6, md: 12 } : { span: 6 }">
-        <el-form-item label="检结果:">
+        <el-form-item label="检结果:">
           <el-select
             v-model="where.qualityResults"
             placeholder="请选择"
@@ -44,7 +44,7 @@
         </el-form-item>
       </el-col>
       <el-col v-bind="styleResponsive ? { lg: 6, md: 12 } : { span: 6 }">
-        <el-form-item label="检状态:">
+        <el-form-item label="检状态:">
           <el-select
             v-model="where.qualityStatus"
             placeholder="请选择"

+ 1 - 1
src/views/inspectionPoint/components/EquipmentDialog.vue

@@ -86,7 +86,7 @@ export default {
         },
 
         // {
-        //   label: '检工具',
+        //   label: '检工具',
         //   prop: 'inspectionTool'
         // },
         {

+ 1 - 1
src/views/inspectionPoint/components/edit.vue

@@ -25,7 +25,7 @@
           </el-form-item>
         </el-col>
         <!-- <el-col :span="12">
-          <el-form-item label="检分类:" prop="typeValue">
+          <el-form-item label="检分类:" prop="typeValue">
             <ele-tree-select
             :disabled="type=='detail'"
               multiple

+ 2 - 2
src/views/inspectionPoint/components/inspectionProjectList.vue

@@ -1,6 +1,6 @@
 <template>
   <div>
-    <div class="title">检项</div>
+    <div class="title">检项</div>
 
     <el-table :data="listPage" border height="30vh">
       <el-table-column
@@ -44,7 +44,7 @@
           </el-form-item>
         </template>
       </el-table-column>
-      <!-- <el-table-column label="检工具" align="center" prop="inspectionTool">
+      <!-- <el-table-column label="检工具" align="center" prop="inspectionTool">
       </el-table-column> -->
       <el-table-column label="描述" align="center" prop="description">
       </el-table-column>

+ 2 - 2
src/views/inspectionPoint/components/newEdit.vue

@@ -102,7 +102,7 @@
           <template v-slot:action="{ row, $index }">
             <el-popconfirm
               class="ele-action"
-              title="确定要删除此检项吗?"
+              title="确定要删除此检项吗?"
               @confirm="remove($index)"
             >
               <template v-slot:reference>
@@ -186,7 +186,7 @@ export default {
       columns: [
         {
           prop: 'categoryLevelName',
-          label: '检类型',
+          label: '检类型',
           align: 'center',
           minWidth: 110
         },

+ 2 - 2
src/views/inspectionPoint/components/newEquipmentDialog.vue

@@ -91,7 +91,7 @@
             <template v-slot:action="{ row }">
               <el-popconfirm
                 class="ele-action"
-                title="确定要删除此检项吗?"
+                title="确定要删除此检项吗?"
                 @confirm="remove(row)"
               >
                 <template v-slot:reference>
@@ -166,7 +166,7 @@ export default {
 
         {
           prop: 'itemVO.categoryLevelName',
-          label: '检类型',
+          label: '检类型',
           align: 'center',
           minWidth: 110
         },

+ 5 - 5
src/views/inspectionProject/components/user-edit.vue

@@ -198,7 +198,7 @@
           </el-form-item>
         </el-col>
         <el-col :span="12">
-          <el-form-item label="检阶段:" prop="qualityStage">
+          <el-form-item label="检阶段:" prop="qualityStage">
             <el-select
               v-model="form.qualityStage"
               placeholder="请选择"
@@ -232,7 +232,7 @@
         </el-col>
       </el-row>
 
-      <headerTitle title="检工具">
+      <headerTitle title="检工具">
         <el-button type="primary" size="small" @click="handleAdd"
           >新增</el-button
         >
@@ -389,13 +389,13 @@
         qualityStandardList: [],
         rules: {
           qualityStandardId: [
-            { required: true, message: '请选择检标准', trigger: 'blur' }
+            { required: true, message: '请选择检标准', trigger: 'blur' }
           ],
           inspectionName: [
-            { required: true, message: '请输入检名称', trigger: 'blur' }
+            { required: true, message: '请输入检名称', trigger: 'blur' }
           ],
           inspectionCode: [
-            { required: true, message: '请输入检编码', trigger: 'blur' }
+            { required: true, message: '请输入检编码', trigger: 'blur' }
           ],
           textType: [
             { required: true, message: '请选择参数类型', trigger: 'blur' }

+ 4 - 4
src/views/inspectionProject/index.vue

@@ -114,7 +114,7 @@
           <el-popconfirm
             v-if="$hasPermission('qms:inspection_item:delete')"
             class="ele-action"
-            title="确定要删除当前检吗?"
+            title="确定要删除当前检吗?"
             @confirm="remove(row)"
           >
             <template v-slot:reference>
@@ -138,8 +138,8 @@
     <importDialog
       ref="importDialogRef"
       @success="reload"
-      :fileUrl="'/qms/static/检项导入模板.xlsx'"
-      fileName="检项导入模板"
+      :fileUrl="'/qms/static/检项导入模板.xlsx'"
+      fileName="检项导入模板"
       apiUrl="/qms/inspectionProject/importFile"
     ></importDialog>
   </div>
@@ -358,7 +358,7 @@ export default {
         this.$message.error('请至少选择一条数据');
         return;
       }
-      this.$confirm('确定要删除选中的检吗?', '提示', {
+      this.$confirm('确定要删除选中的检吗?', '提示', {
         type: 'warning'
       })
         .then(() => {

+ 7 - 7
src/views/inspectionProjectRequest/components/inspectionProjectRequestList.vue

@@ -98,7 +98,7 @@
             $hasPermission('qms:quality_work_order:generateReport')
           "
         >
-          <el-link type="primary" :underline="false">生成检报告</el-link>
+          <el-link type="primary" :underline="false">生成检报告</el-link>
           <el-dropdown-menu slot="dropdown">
             <el-dropdown-item
               v-for="item in reportTemplateList"
@@ -129,7 +129,7 @@
           type="primary"
           :underline="false"
           @click="openReport(row)"
-          >查看检报告</el-link
+          >查看检报告</el-link
         >
 
         <el-link
@@ -143,7 +143,7 @@
           type="primary"
           :underline="false"
           @click="reportApprovalSubmit(row)"
-          >检报告审批</el-link
+          >检报告审批</el-link
         >
         <el-link
           type="danger"
@@ -381,14 +381,14 @@
           {
             prop: 'qualityWorkOrderCode',
             minWidth: 110,
-            label: '检工单编码',
+            label: '检工单编码',
             align: 'center',
             showOverflowTooltip: true
           },
           {
             prop: 'qualityWorkOrderName',
             minWidth: 110,
-            label: '检工单名称',
+            label: '检工单名称',
             align: 'center',
             showOverflowTooltip: true
           },
@@ -411,7 +411,7 @@
             slot: 'qualityMode',
             prop: 'qualityMode',
             minWidth: 110,
-            label: '检方式',
+            label: '检方式',
             align: 'center',
             showOverflowTooltip: true
           },
@@ -663,7 +663,7 @@
             variables: {
               businessCode: res.code,
               businessName: res.name,
-              businessType: '检报告单(检受托单)'
+              businessType: '检报告单(检受托单)'
             }
           };
           this.$refs.processSubmitDialogRef.init(params);

+ 6 - 6
src/views/inspectionProjectTask/components/inspectionProjectTaskList.vue

@@ -40,7 +40,7 @@
             $hasPermission('qms:quality_work_order:generateReport')
           "
         >
-          <el-link type="primary" :underline="false">生成检报告</el-link>
+          <el-link type="primary" :underline="false">生成检报告</el-link>
           <el-dropdown-menu slot="dropdown">
             <el-dropdown-item
               v-for="item in reportTemplateList"
@@ -185,7 +185,7 @@
           {
             prop: 'code',
             slot: 'code',
-            label: '检任务单号',
+            label: '检任务单号',
             showOverflowTooltip: true,
             align: 'center',
             minWidth: 130
@@ -221,14 +221,14 @@
           {
             prop: 'qualityWorkOrderCode',
             minWidth: 110,
-            label: '检工单编码',
+            label: '检工单编码',
             align: 'center',
             showOverflowTooltip: true
           },
           {
             prop: 'qualityWorkOrderName',
             minWidth: 110,
-            label: '检工单名称',
+            label: '检工单名称',
             align: 'center',
             showOverflowTooltip: true
           },
@@ -251,7 +251,7 @@
             slot: 'qualityMode',
             prop: 'qualityMode',
             minWidth: 110,
-            label: '检方式',
+            label: '检方式',
             align: 'center',
             showOverflowTooltip: true
           },
@@ -473,7 +473,7 @@
             variables: {
               businessCode: res.code,
               businessName: res.name,
-              businessType: '检报告单(检任务单)'
+              businessType: '检报告单(检任务单)'
             }
           };
           this.$refs.processSubmitDialogRef.init(params);

+ 7 - 7
src/views/inspectionProjectTask/components/inspectionProjectTaskSend.vue

@@ -51,7 +51,7 @@
       <el-row>
         <el-col :span="8">
           <el-form-item
-            :label="type == 1 ? '任务单号' : '检请托单号'"
+            :label="type == 1 ? '任务单号' : '检请托单号'"
             prop="code"
           >
             <el-input
@@ -252,35 +252,35 @@
                 minWidth: 150,
                 prop: 'qualitySchemeTemplateCode',
                 align: 'center',
-                label: '检方案编码',
+                label: '检方案编码',
                 showOverflowTooltip: true
               },
               {
                 minWidth: 120,
                 prop: 'qualitySchemeTemplateName',
                 align: 'center',
-                label: '检方案名称',
+                label: '检方案名称',
                 showOverflowTooltip: true
               },
               {
                 minWidth: 100,
                 prop: 'categoryLevelClassName',
                 align: 'center',
-                label: '检类型',
+                label: '检类型',
                 showOverflowTooltip: true
               },
               {
                 minWidth: 130,
                 prop: 'inspectionCode',
                 align: 'center',
-                label: '检项编码',
+                label: '检项编码',
                 showOverflowTooltip: true
               },
               {
                 minWidth: 120,
                 prop: 'inspectionName',
                 align: 'center',
-                label: '检项名称',
+                label: '检项名称',
                 showOverflowTooltip: true
               },
               {
@@ -514,7 +514,7 @@
             });
           }
         }
-        //获取工单检方案
+        //获取工单检方案
         await getById(this.form.qualityWorkOrderId).then((res) => {
           this.templateList = res.data.templateList;
           this.qualitySampleList = res.data.qualitySampleList;

+ 1 - 1
src/views/inspectionReport/components/detailDialog.vue

@@ -62,7 +62,7 @@ export default {
         // 页面加载时可以在这里添加数据初始化逻辑
     },
     methods: {
-        /* 打开检报告 */
+        /* 打开检报告 */
         open(row, item) {
             this.currentRow = row;
         },

+ 1 - 1
src/views/inspectionReport/index.vue

@@ -416,7 +416,7 @@
             variables: {
               businessCode: res.code,
               businessName: res.reportNumber,
-              businessType: '检报告单'
+              businessType: '检报告单'
             }
           };
           if (this.clientEnvironmentId == 5) {

+ 2 - 2
src/views/inspectionReport/template/inspection_report1.vue

@@ -34,7 +34,7 @@
           margin-bottom: 20px;
           font-weight: bold;
         "
-        >检报告</h1
+        >检报告</h1
       >
 
       <!-- 编号和报告单号 -->
@@ -438,7 +438,7 @@
       // 页面加载时可以在这里添加数据初始化逻辑
     },
     methods: {
-      /* 打开检报告 */
+      /* 打开检报告 */
       async open(row, item) {
         this.currentRow = row;
         this.templateItem = item || row;

+ 8 - 8
src/views/inspectionStandard/components/edit.vue

@@ -36,7 +36,7 @@
         <el-col :span="12" style="padding: 0">
           <el-form-item label="标准类型:" prop="type">
             <DictSelection
-              dictName="检标准类型"
+              dictName="检标准类型"
               v-model="form.type"
               :disabled="type == 'detail'"
             ></DictSelection>
@@ -115,7 +115,7 @@
               :key="item.name"
             >
               <el-table
-                v-show="activeName == '检项'"
+                v-show="activeName == '检项'"
                 style="margin-top: 15px"
                 :data="form.parameterStandards"
                 border
@@ -218,7 +218,7 @@
                 </el-table-column>
               </el-table>
               <el-table
-                v-show="activeName == '检点'"
+                v-show="activeName == '检点'"
                 style="margin-top: 15px"
                 :data="form.linePoints"
                 border
@@ -345,13 +345,13 @@
         processSubmitDialogFlag: false,
         activeComp: 'main',
         tabOptions: [
-          { key: 'main', name: '检标准详情' },
+          { key: 'main', name: '检标准详情' },
           { key: 'bpm', name: '流程详情' }
         ],
         // 表单数据
         form: { ...defaultForm() },
-        activeName: '检项',
-        activeList: [{ name: '检项' }, { name: '检点' }],
+        activeName: '检项',
+        activeList: [{ name: '检项' }, { name: '检点' }],
         // 表单验证规则
         rules: {
           name: [{ required: true, message: '请输入', trigger: 'blur' }],
@@ -401,7 +401,7 @@
         this.$refs.edit.open(type, row);
       },
       choose(data) {
-        if (this.activeName == '检点') {
+        if (this.activeName == '检点') {
           this.form.linePoints = data;
           return;
         }
@@ -422,7 +422,7 @@
         this.form.parameterStandards.push(obj);
       },
       add() {
-        if (this.activeName == '检点') {
+        if (this.activeName == '检点') {
           this.$refs.equipmentDialogRef.open(
             this.form.linePoints.map((item) => item.id)
           );

+ 3 - 3
src/views/inspectionStandard/components/standardDialog.vue

@@ -143,7 +143,7 @@ export default {
           label: '编码'
         },
         {
-          label: '检项名称',
+          label: '检项名称',
           prop: 'inspectionName'
         },
 
@@ -155,7 +155,7 @@ export default {
         //   }
         // },
         {
-          label: '检标准',
+          label: '检标准',
           prop: 'inspectionStandard',
           formatter: (row, column, cellValue) => {
             return row.symbol + ' ' + cellValue + ' ' + row.unit;
@@ -163,7 +163,7 @@ export default {
         },
 
         // {
-        //   label: '检工具',
+        //   label: '检工具',
         //   prop: 'inspectionTool'
         // },
         {

+ 7 - 7
src/views/inspectionTemplate/AddorUpdate.vue

@@ -109,7 +109,7 @@
       </el-row>
       <el-row>
         <el-col :span="24">
-          <div class="title"> 检参数标准</div>
+          <div class="title"> 检参数标准</div>
         </el-col>
       </el-row>
       <el-row>
@@ -142,7 +142,7 @@
         </el-col>
         <el-col style="width: 430px">
           <el-form-item
-            label="检报告有效期"
+            label="检报告有效期"
             prop="validityPeriod"
             label-width="150px"
           >
@@ -178,7 +178,7 @@
         >
           <template v-slot:toolbar v-if="type != 'view'">
             <el-button @click="handAdd(1)" size="mini" type="primary"
-              >新增检项</el-button
+              >新增检项</el-button
             >
           </template>
 
@@ -334,7 +334,7 @@
           <template v-slot:action="{ row, $index }" v-if="type != 'view'">
             <el-popconfirm
               class="ele-action"
-              title="确定要删除当前检项吗?"
+              title="确定要删除当前检项吗?"
               @confirm="handDel($index, 1)"
             >
               <template v-slot:reference>
@@ -462,7 +462,7 @@
         type: '',
         activeComp: 'main',
         tabOptions: [
-          { key: 'main', name: '检方案详情' },
+          { key: 'main', name: '检方案详情' },
           { key: 'bpm', name: '流程详情' }
         ],
         dataForm: {
@@ -508,7 +508,7 @@
           },
           {
             prop: 'categoryLevelClassName',
-            label: '检类型',
+            label: '检类型',
             align: 'center',
             minWidth: 150
           },
@@ -645,7 +645,7 @@
           ],
 
           qualitySchemeTemplateName: [
-            { required: true, message: '请输入检方案名称', trigger: 'blur' }
+            { required: true, message: '请输入检方案名称', trigger: 'blur' }
           ],
           status: [
             {

+ 2 - 2
src/views/inspectionWork/components/inspectionWorkDialog.vue

@@ -120,7 +120,7 @@
             showOverflowTooltip: true
           },
           {
-            label: '检方式',
+            label: '检方式',
             prop: 'qualityMode',
             slot: 'qualityMode',
             align: 'center',
@@ -301,7 +301,7 @@
             placeholder: ''
           },
           {
-            label: '检人:',
+            label: '检人:',
             value: 'qualityName',
             type: 'input',
             placeholder: ''

+ 13 - 13
src/views/inspectionWork/components/inspectionWorkList.vue

@@ -132,7 +132,7 @@
             $hasPermission('qms:quality_work_order:qualityInspectionSend')
           "
           @click="qualityInspectionSend(row, 1)"
-          >检派单</el-link
+          >检派单</el-link
         >
         <el-link
           type="primary"
@@ -143,7 +143,7 @@
             $hasPermission('qms:quality_work_order:request')
           "
           @click="qualityInspectionSend(row, 2)"
-          >检请托</el-link
+          >检请托</el-link
         >
 
         <el-link
@@ -162,7 +162,7 @@
             row.status == 1 &&
             $hasPermission('qms:quality_work_order:qualityReport')
           "
-          text="检报告"
+          text="检报告"
           :businessId="row.id"
           businessCode="qmsqualityinspectionprint"
         ></jimureportBrowse>
@@ -176,7 +176,7 @@
             $hasPermission('qms:quality_work_order:generateReport')
           "
         >
-          <el-link type="primary" :underline="false">生成检报告</el-link>
+          <el-link type="primary" :underline="false">生成检报告</el-link>
           <el-dropdown-menu slot="dropdown">
             <el-dropdown-item
               v-for="item in reportTemplateList"
@@ -205,7 +205,7 @@
           type="primary"
           :underline="false"
           @click="openReport(row)"
-          >查看检报告</el-link
+          >查看检报告</el-link
         >
         <!-- 质检报告审批  -->
         <el-link
@@ -218,7 +218,7 @@
           type="primary"
           :underline="false"
           @click="reportApprovalSubmit(row)"
-          >检报告审批</el-link
+          >检报告审批</el-link
         >
 
         <el-popconfirm
@@ -390,7 +390,7 @@
           },
           {
             prop: 'code',
-            label: '检工单编码',
+            label: '检工单编码',
             slot: 'code',
             align: 'center',
             width: 180,
@@ -399,7 +399,7 @@
           },
           {
             prop: 'name',
-            label: '检工单名称',
+            label: '检工单名称',
             align: 'center',
             width: 120,
             showOverflowTooltip: true
@@ -421,7 +421,7 @@
             showOverflowTooltip: true
           },
           {
-            label: '检方式',
+            label: '检方式',
             prop: 'qualityMode',
             slot: 'qualityMode',
             align: 'center',
@@ -453,7 +453,7 @@
           },
           {
             prop: 'qualityTime',
-            label: '检时间',
+            label: '检时间',
             align: 'center',
             width: 120,
             showOverflowTooltip: true
@@ -693,7 +693,7 @@
             placeholder: ''
           },
           {
-            label: '检方式:',
+            label: '检方式:',
             value: 'qualityMode',
             type: 'DictSelection',
             dictName: '取样类型',
@@ -712,7 +712,7 @@
             placeholder: ''
           },
           {
-            label: '检人:',
+            label: '检人:',
             value: 'qualityName',
             type: 'input',
             placeholder: ''
@@ -834,7 +834,7 @@
             variables: {
               businessCode: res.code,
               businessName: res.name,
-              businessType: '检报告单'
+              businessType: '检报告单'
             }
           };
           if (this.clientEnvironmentId == 5) {