|
@ -10,6 +10,19 @@ |
|
|
</a-form-item> |
|
|
</a-form-item> |
|
|
</a-col> |
|
|
</a-col> |
|
|
|
|
|
|
|
|
|
|
|
<a-col :xl="6" :lg="7" :md="8" :sm="24"> |
|
|
|
|
|
<a-form-item label="工人id"> |
|
|
|
|
|
<a-input placeholder="请输入工人id" v-model="queryParam.workId"></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.bossId"></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="老板名"> |
|
|
<a-form-item label="老板名"> |
|
|
<a-input placeholder="请输入老板名" v-model="queryParam.userName"></a-input> |
|
|
<a-input placeholder="请输入老板名" v-model="queryParam.userName"></a-input> |
|
@ -32,8 +45,8 @@ |
|
|
</a-form-item> |
|
|
</a-form-item> |
|
|
</a-col> |
|
|
</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="订单状态 0待聘用 1 已接单 2 进行中 3试工完成 4 企业确认 5已支付 6已完成 7已取消"> |
|
|
|
|
|
<j-dict-select-tag placeholder="请选择订单状态 0待聘用 1 已接单 2 进行中 3试工完成 4 企业确认 5已支付 6已完成 7已取消" v-model="queryParam.orderStatus" dictCode="order_status"/> |
|
|
|
|
|
|
|
|
<a-form-item label="订单状态"> |
|
|
|
|
|
<j-dict-select-tag placeholder="请选择订单状态" v-model="queryParam.orderStatus" dictCode="order_status"/> |
|
|
</a-form-item> |
|
|
</a-form-item> |
|
|
</a-col> |
|
|
</a-col> |
|
|
</template> |
|
|
</template> |
|
@ -52,22 +65,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
<!-- 查询区域-END --> |
|
|
<!-- 查询区域-END --> |
|
|
|
|
|
|
|
|
<!-- 操作按钮区域 --> |
|
|
|
|
|
<div class="table-operator"> |
|
|
|
|
|
<a-button @click="handleAdd" type="primary" icon="plus">新增</a-button> |
|
|
|
|
|
<a-button type="primary" icon="download" @click="handleExportXls('tb_order')">导出</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> |
|
|
|
|
|
<!-- 高级查询区域 --> |
|
|
|
|
|
<j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery"></j-super-query> |
|
|
|
|
|
<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> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- table区域-begin --> |
|
|
<!-- table区域-begin --> |
|
|
<div> |
|
|
<div> |
|
@ -165,16 +163,27 @@ |
|
|
return parseInt(index)+1; |
|
|
return parseInt(index)+1; |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
|
|
|
title:'订单id', |
|
|
|
|
|
align:"center", |
|
|
|
|
|
dataIndex: 'id' |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
title:'订单id', |
|
|
|
|
|
align:"center", |
|
|
|
|
|
dataIndex: 'id' |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
title:'老板id', |
|
|
|
|
|
align:"center", |
|
|
|
|
|
dataIndex: 'bossId' |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
title:'老板名', |
|
|
title:'老板名', |
|
|
align:"center", |
|
|
align:"center", |
|
|
dataIndex: 'userName' |
|
|
dataIndex: 'userName' |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
title:'工人id', |
|
|
|
|
|
align:"center", |
|
|
|
|
|
dataIndex: 'workId' |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
title:'工人名', |
|
|
title:'工人名', |
|
|
align:"center", |
|
|
align:"center", |
|
@ -196,7 +205,7 @@ |
|
|
dataIndex: 'workerAddress' |
|
|
dataIndex: 'workerAddress' |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
title:'出行方式 0出租车 1 网约车 2 公交地铁 3无', |
|
|
|
|
|
|
|
|
title:'出行方式', |
|
|
align:"center", |
|
|
align:"center", |
|
|
dataIndex: 'travelType_dictText' |
|
|
dataIndex: 'travelType_dictText' |
|
|
}, |
|
|
}, |
|
@ -257,52 +266,52 @@ |
|
|
dataIndex: 'workTime' |
|
|
dataIndex: 'workTime' |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
title:'订单状态 0待聘用 1 已接单 2 进行中 3试工完成 4 企业确认 5已支付 6已完成 7已取消', |
|
|
|
|
|
|
|
|
title:'订单状态', |
|
|
align:"center", |
|
|
align:"center", |
|
|
dataIndex: 'orderStatus_dictText' |
|
|
dataIndex: 'orderStatus_dictText' |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
title:'结算方式 0提前支付 1 试用后支付', |
|
|
|
|
|
|
|
|
title:'结算方式', |
|
|
align:"center", |
|
|
align:"center", |
|
|
dataIndex: 'payType_dictText' |
|
|
dataIndex: 'payType_dictText' |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
title:'付款金额(元)、', |
|
|
|
|
|
|
|
|
title:'付款金额(元)', |
|
|
align:"center", |
|
|
align:"center", |
|
|
dataIndex: 'payMoney' |
|
|
dataIndex: 'payMoney' |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
title:'支付方式 0微信支付 1 余额支付', |
|
|
|
|
|
|
|
|
title:'支付方式', |
|
|
align:"center", |
|
|
align:"center", |
|
|
dataIndex: 'moneyType_dictText' |
|
|
dataIndex: 'moneyType_dictText' |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
title:'保险费(元)、', |
|
|
|
|
|
|
|
|
title:'保险费(元)', |
|
|
align:"center", |
|
|
align:"center", |
|
|
dataIndex: 'premium' |
|
|
dataIndex: 'premium' |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
title:'交通费用金额(元)、', |
|
|
|
|
|
|
|
|
title:'交通费用金额(元)', |
|
|
align:"center", |
|
|
align:"center", |
|
|
dataIndex: 'travelMoney' |
|
|
dataIndex: 'travelMoney' |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
title:'试工费用金额(元)、', |
|
|
|
|
|
|
|
|
title:'试工费用金额(元)', |
|
|
align:"center", |
|
|
align:"center", |
|
|
dataIndex: 'workMoney' |
|
|
dataIndex: 'workMoney' |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
title:'总金额(元)、', |
|
|
|
|
|
|
|
|
title:'总金额(元)', |
|
|
align:"center", |
|
|
align:"center", |
|
|
dataIndex: 'amount' |
|
|
dataIndex: 'amount' |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
title:'平台手续费(元)、', |
|
|
|
|
|
|
|
|
title:'平台手续费(元)', |
|
|
align:"center", |
|
|
align:"center", |
|
|
dataIndex: 'rateMoney' |
|
|
dataIndex: 'rateMoney' |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
title:'平台手续费率)、', |
|
|
|
|
|
|
|
|
title:'平台手续费率', |
|
|
align:"center", |
|
|
align:"center", |
|
|
dataIndex: 'rate' |
|
|
dataIndex: 'rate' |
|
|
}, |
|
|
}, |
|
@ -342,6 +351,10 @@ |
|
|
let fieldList=[]; |
|
|
let fieldList=[]; |
|
|
fieldList.push({type:'string',value:'userName',text:'老板名',dictCode:''}) |
|
|
fieldList.push({type:'string',value:'userName',text:'老板名',dictCode:''}) |
|
|
fieldList.push({type:'string',value:'workName',text:'工人名',dictCode:''}) |
|
|
fieldList.push({type:'string',value:'workName',text:'工人名',dictCode:''}) |
|
|
|
|
|
fieldList.push({type:'string',value:'workId',text:'工人id',dictCode:''}) |
|
|
|
|
|
fieldList.push({type:'string',value:'bossId',text:'老板id',dictCode:''}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fieldList.push({type:'string',value:'title',text:'工作标题',dictCode:''}) |
|
|
fieldList.push({type:'string',value:'title',text:'工作标题',dictCode:''}) |
|
|
fieldList.push({type:'string',value:'companyName',text:'公司名称',dictCode:''}) |
|
|
fieldList.push({type:'string',value:'companyName',text:'公司名称',dictCode:''}) |
|
|
fieldList.push({type:'string',value:'workerAddress',text:'工人出发地址',dictCode:''}) |
|
|
fieldList.push({type:'string',value:'workerAddress',text:'工人出发地址',dictCode:''}) |
|
|