BUG Fixed 产发集团的账号进去,选单个项目的时候,取不到数据

dev
haha 2024-06-08 20:19:10 +08:00
parent 10c1c736be
commit 3529c66a4f
3 changed files with 7 additions and 7 deletions

View File

@ -479,10 +479,7 @@ export default {
n = "" + n;
return " ".substring(0, 3 - n.length) + n;
},
dtChange() {
if(this.isOneProject() && this.$refs.probList){
this.$refs.probList.loadData(1, this.safeNav, this.selDate);
}
dtChange() {
this.doDeptChane();
},
doDeptChane() {
@ -498,6 +495,9 @@ export default {
postData.endDate = this.$dt(this.selDate[1]).format("YYYY-MM-DD");
}
this.$api.problemmodify.qualitySummary(postData).then((d) => {
if(this.isOneProject() && this.$refs.probList){
this.$refs.probList.loadData(1, this.safeNav, this.selDate);
}
this.summary = (d || []).map((it) => {
return {
text: it.problemArea,

View File

@ -434,7 +434,7 @@ export default {
this.projectInfo = res;
this.dept=this.$root.dept||this.dept;
this.projects=this.$root.projects ||this.projects;
this.dtChange();
this.dtChange(true);
this.getWorkTrainChart();
this.getProjectSpecialView();
this.getDeptSafetyWorksList();

View File

@ -37,8 +37,8 @@ module.exports = defineConfig({
}
},
'/jhapi':{
//target: `http://62.234.3.186/jhapi/`,
target: `http://127.0.0.1:8090/jhapi/`,
target: `http://62.234.3.186/jhapi/`,
//target: `http://127.0.0.1:8090/jhapi/`,
//target: `http://szgc.jhncidg.com/jhapi/`,
changeOrigin: true,
pathRewrite: {