|
|
|
@ -22,7 +22,10 @@ import { Dialog } from '@/components/Dialog'
|
|
|
|
|
import { getWidth } from '@/utils';
|
|
|
|
|
import Detail from './components/Detail.vue'
|
|
|
|
|
import { Upload } from '@/components/Upload'
|
|
|
|
|
|
|
|
|
|
import { useRoute } from 'vue-router';
|
|
|
|
|
const route = useRoute();
|
|
|
|
|
const pageQuery = ref(route || null);
|
|
|
|
|
const modelCode = pageQuery.value?.query?.modelCode;
|
|
|
|
|
const { t } = useI18n()
|
|
|
|
|
|
|
|
|
|
const ids = ref<string[]>([])
|
|
|
|
@ -119,7 +122,8 @@ const searchSchema = reactive<FormSchema[]>([
|
|
|
|
|
field: 'modelCode',
|
|
|
|
|
label: '模型编码',
|
|
|
|
|
componentProps: {},
|
|
|
|
|
component: 'Input'
|
|
|
|
|
component: 'Input',
|
|
|
|
|
value:modelCode
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'modelName',
|
|
|
|
@ -146,7 +150,7 @@ const setSearchParams = (data: any) => {
|
|
|
|
|
searchParams.value = data
|
|
|
|
|
getList()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
setSearchParams({modelCode:modelCode});
|
|
|
|
|
const dialogVisible = ref(false)
|
|
|
|
|
const dialogTitle = ref('')
|
|
|
|
|
|
|
|
|
|