设备名称

This commit is contained in:
sjl
2025-01-14 10:03:44 +08:00
parent 9039ed4bdc
commit 69de6dd7a3
3 changed files with 9 additions and 5 deletions

View File

@@ -19,6 +19,6 @@ VITE_API_URL=/api
# 开发环境跨域代理,支持配置多个
VITE_PROXY=[["/api","http://192.168.1.125:18092/"]]
VITE_PROXY=[["/api","http://192.168.1.124:18092/"]]
#VITE_PROXY=[["/api","http://192.168.1.125:18092/"]]
# VITE_PROXY=[["/api","http://192.168.1.138:8080/"]]张文

View File

@@ -73,10 +73,11 @@ const columns = reactive<ColumnProps<Device.ResPqDev>[]>([
{
prop: 'name',
label: '名称',
isShow: appSceneStore.currentScene != '1',
...(appSceneStore.currentScene != '1' ? {
search: { el: 'input' },
} : {}),
// isShow: appSceneStore.currentScene != '1',
// ...(appSceneStore.currentScene != '1' ? {
// search: { el: 'input' },
// } : {}),
minWidth: 200,
},
{

View File

@@ -44,6 +44,9 @@ import ValueTypePopup from './components/valueTypePopup.vue'
} from '@/api/device/testScript/index'
import { computed, reactive, ref } from 'vue'
import { useModeStore } from '@/stores/modules/mode'; // 引入模式 store
// defineOptions({
// name: 'machine/testScript'
// })
const comparisonPopup = ref()
const testScriptPopup = ref()
const valueTypePopup = ref()