Commit 55808231eab5125f30019733a2408e0f7f4d5bcc

Authored by 谭毅彬
1 parent cbe19d70

操作查询页/入库单下发页展示优化

Signed-off-by: TanYibin <5491541@qq.com>
ant-design-vue-jeecg/src/views/system/monitor/OperationLog.vue
@@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
6 <a-row :gutter="24"> 6 <a-row :gutter="24">
7 <a-col :xl="6" :lg="7" :md="8" :sm="24"> 7 <a-col :xl="6" :lg="7" :md="8" :sm="24">
8 <a-form-item label="业务ID"> 8 <a-form-item label="业务ID">
9 - <a-input placeholder="请输入业务ID" v-model="queryParam.bizId"></a-input> 9 + <j-input placeholder="请输入业务ID" v-model="queryParam.bizId"></j-input>
10 </a-form-item> 10 </a-form-item>
11 </a-col> 11 </a-col>
12 <a-col :xl="6" :lg="7" :md="8" :sm="24"> 12 <a-col :xl="6" :lg="7" :md="8" :sm="24">
@@ -19,22 +19,30 @@ @@ -19,22 +19,30 @@
19 <j-multi-select-tag placeholder="请选择业务标签" v-model="queryParam.bizTag" dictCode="operation_log_tag"/> 19 <j-multi-select-tag placeholder="请选择业务标签" v-model="queryParam.bizTag" dictCode="operation_log_tag"/>
20 </a-form-item> 20 </a-form-item>
21 </a-col> 21 </a-col>
22 - <template v-if="toggleSearchStatus">  
23 <a-col :xl="6" :lg="7" :md="8" :sm="24"> 22 <a-col :xl="6" :lg="7" :md="8" :sm="24">
24 <a-form-item label="操作内容"> 23 <a-form-item label="操作内容">
25 <j-input placeholder="请输入操作内容" v-model="queryParam.operationMsg"></j-input> 24 <j-input placeholder="请输入操作内容" v-model="queryParam.operationMsg"></j-input>
26 </a-form-item> 25 </a-form-item>
27 </a-col> 26 </a-col>
28 - </template> 27 + <a-col :xl="10" :lg="11" :md="12" :sm="24">
  28 + <a-form-item label="创建日期">
  29 + <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择开始时间"
  30 + class="query-group-cust" v-model="queryParam.operationTime_begin"></j-date>
  31 + <span class="query-group-split-cust"></span>
  32 + <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择结束时间"
  33 + class="query-group-cust" v-model="queryParam.operationTime_end"></j-date>
  34 + </a-form-item>
  35 + </a-col>
  36 + <a-col :xl="6" :lg="7" :md="8" :sm="24">
  37 + <a-form-item label="操作结果状态">
  38 + <a-input placeholder="请输入操作结果状态容" v-model="queryParam.operationStatus"></a-input>
  39 + </a-form-item>
  40 + </a-col>
29 <a-col :xl="6" :lg="7" :md="8" :sm="24"> 41 <a-col :xl="6" :lg="7" :md="8" :sm="24">
30 <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons"> 42 <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
31 <a-button type="primary" @click="searchQuery" icon="search">查询</a-button> 43 <a-button type="primary" @click="searchQuery" icon="search">查询</a-button>
32 <a-button type="primary" @click="handleExportXls('操作记录')" icon="download" style="margin-left: 8px">导出</a-button> 44 <a-button type="primary" @click="handleExportXls('操作记录')" icon="download" style="margin-left: 8px">导出</a-button>
33 <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">重置</a-button> 45 <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">重置</a-button>
34 - <a @click="handleToggleSearch" style="margin-left: 8px">  
35 - {{ toggleSearchStatus ? '收起' : '展开' }}  
36 - <a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>  
37 - </a>  
38 </span> 46 </span>
39 </a-col> 47 </a-col>
40 </a-row> 48 </a-row>
ant-design-vue-jeecg/src/views/system/receipt/ReceiptContainerHeaderList.vue
@@ -14,13 +14,13 @@ @@ -14,13 +14,13 @@
14 <j-dict-select-tag placeholder="请选择任务类型" v-model="queryParam.taskType" dictCode="receipt_task_type"/> 14 <j-dict-select-tag placeholder="请选择任务类型" v-model="queryParam.taskType" dictCode="receipt_task_type"/>
15 </a-form-item> 15 </a-form-item>
16 </a-col> 16 </a-col>
  17 + <a-col :xl="6" :lg="7" :md="8" :sm="24">
  18 + <a-form-item label="状态">
  19 + <j-dict-select-tag placeholder="请选择状态" v-model="queryParam.status" dictCode="receipt_container_status"/>
  20 + </a-form-item>
  21 + </a-col>
