Commit dbffc7ee authored by renjintao's avatar renjintao

orderlist

parent d4140284
...@@ -82,7 +82,6 @@ export default { ...@@ -82,7 +82,6 @@ export default {
per: 0, per: 0,
vshowPro: false, vshowPro: false,
Photo: true, Photo: true,
showList: true,
isactive: 0 isactive: 0
}; };
}, },
......
<template> <template>
<div class="aps-r"> <div class="aps-r">
<!-- <Button @click="toExecute">工单执行</Button> -->
<DataGrid <DataGrid
:columns="columns" :columns="columns"
ref="grid" ref="grid"
...@@ -12,7 +11,6 @@ ...@@ -12,7 +11,6 @@
:lazy="true" :lazy="true"
:conditions="easySearch" :conditions="easySearch"
:action="action" :action="action"
:set="set"
:gutter="40" :gutter="40"
> >
<template slot="easySearch"> <template slot="easySearch">
...@@ -192,7 +190,6 @@ export default { ...@@ -192,7 +190,6 @@ export default {
} }
} }
], ],
set: false,
typeInfo: "card", typeInfo: "card",
iconInfo: "md-apps", iconInfo: "md-apps",
titleInfo: "卡片模式", titleInfo: "卡片模式",
...@@ -202,10 +199,6 @@ export default { ...@@ -202,10 +199,6 @@ export default {
created() { created() {
let oldStr = localStorage.getItem("admin"); let oldStr = localStorage.getItem("admin");
let userlist = this.$store.getters.getUser(2); let userlist = this.$store.getters.getUser(2);
// console.info(userlist)
// console.warn(localStorage)
// console.warn("02",sessionStorage)
// console.log("user",oldStr)
}, },
async fetch({ store, params }) { async fetch({ store, params }) {
await store.dispatch("loadDictionary"); // 加载数据字典 await store.dispatch("loadDictionary"); // 加载数据字典
...@@ -240,12 +233,10 @@ export default { ...@@ -240,12 +233,10 @@ export default {
changeShwo() { changeShwo() {
//显示模式切换 //显示模式切换
if (this.typeInfo == "card") { if (this.typeInfo == "card") {
this.set = true;
this.typeInfo = "table"; this.typeInfo = "table";
this.iconInfo = "md-list"; this.iconInfo = "md-list";
this.titleInfo = "列表模式"; this.titleInfo = "列表模式";
} else { } else {
this.set = false;
this.typeInfo = "card"; this.typeInfo = "card";
this.iconInfo = "md-apps"; this.iconInfo = "md-apps";
this.titleInfo = "卡片模式"; this.titleInfo = "卡片模式";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment