|
@@ -11,11 +11,21 @@
|
|
|
</a-col>
|
|
|
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
<a-form-item label="设备类型">
|
|
|
- <a-input placeholder="请输入设备类型" v-model="queryParam.equipdefid"></a-input>
|
|
|
+ <!-- <a-input placeholder="请输入设备类型" v-model="queryParam.equipdefid"></a-input> -->
|
|
|
+ <j-tree-select
|
|
|
+ ref="treeSelect"
|
|
|
+ placeholder="请选择设备类型"
|
|
|
+ v-model="queryParam.equipdefid"
|
|
|
+ dict="tpm_equipment_tree,name,id"
|
|
|
+ pidField="parentid"
|
|
|
+ pidValue="0"
|
|
|
+ hasChildField="has_child"
|
|
|
+ >
|
|
|
+ </j-tree-select>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
- <a-form-item label="巡检项类型">
|
|
|
+ <a-form-item label="巡检标准类型">
|
|
|
<j-dict-select-tag type="list" v-model="queryParam.classification" dictCode="inspect_item_type" placeholder="请选择巡检类型" />
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
@@ -23,10 +33,10 @@
|
|
|
<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">
|
|
|
+ <!-- <a @click="handleToggleSearch" style="margin-left: 8px">
|
|
|
{{ toggleSearchStatus ? '收起' : '展开' }}
|
|
|
<a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
|
|
|
- </a>
|
|
|
+ </a> -->
|
|
|
</span>
|
|
|
</a-col>
|
|
|
</a-row>
|
|
@@ -37,7 +47,7 @@
|
|
|
<!-- 操作按钮区域 -->
|
|
|
<div class="table-operator">
|
|
|
<a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>
|
|
|
- <a-button type="primary" icon="download" @click="handleExportXls('巡检项')">导出</a-button>
|
|
|
+ <a-button type="primary" icon="download" @click="handleExportXls('巡检标准')">导出</a-button>
|
|
|
<a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
|
|
|
<a-button type="primary" icon="import">导入</a-button>
|
|
|
</a-upload>
|
|
@@ -141,7 +151,7 @@
|
|
|
},
|
|
|
data () {
|
|
|
return {
|
|
|
- description: '巡检项管理页面',
|
|
|
+ description: '巡检标准管理页面',
|
|
|
// 表头
|
|
|
columns: [
|
|
|
{
|
|
@@ -155,7 +165,7 @@
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- title:'巡检项编号',
|
|
|
+ title:'巡检标准编号',
|
|
|
align:"center",
|
|
|
dataIndex: 'itemcode'
|
|
|
},
|
|
@@ -190,7 +200,7 @@
|
|
|
dataIndex: 'inspectionstandards'
|
|
|
},
|
|
|
{
|
|
|
- title:'巡检项类型',
|
|
|
+ title:'巡检标准类型',
|
|
|
align:"center",
|
|
|
dataIndex: 'classification_dictText'
|
|
|
},
|
|
@@ -236,7 +246,7 @@
|
|
|
getSuperFieldList(){
|
|
|
let fieldList=[];
|
|
|
fieldList.push({type:'string',value:'remark',text:'备注',dictCode:''})
|
|
|
- fieldList.push({type:'string',value:'itemcode',text:'巡检项编号',dictCode:''})
|
|
|
+ fieldList.push({type:'string',value:'itemcode',text:'巡检标准编号',dictCode:''})
|
|
|
fieldList.push({type:'string',value:'itemname',text:'名称',dictCode:''})
|
|
|
fieldList.push({type:'string',value:'equipdefid',text:'设备类型ID(设备定义)',dictCode:''})
|
|
|
fieldList.push({type:'string',value:'conditions',text:'条件(字典中定义)',dictCode:''})
|