|
@@ -1543,6 +1543,7 @@
|
|
|
import {
|
|
|
listMatters
|
|
|
} from "@/api/ehs/throughcleanbcc";
|
|
|
+import {getInfo} from "@/api/invoicing/hazardwork";
|
|
|
|
|
|
export default {
|
|
|
data() {
|
|
@@ -1799,6 +1800,32 @@ export default {
|
|
|
/* 页面渲染前执行的方法*/
|
|
|
created() {
|
|
|
this.queryMatters();
|
|
|
+ var id = this.$route.query.aId;
|
|
|
+ console.log("id=============" + id)
|
|
|
+ if (id != null) {
|
|
|
+ getInfo(id).then(response => {
|
|
|
+ // this.form = response.data
|
|
|
+ this.aEquipmentName = response.data.aEquipmentName,
|
|
|
+ this.aEquipmentLeader= response.data.aEquipmentLeader,
|
|
|
+ this.aEquipmentTel= response.data.aEquipmentTel,
|
|
|
+ this.aEquipmentOffice= response.data.aEquipmentOffice,
|
|
|
+ this.aConstructionName= response.data.aConstructionName,
|
|
|
+ this.aConstructionLeader= response.data.aConstructionLeader,
|
|
|
+ this.aConstructionTel= response.data.aConstructionTel,
|
|
|
+ this.aConstructionOffice= response.data.aConstructionOffice,
|
|
|
+ // this.aContractorName: null,
|
|
|
+ // this.aContractorLeader: null,
|
|
|
+ // this.aContractorTel: null,
|
|
|
+ // this.aContractorOffice: null,
|
|
|
+ // this.aIsNeedSafeLiaison: null,
|
|
|
+ // this.aSafeLiaisonName: null,
|
|
|
+ // this.aSafeLiaisonSign: null,
|
|
|
+ // this.aSafeLiaisonTel: null,
|
|
|
+ // this.aSafeLiaisonOffice: null,
|
|
|
+ this.msgSuccess(this.$t('数据加载成功'));
|
|
|
+ });
|
|
|
+ this.aIdDisabled = true;
|
|
|
+ }
|
|
|
},
|
|
|
methods: {
|
|
|
/* 动态改变勾选 */
|