|
@@ -5,11 +5,11 @@
|
|
|
<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.contentname"></a-input>
|
|
|
+ <a-form-item label="巡检项目名称">
|
|
|
+ <a-input placeholder="请输入巡检项目名称" v-model="queryParam.contentname"></a-input>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
- <a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
+ <!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
<a-form-item label="设备id">
|
|
|
<a-input placeholder="请输入设备id" v-model="queryParam.equipmentid"></a-input>
|
|
|
</a-form-item>
|
|
@@ -20,7 +20,7 @@
|
|
|
<a-input placeholder="请选择状态" v-model="queryParam.status"></a-input>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
- </template>
|
|
|
+ </template> -->
|
|
|
<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>
|
|
@@ -39,7 +39,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>
|
|
@@ -140,7 +140,7 @@
|
|
|
},
|
|
|
data () {
|
|
|
return {
|
|
|
- description: '巡检内容管理页面',
|
|
|
+ description: '巡检项目管理页面',
|
|
|
// 表头
|
|
|
columns: [
|
|
|
{
|
|
@@ -154,17 +154,17 @@
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- title:'巡检内容编号',
|
|
|
+ title:'巡检项目编号',
|
|
|
align:"center",
|
|
|
dataIndex: 'contentcode'
|
|
|
},
|
|
|
{
|
|
|
- title:'巡检内容名称',
|
|
|
+ title:'巡检项目名称',
|
|
|
align:"center",
|
|
|
dataIndex: 'contentname'
|
|
|
},
|
|
|
{
|
|
|
- title:'巡检内容名称',
|
|
|
+ title:'巡检项目名称',
|
|
|
align:"center",
|
|
|
dataIndex: 'classification_dictText'
|
|
|
},
|
|
@@ -243,8 +243,8 @@
|
|
|
},
|
|
|
getSuperFieldList(){
|
|
|
let fieldList=[];
|
|
|
- fieldList.push({type:'string',value:'contentcode',text:'巡检内容编号',dictCode:''})
|
|
|
- fieldList.push({type:'string',value:'contentname',text:'巡检内容名称',dictCode:''})
|
|
|
+ fieldList.push({type:'string',value:'contentcode',text:'巡检项目编号',dictCode:''})
|
|
|
+ fieldList.push({type:'string',value:'contentname',text:'巡检项目名称',dictCode:''})
|
|
|
fieldList.push({type:'string',value:'equipmentid',text:'设备id',dictCode:''})
|
|
|
fieldList.push({type:'string',value:'status',text:'状态:启用:0、禁用:1',dictCode:''})
|
|
|
fieldList.push({type:'string',value:'remark',text:'备注',dictCode:''})
|