Browse Source

fix:因数据库instant_cfg更改字段,group_view更改表名,修改相关实体

pull/72/head
xjf 1 month ago
parent
commit
c56ea87b6d
  1. 7
      src/views/run/instant/CreateModal.vue

7
src/views/run/instant/CreateModal.vue

@ -9,7 +9,7 @@ import {BasicModal, useModalInner} from '@/components/Modal'
import {BasicForm, useForm} from '@/components/Form'
import {getModelVersionList} from '@/api/alert/run/model/index'
import {getCalcGroupList} from '@/api/alert/run/calcgroup/index'
import {createInstant} from '@/api/alert/run/instant/index'
import {createInstant, InstantVO} from '@/api/alert/run/instant/index'
import {useMessage} from '@/hooks/web/useMessage'
const emit = defineEmits(['success'])
@ -134,7 +134,8 @@ async function updatempName(selectedRowKeys, selectedRows) {
const calcGroupList = [] as any
// //
calcGroupData.forEach((item) => {
calcGroupList.push({label: item.groupName, value: item.id})
console.log(item)
calcGroupList.push({label: item.groupName, value: item.groupId})
})
//
@ -167,7 +168,7 @@ async function CompleteCreate() {
// confirmLoading
setModalProps({confirmLoading: true, loading: true})
const values = await validate()
const values = await validate()
console.log(values)
// if (unref(isUpdate)) {
// await updateDemo02Category(values)

Loading…
Cancel
Save