Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_vue
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
胡宝山
template_vue
Commits
a5a6b68d
Commit
a5a6b68d
authored
Jul 28, 2023
by
岑歆奕
Committed by
AiNoeLiYa
Jul 28, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化工序库的出入库记录页面布局
Signed-off-by:
AiNoeLiYa
<
jzbcxy@gmail.com
>
parent
c3a72b1d
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
326 additions
and
345 deletions
+326
-345
InventoryRecord.js
src/api/processLibrary/InventoryRecord.js
+1
-0
index.vue
src/components/Table/BaseTable/index.vue
+6
-46
index.vue
src/views/processManagement/inventoryRecord/index.vue
+315
-295
index.vue
src/views/system/user/index.vue
+4
-4
No files found.
src/api/processLibrary/InventoryRecord.js
View file @
a5a6b68d
import
request
from
'@/utils/request'
import
request
from
'@/utils/request'
export
function
listLog
(
queryParams
)
{
export
function
listLog
(
queryParams
)
{
console
.
log
(
'this is date:'
,
queryParams
.
dateRange
)
return
request
({
return
request
({
url
:
'/wbwarehouselog/queryWbWarehouseLogByPagination'
,
url
:
'/wbwarehouselog/queryWbWarehouseLogByPagination'
,
method
:
'get'
,
method
:
'get'
,
...
...
src/components/Table/BaseTable/index.vue
View file @
a5a6b68d
<
template
>
<
template
>
<div>
<div
style=
"padding:5px 10px"
>
<div
class=
"mb12 font-small-bold"
>
{{
allTableArguments
.
listName
}}
</div>
<div
class=
"mb12 font-small-bold"
>
{{
allTableArguments
.
listName
}}
</div>
<div
class=
"tableList"
style=
"height:600px;"
>
<div
class=
"tableList"
style=
"
height:600px;"
>
<el-scrollbar
style=
"height: 100%;"
>
<el-scrollbar
style=
"height: 100%;"
>
<el-table
<el-table
v-loading=
"allTableArguments.loading"
v-loading=
"allTableArguments.loading"
...
@@ -11,46 +11,6 @@
...
@@ -11,46 +11,6 @@
style=
"width: 100%"
style=
"width: 100%"
@
selection-change=
"handleSelectionChange"
@
selection-change=
"handleSelectionChange"
>
>
<!--
<el-table-column
type=
"index"
label=
"序号"
width=
"50"
:index=
"allTableArguments.nIndex"
/>
-->
<!--
<el-table-column
label=
"工序名称"
prop=
"processName"
:show-overflow-tooltip=
"true"
>
-->
<!--
<template
slot-scope=
"scope"
>
-->
<!--
{{
scope
.
row
.
processName
||
'-'
}}
-->
<!--
</
template
>
-->
<!-- </el-table-column>-->
<!-- <el-table-column label="生产车间" prop="workshop">-->
<!-- <template slot-scope="scope">-->
<!-- {{ scope.row.workshop || '-' }}-->
<!-- </template>-->
<!-- </el-table-column>-->
<!-- <el-table-column label="操作时间" :show-overflow-tooltip="true" align="center" prop="createTime">-->
<!-- <template slot-scope="scope">-->
<!-- <span>{{ scope.row.createTime | transformDateByFormat('YYYY-MM-DD HH:mm') }}</span>-->
<!-- </template>-->
<!-- </el-table-column>-->
<!-- <el-table-column label="操作人" prop="createBy" width="210px">-->
<!-- <template slot-scope="scope">-->
<!-- {{ scope.row.createBy || '-' }}-->
<!-- </template>-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- label="操作"-->
<!-- class-name="small-padding fixed-width"-->
<!-- width="180px"-->
<!-- >-->
<!-- <template slot-scope="scope">-->
<!-- <div class="processListBtns">-->
<!-- <el-button :type="typeParent" :size="size" @click="handleDetail(scope.row)">-->
<!-- 详情-->
<!-- </el-button>-->
<!-- <el-button :type="typeParent" :size="size" @click="handleUpdate(scope.row)">-->
<!-- 修改-->
<!-- </el-button>-->
<!-- <el-button :type="typeParent" :size="size" @click="handleDelete(scope.row)">-->
<!-- 删除-->
<!-- </el-button>-->
<!-- </div>-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column
type=
"index"
label=
"序号"
width=
"50"
:index=
"allTableArguments.nIndex"
/>
<el-table-column
type=
"index"
label=
"序号"
width=
"50"
:index=
"allTableArguments.nIndex"
/>
...
@@ -100,14 +60,14 @@
...
@@ -100,14 +60,14 @@
<!-- 操作按钮 -->
<!-- 操作按钮 -->
<span
v-if=
"column.isOperation"
class=
"processListBtns"
>
<span
v-if=
"column.isOperation"
class=
"processListBtns"
>
<span
v-for=
"(operations, index) in column.operation"
:key=
"index"
>
<span
v-for=
"(operations, index) in column.operation"
:key=
"index"
>
<el-button
v-if=
"operations.isShow(row,$index)"
:icon=
"operations.icon"
:type=
"typeParent"
:style=
"
{color:operations.color}" :size="size" @click="operations.buttonClick(row,$index)">
{{
operations
.
label
}}
</el-button>
<el-button
v-if=
" operations.clickType === '1' "
:icon=
"operations.icon"
:type=
"typeParent"
:style=
"
{color:operations.color}" :size="size" @click="handleDetail">
{{
operations
.
label
}}
</el-button>
<el-button
v-else-if=
" operations.clickType === '2' "
:icon=
"operations.icon"
:type=
"typeParent"
:style=
"
{color:operations.color}" :size="size" @click="handleUpdate">
{{
operations
.
label
}}
</el-button>
<el-button
v-else-if=
" operations.clickType === '3' "
:icon=
"operations.icon"
:type=
"typeParent"
:style=
"
{color:operations.color}" :size="size" @click="handleDelete">
{{
operations
.
label
}}
</el-button>
</span>
</span>
</span>
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
</el-scrollbar>
</el-scrollbar>
<div
/>
<div
/>
</div>
</div>
...
@@ -171,7 +131,7 @@ export default {
...
@@ -171,7 +131,7 @@ export default {
/* TODO: 这里是控制内容列表的样式 */
/* TODO: 这里是控制内容列表的样式 */
.processListBtns
{
.processListBtns
{
.el-button
{
.el-button
{
margin
:
0
7
px
;
margin
:
0
12
px
;
}
}
}
}
...
...
src/views/processManagement/inventoryRecord/index.vue
View file @
a5a6b68d
This diff is collapsed.
Click to expand it.
src/views/system/user/index.vue
View file @
a5a6b68d
...
@@ -184,8 +184,8 @@
...
@@ -184,8 +184,8 @@
<pagination
<pagination
v-show=
"total>0"
v-show=
"total>0"
:total=
"total"
:total=
"total"
:page
.
sync=
"queryParams.page
Num
"
:page
.
sync=
"queryParams.page"
:limit
.
sync=
"queryParams.
pageSize
"
:limit
.
sync=
"queryParams.
rows
"
@
pagination=
"getList"
@
pagination=
"getList"
/>
/>
</el-col>
</el-col>
...
@@ -529,8 +529,8 @@ export default {
...
@@ -529,8 +529,8 @@ export default {
},
},
// 查询参数
// 查询参数
queryParams
:
{
queryParams
:
{
page
Num
:
1
,
page
:
1
,
pageSize
:
10
,
rows
:
10
,
username
:
undefined
,
username
:
undefined
,
email
:
undefined
,
email
:
undefined
,
phone
:
undefined
,
phone
:
undefined
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment