|
@@ -52,8 +52,8 @@
|
|
|
<insurer-dialog @changeInsurer="changeInsurer" ref="insurer" :dialog="myDialog"></insurer-dialog>
|
|
|
<pic-dialog :read="onlyRead ? true : false" :dialog="myDialog" :keysArr="picsArr" @change="changePics"></pic-dialog>
|
|
|
<details-dialog :iframeSrc="iframeSrc" v-if="myDialog.details" :dialog="myDialog"></details-dialog>
|
|
|
- <!-- 修改关联的资产 -->
|
|
|
- <!-- <change-rea :dialog="myDialog" :category="category"></change-rea> -->
|
|
|
+ <!-- 关联资产 -->
|
|
|
+ <change-rea @changeProperty="changeProperty" :dialog="myDialog" :category="deviceType"></change-rea>
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
@@ -459,6 +459,11 @@ export default {
|
|
|
this.utilToKey(key, "contractFile", data, "InsuranceFile");
|
|
|
}
|
|
|
},
|
|
|
+ //修改关联的资产
|
|
|
+ changeProperty(val) {
|
|
|
+ this.setDataToMain(val.PropertyId, 'PropertyId', this.row);
|
|
|
+ this.setDataToMain(val.LinkEquipLocalName, 'LinkEquipLocalName', this.row);
|
|
|
+ },
|
|
|
//上传文件弹窗触发事件
|
|
|
fileChange(keys) {
|
|
|
this.setDataToMain(keys, this.messKey, this.row);
|