centaline-data-driven 1.3.36 → 1.3.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/Form.vue +1 -1
- package/src/centaline/common/index.js +0 -3
- package/src/centaline/dynamicDetail/src/dynamicPropertyDetailOFI.vue +20 -2
- package/src/centaline/dynamicDetail/src/dynamicPropertyDetailRET.vue +1 -1
- package/wwwroot/static/centaline/centaline-data-driven.js +1 -1
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
package/package.json
CHANGED
package/src/Form.vue
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<span>{{ model.fields1Dic.EstateName.value }}</span>
|
|
11
11
|
<span> {{ model.fields1Dic.BuildingName.value }}</span>
|
|
12
12
|
<span>{{ model.fields1Dic.RoomNo.value }}</span>
|
|
13
|
-
<img :src="model.
|
|
13
|
+
<img :src="model.actionRouterFavorite.imgUrl" alt="" @click="fieldClickHandler(model.actionRouterFavorite, $event)" class="collection" />
|
|
14
14
|
</div>
|
|
15
15
|
<div class="title-other">
|
|
16
16
|
<span>{{ model.fields1Dic.PropertyNo.label }}{{ model.fields1Dic.PropertyNo.value }}</span>
|
|
@@ -646,6 +646,9 @@ export default {
|
|
|
646
646
|
loadBaseInfo() {
|
|
647
647
|
this.model.loadBaseInfo();
|
|
648
648
|
},
|
|
649
|
+
loadFavorite() {
|
|
650
|
+
this.model.loadFavorite();
|
|
651
|
+
},
|
|
649
652
|
handleClick(tab, event) {
|
|
650
653
|
let i = tab.index;
|
|
651
654
|
if (this.model.tags2 && this.model.tags2[i]) {
|
|
@@ -697,7 +700,11 @@ export default {
|
|
|
697
700
|
});
|
|
698
701
|
callBack = "loadOperation";
|
|
699
702
|
}
|
|
700
|
-
|
|
703
|
+
if (router == undefined && this.model.actionRouterFavorite) {
|
|
704
|
+
if (field.id === this.model.actionRouterFavorite.id) {
|
|
705
|
+
router = this.model.actionRouterFavorite;
|
|
706
|
+
}
|
|
707
|
+
}
|
|
701
708
|
if (router) {
|
|
702
709
|
if (field.isSubmitDataFromSelf) {
|
|
703
710
|
router.submitFormField.forEach((v) => {
|
|
@@ -712,6 +719,9 @@ export default {
|
|
|
712
719
|
if(router.id=="PropertyEdit"){
|
|
713
720
|
callBack="loadBaseInfo"
|
|
714
721
|
}
|
|
722
|
+
else if (router.id == "Favorite") {
|
|
723
|
+
callBack = "loadFavorite"
|
|
724
|
+
}
|
|
715
725
|
}
|
|
716
726
|
|
|
717
727
|
if (callBack) {
|
|
@@ -721,6 +731,9 @@ export default {
|
|
|
721
731
|
else if(callBack=='loadBaseInfo'){
|
|
722
732
|
this.routerClickHandler(router, submitData, self.loadBaseInfo);
|
|
723
733
|
}
|
|
734
|
+
else if (callBack == 'loadFavorite') {
|
|
735
|
+
this.routerClickHandler(router, submitData, self.loadFavorite);
|
|
736
|
+
}
|
|
724
737
|
}
|
|
725
738
|
else {
|
|
726
739
|
this.routerClickHandler(router, submitData);
|
|
@@ -794,6 +807,11 @@ export default {
|
|
|
794
807
|
});
|
|
795
808
|
self.$common.closeDialog(dialogOption.dialog);
|
|
796
809
|
},
|
|
810
|
+
closeDialog(ev) {
|
|
811
|
+
if (field.id == "Favorite" && callBack) {
|
|
812
|
+
callBack();
|
|
813
|
+
}
|
|
814
|
+
}
|
|
797
815
|
},
|
|
798
816
|
},
|
|
799
817
|
],
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<span>{{ model.fields1Dic.EstateName.value }}</span>
|
|
11
11
|
<span> {{ model.fields1Dic.BuildingName.value }}</span>
|
|
12
12
|
<span>{{ model.fields1Dic.RoomNo.value }}</span>
|
|
13
|
-
<img :src="model.
|
|
13
|
+
<img :src="model.actionRouterFavorite.imgUrl" alt="" @click="fieldClickHandler(model.actionRouterFavorite, $event)" class="collection" />
|
|
14
14
|
</div>
|
|
15
15
|
<div class="title-other">
|
|
16
16
|
<span>{{ model.fields1Dic.PropertyNo.label }}{{ model.fields1Dic.PropertyNo.value }}</span>
|