save context before win10 updates

This commit is contained in:
lb
2023-02-01 14:04:01 +08:00
parent d834082538
commit bb4f5a45e2
3 changed files with 9 additions and 12 deletions

View File

@@ -8,10 +8,10 @@ export default function () {
const tableProps = [
{ prop: "name", label: "窑车号" },
{ prop: "code", label: "编码" },
{ prop: "typeDictValue", label: "过渡车", filter: val => ['否', '是'](val) },
// { prop: "typeDictValue", label: "过渡车", filter: val => ['否', '是'][val] },
{ prop: "status", label: "状态", subcomponent: switchBtn }, // subcomponent
{ prop: "currentQty", label: "载量" },
{ prop: "currentPos", label: "当前位置" },
// { prop: "currentQty", label: "载量" },
// { prop: "currentPos", label: "当前位置" },
{ prop: "description", label: "描述" },
{ prop: "remark", label: "备注" },
{
@@ -32,7 +32,7 @@ export default function () {
default: { value: "" },
bind: {
// placeholder: '请输入产线名称或编码'
placeholder: '请输入料仓名称'
placeholder: '请输入窑车号'
}
},
{

View File

@@ -83,6 +83,7 @@ export default function () {
// fetchTreeData() 获取需要展示层级结构的数据
fetchTreeData: () => {
return this.$http.get('/pms/equipmentType/page', {
// TODO前提是工厂里总的设备类型数不会超过 999
limit: 999, page: 1, key: ""
})
},