|
|
@@ -98,7 +98,7 @@
|
|
|
-->
|
|
|
|
|
|
<el-dropdown @command="handleGenerateCommand" :disabled="runLoading || takePictureLoading" >
|
|
|
- <el-button :disabled="runLoading || takePictureLoading" size="small" plain >高级生成</el-button>
|
|
|
+ <el-button :disabled="runLoading || takePictureLoading" size="small" plain style="margin-right: 5px" >高级生成</el-button>
|
|
|
<template #dropdown>
|
|
|
<el-dropdown-menu>
|
|
|
<el-dropdown-item
|
|
|
@@ -200,8 +200,7 @@ import {useRouter} from "vue-router";
|
|
|
import HardwareCheck from '@/components/check/index.vue'
|
|
|
import checkInfo from "@/stores/modules/check";
|
|
|
import RemoteControl from '@/views/RemoteControl/index'
|
|
|
-import generate,{openGaenrate} from '@/utils/menus/generate'
|
|
|
-
|
|
|
+import generate from '@/utils/menus/generate'
|
|
|
|
|
|
const loading = ref(false)
|
|
|
const runLoading = ref(false)
|
|
|
@@ -820,11 +819,15 @@ function openPhotographyDetail() {
|
|
|
|
|
|
/*高级生成*/
|
|
|
const onGenerateCLick = (menu,item)=>{
|
|
|
+ if(menu.name === '历史记录'){
|
|
|
+
|
|
|
+ menu.click()
|
|
|
+ return
|
|
|
+ }
|
|
|
const firstWithImagePath = item.items.find(
|
|
|
(image) => image.PhotoRecord.image_path
|
|
|
);
|
|
|
|
|
|
- console.log(firstWithImagePath.PhotoRecord.image_path);
|
|
|
if (firstWithImagePath) {
|
|
|
menu.click({
|
|
|
query:{
|