|
@@ -4,7 +4,7 @@
|
|
|
<template slot="searchItem1">
|
|
|
<span class="label">ID</span>
|
|
|
<el-input
|
|
|
- v-model="searchParams.algorithmCode"
|
|
|
+ v-model="searchParams.id"
|
|
|
size="small"
|
|
|
clearable
|
|
|
placeholder="请输入"
|
|
@@ -34,7 +34,7 @@
|
|
|
>
|
|
|
</el-input>
|
|
|
</template>
|
|
|
- <template slot="searchItem4">
|
|
|
+ <!--<template slot="searchItem4">
|
|
|
<span class="label">校验状态</span>
|
|
|
<el-select v-model="searchParams.validationStatus">
|
|
|
<el-option
|
|
@@ -44,7 +44,7 @@
|
|
|
:key="item.code"
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
- </template>
|
|
|
+ </template>-->
|
|
|
<template slot="searchBtn1">
|
|
|
<el-button type="primary" @click="doSearch">查询</el-button>
|
|
|
</template>
|
|
@@ -54,13 +54,13 @@
|
|
|
</search-layout>
|
|
|
|
|
|
<div class="myTabsBox myTabsBoxThreeTabs">
|
|
|
- <el-button
|
|
|
+ <!--<el-button
|
|
|
v-bind:class="{ addBtn: true}"
|
|
|
icon="el-icon-circle-plus-outline"
|
|
|
@click="addOne"
|
|
|
type="primary"
|
|
|
>新增</el-button
|
|
|
- >
|
|
|
+ >-->
|
|
|
</div>
|
|
|
|
|
|
<tableList
|
|
@@ -81,33 +81,31 @@ import searchLayout from "@/components/grid/searchLayout";
|
|
|
import tableList from "@/components/grid/TableList";
|
|
|
|
|
|
export default {
|
|
|
- name: "algorithmsLibraryList", // 平台算法
|
|
|
+ name: "algorithmsPlatformList", // 平台算法
|
|
|
components: { searchLayout, tableList },
|
|
|
data() {
|
|
|
return {
|
|
|
searchParams: {
|
|
|
//搜索参数
|
|
|
- algorithmCode: "", // ID
|
|
|
+ id: "", // ID
|
|
|
algorithmName: "", // 算法名称
|
|
|
description: "", // 算法描述
|
|
|
- validationStatus: "", // 校验状态
|
|
|
uploadMode: "", // 私有类型
|
|
|
},
|
|
|
validationStatusList: [],
|
|
|
getDataWay:{
|
|
|
-
|
|
|
//加载表格数据
|
|
|
dataType: "url",
|
|
|
type: "post",
|
|
|
// firstRequest: false,
|
|
|
- data: this.$api.algorithmsLibrary.selectSharedAlgorithmList,
|
|
|
+ data: this.$api.algorithmsLibrary.selectAlgoPlatformList,
|
|
|
param: {},
|
|
|
},
|
|
|
columns: [
|
|
|
//表格列
|
|
|
{
|
|
|
label: "ID",
|
|
|
- prop: "algorithmCode",
|
|
|
+ prop: "id",
|
|
|
},
|
|
|
{
|
|
|
label: "算法名称",
|
|
@@ -117,10 +115,6 @@ export default {
|
|
|
label: "算法描述",
|
|
|
prop: "description",
|
|
|
},
|
|
|
- {
|
|
|
- label: "校验状态",
|
|
|
- prop: "validationStatus",
|
|
|
- },
|
|
|
],
|
|
|
pagination: {
|
|
|
//分页使用
|
|
@@ -149,10 +143,9 @@ export default {
|
|
|
},
|
|
|
doReset() {
|
|
|
this.searchParams = {
|
|
|
- algorithmCode: "",
|
|
|
+ id: "",
|
|
|
algorithmName: "",
|
|
|
description: "",
|
|
|
- validationStatus: "",
|
|
|
uploadMode: "",
|
|
|
};
|
|
|
this.doSearch();
|
|
@@ -228,6 +221,6 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
.myTabsBox{
|
|
|
- min-height:99px;
|
|
|
+ min-height:29px;
|
|
|
}
|
|
|
</style>
|