centaline-data-driven 1.4.57 → 1.4.59
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/build/centaline/centaline.path.js +1 -0
- package/package.json +2 -1
- package/src/centaline/dynamicDetail/src/dynamicPropertyDetailOFI.vue +13 -11
- package/src/centaline/dynamicDetail/src/dynamicPropertyDetailRET.vue +11 -9
- package/src/centaline/dynamicDetail/src/dynamicPropertySimpleDetailRET.vue +10 -8
- package/src/centaline/dynamicEditPictures/index.js +11 -0
- package/src/centaline/dynamicEditPictures/src/dynamicEditPictures.vue +604 -0
- package/src/centaline/dynamicFile/src/dynamicFile.vue +61 -10
- package/src/centaline/dynamicSearchList/src/dynamicSearchTable.vue +4 -1
- package/src/centaline/dynamicViewerFile/src/dynamicViewerFile.vue +3 -0
- package/src/centaline/loader/src/ctl/File.js +61 -2
- package/src/centaline/loader/src/ctl/SliceUpload.js +1 -1
- package/src/main.js +1 -1
- package/wwwroot/static/centaline/centaline-data-driven.js +12 -3
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
|
@@ -56,6 +56,7 @@ const paths = {
|
|
|
56
56
|
"browseIframe": "./src/centaline/browseIframe/index.js", //URL弹层
|
|
57
57
|
"dynamicViewerFile": "./src/centaline/dynamicViewerFile/index.js", //图片预览框组件
|
|
58
58
|
"dynamicDragSort": "./src/centaline/dynamicDragSort/index.js", //上下拖拽排序组件
|
|
59
|
+
"dynamicEditPictures": "./src/centaline/dynamicEditPictures/index.js", //图片编辑组件
|
|
59
60
|
},
|
|
60
61
|
"plugs": {
|
|
61
62
|
"api": "./src/centaline/api/index.js", //调用API插件
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "centaline-data-driven",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.59",
|
|
4
4
|
"description": "ccai",
|
|
5
5
|
"author": "hjc <3226136347@qq.com>",
|
|
6
6
|
"private": false,
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"axios": "^0.24.0",
|
|
16
16
|
"babel-polyfill": "^6.26.0",
|
|
17
17
|
"compression-webpack-plugin": "^2.0.0",
|
|
18
|
+
"cropperjs": "^1.5.13",
|
|
18
19
|
"element-ui": "^2.15.7",
|
|
19
20
|
"module": "^1.2.5",
|
|
20
21
|
"sass": "^1.34.0",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<span>{{ model.fields1Dic.EstateName.value }}</span>
|
|
13
13
|
<span> {{ model.fields1Dic.BuildingName.value }}</span>
|
|
14
14
|
<span>{{ model.fields1Dic.RoomNo.value }}</span>
|
|
15
|
-
<img :src="model.actionRouterFavorite.imgUrl" alt="" @click="fieldClickHandler(model.actionRouterFavorite, $event)" class="collection" />
|
|
15
|
+
<img v-if="model.actionRouterFavorite" :src="model.actionRouterFavorite.imgUrl" alt="" @click="fieldClickHandler(model.actionRouterFavorite, $event)" class="collection" />
|
|
16
16
|
<component v-if="model.otherTradeActionRouter !== null" v-bind="model.otherTradeActionRouter" class="max-default w93"
|
|
17
17
|
:is="model.otherTradeActionRouter.is" :vmodel="model.otherTradeActionRouter" :api="model.optionApi" style="margin-left: 10px;"
|
|
18
18
|
@click="fieldClickHandler(model.otherTradeActionRouter, $event)"></component>
|
|
@@ -575,16 +575,18 @@ export default {
|
|
|
575
575
|
}
|
|
576
576
|
if (typeof window.localStorage !== "undefined") {
|
|
577
577
|
var tagkey = window.localStorage.getItem("detailtagkey");
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
self.model.
|
|
581
|
-
|
|
582
|
-
self.
|
|
583
|
-
|
|
584
|
-
self.model.
|
|
585
|
-
|
|
586
|
-
self.model.
|
|
587
|
-
|
|
578
|
+
if(self.model.tags1){
|
|
579
|
+
for (var i = 0; i < self.model.tags1.length; i++) {
|
|
580
|
+
if (tagkey == self.model.tags1[i].appID) {
|
|
581
|
+
self.model.activeIndex1 = i.toString();
|
|
582
|
+
if (self.model.tags1 && self.model.tags1[i]) {
|
|
583
|
+
self.listKey = self.listKey + 1;
|
|
584
|
+
self.model.searchConditionApiTags1 =
|
|
585
|
+
self.model.tags1[i].searchConditionAction || "";
|
|
586
|
+
self.model.searchDataApiTags1 =
|
|
587
|
+
self.model.tags1[i].searchDataAction || "";
|
|
588
|
+
self.model.paramDataTags1 = self.model.tags1[i].paramData || "";
|
|
589
|
+
}
|
|
588
590
|
}
|
|
589
591
|
}
|
|
590
592
|
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<span>{{ model.fields1Dic.EstateName.value }}</span>
|
|
13
13
|
<span> {{ model.fields1Dic.BuildingName.value }}</span>
|
|
14
14
|
<span>{{ model.fields1Dic.RoomNo.value }}</span>
|
|
15
|
-
<img :src="model.actionRouterFavorite.imgUrl" alt="" @click="fieldClickHandler(model.actionRouterFavorite, $event)" class="collection" />
|
|
15
|
+
<img v-if="model.actionRouterFavorite" :src="model.actionRouterFavorite.imgUrl" alt="" @click="fieldClickHandler(model.actionRouterFavorite, $event)" class="collection" />
|
|
16
16
|
<component v-if="model.otherTradeActionRouter !== null" v-bind="model.otherTradeActionRouter" class="max-default w93"
|
|
17
17
|
:is="model.otherTradeActionRouter.is" :vmodel="model.otherTradeActionRouter" :api="model.optionApi" style="margin-left: 10px;"
|
|
18
18
|
@click="fieldClickHandler(model.otherTradeActionRouter, $event)">
|
|
@@ -584,14 +584,16 @@ export default {
|
|
|
584
584
|
}
|
|
585
585
|
if (typeof window.localStorage !== "undefined") {
|
|
586
586
|
var tagkey = window.localStorage.getItem("detailtagkey");
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
self.model.
|
|
590
|
-
|
|
591
|
-
self.
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
587
|
+
if(self.model.tags1){
|
|
588
|
+
for (var i = 0; i < self.model.tags1.length; i++) {
|
|
589
|
+
if (tagkey == self.model.tags1[i].appID) {
|
|
590
|
+
self.model.activeIndex1 = i.toString();
|
|
591
|
+
if (self.model.tags1 && self.model.tags1[i]) {
|
|
592
|
+
self.listKey = self.listKey + 1;
|
|
593
|
+
self.model.searchConditionApiTags1 = self.model.tags1[i].searchConditionAction || "";
|
|
594
|
+
self.model.searchDataApiTags1 = self.model.tags1[i].searchDataAction || "";
|
|
595
|
+
self.model.paramDataTags1 = self.model.tags1[i].paramData || "";
|
|
596
|
+
}
|
|
595
597
|
}
|
|
596
598
|
}
|
|
597
599
|
}
|
|
@@ -169,14 +169,16 @@
|
|
|
169
169
|
}
|
|
170
170
|
if (typeof window.localStorage !== 'undefined') {
|
|
171
171
|
var tagkey = window.localStorage.getItem('simpletagkey');
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
self.model.
|
|
175
|
-
|
|
176
|
-
self.
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
172
|
+
if(self.model.tags1){
|
|
173
|
+
for (var i = 0; i < self.model.tags1.length;i++) {
|
|
174
|
+
if (tagkey == self.model.tags1[i].appID) {
|
|
175
|
+
self.model.activeIndex1 = i.toString();
|
|
176
|
+
if (self.model.tags1 && self.model.tags1[i]) {
|
|
177
|
+
self.listKey = self.listKey + 1;
|
|
178
|
+
self.model.searchConditionApiTags1 = self.model.tags1[i].searchConditionAction || '';
|
|
179
|
+
self.model.searchDataApiTags1 = self.model.tags1[i].searchDataAction || '';
|
|
180
|
+
self.model.paramDataTags1 = self.model.tags1[i].paramData || '';
|
|
181
|
+
}
|
|
180
182
|
}
|
|
181
183
|
}
|
|
182
184
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import dynamicEditPictures from './src/dynamicEditPictures'
|
|
2
|
+
|
|
3
|
+
dynamicEditPictures.install = function (Vue) {
|
|
4
|
+
Vue.component(dynamicEditPictures.name, dynamicEditPictures);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
if (typeof window !== 'undefined' && window.Vue) {
|
|
8
|
+
window.Vue.use(dynamicEditPictures);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export default dynamicEditPictures;
|