|
@@ -49,22 +49,22 @@
|
|
|
<p>货转</p>
|
|
|
</div>
|
|
|
</li>
|
|
|
- <li @click="jump('/agreement/agreementStorage')">
|
|
|
+ <li @click="jump('/business/stockTransfer')">
|
|
|
<div>
|
|
|
<i
|
|
|
- class="el-icon-s-order"
|
|
|
+ class="el-icon-connection"
|
|
|
style="font-size: 50px; text-align: center"
|
|
|
></i>
|
|
|
- <p>协议</p>
|
|
|
+ <p>调拨</p>
|
|
|
</div>
|
|
|
</li>
|
|
|
- <li @click="jump('/business/stockTransfer')">
|
|
|
+ <li @click="smartScreen()">
|
|
|
<div>
|
|
|
<i
|
|
|
- class="el-icon-connection"
|
|
|
- style="font-size: 50px; text-align: center"
|
|
|
+ class="el-icon-s-order"
|
|
|
+ style="font-size: 50px; text-align: center"
|
|
|
></i>
|
|
|
- <p>调拨</p>
|
|
|
+ <p>看板</p>
|
|
|
</div>
|
|
|
</li>
|
|
|
<li @click="jump('/finance/charge')">
|
|
@@ -852,6 +852,8 @@ import {
|
|
|
import Cookies from "js-cookie";
|
|
|
import fastInStock from '../../src/components/fastStorage/fastInStock/index'
|
|
|
import fastOutStock from '../../src/components/fastStorage/fastOutStock/index'
|
|
|
+import {getToken} from "@/utils/auth";
|
|
|
+import {currentLogin} from "@/api/warehouseCheck";
|
|
|
|
|
|
export default {
|
|
|
name: "index",
|
|
@@ -1656,6 +1658,15 @@ export default {
|
|
|
],
|
|
|
});
|
|
|
},
|
|
|
+ smartScreen(){
|
|
|
+ currentLogin().then(res=>{
|
|
|
+ if (res.data.userName === 'admin'){
|
|
|
+ window.open( 'https://op.zdgjqd.com/view.html?Authorization=' + getToken())
|
|
|
+ }else {
|
|
|
+ this.$message.warning('您无此权限查看面板');
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
commoDity() {
|
|
|
// 基于准备好的dom,初始化echarts实例,所以只能在mounted中调用
|
|
|
let myChart = this.$echarts.init(document.getElementById("commoDity"));
|