|
|
@@ -1243,20 +1243,19 @@ import { wrapOssProtocol} from "@/services/oss"; |
|
|
|
this.srcIndex = 1;
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
setSystemCoverRandom: function() {
|
|
|
|
var temp=Math.ceil(Math.random()*10);
|
|
|
|
while(this.srcIndex ===temp){
|
|
|
|
temp=Math.ceil(Math.random()*10);
|
|
|
|
}
|
|
|
|
this.srcIndex=temp;
|
|
|
|
if(this.srcIndex===10){
|
|
|
|
this.coverSrc = "static/img/faceImg/face" + this.srcIndex + ".png";
|
|
|
|
}else{
|
|
|
|
this.coverSrc = "static/img/faceImg/face0" + this.srcIndex + ".png";
|
|
|
|
var temp=Math.ceil(Math.random()*10);
|
|
|
|
while(this.srcIndex ===temp){
|
|
|
|
temp=Math.ceil(Math.random()*10);
|
|
|
|
}
|
|
|
|
this.srcIndex=temp;
|
|
|
|
if(this.srcIndex===10){
|
|
|
|
this.coverSrc = "static/img/faceImg/face" + this.srcIndex + ".png";
|
|
|
|
}else{
|
|
|
|
this.coverSrc = "static/img/faceImg/face0" + this.srcIndex + ".png";
|
|
|
|
}
|
|
|
|
this.nowProjData.ShowImgUrl = this.coverSrc;
|
|
|
|
}
|
|
|
|
this.nowProjData.ShowImgUrl = this.coverSrc;
|
|
|
|
|
|
|
|
},
|
|
|
|
watch: {
|
|
|
|
isProjManager(val) {
|
|
|
|