diff --git a/src/views/model/params/index.vue b/src/views/model/params/index.vue
index c3f94e7..e69c1e2 100644
--- a/src/views/model/params/index.vue
+++ b/src/views/model/params/index.vue
@@ -212,7 +212,7 @@
-
+
@@ -277,7 +277,7 @@
+ :value=dict.paramClassCode>
@@ -337,11 +337,11 @@
-
+
@@ -497,17 +497,12 @@ function getList() {
"pageSize": params.value.pageSize,
}
listWithFilterColumn(param).then(response => {
- paramsList.value = response.data.tableData.rows;
+ paramsList.value = response.data.tableData.rows;
total.value = response.data.tableData.total;
sortItemMap.value = response.data.filter;
queryParamFilter.value = new Object();
loading.value = false;
});
- // listParams(queryParams.value).then(response => {
- // paramsList.value = response.rows;
- // total.value = response.total;
- // loading.value = false;
- // });
}else{
let param = {
"obj":queryParams.value,
@@ -523,11 +518,6 @@ function getList() {
queryParamFilter.value = new Object();
loading.value = false;
});
- // listParams(queryParams.value).then(response => {
- // paramsList.value = response.rows;
- // total.value = response.total;
- // loading.value = false;
- // });
}
}
@@ -664,14 +654,16 @@ function getParamModel() {
}
function getParamModelName(id){
+ let paramClassName = null;
if(paramClassList.value.length == 0){
return;
}
paramClassList.value.forEach(item=>{
- if(item.id == id){
- return item.getParamModelName;
+ if(item.paramClassCode == id){
+ paramClassName = item.paramClassName;
}
})
+ return paramClassName;
}
function checkedParamModel(val){