Merge branch 'develop-business-css' of http://121.37.111.42:3000/ThbTech/JavaProjectRepo into development-business-css
This commit is contained in:
commit
6a27d4d7d0
@ -8,7 +8,7 @@ export default {
|
||||
import { onMounted, ref, nextTick } from "vue";
|
||||
import { ElForm, ElMessage, ElMessageBox } from "element-plus";
|
||||
import { searchAlgorithmsPage,addAlgorithms,updateAlgorithms} from "@/api/business/algorithm";
|
||||
|
||||
import { getActiveAlgorithms } from "@/api/business/scenario";
|
||||
import { searchAlgorithmsModelPage, deleteAlgorithmModels,deleteBatchAlgorithmModels,algorithmModels } from "@/api/business/algorithmModel";
|
||||
|
||||
import Page from '@/components/Pagination/page.vue'
|
||||
@ -68,16 +68,11 @@ function gettableData() {
|
||||
}
|
||||
|
||||
function getAlgorithmList() {
|
||||
let params = {
|
||||
name: "",
|
||||
pageNum: 1,
|
||||
pageSize: 999,
|
||||
};
|
||||
loading.value = true;
|
||||
searchAlgorithmsPage(params).then((result:any) => {
|
||||
algorithmData.value = result.records;
|
||||
|
||||
getActiveAlgorithms().then((result:any) => {
|
||||
algorithmData.value = result;
|
||||
}).catch((err) => {
|
||||
});
|
||||
});
|
||||
}
|
||||
//表格多选事件
|
||||
function handleSelectionChange(val: any) {
|
||||
|
||||
@ -10,6 +10,7 @@ import { ElForm, ElMessage, ElMessageBox,FormRules } from "element-plus";
|
||||
import { addAlgorithms,deleteAlgorithms,trainAlgorithmsPage,trainPublish,trainStatus} from "@/api/algorithml";
|
||||
import { useUserStore } from '@/store/modules/user';
|
||||
import { searchAlgorithmsPage,algorithmsType } from "@/api/business/algorithm";
|
||||
import { getActiveAlgorithms } from "@/api/business/scenario";
|
||||
import { getDictItemById } from '@/api/dict';
|
||||
import { getToken } from '@/utils/auth'
|
||||
// @ts-ignore
|
||||
@ -70,14 +71,8 @@ function gettableData() {
|
||||
|
||||
const algorithmData: any = ref([]);
|
||||
function getAlgorithmList() { // 获取算法列表
|
||||
let params = {
|
||||
name: "",
|
||||
pageNum: 1,
|
||||
pageSize: 999,
|
||||
};
|
||||
loading.value = false;
|
||||
searchAlgorithmsPage(params).then((result:any) => {
|
||||
algorithmData.value = result.records;
|
||||
getActiveAlgorithms().then((result:any) => {
|
||||
algorithmData.value = result
|
||||
|
||||
}).catch((err:any) => {
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user