|
@@ -18,20 +18,20 @@
|
|
|
</a-upload> -->
|
|
|
<!-- 高级查询区域 -->
|
|
|
<!-- <j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery"></j-super-query> -->
|
|
|
- <a-dropdown v-if="selectedRowKeys.length > 0">
|
|
|
+ <!-- <a-dropdown v-if="selectedRowKeys.length > 0">
|
|
|
<a-menu slot="overlay">
|
|
|
<a-menu-item key="1" @click="batchDel"><a-icon type="delete"/>删除</a-menu-item>
|
|
|
</a-menu>
|
|
|
<a-button style="margin-left: 8px"> 批量操作 <a-icon type="down" /></a-button>
|
|
|
- </a-dropdown>
|
|
|
+ </a-dropdown> -->
|
|
|
</div>
|
|
|
|
|
|
<!-- table区域-begin -->
|
|
|
<div>
|
|
|
- <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
|
|
|
+ <!-- <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
|
|
|
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>项
|
|
|
<a style="margin-left: 24px" @click="onClearSelected">清空</a>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
|
|
|
<a-table
|
|
|
ref="table"
|
|
@@ -43,7 +43,6 @@
|
|
|
:dataSource="dataSource"
|
|
|
:pagination="ipagination"
|
|
|
:loading="loading"
|
|
|
- :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
|
|
|
class="j-table-force-nowrap"
|
|
|
@change="handleTableChange">
|
|
|
|
|
@@ -68,10 +67,11 @@
|
|
|
</template>
|
|
|
|
|
|
<span slot="action" slot-scope="text, record">
|
|
|
- <a @click="handleEdit(record)">编辑</a>
|
|
|
+ <a @click="handleEdit(record)">反馈</a>
|
|
|
+ <!-- <a @click="handleEdit(record)">编辑</a> -->
|
|
|
|
|
|
- <a-divider type="vertical" />
|
|
|
- <a-dropdown>
|
|
|
+ <!-- <a-divider type="vertical" /> -->
|
|
|
+ <!-- <a-dropdown>
|
|
|
<a class="ant-dropdown-link">更多 <a-icon type="down" /></a>
|
|
|
<a-menu slot="overlay">
|
|
|
<a-menu-item>
|
|
@@ -83,7 +83,7 @@
|
|
|
</a-popconfirm>
|
|
|
</a-menu-item>
|
|
|
</a-menu>
|
|
|
- </a-dropdown>
|
|
|
+ </a-dropdown> -->
|
|
|
</span>
|
|
|
|
|
|
</a-table>
|
|
@@ -122,35 +122,30 @@
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- title:'备注',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'remark'
|
|
|
- },
|
|
|
- {
|
|
|
title:'保养工单编号',
|
|
|
align:"center",
|
|
|
dataIndex: 'upkeepcode'
|
|
|
},
|
|
|
- {
|
|
|
- title:'保养名称(标题)',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'upkeepname'
|
|
|
- },
|
|
|
- {
|
|
|
- title:'保养计划ID',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'upkeepplanid'
|
|
|
- },
|
|
|
- {
|
|
|
- title:'保养工作项目ID',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'upkeepprojid'
|
|
|
- },
|
|
|
- {
|
|
|
- title:'工作项目名称',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'projectname'
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title:'保养名称(标题)',
|
|
|
+ // align:"center",
|
|
|
+ // dataIndex: 'upkeepname'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title:'保养计划ID',
|
|
|
+ // align:"center",
|
|
|
+ // dataIndex: 'upkeepplanid'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title:'保养工作项目ID',
|
|
|
+ // align:"center",
|
|
|
+ // dataIndex: 'upkeepprojid'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title:'工作项目名称',
|
|
|
+ // align:"center",
|
|
|
+ // dataIndex: 'projectname'
|
|
|
+ // },
|
|
|
{
|
|
|
title:'计划名称',
|
|
|
align:"center",
|
|
@@ -161,46 +156,51 @@
|
|
|
align:"center",
|
|
|
dataIndex: 'address'
|
|
|
},
|
|
|
- {
|
|
|
- title:'厂商名称',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'supplier'
|
|
|
- },
|
|
|
- {
|
|
|
- title:'厂商电话',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'suppliertel'
|
|
|
- },
|
|
|
- {
|
|
|
- title:'联系人',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'linker'
|
|
|
- },
|
|
|
- {
|
|
|
- title:'联系人电话',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'linkertel'
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title:'厂商名称',
|
|
|
+ // align:"center",
|
|
|
+ // dataIndex: 'supplier'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title:'厂商电话',
|
|
|
+ // align:"center",
|
|
|
+ // dataIndex: 'suppliertel'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title:'联系人',
|
|
|
+ // align:"center",
|
|
|
+ // dataIndex: 'linker'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title:'联系人电话',
|
|
|
+ // align:"center",
|
|
|
+ // dataIndex: 'linkertel'
|
|
|
+ // },
|
|
|
{
|
|
|
title:'负责人',
|
|
|
align:"center",
|
|
|
- dataIndex: 'chargeruser'
|
|
|
- },
|
|
|
- {
|
|
|
- title:'描述',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'upkeepdesc'
|
|
|
+ dataIndex: 'chargeruser_dict'
|
|
|
},
|
|
|
+ // {
|
|
|
+ // title:'描述',
|
|
|
+ // align:"center",
|
|
|
+ // dataIndex: 'upkeepdesc'
|
|
|
+ // },
|
|
|
{
|
|
|
title:'状态:0待处理、1已通知、2未执行、3未完成、4已完成',
|
|
|
align:"center",
|
|
|
- dataIndex: 'status'
|
|
|
+ dataIndex: 'status_dict'
|
|
|
},
|
|
|
{
|
|
|
- title:'处理意见',
|
|
|
+ title:'备注',
|
|
|
align:"center",
|
|
|
- dataIndex: 'opinion'
|
|
|
+ dataIndex: 'remark'
|
|
|
},
|
|
|
+ // {
|
|
|
+ // title:'处理意见',
|
|
|
+ // align:"center",
|
|
|
+ // dataIndex: 'opinion'
|
|
|
+ // },
|
|
|
{
|
|
|
title: '操作',
|
|
|
dataIndex: 'action',
|