17 <template v-if="toggleSearchStatus"> 22 <template v-if="toggleSearchStatus">
18 <a-col :xl="6" :lg="7" :md="8" :sm="24"> 23 <a-col :xl="6" :lg="7" :md="8" :sm="24">
19 - <a-form-item label="状态">  
20 - <j-dict-select-tag placeholder="请选择状态" v-model="queryParam.status" dictCode="receipt_container_status"/>  
21 - </a-form-item>  
22 - </a-col>  
23 - <a-col :xl="6" :lg="7" :md="8" :sm="24">  
24 <a-form-item label="起始库位"> 24 <a-form-item label="起始库位">
25 <a-input placeholder="请输入起始库位" v-model="queryParam.fromLocationCode"></a-input> 25 <a-input placeholder="请输入起始库位" v-model="queryParam.fromLocationCode"></a-input>
26 </a-form-item> 26 </a-form-item>
@@ -64,9 +64,8 @@ @@ -64,9 +64,8 @@
64 <div class="table-operator"> 64 <div class="table-operator">
65 <a-button v-has="'receiptContainerHeader:add'" @click="handleAdd" type="primary" icon="plus">新增</a-button> 65 <a-button v-has="'receiptContainerHeader:add'" @click="handleAdd" type="primary" icon="plus">新增</a-button>
66 <a-button type="primary" icon="download" @click="handleExportXls('入库组盘')">导出</a-button> 66 <a-button type="primary" icon="download" @click="handleExportXls('入库组盘')">导出</a-button>
67 - <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl"  
68 - @change="handleImportExcel">  
69 - <a-button type="primary" icon="import">导入</a-button> 67 + <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
  68 + <a-button type="primary" icon="import">导入</a-button>
70 </a-upload> 69 </a-upload>
71 <!-- 高级查询区域 --> 70 <!-- 高级查询区域 -->
72 <!-- <j-super-query :fieldList="superFieldList" ref="superQueryModal"--> 71 <!-- <j-super-query :fieldList="superFieldList" ref="superQueryModal"-->
@@ -75,12 +74,6 @@ @@ -75,12 +74,6 @@
75 74
76 <!-- table区域-begin --> 75 <!-- table区域-begin -->
77 <div> 76 <div>
78 - <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">  
79 - <i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a  
80 - style="font-weight: 600">{{ selectedRowKeys.length }}</a>项  
81 - <a style="margin-left: 24px" @click="onClearSelected">清空</a>  
82 - </div>  
83 -  
84 <a-table 77 <a-table
85 ref="table" 78 ref="table"
86 size="middle" 79 size="middle"
@@ -112,28 +105,19 @@ @@ -112,28 +105,19 @@
112 type="primary" 105 type="primary"
113 icon="download" 106 icon="download"
114 size="small" 107 size="small"
115 - @click="downloadFile(text)">  
116 - 下载 108 + @click="downloadFile(text)">下载
117 </a-button> 109 </a-button>
118 </template> 110 </template>
119 111
120 <span slot="action" slot-scope="text, record"> 112 <span slot="action" slot-scope="text, record">
121 - <a-divider type="vertical"/>  
122 <a v-if="record.status == 0 && record.taskType == 200" @click="selectPort(record)">生成任务</a> 113 <a v-if="record.status == 0 && record.taskType == 200" @click="selectPort(record)">生成任务</a>
123 <a v-else-if="record.status == 0" @click="createTask(record)">生成任务</a> 114 <a v-else-if="record.status == 0" @click="createTask(record)">生成任务</a>
124 <a-divider type="vertical"/> 115 <a-divider type="vertical"/>
125 <a-popconfirm v-if="record.status == 0" v-has="'receiptContainerHeader:delete'" title="确定取消配盘吗?" @confirm="() => handleDelete(record.id)"> 116 <a-popconfirm v-if="record.status == 0" v-has="'receiptContainerHeader:delete'" title="确定取消配盘吗?" @confirm="() => handleDelete(record.id)">
126 - <a>取消配盘</a> 117 + <a>取消配盘</a>
127 </a-popconfirm> 118 </a-popconfirm>
128 <a-divider type="vertical"/> 119 <a-divider type="vertical"/>
129 - <a-dropdown>  
130 - <a class="ant-dropdown-link">更多 <a-icon type="down"/></a>  
131 - <a-menu slot="overlay">  
132 - <a-menu-item>  
133 - <a v-has="'receiptContainerHeader:edit'" @click="handleEdit(record)">编辑</a>  
134 - </a-menu-item>  
135 - </a-menu>  
136 - </a-dropdown> 120 + <a v-has="'receiptContainerHeader:edit'" @click="handleEdit(record)">编辑</a>
137 </span> 121 </span>
138 122
139 </a-table> 123 </a-table>