update code
parent
30c443bdf7
commit
1dbc6f7d71
|
@ -47,7 +47,7 @@ export default {
|
|||
|
||||
methods: {
|
||||
initMe(){
|
||||
this.project=this.$root.project;
|
||||
this.project=this.$root.project||{};
|
||||
this.reloadMap();
|
||||
},
|
||||
initImages(files){
|
||||
|
|
|
@ -507,9 +507,9 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
initMe(){
|
||||
this.prj=this.$root.project;
|
||||
this.deptInfo=this.$root.dept;
|
||||
this.prjs=this.$root.projects;
|
||||
this.prj=this.$root.project||{};
|
||||
this.deptInfo=this.$root.dept||{};
|
||||
this.prjs=this.$root.projects||[];
|
||||
let res=this.prj;
|
||||
this.investmentAmountData1[0].value = "" + res.paidAmount * 1.0;
|
||||
this.investmentAmountData2[0].value = "" + res.onAccountAmount * 1.0;
|
||||
|
|
|
@ -27,7 +27,7 @@ export default {
|
|||
|
||||
methods: {
|
||||
initMe() {
|
||||
this.project = this.$root.project;
|
||||
this.project = this.$root.project||{};
|
||||
this.reloadMap();
|
||||
},
|
||||
reloadMap() {
|
||||
|
|
|
@ -796,9 +796,9 @@ export default {
|
|||
this.$refs.attDetailDlg.showDialog(data);
|
||||
},
|
||||
initMe(){
|
||||
this.project=this.$root.project;
|
||||
this.dept=this.$root.dept;
|
||||
this.prjs=this.$root.projects;
|
||||
this.project=this.$root.project||{};
|
||||
this.dept=this.$root.dept||{};
|
||||
this.prjs=this.$root.projects||[];
|
||||
let res=this.project;
|
||||
if (res.id == 0) {
|
||||
if (this.prjs.length > 1) {
|
||||
|
|
|
@ -162,9 +162,9 @@ export default {
|
|||
|
||||
methods: {
|
||||
initMe(){
|
||||
this.project=this.$root.project;
|
||||
this.dept=this.$root.dept;
|
||||
this.prjs=this.$root.projects;
|
||||
this.project=this.$root.project||{};
|
||||
this.dept=this.$root.dept||{};
|
||||
this.prjs=this.$root.projects||[];
|
||||
this.loadData();
|
||||
},
|
||||
doStateDlg(){
|
||||
|
|
|
@ -477,9 +477,9 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
initMe(){
|
||||
this.prjInfo=this.$root.project;
|
||||
this.dept=this.$root.dept;
|
||||
this.projects=this.$root.projects;
|
||||
this.prjInfo=this.$root.project||{};
|
||||
this.dept=this.$root.dept||{};
|
||||
this.projects=this.$root.projects||[];
|
||||
this.loadProjectConstructionProgress();
|
||||
this.groupByProjectCategory(this.dept.id);
|
||||
this.deptChange();
|
||||
|
|
|
@ -349,9 +349,9 @@ export default {
|
|||
});
|
||||
},
|
||||
initMe(){
|
||||
this.projectInfo=this.$root.project;
|
||||
this.dept=this.$root.dept;
|
||||
this.prjs=this.$root.projects;
|
||||
this.projectInfo=this.$root.project||{};
|
||||
this.dept=this.$root.dept||{};
|
||||
this.prjs=this.$root.projects||[];
|
||||
this.doDeptChane();
|
||||
this.checkDetection(0);
|
||||
this.doMeasuredNav(0,'汇总')
|
||||
|
|
|
@ -404,9 +404,9 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
initMe(){
|
||||
this.projectInfo=this.$root.project;
|
||||
this.dept=this.$root.dept;
|
||||
this.projects=this.$root.projects;
|
||||
this.projectInfo=this.$root.project||{};
|
||||
this.dept=this.$root.dept||{};
|
||||
this.projects=this.$root.projects||[];
|
||||
this.doDeptChane();
|
||||
this.getWorkTrainList();
|
||||
this.getEmergencyDrillList();
|
||||
|
|
|
@ -394,9 +394,9 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
initMe(){
|
||||
this.projectInfo=this.$root.project;
|
||||
this.dept=this.$root.dept;
|
||||
this.projectInfos=this.$root.projects;
|
||||
this.projectInfo=this.$root.project||{};
|
||||
this.dept=this.$root.dept||{};
|
||||
this.projectInfos=this.$root.projects||[];
|
||||
this.initVideoMenu();
|
||||
},
|
||||
init() {
|
||||
|
|
|
@ -305,9 +305,9 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
initMe(){
|
||||
this.projectInfo=this.$root.project;
|
||||
this.dept=this.$root.dept;
|
||||
this.projectInfos=this.$root.projects;
|
||||
this.projectInfo=this.$root.project||{};
|
||||
this.dept=this.$root.dept||{};
|
||||
this.projectInfos=this.$root.projects||[];
|
||||
this.initVideoMenu();
|
||||
},
|
||||
init(){
|
||||
|
|
|
@ -23,8 +23,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/`,
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
'^/jhapi':'/'
|
||||
|
|
Loading…
Reference in New Issue