centaline-data-driven 1.4.20 → 1.4.21
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/dynamicDtd/src/dynamicDtd.vue +1 -0
- package/src/centaline/loader/src/ctl/File.js +2 -2
- 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"}
|
|
@@ -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 = {
|
|
@@ -29,7 +29,7 @@ const box = function (source, fileSourceList, router, optionApi) {
|
|
|
29
29
|
return data.mediaViewPageType;
|
|
30
30
|
},
|
|
31
31
|
get videoPlayIconUrl() {
|
|
32
|
-
return
|
|
32
|
+
return videoPlayIconUrl;
|
|
33
33
|
},
|
|
34
34
|
_fileList: [],
|
|
35
35
|
get fileList() {
|
|
@@ -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"}',
|