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