diff --git a/src/api/yg/bzhjs.js b/src/api/yg/bzhjs.js index 5839e58..670d84a 100644 --- a/src/api/yg/bzhjs.js +++ b/src/api/yg/bzhjs.js @@ -26,6 +26,13 @@ export function getBzhjs(id) { }) } +export function getChart() { + return request({ + url: '/sz/bzhjs/chart', + method: 'get' + }) +} + // 新增水闸标准化建设 export function addBzhjs(data) { return request({ @@ -59,4 +66,4 @@ export function exportBzhjs(query) { method: 'get', params: query }) -} \ No newline at end of file +} diff --git a/src/api/yg/dike/bzhjs.js b/src/api/yg/dike/bzhjs.js index c7dd090..62c4bff 100644 --- a/src/api/yg/dike/bzhjs.js +++ b/src/api/yg/dike/bzhjs.js @@ -18,6 +18,13 @@ export function listBzhjs(query) { }) } +export function getChart() { + return request({ + url: '/df/bzhjs/chart', + method: 'get' + }) +} + // 查询堤防标准化建设详细 export function getBzhjs(id) { return request({ @@ -59,4 +66,4 @@ export function exportBzhjs(query) { method: 'get', params: query }) -} \ No newline at end of file +} diff --git a/src/api/yg/dike/fzr.js b/src/api/yg/dike/fzr.js index b465921..9abdf72 100644 --- a/src/api/yg/dike/fzr.js +++ b/src/api/yg/dike/fzr.js @@ -8,6 +8,14 @@ export function getPie() { }) } +export function getPercent() { + return request({ + url: '/df/fzr/percent', + method: 'get', + }) +} + + // 柱状图图 export function getHistogram() { return request({ diff --git a/src/api/yg/fzr.js b/src/api/yg/fzr.js index e83badf..af735fe 100644 --- a/src/api/yg/fzr.js +++ b/src/api/yg/fzr.js @@ -8,6 +8,14 @@ export function getPie() { }) } +export function getPercent() { + return request({ + url: '/yg/fzr/percent', + method: 'get', + }) +} + + // 柱状图图 export function getHistogram() { return request({ diff --git a/src/api/yg/jbxx.js b/src/api/yg/jbxx.js index 3275467..547d752 100644 --- a/src/api/yg/jbxx.js +++ b/src/api/yg/jbxx.js @@ -8,6 +8,8 @@ export function getPie() { }) } + + // 柱状图图 export function getHistogram() { return request({ diff --git a/src/components/linkNameSelect/linkRes.vue b/src/components/linkNameSelect/linkRes.vue index 82450d9..42bba1a 100644 --- a/src/components/linkNameSelect/linkRes.vue +++ b/src/components/linkNameSelect/linkRes.vue @@ -16,7 +16,7 @@ multiple > { + listBase(this.resNameQueryParams).then((res) => { console.log(111, res); - this.dikeNameOptions = res.records; + this.resNameOptions = res.records; }); }, methods: { @@ -96,13 +96,13 @@ export default { return true; }, reset() { - this.dikeNameQueryParams = { + this.resNameQueryParams = { pageNum: 1, pageSize: 10, ids: null, data: { - dikeName: null, - dikeCode: null, + resName: null, + resCode: null, }, // 排序方式 params: { @@ -117,8 +117,8 @@ export default { // console.log(1111, this.form); // if (!keyWork) { this.reset(); - listBase(this.dikeNameQueryParams).then((res) => { - this.dikeNameOptions = res.records; + listBase(this.resNameQueryParams).then((res) => { + this.resNameOptions = res.records; }); // }else{ @@ -128,21 +128,21 @@ export default { this.selectLoading = true; if (query !== "") { // console.log(444, query); - this.dikeNameQueryParams.data.dikeName = query; + this.resNameQueryParams.data.resName = query; } else { this.reset(); } - listBase(this.dikeNameQueryParams).then((res) => { - this.dikeNameOptions = res.records; + listBase(this.resNameQueryParams).then((res) => { + this.resNameOptions = res.records; this.selectLoading = false; }); }, selectSearch() { - this.dikeNameQueryParams.pageNum += 1; - listBase(this.dikeNameQueryParams).then((res) => { + this.resNameQueryParams.pageNum += 1; + listBase(this.resNameQueryParams).then((res) => { // console.log(111, res); - this.dikeNameOptions = [...this.dikeNameOptions, ...res.records]; - // console.log(111, this.dikeNameOptions); + this.resNameOptions = [...this.resNameOptions, ...res.records]; + // console.log(111, this.resNameOptions); }); }, chooseDike(item) { diff --git a/src/views/dike/managementGuarantee/standardizationConstruction/dataCharts.vue b/src/views/dike/managementGuarantee/standardizationConstruction/dataCharts.vue index cce7e8a..00c600f 100644 --- a/src/views/dike/managementGuarantee/standardizationConstruction/dataCharts.vue +++ b/src/views/dike/managementGuarantee/standardizationConstruction/dataCharts.vue @@ -8,6 +8,8 @@ + + diff --git a/src/views/dike/safetyManage/responsiblePersonManage/index.vue b/src/views/dike/safetyManage/responsiblePersonManage/index.vue index f5e3cf1..2f2c1c0 100644 --- a/src/views/dike/safetyManage/responsiblePersonManage/index.vue +++ b/src/views/dike/safetyManage/responsiblePersonManage/index.vue @@ -10,18 +10,43 @@ {{ item.routeName }} +
+ + +

+ + 责任人统计 +

+
+
+
+ + +
+ + +

+ + 责任人落实率统计 +

+
+
+
+ + + diff --git a/src/views/sluice/safetyManage/responsiblePersonManage/index.vue b/src/views/sluice/safetyManage/responsiblePersonManage/index.vue index 291e144..1986a5a 100644 --- a/src/views/sluice/safetyManage/responsiblePersonManage/index.vue +++ b/src/views/sluice/safetyManage/responsiblePersonManage/index.vue @@ -10,18 +10,40 @@ {{ item.routeName }} +
+ + +

+ + 责任人统计 +

+
+
+
- +
+ + +

+ + 责任人落实率统计 +

+
+
+
+