Browse Source

水闸换证页面修改

master_tdsql
xzt 1 year ago
parent
commit
3f45b24064
  1. 1
      src/views/sluice/safetyManage/declarationManage/declare/components/listPage/options/accidentRecord.vue
  2. 1
      src/views/sluice/safetyManage/declarationManage/declare/components/listPage/transform.vue
  3. 18
      src/views/sluice/safetyManage/declarationManage/examine/components/listPage/transform.vue

1
src/views/sluice/safetyManage/declarationManage/declare/components/listPage/options/accidentRecord.vue

@ -180,6 +180,7 @@ export default {
/** 查询出险记录列表 */ /** 查询出险记录列表 */
getList() { getList() {
this.loading = true; this.loading = true;
this.queryParams.data.wagaCode = this.wagaCode;
listCxjl(this.queryParams).then((response) => { listCxjl(this.queryParams).then((response) => {
if (response.records[0]) { if (response.records[0]) {
this.form = response.records[0]; this.form = response.records[0];

1
src/views/sluice/safetyManage/declarationManage/declare/components/listPage/transform.vue

@ -452,7 +452,6 @@ export default {
console.log(111, this.inFo); console.log(111, this.inFo);
listHzxx(this.queryParams).then((response) => { listHzxx(this.queryParams).then((response) => {
if (response.records[0]) { if (response.records[0]) {
console.log(9999, response.records);
this.form = response.records[0]; this.form = response.records[0];
this.form = { this.form = {
...this.form, ...this.form,

18
src/views/sluice/safetyManage/declarationManage/examine/components/listPage/transform.vue

@ -306,18 +306,18 @@ export default {
/** 查询水闸换证信息列表 */ /** 查询水闸换证信息列表 */
getList() { getList() {
this.loading = true; this.loading = true;
this.queryParams.data.wagaId = this.inFo.id; this.queryParams.data.wagaCode = this.inFo.wagaCode;
listHzxx(this.queryParams).then((response) => { listHzxx(this.queryParams).then((response) => {
if (response.records[0]) { if (response.records[0]) {
this.form = response.records[0]; this.form = response.records[0];
this.form.wagaName = this.inFo.wagaName; // this.form.wagaName = this.inFo.wagaName;
this.form.wagaCode = this.inFo.wagaCode; // this.form.wagaCode = this.inFo.wagaCode;
this.form.wagaType = this.inFo.wagaType; // this.form.wagaType = this.inFo.wagaType;
this.form.adcd = this.inFo.adcd; // this.form.adcd = this.inFo.adcd;
this.form.engScal = this.inFo.engScal; // this.form.engScal = this.inFo.engScal;
this.form.wagaUse = this.inFo.wagaUse; // this.form.wagaUse = this.inFo.wagaUse;
this.form.completionTime = this.inFo.compDate; // this.form.completionTime = this.inFo.compDate;
this.form.securityCategory = this.inFo.securityCategory; // this.form.securityCategory = this.inFo.securityCategory;
if (this.form.securityAppraisalSituation) { if (this.form.securityAppraisalSituation) {
this.fileList1 = JSON.parse(this.form.securityAppraisalSituation); this.fileList1 = JSON.parse(this.form.securityAppraisalSituation);
} }

Loading…
Cancel
Save