外协人员追溯V3

This commit is contained in:
liulujia1
2020-04-10 10:38:47 +08:00
parent d31203ac98
commit 7b3c2301a2
4 changed files with 14 additions and 5 deletions

View File

@@ -1,3 +1,4 @@
<!--suppress ALL -->
<template>
<div>
<el-menu class="navbar" mode="horizontal" style="background: rgb(87,177,253)!important;">
@@ -36,6 +37,7 @@ import { RequestFund, setChakan2 } from '@/api/PurchasingCenter/PurchaseContract
import { getPickingList, setPickingList } from '@/api/Inventory/MaterialOut'
import { searchTable } from '@/api/PurchasingCenter/PurchaseMaterielModify'
import { search } from '@/api/Assembly/DeliveryConfirmation'
import Cookies from 'js-cookie'
export default {
components: {
Breadcrumb,
@@ -69,7 +71,8 @@ export default {
])
},
mounted() {
if (this.id.toString() === '3') {
console.log(Cookies.get('id'), 999)
if (this.id === 3 || Cookies.get('id') === 3) {
this.checkApproval()
this.timer = setInterval(this.checkApproval, 1000 * 60 * 5)
} else if (this.token.toString() === '11' || this.token.toString() === '12') {