update code

prv
haha 2023-10-10 22:54:06 +08:00
parent 30c443bdf7
commit 1dbc6f7d71
11 changed files with 28 additions and 28 deletions

View File

@ -47,7 +47,7 @@ export default {
methods: {
initMe(){
this.project=this.$root.project;
this.project=this.$root.project||{};
this.reloadMap();
},
initImages(files){

View File

@ -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;

View File

@ -27,7 +27,7 @@ export default {
methods: {
initMe() {
this.project = this.$root.project;
this.project = this.$root.project||{};
this.reloadMap();
},
reloadMap() {

View File

@ -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) {

View File

@ -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(){

View File

@ -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();

View File

@ -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,'汇总')

View File

@ -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();

View File

@ -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() {

View File

@ -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(){

View File

@ -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':'/'