Ver Fonte

电子图纸预览

wangxin há 10 meses atrás
pai
commit
90216627c9
1 ficheiros alterados com 10 adições e 9 exclusões
  1. 10 9
      src/views/business/drawingAuditing/index.vue

+ 10 - 9
src/views/business/drawingAuditing/index.vue

@@ -146,15 +146,6 @@
             />
             <el-table-column label="工序" prop="processAlias" align="center" />
             <el-table-column label="图纸" prop="drawingName" align="center">
-              <template #default="scope">
-                <el-button
-                  link
-                  type="primarypr"
-                  @click="handlePreview(scope.row)"
-                >
-                  <span>{{ scope.row.drawingName }}</span>
-                </el-button>
-              </template>
             </el-table-column>
             <el-table-column label="类型" prop="pattern" align="center" />
             <el-table-column
@@ -170,6 +161,13 @@
             <el-table-column label="制作人" prop="producer" align="center" />
             <el-table-column label="操作" width="150" align="center">
               <template #default="scope">
+                <el-button
+                  link
+                  type="primary"
+                  @click="handlePreview(scope.row)"
+                >
+                  预览
+                </el-button>
                 <el-button
                   v-hasPermi="['business:electronicDrawings:examine']"
                   link
@@ -220,6 +218,9 @@ import { getTechnologicalProcessDetails } from "@/api/business/technologicalProc
 const { proxy } = getCurrentInstance();
 const webHost = import.meta.env.VITE_APP_PRODUCTION_API;
 const hostIp = import.meta.env.VITE_HOST_IP;
+const hostUrl = import.meta.env.VITE_HOST_URL;
+const inNet = import.meta.env.VITE_HOST_INNET;
+const outNet = import.meta.env.VITE_HOST_OUTNET;
 /**字典数组 */
 const { equipment_status } = proxy.useDict("equipment_status");
 const { yes_no } = proxy.useDict("yes_no");