feat: mpoint添加筛选

This commit is contained in:
caoqianming 2024-12-06 19:27:11 +08:00
parent 8c5f6b6cec
commit 5b1f9db6d8
2 changed files with 28 additions and 2 deletions

View File

@ -6,7 +6,7 @@ NODE_ENV = development
# VUE_APP_TITLE = '托克逊能源管理平台'
VUE_APP_TITLE = '中建材光子科技有限公司'
# VUE_APP_TITLE = '超低排放系统'
VUE_APP_PJ = 'gx'
VUE_APP_PJ = ''
# 接口地址
#VUE_APP_API_BASEURL = http://1.203.161.103:2800/api
@ -17,7 +17,7 @@ VUE_APP_PJ = 'gx'
#测试环境
# VUE_APP_API_BASEURL = http://10.50.211.228:2250/api
# VUE_APP_API_BASEURL = http://127.0.0.1:2226/api
# VUE_APP_API_BASEURL = http://127.0.0.1:226/api
# VUE_APP_BASEURL = http://10.50.211.228:2250/

View File

@ -23,6 +23,16 @@
>
</div>
<div class="right-panel">
<xtSelect
:apiObj="apiObjM"
:params="paramsM"
v-model="query.material"
style="width: 180px"
@change="handleQuery"
placeholder="计量物料"
>
<el-table-column label="名称" prop="name"></el-table-column>
</xtSelect>
<el-select
v-model="query.enabled"
placeholder="是否启用"
@ -37,6 +47,20 @@
:label="e.text"
></el-option>
</el-select>
<el-select
v-model="query.is_rep_mgroup"
placeholder="是否工段统计"
@change="handleQuery"
clearable
style="width: 100px"
>
<el-option
v-for="e in boolEnum.values"
:key="e.key"
:value="e.key"
:label="e.text"
></el-option>
</el-select>
<el-select
v-model="query.type"
placeholder="测点类型"
@ -335,6 +359,8 @@ export default {
save: false,
permission: false,
},
apiObjM: this.$API.mtm.material.list,
paramsM: {},
apiObj: this.$API.enm.mpoint.list,
apiObjMplog: null,
params: {},