centaline-data-driven 1.4.20 → 1.4.22
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 +2 -2
- package/src/SearchList.vue +3 -3
- package/src/centaline/dynamicCb/src/dynamicCb.vue +1 -0
- package/src/centaline/dynamicDtd/src/dynamicDtd.vue +1 -0
- package/src/centaline/dynamicFile/src/dynamicFile.vue +4 -4
- package/src/centaline/dynamicT/src/dynamicT.vue +2 -1
- package/src/centaline/loader/src/ctl/File.js +9 -7
- package/src/centaline/loader/src/ctl/Mo.js +17 -12
- package/src/centaline/loader/src/ctl/lib/LibFunction.js +1 -1
- package/src/main.js +1 -1
- package/wwwroot/static/centaline/centaline-data-driven.js +2 -2
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
package/package.json
CHANGED
package/src/Form.vue
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="form-app" class="data-driven" style="width:100%;height:100%;overflow:auto">
|
|
3
3
|
<!-- <ct-form :source="formdata.content" :apiParam="apiParam"></ct-form> -->
|
|
4
|
-
<ct-form :api="'/
|
|
4
|
+
<ct-form :api="'/PropertyTrust/getLayoutOfNewZJJ'" :apiParam="apiParam" :topHeight="topHeight"></ct-form>
|
|
5
5
|
<ct-dialog-list></ct-dialog-list>
|
|
6
6
|
</div>
|
|
7
7
|
</template>
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
data() {
|
|
13
13
|
return {
|
|
14
14
|
apiParam:{
|
|
15
|
-
|
|
15
|
+
chanceID: "1569617379699331072", actionType: 2
|
|
16
16
|
},
|
|
17
17
|
topHeight:10,
|
|
18
18
|
}
|
package/src/SearchList.vue
CHANGED
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
</ct-searchlist> -->
|
|
13
13
|
|
|
14
14
|
<ct-searchlist :apiParam="para"
|
|
15
|
-
:searchConditionApi="'/
|
|
16
|
-
:searchDataApi="'/
|
|
15
|
+
:searchConditionApi="'/PropertyTrustList/getLayoutOfSearch'"
|
|
16
|
+
:searchDataApi="'/PropertyTrustList/getListOfSearchModel'">
|
|
17
17
|
</ct-searchlist>
|
|
18
18
|
|
|
19
19
|
<!-- <ct-searchlist
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
data() {
|
|
46
46
|
return {
|
|
47
47
|
para:{
|
|
48
|
-
|
|
48
|
+
chanceID: "1569617379699331072"
|
|
49
49
|
},
|
|
50
50
|
// para: {searchFields: {fields: []}, pageAttribute: {pageIndex: 1}, flagSearch: true}
|
|
51
51
|
// para: {publishID: "1503900718229229568"}
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
<span class="cover-list-item-span-delete" v-if="!model.lock && file.rightDel">
|
|
39
39
|
<i class="el-icon-delete" @click="handleRemove(file)"></i>
|
|
40
40
|
</span>
|
|
41
|
-
<span class="cover-list-item-play" v-if="
|
|
41
|
+
<span class="cover-list-item-play" v-if="file.videoPlayIconUrl ">
|
|
42
42
|
<div class="swiper-i">
|
|
43
|
-
<img :src="
|
|
43
|
+
<img :src="file.videoPlayIconUrl" class="hous-icon" @click="viewerfile(file)"/>
|
|
44
44
|
</div>
|
|
45
45
|
</span>
|
|
46
46
|
<span class="cover-list-item-span" v-if="model.lock || model.paramName">
|
|
@@ -116,9 +116,9 @@
|
|
|
116
116
|
<span class="cover-list-item-span-delete" v-if="!model.lock && file.rightDel">
|
|
117
117
|
<i class="el-icon-delete" @click="handleRemove(file)"></i>
|
|
118
118
|
</span>
|
|
119
|
-
|
|
119
|
+
<span class="cover-list-item-play" v-if="file.videoPlayIconUrl && file.mediaTypeID==4">
|
|
120
120
|
<div class="swiper-i">
|
|
121
|
-
<img :src="
|
|
121
|
+
<img :src="file.videoPlayIconUrl" class="hous-icon" @click="viewerfile(file)"/>
|
|
122
122
|
</div>
|
|
123
123
|
</span>
|
|
124
124
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
</div>
|
|
10
10
|
|
|
11
11
|
<div ref="highlights" v-if="model.forbiddenWords" class="backdrop" :style="{width:forbiddenWordsWidth+'px',height:forbiddenWordsHeight+'px',left:forbiddenWordsLeft+'px',top:forbiddenWordsTop+'px'}">
|
|
12
|
-
<div
|
|
12
|
+
<div class="highlights" v-html="forbiddenWordsValue"></div>
|
|
13
13
|
</div>
|
|
14
14
|
|
|
15
15
|
<el-popover v-if="model.autoFill && model.paramName" placement="bottom-start" v-model="showDrop" :trigger="'manual'" class="autoFill">
|
|
@@ -281,6 +281,7 @@
|
|
|
281
281
|
color: transparent;
|
|
282
282
|
padding: 5px 15px 5px 15px;
|
|
283
283
|
line-height: 1.5;
|
|
284
|
+
font-family: monospace;
|
|
284
285
|
}
|
|
285
286
|
.autoFill{
|
|
286
287
|
width: 100%;
|
|
@@ -5,7 +5,7 @@ import Vue from 'vue';
|
|
|
5
5
|
import common from '../../../common';
|
|
6
6
|
import valid from '../../../validate/index';
|
|
7
7
|
//元数据、附件列表元数据、对应router、下拉框数据api
|
|
8
|
-
const box = function (source, fileSourceList, router, optionApi) {
|
|
8
|
+
const box = function (source, fileSourceList, router, optionApi,videoPlayIconUrl) {
|
|
9
9
|
var self = this;
|
|
10
10
|
var init = function (data) {
|
|
11
11
|
var rtn = {
|
|
@@ -27,10 +27,7 @@ const box = function (source, fileSourceList, router, optionApi) {
|
|
|
27
27
|
},
|
|
28
28
|
get mediaViewPageType() {
|
|
29
29
|
return data.mediaViewPageType;
|
|
30
|
-
},
|
|
31
|
-
get videoPlayIconUrl() {
|
|
32
|
-
return data.videoPlayIconUrl;
|
|
33
|
-
},
|
|
30
|
+
},
|
|
34
31
|
_fileList: [],
|
|
35
32
|
get fileList() {
|
|
36
33
|
if (this._fileList.length !== 0) {
|
|
@@ -230,6 +227,9 @@ const box = function (source, fileSourceList, router, optionApi) {
|
|
|
230
227
|
get fileExtension() {
|
|
231
228
|
return fileSource.fileExtension;
|
|
232
229
|
},
|
|
230
|
+
get videoPlayIconUrl() {
|
|
231
|
+
return (fileSource.videoPlayIconUrl || videoPlayIconUrl);
|
|
232
|
+
},
|
|
233
233
|
}
|
|
234
234
|
|
|
235
235
|
return fileData;
|
|
@@ -258,7 +258,7 @@ const box = function (source, fileSourceList, router, optionApi) {
|
|
|
258
258
|
Vue.set(file, "mediaLabelID", data.mediaLabelID);
|
|
259
259
|
Vue.set(file, "mediaLabelName", data.mediaLabelName);
|
|
260
260
|
Vue.set(file, "fileExtension", data.fileExtension);
|
|
261
|
-
|
|
261
|
+
Vue.set(file, "videoPlayIconUrl", data.videoPlayIconUrl);
|
|
262
262
|
Vue.set(file, "progressFlag", false);
|
|
263
263
|
Vue.set(file, "loadProgress", 100);
|
|
264
264
|
|
|
@@ -292,6 +292,7 @@ const box = function (source, fileSourceList, router, optionApi) {
|
|
|
292
292
|
"progressFlag": true,
|
|
293
293
|
"loadProgress": 0,
|
|
294
294
|
"uid": file.uid,
|
|
295
|
+
"videoPlayIconUrl":""
|
|
295
296
|
}
|
|
296
297
|
rtn.fileList.push(awaitfile);
|
|
297
298
|
},
|
|
@@ -322,7 +323,7 @@ const box = function (source, fileSourceList, router, optionApi) {
|
|
|
322
323
|
Vue.set(file, "mediaLabelID", data.mediaLabelID);
|
|
323
324
|
Vue.set(file, "mediaLabelName", data.mediaLabelName);
|
|
324
325
|
Vue.set(file, "fileExtension", data.fileExtension);
|
|
325
|
-
|
|
326
|
+
Vue.set(file, "videoPlayIconUrl", data.videoPlayIconUrl);
|
|
326
327
|
Vue.set(file, "progressFlag", data.progressFlag);
|
|
327
328
|
Vue.set(file, "loadProgress", data.loadProgress);
|
|
328
329
|
}
|
|
@@ -350,6 +351,7 @@ const box = function (source, fileSourceList, router, optionApi) {
|
|
|
350
351
|
fileExtension: data.fileExtension,
|
|
351
352
|
progressFlag: data.progressFlag,
|
|
352
353
|
loadProgress: data.loadProgress,
|
|
354
|
+
videoPlayIconUrl:data.videoPlayIconUrl,
|
|
353
355
|
"uid": file.uid,
|
|
354
356
|
})
|
|
355
357
|
}
|
|
@@ -96,18 +96,23 @@ const Mo = function (source, moreActionRouter) {
|
|
|
96
96
|
});
|
|
97
97
|
this.text = rtn.defaultText === '' ? [] : JSON.parse(rtn.defaultText);
|
|
98
98
|
},
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
99
|
+
searchObj: {
|
|
100
|
+
get searchValue1() {
|
|
101
|
+
var rtnStr = "";
|
|
102
|
+
rtn.value.forEach((v1, i1) => {
|
|
103
|
+
if(source.searchDataType && source.searchDataType===2){
|
|
104
|
+
rtnStr += v1;
|
|
105
|
+
}
|
|
106
|
+
else{
|
|
107
|
+
rtnStr += "'" + v1 + "'";
|
|
108
|
+
}
|
|
109
|
+
if (i1 !== rtn.value.length - 1) {
|
|
110
|
+
rtnStr += ",";
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
return rtnStr;
|
|
114
|
+
}
|
|
115
|
+
},
|
|
111
116
|
attrs: {
|
|
112
117
|
style: {
|
|
113
118
|
width: '100%'
|
|
@@ -309,7 +309,7 @@ const LibFunction = {
|
|
|
309
309
|
}
|
|
310
310
|
})
|
|
311
311
|
}
|
|
312
|
-
item = File(field, files, router, source.parameterAction);
|
|
312
|
+
item = File(field, files, router, source.parameterAction,source.videoPlayIconUrl);
|
|
313
313
|
item.is = 'ct-file';
|
|
314
314
|
break;
|
|
315
315
|
case Enum.ControlType.PhotoSelect: //图片选择
|
package/src/main.js
CHANGED
|
@@ -43,7 +43,7 @@ Vue.use(centaline, {
|
|
|
43
43
|
getRequestHeaders: function () {
|
|
44
44
|
return {
|
|
45
45
|
oldToken: '3f518e5b-85c3-4a3e-9aa2-d476c6e43b75',
|
|
46
|
-
token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.
|
|
46
|
+
token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjsOwjAQBe-ydVbKOmt7nQ6c0HCIyLGNFCqUjwRC3B0QSZeeKaaY5r0nTEsPNdgV3NFG51ZwRxsdETtLpsWDsx7ZcIVCXtCz8Xxq2sofGygg329QkzFOrNhSFzCE-ResU9U3LFMez_nxj3PXefjMqkvUQUeFQVJG7lmjaEeYSgkmMFMsE7zeAAAA__8.ukJUtoKA3fqRkflees-rsM7t4LslfhjU0h3vZfHlOgs',
|
|
47
47
|
|
|
48
48
|
originalRequestURL: 'http://10.88.22.67:8080',
|
|
49
49
|
EstateInfo: '{"estateId":"FAF029E8-EC28-4297-83CF-B8FFD826DB91","estateName":"AABBCC"}',
|