|
@ -212,7 +212,7 @@ |
|
|
<el-table-column label="设置值" align="center" prop="setDefautvalue" :width="120" sortable/> |
|
|
<el-table-column label="设置值" align="center" prop="setDefautvalue" :width="120" sortable/> |
|
|
<el-table-column label="偏移量" align="center" prop="setAdjustvalue" :width="120" sortable/> |
|
|
<el-table-column label="偏移量" align="center" prop="setAdjustvalue" :width="120" sortable/> |
|
|
<el-table-column label="验证范围" align="center" prop="validateScope" :width="120" sortable/> |
|
|
<el-table-column label="验证范围" align="center" prop="validateScope" :width="120" sortable/> |
|
|
<el-table-column label="全局统一编码" align="center" prop="globalCode" :width="150" sortable/> |
|
|
<!-- <el-table-column label="全局统一编码" align="center" prop="globalCode" :width="150" sortable/> --> |
|
|
<el-table-column label="参数模版" align="center" prop="paramModelId" column-key="paramModelId" filter-placement="bottom-end" |
|
|
<el-table-column label="参数模版" align="center" prop="paramModelId" column-key="paramModelId" filter-placement="bottom-end" |
|
|
:filters="getfilterNameItem('paramModelId')" :filter-method="filterMethod" :width="120" sortable> |
|
|
:filters="getfilterNameItem('paramModelId')" :filter-method="filterMethod" :width="120" sortable> |
|
|
<template #default="scope"> |
|
|
<template #default="scope"> |
|
@ -277,7 +277,7 @@ |
|
|
<el-option |
|
|
<el-option |
|
|
v-for="dict in paramClassList" |
|
|
v-for="dict in paramClassList" |
|
|
:label="dict.paramClassName" |
|
|
:label="dict.paramClassName" |
|
|
:value=dict.id> |
|
|
:value=dict.paramClassCode> |
|
|
</el-option> |
|
|
</el-option> |
|
|
</el-select> |
|
|
</el-select> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
@ -337,11 +337,11 @@ |
|
|
<el-input v-model="form.validateScope" placeholder="请输入验证范围" /> |
|
|
<el-input v-model="form.validateScope" placeholder="请输入验证范围" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="12"> |
|
|
<!-- <el-col :span="12"> |
|
|
<el-form-item label="全局统一编码" prop="globalCode"> |
|
|
<el-form-item label="全局统一编码" prop="globalCode"> |
|
|
<el-input v-model="form.globalCode" :placeholder="hintMessage" disabled/> |
|
|
<el-input v-model="form.globalCode" :placeholder="hintMessage" disabled/> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> --> |
|
|
<el-col :span="12"> |
|
|
<el-col :span="12"> |
|
|
<el-form-item label="分区(字典)" prop="partion"> |
|
|
<el-form-item label="分区(字典)" prop="partion"> |
|
|
<el-select :disabled="partionDisabled" v-model="form.partion" placeholder="请选择分区(字典)" @change="partionChange"> |
|
|
<el-select :disabled="partionDisabled" v-model="form.partion" placeholder="请选择分区(字典)" @change="partionChange"> |
|
@ -497,17 +497,12 @@ function getList() { |
|
|
"pageSize": params.value.pageSize, |
|
|
"pageSize": params.value.pageSize, |
|
|
} |
|
|
} |
|
|
listWithFilterColumn(param).then(response => { |
|
|
listWithFilterColumn(param).then(response => { |
|
|
paramsList.value = response.data.tableData.rows; |
|
|
paramsList.value = response.data.tableData.rows; |
|
|
total.value = response.data.tableData.total; |
|
|
total.value = response.data.tableData.total; |
|
|
sortItemMap.value = response.data.filter; |
|
|
sortItemMap.value = response.data.filter; |
|
|
queryParamFilter.value = new Object(); |
|
|
queryParamFilter.value = new Object(); |
|
|
loading.value = false; |
|
|
loading.value = false; |
|
|
}); |
|
|
}); |
|
|
// listParams(queryParams.value).then(response => { |
|
|
|
|
|
// paramsList.value = response.rows; |
|
|
|
|
|
// total.value = response.total; |
|
|
|
|
|
// loading.value = false; |
|
|
|
|
|
// }); |
|
|
|
|
|
}else{ |
|
|
}else{ |
|
|
let param = { |
|
|
let param = { |
|
|
"obj":queryParams.value, |
|
|
"obj":queryParams.value, |
|
@ -523,11 +518,6 @@ function getList() { |
|
|
queryParamFilter.value = new Object(); |
|
|
queryParamFilter.value = new Object(); |
|
|
loading.value = false; |
|
|
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){ |
|
|
function getParamModelName(id){ |
|
|
|
|
|
let paramClassName = null; |
|
|
if(paramClassList.value.length == 0){ |
|
|
if(paramClassList.value.length == 0){ |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
paramClassList.value.forEach(item=>{ |
|
|
paramClassList.value.forEach(item=>{ |
|
|
if(item.id == id){ |
|
|
if(item.paramClassCode == id){ |
|
|
return item.getParamModelName; |
|
|
paramClassName = item.paramClassName; |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
|
|
|
return paramClassName; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
function checkedParamModel(val){ |
|
|
function checkedParamModel(val){ |
|
|