-
diff --git a/src/views/run/instant/detail1.vue b/src/views/run/instant/detail1.vue
new file mode 100644
index 0000000..a6f4521
--- /dev/null
+++ b/src/views/run/instant/detail1.vue
@@ -0,0 +1,200 @@
+
+
+
+
+
+
+
+ {{ basicInfo.mpName }}
+
+
+ {{ basicInfo.createName }}
+
+
+ {{ moment(basicInfo.createTime).format("YYYY-MM-DD HH:mm:ss") }}
+
+
+ {{ basicInfo.updateName }}
+
+
+ {{ moment(basicInfo.updateTime).format("YYYY-MM-DD HH:mm:ss") }}
+
+
+ {{ basicInfo.algorithmShortname }}
+
+
+ {{ modelInfo.sampling }}
+
+
+ {{ pointInfo.length }}
+
+
+ {{ modelInfo.rate }}
+
+
+ {{ modelInfo.principal }}
+
+
+ {{ modelInfo.precision }}
+
+
+
+
+
+
+
+ {{ record.mpName }}
+
+
+
+
+
+
+
+
+
+
+ 故障配置
+
+
+
+
+
+
+
+
+
+
+
From 4085803c0436a012f1219170762288d487e60531 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=82=96=E6=99=8B=E9=A3=9E?= <378266566@qq.com>
Date: Fri, 19 Dec 2025 18:37:40 +0800
Subject: [PATCH 06/24] =?UTF-8?q?fix:=E5=88=9B=E5=BB=BA=E5=AE=9E=E4=BE=8B?=
=?UTF-8?q?=E7=9A=84modal=E5=88=9D=E5=A7=8B=E5=8C=96=E9=97=AE=E9=A2=98?=
=?UTF-8?q?=E8=A7=A3=E5=86=B3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/run/instant/CreateModal.vue | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
diff --git a/src/views/run/instant/CreateModal.vue b/src/views/run/instant/CreateModal.vue
index a0b280d..630f162 100644
--- a/src/views/run/instant/CreateModal.vue
+++ b/src/views/run/instant/CreateModal.vue
@@ -20,15 +20,25 @@ const props = defineProps({
default: true,
}
})
-
+const current = ref
(0)
const {createMessage} = useMessage()
const {t} = useI18n()
+const state = reactive({
+ selectedRowKeys: [],
+ selectedData: [],
+ pointInfo: [],
+ type: false,
+})
const [registerCreateModal, {setModalProps, closeModal}] = useModalInner(async (data) => {
+ resetFields()
+ current.value=0;
+ state.selectedRowKeys=[];
+ state.selectedData=[];
setModalProps({destroyOnClose: true, showCancelBtn: false, showOkBtn: false})
})
-const current = ref(0)
+
function next() {
current.value++
@@ -85,12 +95,6 @@ watch(() => props.isDisabled, (newVal) => {
}
}, {immediate: true}) // immediate设置为true,确保组件初始化时也会执行一次
-const state = reactive({
- selectedRowKeys: [],
- selectedData: [],
- pointInfo: [],
- type: false,
-})
async function updatempName(selectedRowKeys, selectedRows) {
console.log(selectedRowKeys)
From 7e2a566381142c8f43133e3b6afbd850c74360ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=82=96=E6=99=8B=E9=A3=9E?= <378266566@qq.com>
Date: Fri, 19 Dec 2025 18:43:25 +0800
Subject: [PATCH 07/24] =?UTF-8?q?fix:=E5=88=9B=E5=BB=BA=E5=AE=9E=E4=BE=8B?=
=?UTF-8?q?=E7=9A=84modal=E5=88=9D=E5=A7=8B=E5=8C=96=E9=97=AE=E9=A2=98?=
=?UTF-8?q?=E8=A7=A3=E5=86=B3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/run/instant/CreateModal.vue | 35 ++++++++++++---------------
src/views/run/instant/index.vue | 2 +-
2 files changed, 17 insertions(+), 20 deletions(-)
diff --git a/src/views/run/instant/CreateModal.vue b/src/views/run/instant/CreateModal.vue
index 630f162..a3650d4 100644
--- a/src/views/run/instant/CreateModal.vue
+++ b/src/views/run/instant/CreateModal.vue
@@ -14,12 +14,12 @@ import {useMessage} from '@/hooks/web/useMessage'
const emit = defineEmits(['success'])
-const props = defineProps({
- isDisabled: {
- type: Boolean,
- default: true,
- }
-})
+// const props = defineProps({
+// isDisabled: {
+// type: Boolean,
+// default: true,
+// }
+// })
const current = ref(0)
const {createMessage} = useMessage()
const {t} = useI18n()
@@ -31,15 +31,13 @@ const state = reactive({
})
const [registerCreateModal, {setModalProps, closeModal}] = useModalInner(async (data) => {
- resetFields()
+ await resetFields()
current.value=0;
state.selectedRowKeys=[];
state.selectedData=[];
setModalProps({destroyOnClose: true, showCancelBtn: false, showOkBtn: false})
})
-
-
function next() {
current.value++
}
@@ -70,7 +68,6 @@ const [registerForm, {validate, resetFields, setFieldsValue, updateSchema, setPr
showSubmitButton: false,
showResetButton: false,
layout: 'horizontal',
-
actionColOptions: {span: 2},
disabled: true,
})
@@ -86,15 +83,15 @@ const instantForm = reactive({
})
// 本地isDisabled变量
-const isDisabled = ref(true)
+// const isDisabled = ref(true)
// 监听父组件传递的isDisabled属性变化
-watch(() => props.isDisabled, (newVal) => {
- if (newVal !== undefined) {
- isDisabled.value = newVal
- }
-}, {immediate: true}) // immediate设置为true,确保组件初始化时也会执行一次
-
+// watch(() => props.isDisabled, (newVal) => {
+// if (newVal !== undefined) {
+// isDisabled.value = newVal
+// }
+// }, {immediate: true}) // immediate设置为true,确保组件初始化时也会执行一次
+//
async function updatempName(selectedRowKeys, selectedRows) {
console.log(selectedRowKeys)
@@ -118,10 +115,10 @@ async function updatempName(selectedRowKeys, selectedRows) {
// 下一步按钮的禁用与启用
isDisabled.value = selectedRows.length === 0
if (selectedRows.length === 0)
- setProps({disabled: true})
+ await setProps({disabled: true})
else
- setProps({disabled: false})
+ await setProps({disabled: false})
instantForm.modelId = selectedRows.length !== 0 ? `${selectedRows[0].modelId}` : ``
diff --git a/src/views/run/instant/index.vue b/src/views/run/instant/index.vue
index 51a7518..8dccb3e 100644
--- a/src/views/run/instant/index.vue
+++ b/src/views/run/instant/index.vue
@@ -245,7 +245,7 @@ function handleWarnConfig(record: Recordable) {
-
+
From be3fdc201ae9b952ef6e1bf63cdd3231d222cdde Mon Sep 17 00:00:00 2001
From: xjf <378266566@qq.com>
Date: Sat, 20 Dec 2025 00:02:32 +0800
Subject: [PATCH 08/24] =?UTF-8?q?fix:=E5=88=9B=E5=BB=BA=E6=A8=A1=E5=9E=8B?=
=?UTF-8?q?=E5=AE=9E=E4=BE=8B=E5=BC=B9=E7=AA=97bug=E4=BF=AE=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/run/instant/CreateModal.vue | 129 +++++++++++---------------
src/views/run/instant/index.vue | 2 +-
src/views/run/instant/instant.data.ts | 2 +-
src/views/run/model/ModelTable.vue | 3 +
src/views/run/model/model.data.ts | 2 +-
5 files changed, 62 insertions(+), 76 deletions(-)
diff --git a/src/views/run/instant/CreateModal.vue b/src/views/run/instant/CreateModal.vue
index a0b280d..440504a 100644
--- a/src/views/run/instant/CreateModal.vue
+++ b/src/views/run/instant/CreateModal.vue
@@ -14,21 +14,26 @@ import {useMessage} from '@/hooks/web/useMessage'
const emit = defineEmits(['success'])
-const props = defineProps({
- isDisabled: {
- type: Boolean,
- default: true,
- }
-})
-
const {createMessage} = useMessage()
const {t} = useI18n()
+const current = ref