|
@@ -4,6 +4,26 @@
|
|
|
<div class="table-page-search-wrapper">
|
|
|
<a-form layout="inline" @keyup.enter.native="searchQuery">
|
|
|
<a-row :gutter="24">
|
|
|
+ <a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
+ <a-form-item label="名称">
|
|
|
+ <a-input placeholder="请输入名称" v-model="queryParam.itemname"></a-input>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
+ <a-form-item label="设备类型ID(设备定义)">
|
|
|
+ <a-input placeholder="请输入设备类型ID(设备定义)" v-model="queryParam.equipdefid"></a-input>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
+ <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
|
|
+ <a-button type="primary" @click="searchQuery" icon="search">查询</a-button>
|
|
|
+ <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">重置</a-button>
|
|
|
+ <a @click="handleToggleSearch" style="margin-left: 8px">
|
|
|
+ {{ toggleSearchStatus ? '收起' : '展开' }}
|
|
|
+ <a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
|
|
|
+ </a>
|
|
|
+ </span>
|
|
|
+ </a-col>
|
|
|
</a-row>
|
|
|
</a-form>
|
|
|
</div>
|
|
@@ -112,7 +132,7 @@
|
|
|
// 表头
|
|
|
columns: [
|
|
|
{
|
|
|
- title: '#',
|
|
|
+ title: '序号',
|
|
|
dataIndex: '',
|
|
|
key:'rowIndex',
|
|
|
width:60,
|
|
@@ -122,11 +142,6 @@
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- title:'备注',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'remark'
|
|
|
- },
|
|
|
- {
|
|
|
title:'巡检项编号',
|
|
|
align:"center",
|
|
|
dataIndex: 'itemcode'
|
|
@@ -137,29 +152,34 @@
|
|
|
dataIndex: 'itemname'
|
|
|
},
|
|
|
{
|
|
|
- title:'设备类型ID(设备定义)',
|
|
|
+ title:'设备类型',
|
|
|
align:"center",
|
|
|
dataIndex: 'equipdefid'
|
|
|
},
|
|
|
+ // {
|
|
|
+ // title:'条件(字典中定义)',
|
|
|
+ // align:"center",
|
|
|
+ // dataIndex: 'conditions'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title:'参考值',
|
|
|
+ // align:"center",
|
|
|
+ // dataIndex: 'refervalue'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title:'标签(多个用逗号隔开)',
|
|
|
+ // align:"center",
|
|
|
+ // dataIndex: 'tag'
|
|
|
+ // },
|
|
|
{
|
|
|
- title:'条件(字典中定义)',
|
|
|
+ title:'巡检标准',
|
|
|
align:"center",
|
|
|
- dataIndex: 'conditions'
|
|
|
+ dataIndex: 'inspectionstandards'
|
|
|
},
|
|
|
{
|
|
|
- title:'参考值',
|
|
|
+ title:'巡检项类型',
|
|
|
align:"center",
|
|
|
- dataIndex: 'refervalue'
|
|
|
- },
|
|
|
- {
|
|
|
- title:'标签(多个用逗号隔开)',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'tag'
|
|
|
- },
|
|
|
- {
|
|
|
- title:'所属部门',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'sysOrgCode'
|
|
|
+ dataIndex: 'classification'
|
|
|
},
|
|
|
{
|
|
|
title: '操作',
|
|
@@ -168,7 +188,12 @@
|
|
|
fixed:"right",
|
|
|
width:147,
|
|
|
scopedSlots: { customRender: 'action' }
|
|
|
- }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'备注',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'remark'
|
|
|
+ },
|
|
|
],
|
|
|
url: {
|
|
|
list: "/cmmsInspectItem/cmmsInspectItem/list",
|
|
@@ -195,7 +220,6 @@
|
|
|
},
|
|
|
getSuperFieldList(){
|
|
|
let fieldList=[];
|
|
|
- fieldList.push({type:'string',value:'id',text:'巡检项ID',dictCode:''})
|
|
|
fieldList.push({type:'string',value:'remark',text:'备注',dictCode:''})
|
|
|
fieldList.push({type:'string',value:'itemcode',text:'巡检项编号',dictCode:''})
|
|
|
fieldList.push({type:'string',value:'itemname',text:'名称',dictCode:''})
|
|
@@ -203,7 +227,8 @@
|
|
|
fieldList.push({type:'string',value:'conditions',text:'条件(字典中定义)',dictCode:''})
|
|
|
fieldList.push({type:'string',value:'refervalue',text:'参考值',dictCode:''})
|
|
|
fieldList.push({type:'string',value:'tag',text:'标签(多个用逗号隔开)',dictCode:''})
|
|
|
- fieldList.push({type:'string',value:'sysOrgCode',text:'所属部门',dictCode:''})
|
|
|
+ fieldList.push({type:'string',value:'inspectionstandards',text:'巡检标准',dictCode:''})
|
|
|
+ fieldList.push({type:'string',value:'classification',text:'分类:0环境1设备2其他',dictCode:''})
|
|
|
this.superFieldList = fieldList
|
|
|
}
|
|
|
}
|