Commit 4ff3acad956a6dcb868802b3470a03adbf340e59
1 parent
f6233d0f
页面布局默认样式修改
Signed-off-by: TanYibin <5491541@qq.com>
Showing
5 changed files
with
21 additions
and
43 deletions
ant-design-vue-jeecg/src/components/page/GlobalLayout.vue
... | ... | @@ -403,7 +403,7 @@ body { |
403 | 403 | |
404 | 404 | .logo.top-nav-header { |
405 | 405 | text-align: center; |
406 | - width: 56px; | |
406 | + width: 58px; | |
407 | 407 | line-height: 58px; |
408 | 408 | } |
409 | 409 | } |
... | ... | @@ -470,10 +470,10 @@ body { |
470 | 470 | display: flex; |
471 | 471 | |
472 | 472 | .logo.top-nav-header { |
473 | - width: 165px; | |
474 | - height: 64px; | |
473 | + width: 160px; | |
474 | + height: 58px; | |
475 | 475 | position: relative; |
476 | - line-height: 64px; | |
476 | + line-height: 58px; | |
477 | 477 | transition: all .3s; |
478 | 478 | overflow: hidden; |
479 | 479 | |
... | ... |
ant-design-vue-jeecg/src/defaultSettings.js
... | ... | @@ -15,11 +15,11 @@ |
15 | 15 | |
16 | 16 | export default { |
17 | 17 | primaryColor: '#1890FF', // primary color of ant design |
18 | - navTheme: 'light', // theme for nav menu | |
18 | + navTheme: 'dark', // theme for nav menu | |
19 | 19 | layout: 'sidemenu', // nav menu position: sidemenu or topmenu |
20 | 20 | contentWidth: 'Fixed', // layout of content: Fluid or Fixed, only works when layout is topmenu |
21 | 21 | fixedHeader: false, // sticky header |
22 | - fixSiderbar: false, // sticky siderbar | |
22 | + fixSiderbar: true, // sticky siderbar | |
23 | 23 | autoHideHeader: false, // auto hide header |
24 | 24 | colorWeak: false, |
25 | 25 | multipage: true, //默认多页签模式 |
... | ... |
ant-design-vue-jeecg/src/views/system/UserList.vue
... | ... | @@ -290,7 +290,7 @@ export default { |
290 | 290 | title: '所属仓库', |
291 | 291 | align: "center", |
292 | 292 | dataIndex: 'selectedWarehouses', |
293 | - width: 300, | |
293 | + width: 240, | |
294 | 294 | key: 'selectedWarehouses', |
295 | 295 | scopedSlots: {customRender: 'selectedWarehouses'} |
296 | 296 | }, |
... | ... | @@ -298,7 +298,7 @@ export default { |
298 | 298 | title: '所属库区', |
299 | 299 | align: "center", |
300 | 300 | dataIndex: 'zoneCodes', |
301 | - width: 300, | |
301 | + width: 240, | |
302 | 302 | key: 'zoneCodes', |
303 | 303 | scopedSlots: {customRender: 'zoneCodes'} |
304 | 304 | }, |
... | ... |
ant-design-vue-jeecg/src/views/system/inventory/subTables/InventoryDetailSubTable.vue
... | ... | @@ -18,7 +18,6 @@ |
18 | 18 | :dataSource="dataSource" |
19 | 19 | :pagination="ipagination" |
20 | 20 | :loading="loading" |
21 | - :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" | |
22 | 21 | @change="handleTableChange"> |
23 | 22 | |
24 | 23 | <span slot="inventoryStatus_dictText" slot-scope="inventoryStatus_dictText"> |
... | ... | @@ -92,9 +91,9 @@ export default { |
92 | 91 | columns: [ |
93 | 92 | { |
94 | 93 | title: '库存详情ID', |
95 | - | |
96 | 94 | align: 'center', |
97 | - dataIndex: 'id' | |
95 | + dataIndex: 'id', | |
96 | + fixed: 'left', | |
98 | 97 | }, |
99 | 98 | { |
100 | 99 | title: '货主', |
... | ... | @@ -124,6 +123,11 @@ export default { |
124 | 123 | dataIndex: 'containerCode' |
125 | 124 | }, |
126 | 125 | { |
126 | + title: '序列号', | |
127 | + align: 'center', | |
128 | + dataIndex: 'sn' | |
129 | + }, | |
130 | + { | |
127 | 131 | title: '物料编码', |
128 | 132 | align: 'center', |
129 | 133 | dataIndex: 'materialCode' |
... | ... | @@ -165,11 +169,6 @@ export default { |
165 | 169 | dataIndex: 'batch' |
166 | 170 | }, |
167 | 171 | { |
168 | - title: '序列号', | |
169 | - align: 'center', | |
170 | - dataIndex: 'sn' | |
171 | - }, | |
172 | - { | |
173 | 172 | title: '入库日期', |
174 | 173 | align: "center", |
175 | 174 | dataIndex: 'receiptDate' |
... | ... | @@ -198,10 +197,12 @@ export default { |
198 | 197 | title: '更新日期', |
199 | 198 | align: 'center', |
200 | 199 | dataIndex: 'updateTime' |
201 | - }, | |
200 | + } | |
202 | 201 | ], |
203 | 202 | url: { |
204 | - importUrl: "/inventory/inventoryHeader/importInventoryDetail", | |
203 | + list: '/InventoryMaterialSummary/inventoryMaterialSummary/inventoryMaterialSummaryChild', | |
204 | + exportXlsUrl: '/InventoryMaterialSummary/inventoryMaterialSummary/exportXls', | |
205 | + importExcelUrl: 'InventoryMaterialSummary/inventoryMaterialSummary/importExcel' | |
205 | 206 | }, |
206 | 207 | dictOptions: { |
207 | 208 | containerStatus: [] |
... | ... |
ant-design-vue-jeecg/src/views/system/task/AgvTaskList.vue
... | ... | @@ -89,35 +89,12 @@ |
89 | 89 | </a-tag> |
90 | 90 | </span> |
91 | 91 | |
92 | - <template slot="htmlSlot" slot-scope="text"> | |
93 | - <div v-html="text"></div> | |
94 | - </template> | |
95 | - <template slot="imgSlot" slot-scope="text"> | |
96 | - <span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span> | |
97 | - <img v-else :src="getImgView(text)" height="25px" alt="" | |
98 | - style="max-width:80px;font-size: 12px;font-style: italic;"/> | |
99 | - </template> | |
100 | - <template slot="fileSlot" slot-scope="text"> | |
101 | - <span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span> | |
102 | - <a-button | |
103 | - v-else | |
104 | - :ghost="true" | |
105 | - type="primary" | |
106 | - icon="download" | |
107 | - size="small" | |
108 | - @click="downloadFile(text)">下载 | |
109 | - </a-button> | |
110 | - </template> | |
111 | - | |
112 | 92 | <span slot="action" slot-scope="text, record"> |
113 | 93 | <a v-if="record.status == 1" v-has="'agvTask:executeTask'" @click="executeAgvTask(record)"> |
114 | 94 | <a-button type="primary">执行</a-button><a-divider type="vertical"/></a> |
115 | - | |
116 | - <a-popconfirm v-if="record.status < 100" title="确定删除吗?" v-has="'agvTask:delete'" | |
117 | - @confirm="() => handleDelete(record.id)"> | |
118 | - <a><a-button type="danger">取消</a-button> <a-divider type="vertical"/></a> | |
95 | + <a-popconfirm v-if="record.status < 100" title="确定删除吗?" v-has="'agvTask:delete'" @confirm="() => handleDelete(record.id)"> | |
96 | + <a><a-button type="danger">取消</a-button><a-divider type="vertical"/></a> | |
119 | 97 | </a-popconfirm> |
120 | - | |
121 | 98 | <a-dropdown> |
122 | 99 | <a class="ant-dropdown-link">更多 <a-icon type="down"/></a> |
123 | 100 | <a-menu slot="overlay"> |
... | ... |