Commit 31b89bf5 by 蒋勇

d

parent 23292006
......@@ -54,7 +54,7 @@ module.exports = function (app) {
app.use(session(
{
name:'pmsid',
cookie: {maxAge: 3600000},
cookie: {maxAge: 3600000,domain:'track.gongsibao.com'},
rolling:true,
resave: false,
saveUninitialized: false,
......
......@@ -4,7 +4,6 @@
return {
isdev:false,
multipleSelection: [],
barref:null,
developerData:[],
problemBardata:{
title: {
......@@ -56,7 +55,6 @@
}
},
mounted:function(){
this.barref=this.$refs.problemBar;
setTimeout(()=>{
var dev=this.$root.currentUser.roles.indexOf("002");
var kfjl=this.$root.currentUser.roles.indexOf("001");
......@@ -79,7 +77,7 @@
var d=await this.$root.postReq("/web/pm/pmquestionCtl/fetchQuestionForDev",obj);
if(d.status==0&&d.data){
this.developerData=d.data.obj1;
var data=this.barref.getEchartObj();
var data=this.$refs.problemBar.getEchartObj();
if(data){
var option = data.getOption();
option.xAxis[0].data=d.data.obj2;
......
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