centaline-data-driven 1.1.47 → 1.1.51
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/Edit.vue +36 -2
- package/src/Form.vue +5 -18
- package/src/SearchList.vue +2 -2
- package/src/centaline/common/index.js +6 -0
- package/src/centaline/css/common.css +11 -18
- package/src/centaline/dialogList/src/dialog.vue +10 -2
- package/src/centaline/dialogList/src/dialogList.vue +2 -4
- package/src/centaline/dynamicFile/src/dynamicFile.vue +22 -3
- package/src/centaline/dynamicForm/src/dynamicForm.vue +2 -2
- package/src/centaline/dynamicHyperLink/index.js +1 -1
- package/src/centaline/dynamicMo/src/dynamicMo.vue +17 -14
- package/src/centaline/dynamicPlaceHolder/index.js +1 -1
- package/src/centaline/dynamicSearchList/src/dynamicSearchCategory.vue +7 -1
- package/src/centaline/dynamicSearchList/src/dynamicSearchTable.vue +4 -2
- package/src/centaline/dynamicSearchList/src/dynamicTableStatistics.vue +11 -11
- package/src/centaline/dynamicSo/src/dynamicSo.vue +11 -13
- package/src/centaline/dynamicSos/src/dynamicSos.vue +11 -16
- package/src/centaline/dynamicTags/src/dynamicTags.vue +17 -14
- package/src/centaline/formData/index.js +2 -1
- package/src/centaline/loader/src/ctl/Base.js +3 -1
- package/src/centaline/loader/src/ctl/HyperLink.js +1 -1
- package/src/centaline/loader/src/ctl/Mo.js +1 -0
- package/src/centaline/loader/src/ctl/PlaceHolder.js +2 -2
- package/src/centaline/loader/src/ctl/Router.js +3 -2
- package/src/centaline/loader/src/ctl/SearchCategory.js +6 -2
- package/src/centaline/loader/src/ctl/SearchTable.js +0 -1
- package/src/centaline/loader/src/ctl/Tags.js +1 -0
- package/src/main.js +5 -12
- package/wwwroot/static/centaline/centaline-data-driven.js +1 -1
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
- package/.vs/Centaline.Front_End.DataDriven/DesignTimeBuild/.dtbcache +0 -0
- package/.vs/Centaline.Front_End.DataDriven/v16/Server/sqlite3/db.lock +0 -0
- package/.vs/Centaline.Front_End.DataDriven/v16/Server/sqlite3/storage.ide +0 -0
- package/obj/Centaline.Front_End.DataDriven.csproj.nuget.dgspec.json +0 -73
- package/obj/Centaline.Front_End.DataDriven.csproj.nuget.g.props +0 -29
- package/obj/Centaline.Front_End.DataDriven.csproj.nuget.g.targets +0 -15
- package/obj/Debug/netcoreapp2.1/Centaline.Front_End.DataDriven.AssemblyInfo.cs +0 -23
- package/obj/Debug/netcoreapp2.1/Centaline.Front_End.DataDriven.RazorAssemblyInfo.cs +0 -20
- package/obj/project.assets.json +0 -11907
|
@@ -146,7 +146,8 @@ const Router = function (source) {
|
|
|
146
146
|
return source.rightField;
|
|
147
147
|
},
|
|
148
148
|
get submitFormField() {
|
|
149
|
-
|
|
149
|
+
|
|
150
|
+
if (typeof source.refFieldName === 'undefined' || source.refFieldName === null|| source.refFieldName.trim() === '') {
|
|
150
151
|
return [];
|
|
151
152
|
}
|
|
152
153
|
var submitArr = [];
|
|
@@ -156,7 +157,7 @@ const Router = function (source) {
|
|
|
156
157
|
return submitArr;
|
|
157
158
|
},
|
|
158
159
|
get submitListField() {
|
|
159
|
-
if (typeof source.refFieldName === 'undefined' || source.refFieldName === null) {
|
|
160
|
+
if (typeof source.refFieldName === 'undefined' || source.refFieldName === null|| source.refFieldName.trim() === '') {
|
|
160
161
|
return [];
|
|
161
162
|
}
|
|
162
163
|
var submitArr = [];
|
|
@@ -10,7 +10,10 @@ const SearchCategory = function (source, callBack) {
|
|
|
10
10
|
showLabel:true,
|
|
11
11
|
get value() {
|
|
12
12
|
if(!data.code1){
|
|
13
|
-
|
|
13
|
+
if(rtn.segmentValue[0][rtn.optionAttrs.displayLabel]){
|
|
14
|
+
rtn.label=rtn.segmentValue[0][rtn.optionAttrs.displayLabel];
|
|
15
|
+
}
|
|
16
|
+
return rtn.segmentValue[0][rtn.optionAttrs.value];
|
|
14
17
|
}
|
|
15
18
|
return data.code1;
|
|
16
19
|
},
|
|
@@ -24,7 +27,8 @@ const SearchCategory = function (source, callBack) {
|
|
|
24
27
|
value: 'code',
|
|
25
28
|
label: 'name',
|
|
26
29
|
actionType: 'actionType',
|
|
27
|
-
flagDeleted: 'flagDeleted'
|
|
30
|
+
flagDeleted: 'flagDeleted',
|
|
31
|
+
displayLabel: 'displayName',
|
|
28
32
|
}
|
|
29
33
|
};
|
|
30
34
|
rtn = base.copy(Base(data), rtn);
|
package/src/main.js
CHANGED
|
@@ -12,8 +12,7 @@ Vue.use(ElementUI, { size: 'mini'});
|
|
|
12
12
|
// 关闭生产模式下给出的提示
|
|
13
13
|
Vue.config.productionTip = false;
|
|
14
14
|
Vue.use(centaline, {
|
|
15
|
-
baseUrl:
|
|
16
|
-
// baseUrl: "http://tjcptest.centaline.com.cn/v1/form/router",
|
|
15
|
+
baseUrl: 'http://10.88.22.13:7070/v1/form/router',
|
|
17
16
|
zindex: 999,
|
|
18
17
|
showRequestErrorMessage: true,
|
|
19
18
|
handler: {
|
|
@@ -21,12 +20,6 @@ Vue.use(centaline, {
|
|
|
21
20
|
openTab: function (action) {
|
|
22
21
|
alert("打开tab页:" + action)
|
|
23
22
|
},
|
|
24
|
-
openDetail: function (action) {
|
|
25
|
-
alert("打开tab页:" + action)
|
|
26
|
-
},
|
|
27
|
-
openPropertyDetailRET: function (submitData, pageTitle, parentModel) {
|
|
28
|
-
alert("打开tab页:" + pageTitle)
|
|
29
|
-
},
|
|
30
23
|
// 关闭当前tab
|
|
31
24
|
closeTab: function () {
|
|
32
25
|
alert("关闭当前tab")
|
|
@@ -34,10 +27,10 @@ Vue.use(centaline, {
|
|
|
34
27
|
// 获取请求头
|
|
35
28
|
getRequestHeaders: function () {
|
|
36
29
|
return {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
30
|
+
Authorization: 'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6ImI4Mzg3ZjkwLTI3YWItNDA4Yy1hNjRjLTE3ODIxNDM1M2FiNyJ9.4EFMLNBVU1ZCoJ5o-CjXum7IC-Lb2ljZsi-qCNAQcfdw8NIYp7Ul93in3iZCI69sLZz2N6F7Gnxh6Hbj5JLEJg',
|
|
31
|
+
oldToken: 'eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjQwY2ExYmMyLWNiNzMtNDI2Mi05NmM0LThiYjg0NDBkODE3ZCJ9.AIXWKaRyCwxYiPAqGhT0A01YN7tpX_nW9oU5YDwuC3GIRSn5DQS82Kh1Q7u6eHIz1BySWc-SOEqSTB3283_Z7A',
|
|
32
|
+
estateId: '201509230915485D942241BBA30FF49F',
|
|
33
|
+
originalRequestURL: 'http://localhost:8080'
|
|
41
34
|
};
|
|
42
35
|
},
|
|
43
36
|
// 请求完成事件,可判断是否登录过期执行响应操作
|