zhanghongrui 1 year ago
parent
commit
219f272140
2 changed files with 2 additions and 2 deletions
  1. 1 1
      api/common.js
  2. 1 1
      pages/statistics/historyDetailMunicipal.vue

+ 1 - 1
api/common.js

@@ -4,7 +4,7 @@ import request from '@/utils/request'
 export function getHistoryMunicipalDetails(id, name) {
 
 	return request({
-		'url': '/zdsz/engineeringIndustry/query/' + id + '/' + name,
+		'url': '/zdsz/engineeringIndustry/' + id + '/' + name,
 		'method': 'get',
 	})
 }

+ 1 - 1
pages/statistics/historyDetailMunicipal.vue

@@ -268,7 +268,7 @@
 			if ('params' in options) {
 				let e = JSON.parse(decodeURIComponent(options.params));
 				this.nodeId = e.id;
-				this.type = e.type;
+				this.type = e.type=='沟上施工'?'trench_construction':'underditch_construction';
 				getHistoryMunicipalDetails(this.nodeId, this.type).then(response => {
 					if (response.data.zEngineeringNodeBo != null) {
 						this.hideButton = false;