Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pmk-channel-vue
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
黄麒宇
pmk-channel-vue
Commits
6d47ab0e
Commit
6d47ab0e
authored
Dec 23, 2022
by
huangqy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
早上改了点逻辑
parent
8d428e7a
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
32 行增加
和
20 行删除
+32
-20
HomeView.vue
src/views/HomeView.vue
+12
-8
InTask.vue
src/views/InTask.vue
+6
-3
OutTask.vue
src/views/OutTask.vue
+6
-3
Query.vue
src/views/Query.vue
+2
-2
RFID.vue
src/views/RFID.vue
+2
-1
Setting.vue
src/views/Setting.vue
+4
-3
没有找到文件。
src/views/HomeView.vue
View file @
6d47ab0e
<
template
>
<el-tabs
:tab-position=
"tabPosition"
type=
"card"
:stretch=
"true"
class=
"menu-tabs"
>
<el-tabs
:tab-position=
"tabPosition"
type=
"card"
:stretch=
"true"
class=
"menu-tabs"
@
tab-change=
"tabChange"
>
<el-tab-pane
v-for=
"item in tabList"
:key=
"item.title"
>
<template
#
label
>
<span
class=
"custom-tabs-label"
>
...
...
@@ -7,13 +7,13 @@
<span>
{{
item
.
title
}}
</span>
</span>
</
template
>
<component
:is=
"item.template"
></component>
<component
:is=
"item.template"
:ref=
"item.template"
></component>
</el-tab-pane>
</el-tabs>
</template>
<
script
>
import
{
defineComponent
,
ref
}
from
'vue'
import
{
defineComponent
,
ref
,
getCurrentInstance
}
from
'vue'
import
RFID
from
'./RFID.vue'
import
InTask
from
'./InTask.vue'
import
OutTask
from
'./OutTask.vue'
...
...
@@ -22,18 +22,22 @@ import Setting from './Setting.vue'
export
default
defineComponent
({
components
:
{
RFID
,
InTask
,
OutTask
,
Query
,
Setting
},
setup
()
{
const
{
proxy
}
=
getCurrentInstance
()
const
tabPosition
=
ref
(
'bottom'
)
const
template
=
ref
(
'rfid'
)
return
{
tabPosition
,
template
,
tabList
:
[
const
tabList
=
[
{
title
:
'射频识别'
,
icon
:
'iconfont icon-tiaozhishibie'
,
template
:
'RFID'
},
{
title
:
'入库作业'
,
icon
:
'iconfont icon-rukuguanli-'
,
template
:
'InTask'
},
{
title
:
'出库作业'
,
icon
:
'iconfont icon-chukuguanli-'
,
template
:
'OutTask'
},
{
title
:
'手动设置'
,
icon
:
'iconfont icon-shezhi'
,
template
:
'Setting'
},
{
title
:
'查询'
,
icon
:
'iconfont icon-chaxun'
,
template
:
'Query'
},
]
function
tabChange
(
index
)
{
proxy
.
$refs
[
tabList
[
index
].
template
][
0
].
loadData
()
}
return
{
tabPosition
,
tabList
,
tabChange
}
},
})
...
...
src/views/InTask.vue
View file @
6d47ab0e
...
...
@@ -19,7 +19,8 @@
<
template
#
default=
"scope"
>
<el-tag
size=
"small"
type=
"success"
v-if=
"scope.row.activeState == 0"
>
空闲
</el-tag>
<el-tag
size=
"small"
type=
"warning"
v-if=
"scope.row.activeState == 1"
>
激活中
</el-tag>
<el-tag
size=
"small"
type=
"primary"
v-if=
"scope.row.activeState == 2"
>
待上报
</el-tag>
<el-tag
size=
"small"
v-if=
"scope.row.activeState == 2"
>
待上报
</el-tag>
<el-tag
size=
"small"
v-if=
"scope.row.activeState == 3"
>
已上报
</el-tag>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"200"
align=
"center"
>
...
...
@@ -135,7 +136,8 @@ export default defineComponent({
getGoodsPage
:
'/bill/getGoodsPage'
,
getModelPage
:
'/bill/getModelPage'
,
updateItem
:
'/bill/updateItem'
,
reportBill
:
'/platform/reportInBill'
reportBill
:
'/platform/reportInBill'
,
activateBill
:
'/bill/activateBill'
},
storeInfo
:
{},
storeCode
:
''
...
...
@@ -268,7 +270,8 @@ export default defineComponent({
handleChange
,
edit
,
check
,
reportBill
reportBill
,
loadData
}
},
})
...
...
src/views/OutTask.vue
View file @
6d47ab0e
...
...
@@ -19,7 +19,8 @@
<
template
#
default=
"scope"
>
<el-tag
size=
"small"
type=
"success"
v-if=
"scope.row.activeState == 0"
>
空闲
</el-tag>
<el-tag
size=
"small"
type=
"warning"
v-if=
"scope.row.activeState == 1"
>
激活中
</el-tag>
<el-tag
size=
"small"
type=
"primary"
v-if=
"scope.row.activeState == 2"
>
待上报
</el-tag>
<el-tag
size=
"small"
v-if=
"scope.row.activeState == 2"
>
待上报
</el-tag>
<el-tag
size=
"small"
v-if=
"scope.row.activeState == 3"
>
已上报
</el-tag>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"200"
align=
"center"
>
...
...
@@ -135,7 +136,8 @@ export default defineComponent({
getGoodsPage
:
'/bill/getGoodsPage'
,
getModelPage
:
'/bill/getModelPage'
,
updateItem
:
'/bill/updateItem'
,
reportBill
:
'/platform/reportOutBill'
reportBill
:
'/platform/reportOutBill'
,
activateBill
:
'/bill/activateBill'
},
storeInfo
:
{},
storeCode
:
''
...
...
@@ -268,7 +270,8 @@ export default defineComponent({
handleChange
,
edit
,
check
,
reportBill
reportBill
,
loadData
}
},
})
...
...
src/views/Query.vue
View file @
6d47ab0e
...
...
@@ -27,8 +27,8 @@
</el-col>
<el-col
:span=
"18"
>
<el-card>
<el-table
:data=
"logList"
border
style=
"width: 100%;height: 88vh;"
>
<el-table-column
type=
"index"
label=
"序号"
width=
"
6
0"
align=
"center"
/>
<el-table
:data=
"logList"
border
s
ize=
"large"
s
tyle=
"width: 100%;height: 88vh;"
>
<el-table-column
type=
"index"
label=
"序号"
width=
"
7
0"
align=
"center"
/>
<el-table-column
prop=
"inState"
label=
"出入库"
align=
"center"
>
<template
#
default=
"scope"
>
{{
scope
.
row
.
inState
==
'IN'
?
'入库'
:
'出库'
}}
...
...
src/views/RFID.vue
View file @
6d47ab0e
...
...
@@ -160,7 +160,8 @@ export default defineComponent({
loadData
,
channelSetting
,
getConfig
,
saveConfig
saveConfig
,
loadData
}
},
})
...
...
src/views/Setting.vue
View file @
6d47ab0e
...
...
@@ -35,8 +35,8 @@
</el-col>
<el-col
:span=
"18"
>
<el-card>
<el-table
:data=
"bindList"
border
style=
"width: 100%;height: 88vh;"
>
<el-table-column
type=
"index"
label=
"序号"
width=
"
6
0"
align=
"center"
/>
<el-table
:data=
"bindList"
border
s
ize=
"large"
s
tyle=
"width: 100%;height: 88vh;"
>
<el-table-column
type=
"index"
label=
"序号"
width=
"
7
0"
align=
"center"
/>
<el-table-column
prop=
"stationId"
label=
"通道号"
align=
"center"
/>
<el-table-column
prop=
"state"
label=
"状态"
align=
"center"
>
<template
#
default=
"scope"
>
...
...
@@ -199,7 +199,8 @@ export default defineComponent({
changeGoods
,
changeModel
,
automatic
,
manual
manual
,
loadData
}
},
})
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论