Commit 1bcd7723 authored by zhangdong's avatar zhangdong

up

parent 293c3025
......@@ -508,7 +508,11 @@ export default {
let comparyTime = this.storagedecodeTime - (localTime - data.openBidTime) / 1000;
if (data.issueTable) {
// 签名时间
console.log(this.storagesignatureTime)
console.log(localTime)
console.log(data.issueTime)
this.signatureTime = this.storagesignatureTime - (localTime - data.issueTime) / 1000
console.log(this.signatureTime)
}
if (data.openStatus == 2) {
console.log(this.storagedecodeTime, '..............');
......
......@@ -276,7 +276,7 @@ export default {
this.$router.go(-1);
},
jump(mods) {
// if (mods.bright) {
if (mods.bright) {
if (mods.label == '项目终止') {
this.$confirm('确定要终止吗?', '提示', {
type: 'warning'
......@@ -301,7 +301,7 @@ export default {
} else {
this.$router.push(mods.url);
}
// }
}
},
async getprojectConsole() {
try {
......
......@@ -6,15 +6,15 @@ import {requestUrl,homeUrl} from "./common.js"
// 创建axios实例
const service = axios.create({
baseURL: `/apis`,
// baseURL:"http://www.eugood.cn/apis",
// baseURL: `/apis`,
baseURL:"http://www.eugood.cn/apis",
timeout: 35000 // 请求超时时间
})
// request拦截器
service.interceptors.request.use(config => {
let token=localStorage.getItem("token")
if(token||token!=="undefined"){
if(token||token!=="undefined"){0
config.headers['token']=token;
}
return config
......
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