From 7f3cf92c6d708ea742185055cc6bc88775dbee1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Sat, 18 Nov 2023 21:41:50 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=99=E9=A1=B5=E9=9D=A2=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E8=A7=92=E8=89=B2=E7=B1=BB=E5=9E=8B=E7=9A=84=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jshERP-web/src/views/bill/AllocationOutList.vue | 1 - jshERP-web/src/views/bill/AssembleList.vue | 1 - jshERP-web/src/views/bill/DisassembleList.vue | 1 - jshERP-web/src/views/bill/OtherInList.vue | 1 - jshERP-web/src/views/bill/OtherOutList.vue | 1 - jshERP-web/src/views/bill/PurchaseBackList.vue | 1 - jshERP-web/src/views/bill/PurchaseInList.vue | 1 - jshERP-web/src/views/bill/PurchaseOrderList.vue | 1 - jshERP-web/src/views/bill/RetailBackList.vue | 1 - jshERP-web/src/views/bill/RetailOutList.vue | 1 - jshERP-web/src/views/bill/SaleBackList.vue | 1 - jshERP-web/src/views/bill/SaleOrderList.vue | 1 - jshERP-web/src/views/bill/SaleOutList.vue | 1 - jshERP-web/src/views/bill/dialog/HistoryBillList.vue | 1 - jshERP-web/src/views/bill/dialog/LinkBillList.vue | 2 -- jshERP-web/src/views/bill/mixins/BillListMixin.js | 3 +-- jshERP-web/src/views/dashboard/IndexChart.vue | 4 ++-- jshERP-web/src/views/financial/AdvanceInList.vue | 3 +-- jshERP-web/src/views/financial/GiroList.vue | 3 +-- jshERP-web/src/views/financial/ItemInList.vue | 3 +-- jshERP-web/src/views/financial/ItemOutList.vue | 3 +-- jshERP-web/src/views/financial/MoneyInList.vue | 3 +-- jshERP-web/src/views/financial/MoneyOutList.vue | 3 +-- jshERP-web/src/views/financial/dialog/DebtBillList.vue | 1 - jshERP-web/src/views/financial/mixins/FinancialListMixin.js | 3 +-- jshERP-web/src/views/report/AllocationDetail.vue | 1 - jshERP-web/src/views/report/BuyInReport.vue | 3 +-- jshERP-web/src/views/report/InDetail.vue | 1 - jshERP-web/src/views/report/InMaterialCount.vue | 1 - jshERP-web/src/views/report/OutDetail.vue | 1 - jshERP-web/src/views/report/OutMaterialCount.vue | 1 - jshERP-web/src/views/report/RetailOutReport.vue | 1 - jshERP-web/src/views/report/SaleOutReport.vue | 1 - jshERP-web/src/views/report/modules/DebtAccountList.vue | 1 - .../src/views/report/modules/HistoryFinancialList.vue | 6 ++---- jshERP-web/src/views/system/CustomerList.vue | 3 +-- jshERP-web/src/views/system/MemberList.vue | 3 +-- jshERP-web/src/views/system/VendorList.vue | 3 +-- jshERP-web/src/views/user/Login.vue | 1 - 39 files changed, 16 insertions(+), 56 deletions(-) diff --git a/jshERP-web/src/views/bill/AllocationOutList.vue b/jshERP-web/src/views/bill/AllocationOutList.vue index 49bbfb564..40678dc4c 100644 --- a/jshERP-web/src/views/bill/AllocationOutList.vue +++ b/jshERP-web/src/views/bill/AllocationOutList.vue @@ -179,7 +179,6 @@ materialParam: "", type: "出库", subType: "调拨", - roleType: Vue.ls.get('roleType'), depotId: "", creator: "", status: "", diff --git a/jshERP-web/src/views/bill/AssembleList.vue b/jshERP-web/src/views/bill/AssembleList.vue index 8475e4797..a7032edeb 100644 --- a/jshERP-web/src/views/bill/AssembleList.vue +++ b/jshERP-web/src/views/bill/AssembleList.vue @@ -179,7 +179,6 @@ materialParam: "", type: "其它", subType: "组装单", - roleType: Vue.ls.get('roleType'), depotId: "", creator: "", status: "", diff --git a/jshERP-web/src/views/bill/DisassembleList.vue b/jshERP-web/src/views/bill/DisassembleList.vue index 25a1fc13c..55ac82ce4 100644 --- a/jshERP-web/src/views/bill/DisassembleList.vue +++ b/jshERP-web/src/views/bill/DisassembleList.vue @@ -179,7 +179,6 @@ materialParam: "", type: "其它", subType: "拆卸单", - roleType: Vue.ls.get('roleType'), depotId: "", creator: "", status: "", diff --git a/jshERP-web/src/views/bill/OtherInList.vue b/jshERP-web/src/views/bill/OtherInList.vue index 6f763f304..03c15441d 100644 --- a/jshERP-web/src/views/bill/OtherInList.vue +++ b/jshERP-web/src/views/bill/OtherInList.vue @@ -193,7 +193,6 @@ materialParam: "", type: "入库", subType: "其它", - roleType: Vue.ls.get('roleType'), organId: "", depotId: "", creator: "", diff --git a/jshERP-web/src/views/bill/OtherOutList.vue b/jshERP-web/src/views/bill/OtherOutList.vue index 8a6abbcf9..fdbca16c1 100644 --- a/jshERP-web/src/views/bill/OtherOutList.vue +++ b/jshERP-web/src/views/bill/OtherOutList.vue @@ -193,7 +193,6 @@ materialParam: "", type: "出库", subType: "其它", - roleType: Vue.ls.get('roleType'), organId: "", depotId: "", creator: "", diff --git a/jshERP-web/src/views/bill/PurchaseBackList.vue b/jshERP-web/src/views/bill/PurchaseBackList.vue index ac7a8588a..46dcde3e2 100644 --- a/jshERP-web/src/views/bill/PurchaseBackList.vue +++ b/jshERP-web/src/views/bill/PurchaseBackList.vue @@ -202,7 +202,6 @@ materialParam: "", type: "出库", subType: "采购退货", - roleType: Vue.ls.get('roleType'), organId: "", depotId: "", creator: "", diff --git a/jshERP-web/src/views/bill/PurchaseInList.vue b/jshERP-web/src/views/bill/PurchaseInList.vue index 858708546..89f3c5c96 100644 --- a/jshERP-web/src/views/bill/PurchaseInList.vue +++ b/jshERP-web/src/views/bill/PurchaseInList.vue @@ -221,7 +221,6 @@ materialParam: "", type: "入库", subType: "采购", - roleType: Vue.ls.get('roleType'), organId: "", depotId: "", creator: "", diff --git a/jshERP-web/src/views/bill/PurchaseOrderList.vue b/jshERP-web/src/views/bill/PurchaseOrderList.vue index 7f5e2c6a7..bdf066edb 100644 --- a/jshERP-web/src/views/bill/PurchaseOrderList.vue +++ b/jshERP-web/src/views/bill/PurchaseOrderList.vue @@ -184,7 +184,6 @@ materialParam: "", type: "其它", subType: "采购订单", - roleType: Vue.ls.get('roleType'), organId: "", depotId: "", creator: "", diff --git a/jshERP-web/src/views/bill/RetailBackList.vue b/jshERP-web/src/views/bill/RetailBackList.vue index d3b8e009f..e4b60d2ae 100644 --- a/jshERP-web/src/views/bill/RetailBackList.vue +++ b/jshERP-web/src/views/bill/RetailBackList.vue @@ -202,7 +202,6 @@ materialParam: "", type: "入库", subType: "零售退货", - roleType: Vue.ls.get('roleType'), organId: "", depotId: "", creator: "", diff --git a/jshERP-web/src/views/bill/RetailOutList.vue b/jshERP-web/src/views/bill/RetailOutList.vue index 5e3422c14..57267f96f 100644 --- a/jshERP-web/src/views/bill/RetailOutList.vue +++ b/jshERP-web/src/views/bill/RetailOutList.vue @@ -197,7 +197,6 @@ materialParam: "", type: "出库", subType: "零售", - roleType: Vue.ls.get('roleType'), organId: "", depotId: "", creator: "", diff --git a/jshERP-web/src/views/bill/SaleBackList.vue b/jshERP-web/src/views/bill/SaleBackList.vue index 28a9eefd5..b91197a8c 100644 --- a/jshERP-web/src/views/bill/SaleBackList.vue +++ b/jshERP-web/src/views/bill/SaleBackList.vue @@ -202,7 +202,6 @@ materialParam: "", type: "入库", subType: "销售退货", - roleType: Vue.ls.get('roleType'), organId: "", depotId: "", creator: "", diff --git a/jshERP-web/src/views/bill/SaleOrderList.vue b/jshERP-web/src/views/bill/SaleOrderList.vue index 1b997f562..b98ca7311 100644 --- a/jshERP-web/src/views/bill/SaleOrderList.vue +++ b/jshERP-web/src/views/bill/SaleOrderList.vue @@ -190,7 +190,6 @@ materialParam: "", type: "其它", subType: "销售订单", - roleType: Vue.ls.get('roleType'), organId: "", depotId: "", creator: "", diff --git a/jshERP-web/src/views/bill/SaleOutList.vue b/jshERP-web/src/views/bill/SaleOutList.vue index da3c8f2f5..2f860e7f0 100644 --- a/jshERP-web/src/views/bill/SaleOutList.vue +++ b/jshERP-web/src/views/bill/SaleOutList.vue @@ -221,7 +221,6 @@ materialParam: "", type: "出库", subType: "销售", - roleType: Vue.ls.get('roleType'), organId: "", depotId: "", creator: "", diff --git a/jshERP-web/src/views/bill/dialog/HistoryBillList.vue b/jshERP-web/src/views/bill/dialog/HistoryBillList.vue index 1db83cb8c..5dfb2e3a7 100644 --- a/jshERP-web/src/views/bill/dialog/HistoryBillList.vue +++ b/jshERP-web/src/views/bill/dialog/HistoryBillList.vue @@ -117,7 +117,6 @@ materialParam: "", type: "", subType: "", - roleType: Vue.ls.get('roleType'), status: "" }, labelCol: { diff --git a/jshERP-web/src/views/bill/dialog/LinkBillList.vue b/jshERP-web/src/views/bill/dialog/LinkBillList.vue index 4cef26c45..1317576dd 100644 --- a/jshERP-web/src/views/bill/dialog/LinkBillList.vue +++ b/jshERP-web/src/views/bill/dialog/LinkBillList.vue @@ -209,7 +209,6 @@ this.showType = 'basic' this.queryParam.type = type this.queryParam.subType = subType - this.queryParam.roleType = Vue.ls.get('roleType') this.queryParam.status = status this.columns[0].title = organType this.model = Object.assign({}, {}); @@ -221,7 +220,6 @@ this.showType = 'purchase' this.queryParam.type = type this.queryParam.subType = subType - this.queryParam.roleType = '全部数据' this.queryParam.status = status this.queryParam.purchaseStatus = purchaseStatus this.columns[0].title = organType diff --git a/jshERP-web/src/views/bill/mixins/BillListMixin.js b/jshERP-web/src/views/bill/mixins/BillListMixin.js index 3d5ca447f..2e327df6c 100644 --- a/jshERP-web/src/views/bill/mixins/BillListMixin.js +++ b/jshERP-web/src/views/bill/mixins/BillListMixin.js @@ -104,8 +104,7 @@ export const BillListMixin = { searchReset() { this.queryParam = { type: this.queryParam.type, - subType: this.queryParam.subType, - roleType: Vue.ls.get('roleType') + subType: this.queryParam.subType } this.loadData(1); }, diff --git a/jshERP-web/src/views/dashboard/IndexChart.vue b/jshERP-web/src/views/dashboard/IndexChart.vue index 1d3193668..898f3e1dc 100644 --- a/jshERP-web/src/views/dashboard/IndexChart.vue +++ b/jshERP-web/src/views/dashboard/IndexChart.vue @@ -213,12 +213,12 @@ }, methods: { initInfo () { - getBuyAndSaleStatistics({"roleType": Vue.ls.get('roleType')}).then((res)=>{ + getBuyAndSaleStatistics().then((res)=>{ if(res.code === 200){ this.statistics = res.data; } }) - buyOrSalePrice({"roleType": Vue.ls.get('roleType')}).then(res=>{ + buyOrSalePrice().then(res=>{ if(res.code === 200){ this.buyPriceData = res.data.buyPriceList; this.salePriceData = res.data.salePriceList; diff --git a/jshERP-web/src/views/financial/AdvanceInList.vue b/jshERP-web/src/views/financial/AdvanceInList.vue index dfb348a0c..e5e929b44 100644 --- a/jshERP-web/src/views/financial/AdvanceInList.vue +++ b/jshERP-web/src/views/financial/AdvanceInList.vue @@ -166,8 +166,7 @@ creator: "", handsPersonId: "", status: "", - remark: "", - roleType: Vue.ls.get('roleType') + remark: "" }, prefixNo: 'SYF', // 表头 diff --git a/jshERP-web/src/views/financial/GiroList.vue b/jshERP-web/src/views/financial/GiroList.vue index f56b08d7d..a2e4fc2e3 100644 --- a/jshERP-web/src/views/financial/GiroList.vue +++ b/jshERP-web/src/views/financial/GiroList.vue @@ -166,8 +166,7 @@ handsPersonId: "", accountId: "", status: "", - remark: "", - roleType: Vue.ls.get('roleType') + remark: "" }, prefixNo: 'ZZ', // 表头 diff --git a/jshERP-web/src/views/financial/ItemInList.vue b/jshERP-web/src/views/financial/ItemInList.vue index f9d5fc716..d976bc58d 100644 --- a/jshERP-web/src/views/financial/ItemInList.vue +++ b/jshERP-web/src/views/financial/ItemInList.vue @@ -176,8 +176,7 @@ handsPersonId: "", accountId: "", status: "", - remark: "", - roleType: Vue.ls.get('roleType') + remark: "" }, prefixNo: 'SR', // 表头 diff --git a/jshERP-web/src/views/financial/ItemOutList.vue b/jshERP-web/src/views/financial/ItemOutList.vue index f9942d2f8..f39ac38db 100644 --- a/jshERP-web/src/views/financial/ItemOutList.vue +++ b/jshERP-web/src/views/financial/ItemOutList.vue @@ -176,8 +176,7 @@ handsPersonId: "", accountId: "", status: "", - remark: "", - roleType: Vue.ls.get('roleType') + remark: "" }, prefixNo: 'ZC', // 表头 diff --git a/jshERP-web/src/views/financial/MoneyInList.vue b/jshERP-web/src/views/financial/MoneyInList.vue index d36936371..bfd15b4d3 100644 --- a/jshERP-web/src/views/financial/MoneyInList.vue +++ b/jshERP-web/src/views/financial/MoneyInList.vue @@ -183,8 +183,7 @@ accountId: "", status: "", remark: "", - number: "", - roleType: Vue.ls.get('roleType') + number: "" }, prefixNo: 'SK', // 表头 diff --git a/jshERP-web/src/views/financial/MoneyOutList.vue b/jshERP-web/src/views/financial/MoneyOutList.vue index db0a305c5..d68e8102c 100644 --- a/jshERP-web/src/views/financial/MoneyOutList.vue +++ b/jshERP-web/src/views/financial/MoneyOutList.vue @@ -183,8 +183,7 @@ accountId: "", status: "", remark: "", - number: "", - roleType: Vue.ls.get('roleType') + number: "" }, prefixNo: 'FK', // 表头 diff --git a/jshERP-web/src/views/financial/dialog/DebtBillList.vue b/jshERP-web/src/views/financial/dialog/DebtBillList.vue index 657be07b4..6ced4f9d1 100644 --- a/jshERP-web/src/views/financial/dialog/DebtBillList.vue +++ b/jshERP-web/src/views/financial/dialog/DebtBillList.vue @@ -100,7 +100,6 @@ number: "", type: "", subType: "", - roleType: Vue.ls.get('roleType'), status: "" }, labelCol: { diff --git a/jshERP-web/src/views/financial/mixins/FinancialListMixin.js b/jshERP-web/src/views/financial/mixins/FinancialListMixin.js index a71fd49fa..b3bbc9929 100644 --- a/jshERP-web/src/views/financial/mixins/FinancialListMixin.js +++ b/jshERP-web/src/views/financial/mixins/FinancialListMixin.js @@ -83,8 +83,7 @@ export const FinancialListMixin = { }, searchReset() { this.queryParam = { - type: this.queryParam.type, - roleType: Vue.ls.get('roleType') + type: this.queryParam.type } this.loadData(1); }, diff --git a/jshERP-web/src/views/report/AllocationDetail.vue b/jshERP-web/src/views/report/AllocationDetail.vue index 42d1734ea..49f52529d 100644 --- a/jshERP-web/src/views/report/AllocationDetail.vue +++ b/jshERP-web/src/views/report/AllocationDetail.vue @@ -160,7 +160,6 @@ beginTime: getNowFormatYear() + '-01-01', endTime: moment().format('YYYY-MM-DD'), subType: "调拨", - roleType: Vue.ls.get('roleType'), remark: '' }, ipagination:{ diff --git a/jshERP-web/src/views/report/BuyInReport.vue b/jshERP-web/src/views/report/BuyInReport.vue index 4a74ca50c..33a298a80 100644 --- a/jshERP-web/src/views/report/BuyInReport.vue +++ b/jshERP-web/src/views/report/BuyInReport.vue @@ -136,8 +136,7 @@ endTime: moment().format('YYYY-MM-DD'), organId: '', depotId: '', - mpList: getMpListShort(Vue.ls.get('materialPropertyList')), - roleType: Vue.ls.get('roleType'), + mpList: getMpListShort(Vue.ls.get('materialPropertyList')) }, ipagination:{ pageSize: 11, diff --git a/jshERP-web/src/views/report/InDetail.vue b/jshERP-web/src/views/report/InDetail.vue index f0f35e09c..54f9312e3 100644 --- a/jshERP-web/src/views/report/InDetail.vue +++ b/jshERP-web/src/views/report/InDetail.vue @@ -159,7 +159,6 @@ depotId: '', beginTime: getNowFormatYear() + '-01-01', endTime: moment().format('YYYY-MM-DD'), - roleType: Vue.ls.get('roleType'), type: "入库", creator: "", remark: '', diff --git a/jshERP-web/src/views/report/InMaterialCount.vue b/jshERP-web/src/views/report/InMaterialCount.vue index aaabaab0a..ba1252f3e 100644 --- a/jshERP-web/src/views/report/InMaterialCount.vue +++ b/jshERP-web/src/views/report/InMaterialCount.vue @@ -132,7 +132,6 @@ beginTime: getNowFormatYear() + '-01-01', endTime: moment().format('YYYY-MM-DD'), type: "入库", - roleType: Vue.ls.get('roleType'), }, ipagination:{ pageSize: 11, diff --git a/jshERP-web/src/views/report/OutDetail.vue b/jshERP-web/src/views/report/OutDetail.vue index eb9195458..d11649a0e 100644 --- a/jshERP-web/src/views/report/OutDetail.vue +++ b/jshERP-web/src/views/report/OutDetail.vue @@ -159,7 +159,6 @@ depotId: '', beginTime: getNowFormatYear() + '-01-01', endTime: moment().format('YYYY-MM-DD'), - roleType: Vue.ls.get('roleType'), type: "出库", creator: "", remark: '' diff --git a/jshERP-web/src/views/report/OutMaterialCount.vue b/jshERP-web/src/views/report/OutMaterialCount.vue index 382e2f52d..d523c8f74 100644 --- a/jshERP-web/src/views/report/OutMaterialCount.vue +++ b/jshERP-web/src/views/report/OutMaterialCount.vue @@ -132,7 +132,6 @@ beginTime: getNowFormatYear() + '-01-01', endTime: moment().format('YYYY-MM-DD'), type: "出库", - roleType: Vue.ls.get('roleType'), }, ipagination:{ pageSize: 11, diff --git a/jshERP-web/src/views/report/RetailOutReport.vue b/jshERP-web/src/views/report/RetailOutReport.vue index 9b1ce5613..5e4231336 100644 --- a/jshERP-web/src/views/report/RetailOutReport.vue +++ b/jshERP-web/src/views/report/RetailOutReport.vue @@ -137,7 +137,6 @@ organId: '', depotId: '', mpList: getMpListShort(Vue.ls.get('materialPropertyList')), - roleType: Vue.ls.get('roleType'), }, ipagination:{ pageSize: 11, diff --git a/jshERP-web/src/views/report/SaleOutReport.vue b/jshERP-web/src/views/report/SaleOutReport.vue index d97c03684..8075876b8 100644 --- a/jshERP-web/src/views/report/SaleOutReport.vue +++ b/jshERP-web/src/views/report/SaleOutReport.vue @@ -137,7 +137,6 @@ organId: '', depotId: '', mpList: getMpListShort(Vue.ls.get('materialPropertyList')), - roleType: Vue.ls.get('roleType'), }, ipagination:{ pageSize: 11, diff --git a/jshERP-web/src/views/report/modules/DebtAccountList.vue b/jshERP-web/src/views/report/modules/DebtAccountList.vue index 6574d812e..4bcc6a1c6 100644 --- a/jshERP-web/src/views/report/modules/DebtAccountList.vue +++ b/jshERP-web/src/views/report/modules/DebtAccountList.vue @@ -92,7 +92,6 @@ number: "", type: "", subType: "", - roleType: Vue.ls.get('roleType'), status: "", mpList: getMpListShort(Vue.ls.get('materialPropertyList')) //扩展属性 }, diff --git a/jshERP-web/src/views/report/modules/HistoryFinancialList.vue b/jshERP-web/src/views/report/modules/HistoryFinancialList.vue index 347dd3b13..0d1934721 100644 --- a/jshERP-web/src/views/report/modules/HistoryFinancialList.vue +++ b/jshERP-web/src/views/report/modules/HistoryFinancialList.vue @@ -151,8 +151,7 @@ accountId: "", status: "", remark: "", - number: "", - roleType: Vue.ls.get('roleType') + number: "" }, prefixNo: '', disableMixinCreated: true, @@ -226,8 +225,7 @@ organId: this.queryParam.organId, beginTime: this.queryParam.beginTime, endTime: this.queryParam.endTime, - type: this.queryParam.type, - roleType: Vue.ls.get('roleType') + type: this.queryParam.type } this.loadData(1); } diff --git a/jshERP-web/src/views/system/CustomerList.vue b/jshERP-web/src/views/system/CustomerList.vue index 2f825cd1a..7a2b571a2 100644 --- a/jshERP-web/src/views/system/CustomerList.vue +++ b/jshERP-web/src/views/system/CustomerList.vue @@ -106,8 +106,7 @@ supplier:'', type:'客户', telephone:'', - phonenum:'', - roleType: Vue.ls.get('roleType') + phonenum:'' }, ipagination:{ pageSizeOptions: ['10', '20', '30', '100', '200'] diff --git a/jshERP-web/src/views/system/MemberList.vue b/jshERP-web/src/views/system/MemberList.vue index 315883336..b4ed49828 100644 --- a/jshERP-web/src/views/system/MemberList.vue +++ b/jshERP-web/src/views/system/MemberList.vue @@ -105,8 +105,7 @@ supplier:'', type:'会员', telephone:'', - phonenum:'', - roleType: Vue.ls.get('roleType') + phonenum:'' }, ipagination:{ pageSizeOptions: ['10', '20', '30', '100', '200'] diff --git a/jshERP-web/src/views/system/VendorList.vue b/jshERP-web/src/views/system/VendorList.vue index e86791254..4ba1e5551 100644 --- a/jshERP-web/src/views/system/VendorList.vue +++ b/jshERP-web/src/views/system/VendorList.vue @@ -105,8 +105,7 @@ supplier:'', type:'供应商', telephone:'', - phonenum:'', - roleType: Vue.ls.get('roleType') + phonenum:'' }, ipagination:{ pageSizeOptions: ['10', '20', '30', '100', '200'] diff --git a/jshERP-web/src/views/user/Login.vue b/jshERP-web/src/views/user/Login.vue index fe0060fd3..4b34220c9 100644 --- a/jshERP-web/src/views/user/Login.vue +++ b/jshERP-web/src/views/user/Login.vue @@ -248,7 +248,6 @@ let err = {}; if(res.data.msgTip == 'user can login'){ Vue.ls.set('winBtnStrList', res.data.userBtn, 7 * 24 * 60 * 60 * 1000); - Vue.ls.set('roleType', res.data.roleType, 7 * 24 * 60 * 60 * 1000); this.loginSuccess(res) } else if(res.data.msgTip == 'user is not exist'){ err.message = '用户不存在';