|
@@ -317,18 +317,33 @@
|
|
: 'scrollbar-demo-item'
|
|
: 'scrollbar-demo-item'
|
|
"
|
|
"
|
|
>
|
|
>
|
|
- <router-link :to="{ name: item.name }" replace>
|
|
|
|
|
|
+ <template v-if="item.name != '自动测试'">
|
|
|
|
+ <router-link :to="{ name: item.name }" replace>
|
|
|
|
+ <div
|
|
|
|
+ :class="getNameClass(index)"
|
|
|
|
+ class="typeBox"
|
|
|
|
+ @click="setSelectIndex(index)"
|
|
|
|
+ >
|
|
|
|
+ <div class="svgIcon">
|
|
|
|
+ <svg-icon :icon-class="item.iconName" size="30" />
|
|
|
|
+ </div>
|
|
|
|
+ <div class="name">{{ item.compentName }}</div>
|
|
|
|
+ </div>
|
|
|
|
+ </router-link>
|
|
|
|
+ </template>
|
|
|
|
+ <template v-else>
|
|
<div
|
|
<div
|
|
:class="getNameClass(index)"
|
|
:class="getNameClass(index)"
|
|
class="typeBox"
|
|
class="typeBox"
|
|
- @click="setSelectIndex(index)"
|
|
|
|
|
|
+ style="cursor: pointer"
|
|
|
|
+ @click="toCese"
|
|
>
|
|
>
|
|
<div class="svgIcon">
|
|
<div class="svgIcon">
|
|
<svg-icon :icon-class="item.iconName" size="30" />
|
|
<svg-icon :icon-class="item.iconName" size="30" />
|
|
</div>
|
|
</div>
|
|
<div class="name">{{ item.compentName }}</div>
|
|
<div class="name">{{ item.compentName }}</div>
|
|
</div>
|
|
</div>
|
|
- </router-link>
|
|
|
|
|
|
+ </template>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</el-scrollbar>
|
|
</el-scrollbar>
|
|
@@ -1312,6 +1327,12 @@ import PDFViewFull from "@/components/PDFViewFull/index.vue";
|
|
defineOptions({
|
|
defineOptions({
|
|
name: "ProSteps",
|
|
name: "ProSteps",
|
|
});
|
|
});
|
|
|
|
+const toCese = () => {
|
|
|
|
+ if (componentsDisabled.value) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ window.open("http://192.168.1.3:8085", "_blank");
|
|
|
|
+};
|
|
const boxNo = ref(null);
|
|
const boxNo = ref(null);
|
|
const PDFShow = ref(false);
|
|
const PDFShow = ref(false);
|
|
const baseUrl = import.meta.env.VITE_APP_UPLOAD_URL;
|
|
const baseUrl = import.meta.env.VITE_APP_UPLOAD_URL;
|
|
@@ -1724,12 +1745,6 @@ const qrCode = ref(null);
|
|
const stepComponents = ref([]);
|
|
const stepComponents = ref([]);
|
|
const defaultComponents = [
|
|
const defaultComponents = [
|
|
{
|
|
{
|
|
- compentName: "ESOP",
|
|
|
|
- iconName: "ESOP",
|
|
|
|
- path: "esop",
|
|
|
|
- name: "Esop",
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
compentName: "物料采集",
|
|
compentName: "物料采集",
|
|
iconName: "wuliaocaiji",
|
|
iconName: "wuliaocaiji",
|
|
path: "wuliaocaiji",
|
|
path: "wuliaocaiji",
|
|
@@ -1748,10 +1763,10 @@ const defaultComponents = [
|
|
name: "Excel",
|
|
name: "Excel",
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- compentName: "工序检验",
|
|
|
|
|
|
+ compentName: "自动测试",
|
|
iconName: "shebeijilu",
|
|
iconName: "shebeijilu",
|
|
path: "jianyan",
|
|
path: "jianyan",
|
|
- name: "Jianyan",
|
|
|
|
|
|
+ name: "自动测试",
|
|
},
|
|
},
|
|
{
|
|
{
|
|
compentName: "设备点检",
|
|
compentName: "设备点检",
|
|
@@ -1759,6 +1774,12 @@ const defaultComponents = [
|
|
path: "dianjian",
|
|
path: "dianjian",
|
|
name: "Dianjian",
|
|
name: "Dianjian",
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ compentName: "工序检验",
|
|
|
|
+ iconName: "jingu",
|
|
|
|
+ path: "jianyan",
|
|
|
|
+ name: "Jianyan",
|
|
|
|
+ },
|
|
];
|
|
];
|
|
//当前路由在setpComponents中的index
|
|
//当前路由在setpComponents中的index
|
|
const selectIndex = ref(null);
|
|
const selectIndex = ref(null);
|