diff --git a/src/api/sunVillage_info/fixedAssets.js b/src/api/sunVillage_info/fixedAssets.js index 2e2ba39b..ac983168 100644 --- a/src/api/sunVillage_info/fixedAssets.js +++ b/src/api/sunVillage_info/fixedAssets.js @@ -1372,6 +1372,15 @@ export function specialPublicityDetail(query) { }) } +// 查询四议两公开列表 +export function addReadCount(query) { + return request({ + url: '/open/villageAffairs/public/addReadCount', + method: 'get', + params: query + }) +} + // 查询四议两公开列表 export function specialPublicityEdit(data) { return request({ @@ -1406,3 +1415,45 @@ export function updateSpecialPublicityCount(query) { params: query }) } + +// 收支明细公开 +export function financialPublicDetailReport(query) { + return request({ + url: '/open/finance/financialPublicDetailReport', + method: 'get', + params: query + }) +} + + +// 收支明细公开 +export function jyxzcqkgkList(query) { + return request({ + url: '/open/asset/jyxzcqkgk/list', + method: 'get', + params: query + }) +} + +// 收支明细公开 +export function jyxzyqkgkList(query) { + return request({ + url: '/open/assetresource/jyxzyqkgk/list', + method: 'get', + params: query + }) +} + +export function jyxzcqkgkDetail(id) { + return request({ + url: '/open/asset/jyxzcqkgk/detail/' + id, + method: 'get' + }) +} + +export function jyxzyqkgkDetail(id) { + return request({ + url: '/open/assetresource/jyxzyqkgk/detail/' + id, + method: 'get' + }) +} diff --git a/src/assets/images/location/mark.png b/src/assets/images/location/mark.png new file mode 100644 index 00000000..782d405a Binary files /dev/null and b/src/assets/images/location/mark.png differ diff --git a/src/components/Map/MapGisLine.vue b/src/components/Map/MapGisLine.vue index cdef8457..04d74b8c 100644 --- a/src/components/Map/MapGisLine.vue +++ b/src/components/Map/MapGisLine.vue @@ -115,7 +115,7 @@ export default { console.log('定位失败: ' + error.message); getQueryLand().then(callback); }, - { enableHighAccuracy: true, timeout: 10000 } + { enableHighAccuracy: true, timeout: 5000 } ); return; } @@ -124,6 +124,22 @@ export default { console.log('使用地区坐标定位'); getQueryLand().then(callback); }, + getDeptLocation(callback) { + getQueryLand().then((response) => { + if (response.code == 200) { + let InsertCode = response.data; + if (InsertCode != null) { + var lat = InsertCode.lat; + var lng = InsertCode.lng; + if(lat !=null && lng !=null && lat !="" && lng !=""){ + callback(response); + return; + } + } + } + this.getCurrentLocation(callback); + }); + }, //地图查看 drawingPaceCountryLine() { //加载地图编辑 @@ -132,6 +148,45 @@ export default { //var hc_land; var draw; // global so we can remove it later var vector_drawing; + + var mark_layer = null; + function addMark(lng, lat) { + if(!mark_layer) + { + mark_layer = new ol.layer.Vector({ + source: new ol.source.Vector(), + }); + map.addLayer(mark_layer); + } + else + mark_layer.getSource().clear(); + + let newFeature = new ol.Feature({ + geometry: new ol.geom.Point(ol.proj.fromLonLat([lng, lat])), //几何信息 + //name: "标注点", + }); + newFeature.setStyle(new ol.style.Style({ + image: new ol.style.Icon({ + //设置图标偏移 + anchor: [0.5, 0.5], + //标注样式的起点位置 + anchorOrigin: "top-right", + //X方向单位:分数 + anchorXUnits: "fraction", + //Y方向单位:像素 + anchorYUnits: "fraction", + //偏移起点位置的方向 + offsetOrigin: "top-right", + //透明度 + opacity: 0.9, + //图片路径 + src: require('../../assets/images/location/mark.png'), + }), + zIndex: 9999, + })); + mark_layer.getSource().addFeature(newFeature); + } + if (that.message != null && that.message != "" && that.message != undefined) { document.getElementById(that.uuidMap).innerHTML = ''; @@ -359,6 +414,7 @@ export default { }else { Zb =[115.452752, 31.789033]; } + addMark(lng,lat); map.getView().animate({ // 只设置需要的属性即可 center: ol.proj.fromLonLat(Zb), // 中心点 @@ -398,7 +454,7 @@ export default { }); //获取坐标是否存在 var Zb; - this.getCurrentLocation((response) => { + this.getDeptLocation((response) => { if (response.code == 200) { let InsertCode = response.data; if (InsertCode != null) { @@ -524,6 +580,7 @@ export default { }else { Zb =[115.452752, 31.789033]; } + addMark(lng,lat); map.getView().animate({ // 只设置需要的属性即可 center: ol.proj.fromLonLat(Zb), // 中心点 diff --git a/src/components/Map/MapGisTagDTGCopy.vue b/src/components/Map/MapGisTagDTGCopy.vue index 6f2e7bf0..7b504b70 100644 --- a/src/components/Map/MapGisTagDTGCopy.vue +++ b/src/components/Map/MapGisTagDTGCopy.vue @@ -111,7 +111,7 @@ console.log('定位失败: ' + error.message); getQueryLand().then(callback); }, - { enableHighAccuracy: true, timeout: 10000 } + { enableHighAccuracy: true, timeout: 5000 } ); return; } @@ -120,6 +120,22 @@ console.log('使用地区坐标定位'); getQueryLand().then(callback); }, + getDeptLocation(callback) { + getQueryLand().then((response) => { + if (response.code == 200) { + let InsertCode = response.data; + if (InsertCode != null) { + var lat = InsertCode.lat; + var lng = InsertCode.lng; + if(lat !=null && lng !=null && lat !="" && lng !=""){ + callback(response); + return; + } + } + } + this.getCurrentLocation(callback); + }); + }, //地图查看 pointPaceCountryDarw() { //加载地图编辑 @@ -128,6 +144,45 @@ //var hc_land; var draw; // global so we can remove it later var vector_drawing; + + var mark_layer = null; + function addMark(lng, lat) { + if(!mark_layer) + { + mark_layer = new ol.layer.Vector({ + source: new ol.source.Vector(), + }); + map.addLayer(mark_layer); + } + else + mark_layer.getSource().clear(); + + let newFeature = new ol.Feature({ + geometry: new ol.geom.Point(ol.proj.fromLonLat([lng, lat])), //几何信息 + //name: "标注点", + }); + newFeature.setStyle(new ol.style.Style({ + image: new ol.style.Icon({ + //设置图标偏移 + anchor: [0.5, 0.5], + //标注样式的起点位置 + anchorOrigin: "top-right", + //X方向单位:分数 + anchorXUnits: "fraction", + //Y方向单位:像素 + anchorYUnits: "fraction", + //偏移起点位置的方向 + offsetOrigin: "top-right", + //透明度 + opacity: 0.9, + //图片路径 + src: require('../../assets/images/location/mark.png'), + }), + zIndex: 9999, + })); + mark_layer.getSource().addFeature(newFeature); + } + //矢量标注样式设置函数,设置image为图标ol.style.Icon function createLabelStyle() { return new ol.style.Style({ @@ -399,6 +454,7 @@ }else { Zb =[115.452752, 31.789033]; } + addMark(lng,lat); map.getView().animate({ // 只设置需要的属性即可 center: ol.proj.fromLonLat(Zb), // 中心点 @@ -440,7 +496,7 @@ //获取坐标是否存在 var Zb; //开始定位当前位置 - this.getCurrentLocation(res => { + this.getDeptLocation(res => { if (res.code == 200) { let lat = res.data.lat; let lng = res.data.lng; @@ -601,6 +657,7 @@ }else { Zb =[115.452752, 31.789033]; } + addMark(lng,lat); map.getView().animate({ // 只设置需要的属性即可 center: ol.proj.fromLonLat(Zb), // 中心点 diff --git a/src/permission.js b/src/permission.js index 2a6263fb..4952fa75 100644 --- a/src/permission.js +++ b/src/permission.js @@ -214,6 +214,16 @@ const whiteList = [ '/sunVillage_info/financeOpen', //村民主页 + '/sunVillage_info/login_code_new', //村民登录 + '/sunVillage_info/index_code_rights_new', //村民登录 + '/sunVillage_info/list_revenueAndExpenditure', //村民登录 + '/sunVillage_info/list_operatingAssets', //村民登录 + '/sunVillage_info/list_operatingAssets_detail', //村民登录 + '/sunVillage_info/list_operatingAssets_detail2', //村民登录 + '/sunVillage_info/otherOpenVisitIndexNew', //村民登录 + '/sunVillage_info/otherOpenVisitDetailNew', //村民登录 + + //承包地确权 '/contracted/login',//登录 '/contracted/index',//首页 diff --git a/src/router/index.js b/src/router/index.js index c1db91bc..5fa8ab31 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -4029,6 +4029,24 @@ export const constantRoutes = [ }, component: (resolve) => require(['@/views/sunVillage_info/otherOpen/otherOpenVisitDetail'], resolve) }, + { ////阳光村务(新)-- 综合公开 游客 + path: '/sunVillage_info/otherOpenVisitIndexNew', + name: 'otherOpenVisitIndexNew', + meta: { + title: '综合公开', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/otherOpenNew/otherOpenVisitList'], resolve) + }, + { ////阳光村务(新)-- 综合公开详情 游客 + path: '/sunVillage_info/otherOpenVisitDetailNew', + name: 'otherOpenVisitDetailNew', + meta: { + title: '综合公开详情', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/otherOpenNew/otherOpenVisitDetail'], resolve) + }, { ////阳光村务(新)-- 发包方审核 path: '/sunVillage_info/list_employer_process', @@ -6468,6 +6486,60 @@ export const constantRoutes = [ }, component: (resolve) => require(['@/views/pest/temperatureAndHumidity/temperatureAndHumidity'], resolve) }, + { // 阳光村务(一村一码)-- 村民登录 + path: '/sunVillage_info/login_code_new', + name: 'sunVillageInfoCodeLoginNew', + meta: { + title: '登录', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/login_code_new'], resolve) + }, + { // 阳光村务(一村一码)-- 村民登录 + path: '/sunVillage_info/index_code_rights_new', + name: 'sunVillageInfoCodeRightsNew', + meta: { + title: '首页', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/index_code_rights_new'], resolve) + }, + { // 阳光村务(一村一码)-- 村民登录 + path: '/sunVillage_info/list_revenueAndExpenditure', + name: 'sunVillageInfoRevenueAndExpendituresNew', + meta: { + title: '收支明细公开', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/list_revenueAndExpenditure'], resolve) + }, + { // 阳光村务(一村一码)-- 村民登录 + path: '/sunVillage_info/list_operatingAssets', + name: 'sunVillageInfoOperatingAssets', + meta: { + title: '经营性资产情况公开', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/list_operatingAssets'], resolve) + }, + { // 阳光村务(一村一码)-- 村民登录 + path: '/sunVillage_info/list_operatingAssets_detail', + name: 'sunVillageInfoOperatingAssetsDetail', + meta: { + title: '经营性资产情况公开', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/list_operatingAssets_detail'], resolve) + }, + { // 阳光村务(一村一码)-- 村民登录 + path: '/sunVillage_info/list_operatingAssets_detail2', + name: 'sunVillageInfoOperatingAssetsDetail2', + meta: { + title: '经营性资产情况公开', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/list_operatingAssets_detail2'], resolve) + }, { // 阳光村务(一村一码)-- 村民登录 path: '/sunVillage_info/login_farmer', name: 'sunVillageInfoFarmerLogin', diff --git a/src/views/sunVillage_info/fixedAssets.vue b/src/views/sunVillage_info/fixedAssets.vue index ee13bfd5..bfb4f1b3 100644 --- a/src/views/sunVillage_info/fixedAssets.vue +++ b/src/views/sunVillage_info/fixedAssets.vue @@ -9,11 +9,8 @@
- - - + +
共{{listLength}}个资产
@@ -74,6 +71,34 @@ + +
+ + +
筛选
+
+ + 未上图 + + + 无附件 + + +
+
+ 搜索 +
+
+
+ + diff --git a/src/views/sunVillage_info/list_operatingAssets.vue b/src/views/sunVillage_info/list_operatingAssets.vue new file mode 100644 index 00000000..3d270710 --- /dev/null +++ b/src/views/sunVillage_info/list_operatingAssets.vue @@ -0,0 +1,482 @@ + + + + + diff --git a/src/views/sunVillage_info/list_operatingAssets_detail.vue b/src/views/sunVillage_info/list_operatingAssets_detail.vue new file mode 100644 index 00000000..af3a6997 --- /dev/null +++ b/src/views/sunVillage_info/list_operatingAssets_detail.vue @@ -0,0 +1,193 @@ + + + + + diff --git a/src/views/sunVillage_info/list_operatingAssets_detail2.vue b/src/views/sunVillage_info/list_operatingAssets_detail2.vue new file mode 100644 index 00000000..8b04995d --- /dev/null +++ b/src/views/sunVillage_info/list_operatingAssets_detail2.vue @@ -0,0 +1,198 @@ + + + + + diff --git a/src/views/sunVillage_info/list_revenueAndExpenditure.vue b/src/views/sunVillage_info/list_revenueAndExpenditure.vue new file mode 100644 index 00000000..33581827 --- /dev/null +++ b/src/views/sunVillage_info/list_revenueAndExpenditure.vue @@ -0,0 +1,470 @@ + + + + + diff --git a/src/views/sunVillage_info/list_special_add.vue b/src/views/sunVillage_info/list_special_add.vue index 0a770dd8..85a3eff5 100644 --- a/src/views/sunVillage_info/list_special_add.vue +++ b/src/views/sunVillage_info/list_special_add.vue @@ -87,6 +87,12 @@ + + + + + + diff --git a/src/views/sunVillage_info/otherOpenNew/otherOpenDetail.vue b/src/views/sunVillage_info/otherOpenNew/otherOpenDetail.vue new file mode 100644 index 00000000..20d0ad1c --- /dev/null +++ b/src/views/sunVillage_info/otherOpenNew/otherOpenDetail.vue @@ -0,0 +1,178 @@ + + + diff --git a/src/views/sunVillage_info/otherOpenNew/otherOpenEdit.vue b/src/views/sunVillage_info/otherOpenNew/otherOpenEdit.vue new file mode 100644 index 00000000..0e017ab8 --- /dev/null +++ b/src/views/sunVillage_info/otherOpenNew/otherOpenEdit.vue @@ -0,0 +1,280 @@ + + + diff --git a/src/views/sunVillage_info/otherOpenNew/otherOpenList.vue b/src/views/sunVillage_info/otherOpenNew/otherOpenList.vue new file mode 100644 index 00000000..84808d1d --- /dev/null +++ b/src/views/sunVillage_info/otherOpenNew/otherOpenList.vue @@ -0,0 +1,485 @@ + + + + + diff --git a/src/views/sunVillage_info/otherOpenNew/otherOpenVisitDetail.vue b/src/views/sunVillage_info/otherOpenNew/otherOpenVisitDetail.vue new file mode 100644 index 00000000..1b41537e --- /dev/null +++ b/src/views/sunVillage_info/otherOpenNew/otherOpenVisitDetail.vue @@ -0,0 +1,194 @@ + + + diff --git a/src/views/sunVillage_info/otherOpenNew/otherOpenVisitList.vue b/src/views/sunVillage_info/otherOpenNew/otherOpenVisitList.vue new file mode 100644 index 00000000..ef21158b --- /dev/null +++ b/src/views/sunVillage_info/otherOpenNew/otherOpenVisitList.vue @@ -0,0 +1,441 @@ + + + + + diff --git a/src/views/sunVillage_info/resource.vue b/src/views/sunVillage_info/resource.vue index 6bd4f854..f144eb6f 100644 --- a/src/views/sunVillage_info/resource.vue +++ b/src/views/sunVillage_info/resource.vue @@ -9,11 +9,7 @@
- - - +
共{{listLength}}个资源
@@ -69,6 +65,34 @@ + + +
+ + +
筛选
+
+ + 未上图 + + + 无附件 + + +
+
+ 搜索 +
+
+