diff --git a/src/views/modules/shequzhili/csgltc/csgl.vue b/src/views/modules/shequzhili/csgltc/csgl.vue
index 4fb809e5..23ed5ca4 100644
--- a/src/views/modules/shequzhili/csgltc/csgl.vue
+++ b/src/views/modules/shequzhili/csgltc/csgl.vue
@@ -118,10 +118,24 @@
label="地址"
mix-width="230">
+
+
+
+
@@ -270,31 +284,31 @@ export default {
responseType: "blob",
data: params,
})
- .then((res) => {
- // this.download(res.data, title + '.xls')
- if (res.headers["content-disposition"]) {
- let fileName = window.decodeURI(
- res.headers["content-disposition"].split(";")[1].split("=")[1]
- );
- console.log("filename", fileName);
- let blob = new Blob([res.data], {
- type: "application/vnd.ms-excel",
- });
- var url = window.URL.createObjectURL(blob);
- var aLink = document.createElement("a");
- aLink.style.display = "none";
- aLink.href = url;
- aLink.setAttribute("download", fileName);
- document.body.appendChild(aLink);
- aLink.click();
- document.body.removeChild(aLink); //下载完成移除元素
- window.URL.revokeObjectURL(url); //释放掉blob对象
- } else this.$message.error("下载失败");
- })
- .catch((err) => {
- console.log("err", err);
- return this.$message.error("网络错误");
- });
+ .then((res) => {
+ // this.download(res.data, title + '.xls')
+ if (res.headers["content-disposition"]) {
+ let fileName = window.decodeURI(
+ res.headers["content-disposition"].split(";")[1].split("=")[1]
+ );
+ console.log("filename", fileName);
+ let blob = new Blob([res.data], {
+ type: "application/vnd.ms-excel",
+ });
+ var url = window.URL.createObjectURL(blob);
+ var aLink = document.createElement("a");
+ aLink.style.display = "none";
+ aLink.href = url;
+ aLink.setAttribute("download", fileName);
+ document.body.appendChild(aLink);
+ aLink.click();
+ document.body.removeChild(aLink); //下载完成移除元素
+ window.URL.revokeObjectURL(url); //释放掉blob对象
+ } else this.$message.error("下载失败");
+ })
+ .catch((err) => {
+ console.log("err", err);
+ return this.$message.error("网络错误");
+ });
},
//获取服务事项下拉框
diff --git a/src/views/modules/shequzhili/csgltc/csglDetail.vue b/src/views/modules/shequzhili/csgltc/csglDetail.vue
index af3dff97..4c652e19 100644
--- a/src/views/modules/shequzhili/csgltc/csglDetail.vue
+++ b/src/views/modules/shequzhili/csgltc/csglDetail.vue
@@ -35,13 +35,26 @@
style="display: block">
{{formData.capacity}}
+
+ {{formData.principal}}
+
+
+ {{formData.mobile}}
+
@@ -76,7 +89,7 @@ export default {
},
components: {},
async mounted () {
- await this.initMap()
+ await this.initMap()
},
methods: {
@@ -100,7 +113,7 @@ export default {
initMap () {
// 定义地图中心点坐标
let { latitude, longitude } = this.$store.state.user;
- console.log('lat'+latitude+',lon'+longitude)
+ console.log('lat' + latitude + ',lon' + longitude)
if (!latitude || latitude == "" || latitude == "0") {
latitude = 39.9088810666821;
longitude = 116.39743841556731;
diff --git a/src/views/modules/shequzhili/csgltc/csglForm.vue b/src/views/modules/shequzhili/csgltc/csglForm.vue
index a39a2b94..a8cf3b8a 100644
--- a/src/views/modules/shequzhili/csgltc/csglForm.vue
+++ b/src/views/modules/shequzhili/csgltc/csglForm.vue
@@ -78,22 +78,39 @@
:max="9999"
label="容纳人数">
+
+
+
+
+
+
+
+
@@ -141,7 +158,9 @@ export default {
capacity: 0,//容纳人数
address: '', //详细地址
longitude: 36.0722275, //经度
- latitude: 120.38945519 //纬度
+ latitude: 120.38945519, //纬度
+ principal: '',
+ mobile: ''
},
cityManagement: {
@@ -205,14 +224,14 @@ export default {
const { data, code, msg } = await requestPost(url, params)
if (code === 0) {
- if (null != data){
- data : this.cityManagement
+ if (null != data) {
+ data: this.cityManagement
}
this.formData = { ...data }
// let { latitude, longitude } = this.$store.state.user;
// const lat = this.formData.latitude === null || this.formData.latitude === '' ? latitude : this.formData.latitude;
// const lon = this.formData.longitude === null || this.formData.longitude === '' ? longitude : this.formData.longitude;
- if (this.formData.latitude !== null && this.formData.latitude !== '' && this.formData.longitude !== null && this.formData.longitude !== ''){
+ if (this.formData.latitude !== null && this.formData.latitude !== '' && this.formData.longitude !== null && this.formData.longitude !== '') {
map.setCenter(new TMap.LatLng(this.formData.latitude, this.formData.longitude))
this.setMarker(this.formData.latitude, this.formData.longitude)
}
@@ -243,9 +262,9 @@ export default {
},
async addUnit () {
let url = ''
- if (this.formType === 'add'){
+ if (this.formType === 'add') {
url = '/gov/org/icCityManagement/add'
- }else {
+ } else {
url = '/gov/org/icCityManagement/edit'
}
const { data, code, msg, internalMsg } = await requestPost(url, this.formData)
@@ -273,7 +292,7 @@ export default {
initMap () {
// 定义地图中心点坐标
let { latitude, longitude } = this.$store.state.user;
- console.log('lat'+latitude+',lon'+longitude)
+ console.log('lat' + latitude + ',lon' + longitude)
if (!latitude || latitude == "" || latitude == "0") {
latitude = 39.9088810666821;
longitude = 116.39743841556731;
diff --git a/src/views/modules/shequzhili/ggfwtc/ggfw.vue b/src/views/modules/shequzhili/ggfwtc/ggfw.vue
index 9e781de2..f1c7e7fa 100644
--- a/src/views/modules/shequzhili/ggfwtc/ggfw.vue
+++ b/src/views/modules/shequzhili/ggfwtc/ggfw.vue
@@ -116,9 +116,23 @@
label="地址"
mix-width="230">
+
+
+
+
@@ -276,31 +290,31 @@ export default {
responseType: "blob",
data: params,
})
- .then((res) => {
- // this.download(res.data, title + '.xls')
- if (res.headers["content-disposition"]) {
- let fileName = window.decodeURI(
- res.headers["content-disposition"].split(";")[1].split("=")[1]
- );
- console.log("filename", fileName);
- let blob = new Blob([res.data], {
- type: "application/vnd.ms-excel",
- });
- var url = window.URL.createObjectURL(blob);
- var aLink = document.createElement("a");
- aLink.style.display = "none";
- aLink.href = url;
- aLink.setAttribute("download", fileName);
- document.body.appendChild(aLink);
- aLink.click();
- document.body.removeChild(aLink); //下载完成移除元素
- window.URL.revokeObjectURL(url); //释放掉blob对象
- } else this.$message.error("下载失败");
- })
- .catch((err) => {
- console.log("err", err);
- return this.$message.error("网络错误");
- });
+ .then((res) => {
+ // this.download(res.data, title + '.xls')
+ if (res.headers["content-disposition"]) {
+ let fileName = window.decodeURI(
+ res.headers["content-disposition"].split(";")[1].split("=")[1]
+ );
+ console.log("filename", fileName);
+ let blob = new Blob([res.data], {
+ type: "application/vnd.ms-excel",
+ });
+ var url = window.URL.createObjectURL(blob);
+ var aLink = document.createElement("a");
+ aLink.style.display = "none";
+ aLink.href = url;
+ aLink.setAttribute("download", fileName);
+ document.body.appendChild(aLink);
+ aLink.click();
+ document.body.removeChild(aLink); //下载完成移除元素
+ window.URL.revokeObjectURL(url); //释放掉blob对象
+ } else this.$message.error("下载失败");
+ })
+ .catch((err) => {
+ console.log("err", err);
+ return this.$message.error("网络错误");
+ });
},
//获取服务事项下拉框
@@ -619,8 +633,8 @@ export default {
}
diff --git a/src/views/modules/shequzhili/ggfwtc/ggfwForm.vue b/src/views/modules/shequzhili/ggfwtc/ggfwForm.vue
index 53de80d4..11ccaa90 100644
--- a/src/views/modules/shequzhili/ggfwtc/ggfwForm.vue
+++ b/src/views/modules/shequzhili/ggfwtc/ggfwForm.vue
@@ -60,22 +60,38 @@
:max="9999"
label="容纳人数">
+
+
+
+
+
+
+
@@ -94,357 +110,359 @@