zouyu
6 天以前 8a4e96f11329efda507799260b6b95ae9860df5f
src/views/qualityManagement/processInspection/index.vue
@@ -139,17 +139,17 @@
      }
    },
  },
   {
      label: "提交状态",
      prop: "inspectState",
      formatData: (params) => {
         if (params) {
            return "已提交";
         } else {
            return "未提交";
         }
      },
   },
   // {
   //    label: "提交状态",
   //    prop: "inspectState",
   //    formatData: (params) => {
   //       if (params) {
   //          return "已提交";
   //       } else {
   //          return "未提交";
   //       }
   //    },
   // },
  {
    dataType: "action",
    label: "操作",
@@ -174,16 +174,16 @@
          openFilesFormDia(row);
        },
      },
         {
            name: "提交",
            type: "text",
            clickFun: (row) => {
               submit(row.id);
            },
            disabled: (row) => {
               return row.inspectState == 1;
            }
         },
         // {
         //    name: "提交",
         //    type: "text",
         //    clickFun: (row) => {
         //       submit(row.id);
         //    },
         //    disabled: (row) => {
         //       return row.inspectState == 1;
         //    }
         // },
         {
            name: "分配检验员",
            type: "text",
@@ -344,13 +344,13 @@
         type: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
      })
      const downloadUrl = window.URL.createObjectURL(blob)
      const link = document.createElement('a')
      link.href = downloadUrl
      link.download = '过程检验报告.docx'
      document.body.appendChild(link)
      link.click()
      document.body.removeChild(link)
      window.URL.revokeObjectURL(downloadUrl)
   })