Browse Source

运管立项

master
zth 3 weeks ago
parent
commit
0f9887535c
  1. 12
      src/views/dike/engineeringCondition/dikeBaseInfo/options/historyOverflowsRecords.vue
  2. 6
      src/views/dike/engineeringCondition/dikeBaseInfo/options/index.vue
  3. 2
      src/views/dike/managementGuarantee/standardizationConstruction/listPage/index.vue
  4. 4
      src/views/dike/safetyManage/declarationManage/declare/components/listPage/options/historyOverflowsRecords.vue
  5. 2
      src/views/dike/safetyManage/declarationManage/declare/components/listPage/options/index.vue
  6. 3
      src/views/sluice/engineeringCondition/sluiceBaseInfo/options/dischargeCapacity2.vue
  7. 4
      src/views/sluice/engineeringCondition/sluiceBaseInfo/options/index.vue
  8. 2
      src/views/sluice/managementGuarantee/standardizationConstruction/listPage/index.vue

12
src/views/dike/engineeringCondition/dikeBaseInfo/options/historyOverflowsRecords.vue

@ -122,7 +122,11 @@
align="center" align="center"
prop="dikeName" prop="dikeName"
min-width="120" min-width="120"
/> >
<template>
{{ this.formData.dikeName}}
</template>
</el-table-column>
<el-table-column <el-table-column
label="记录更新时间" label="记录更新时间"
align="center" align="center"
@ -210,7 +214,7 @@ import {
export default { export default {
name: "Jyjl", name: "Jyjl",
props: ["dikeCode"], props: ["dikeCode","formData"],
data() { data() {
return { return {
// //
@ -281,11 +285,13 @@ export default {
}, },
/** 查询决溢记录列表 */ /** 查询决溢记录列表 */
getList() { getList() {
this.loading=true
this.queryParams.data.dikeCode = this.dikeCode; this.queryParams.data.dikeCode = this.dikeCode;
listJyjl(this.queryParams).then((response) => { listJyjl(this.queryParams).then((response) => {
if (response.records[0]) { if (response.records[0]) {
this.form = response.records[0]; this.form = response.records[0];
this.tableData=response.record; this.tableData=response.records;
console.log(this.tableData)
this.loading=false this.loading=false
} }
}); });

6
src/views/dike/engineeringCondition/dikeBaseInfo/options/index.vue

@ -73,7 +73,11 @@
:disabled="!routeList[1].isEdit" :disabled="!routeList[1].isEdit"
:lazy="true" :lazy="true"
> >
<historyOverflowsRecords :dikeCode="this.formData.dikeCode" /> <historyOverflowsRecords
v-if="activeName === 'historyOverflowsRecords'"
:dikeCode="this.formData.dikeCode"
:form-data="formData"
/>
</el-tab-pane> </el-tab-pane>
<el-tab-pane <el-tab-pane
label="主要效益指标" label="主要效益指标"

2
src/views/dike/managementGuarantee/standardizationConstruction/listPage/index.vue

@ -1093,7 +1093,7 @@ export default {
if (this.form.score) { if (this.form.score) {
this.evalForm = JSON.parse(this.form.score); this.evalForm = JSON.parse(this.form.score);
const value = Object.values(this.evalForm.score); const value = Object.values(this.evalForm.score);
this.sum=this.sum-value.reduce((a, b) => { this.sum=1050-value.reduce((a, b) => {
// //
return a + Number(b); return a + Number(b);
}, 0); }, 0);

4
src/views/dike/safetyManage/declarationManage/declare/components/listPage/options/historyOverflowsRecords.vue

@ -140,8 +140,8 @@ export default {
getList() { getList() {
this.queryParams.data.dikeCode = this.dikeCode; this.queryParams.data.dikeCode = this.dikeCode;
listJyjl(this.queryParams).then((response) => { listJyjl(this.queryParams).then((response) => {
if (response.records[0]) { if (response.records) {
this.form = response.records[0]; this.form = response.records;
} }
}); });
}, },

2
src/views/dike/safetyManage/declarationManage/declare/components/listPage/options/index.vue

@ -81,7 +81,7 @@
:disabled="!routeList[1].isEdit" :disabled="!routeList[1].isEdit"
:lazy="true" :lazy="true"
> >
<historyOverflowsRecords :dikeCode="this.formData.dikeCode" /> <historyOverflowsRecords v-if="activeName === 'historyOverflowsRecords'" :dikeCode="this.formData.dikeCode" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane <el-tab-pane
label="主要效益指标" label="主要效益指标"

3
src/views/sluice/engineeringCondition/sluiceBaseInfo/options/dischargeCapacity2.vue

@ -57,7 +57,7 @@ import {
export default { export default {
name: "Xlnl", name: "Xlnl",
props: ["wagaName"], props: ["wagaName","wagaCode"],
data() { data() {
return { return {
// //
@ -94,6 +94,7 @@ export default {
updateUid: null, updateUid: null,
proCode: null, proCode: null,
proNo: null, proNo: null,
wagaCode:null,
owerDept: null, owerDept: null,
relation: null, relation: null,
}, },

4
src/views/sluice/engineeringCondition/sluiceBaseInfo/options/index.vue

@ -46,7 +46,9 @@
:disabled="!routeList[1].isEdit" :disabled="!routeList[1].isEdit"
:lazy="true" :lazy="true"
> >
<dischargeCapacity2 :wagaName="formData.wagaName" :wagaCode="formData.wagaCode"/> <dischargeCapacity2
v-if="activeName === 'dischargeCapacity2'"
:wagaName="formData.wagaName" :wagaCode="formData.wagaCode"/>
</el-tab-pane> </el-tab-pane>
<el-tab-pane <el-tab-pane

2
src/views/sluice/managementGuarantee/standardizationConstruction/listPage/index.vue

@ -1087,7 +1087,7 @@ export default {
if (this.form.score) { if (this.form.score) {
this.evalForm = JSON.parse(this.form.score); this.evalForm = JSON.parse(this.form.score);
const value = Object.values(this.evalForm.score); const value = Object.values(this.evalForm.score);
this.sum=this.sum-value.reduce((a, b) => { this.sum=1050-value.reduce((a, b) => {
// //
return a + Number(b); return a + Number(b);
}, 0); }, 0);

Loading…
Cancel
Save