centaline-data-driven 1.4.46 → 1.4.48
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/centaline/css/common.css +1 -1
- package/src/centaline/css/max.css +0 -3
- package/src/centaline/dynamicLayout/src/dynamicLayout.vue +1 -1
- package/src/centaline/dynamicSearchList/src/dynamicTableTip.vue +0 -1
- package/src/centaline/dynamicSearchList/src/dynamicTableToolbar.vue +2 -2
- package/src/centaline/loader/src/ctl/CellLayout.js +1 -1
- package/src/centaline/loader/src/ctl/Form.js +2 -1
- package/src/centaline/loader/src/ctl/SearchScreen.js +2 -1
- package/src/main.js +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
|
@@ -188,7 +188,7 @@
|
|
|
188
188
|
return b.id === attribute.nodeValue;
|
|
189
189
|
});
|
|
190
190
|
if (typeof field !== "undefined") {
|
|
191
|
-
if (!field.rightField || self.vmodel[field.rightField] == 1) {
|
|
191
|
+
if ((!field.rightField || self.vmodel[field.rightField] == 1) && field.show) {
|
|
192
192
|
obj["rightRouter"] = true;
|
|
193
193
|
}
|
|
194
194
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="ct-tableToolbar
|
|
2
|
+
<div class="ct-tableToolbar" style="width:100%;" v-if="buttons && buttons.length > 0">
|
|
3
3
|
|
|
4
4
|
<div v-if="buttonsLeft&&buttonsLeft.length>0" class="bool_btn_l">
|
|
5
5
|
<ul>
|
|
@@ -73,7 +73,7 @@ export default {
|
|
|
73
73
|
width: 100%;
|
|
74
74
|
position: relative;
|
|
75
75
|
float: left;
|
|
76
|
-
padding: 0 5px
|
|
76
|
+
padding: 0 5px 5px 0px;
|
|
77
77
|
background-color: #fff;
|
|
78
78
|
border-radius: 6px;
|
|
79
79
|
}
|
|
@@ -55,7 +55,7 @@ const CellLayout = function (source, actionRouter,rowdata, forname, forrowindex)
|
|
|
55
55
|
return b.id === source.routerKey;
|
|
56
56
|
});
|
|
57
57
|
if (typeof field !== "undefined") {
|
|
58
|
-
if (!field.rightField || rowdata[forname][forrowindex][field.rightField] == 1) {
|
|
58
|
+
if ((!field.rightField || rowdata[forname][forrowindex][field.rightField] == 1) && field.show) {
|
|
59
59
|
forrightRouter=true;
|
|
60
60
|
}
|
|
61
61
|
}
|
|
@@ -772,7 +772,8 @@ const Form = function (source, callBack, apiParam, failCallBack, isFormList) {
|
|
|
772
772
|
return JSON.stringify(submitData);
|
|
773
773
|
}
|
|
774
774
|
else{
|
|
775
|
-
|
|
775
|
+
let parentNameArr = parentFieldNameArr[0].split('.');
|
|
776
|
+
return submitData[parentNameArr[parentNameArr.length-1]];
|
|
776
777
|
}
|
|
777
778
|
}
|
|
778
779
|
},
|
|
@@ -352,7 +352,8 @@ const SearchScreen = function (source, callBack, screenPara) {
|
|
|
352
352
|
return JSON.stringify(submitData);
|
|
353
353
|
}
|
|
354
354
|
else{
|
|
355
|
-
|
|
355
|
+
let parentNameArr = parentFieldNameArr[0].split('.');
|
|
356
|
+
return submitData[parentNameArr[parentNameArr.length-1]];
|
|
356
357
|
}
|
|
357
358
|
}
|
|
358
359
|
},
|
package/src/main.js
CHANGED
|
@@ -44,7 +44,7 @@ Vue.use(centaline, {
|
|
|
44
44
|
getRequestHeaders: function () {
|
|
45
45
|
return {
|
|
46
46
|
oldToken: '3ba3f510-93fd-4103-9249-73c13f3f6fc2',
|
|
47
|
-
token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.
|
|
47
|
+
token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjrsOgkAQRf9laibZYWZ3WDpdsPEjyPLYBCsjkGiM_26I0NF7ilOc5t43TEsLJegGHmin8Rt4oJ2GSLySq_HkNaA4YSwoFBjEBblUNYdzBRkMzzuU5NSKsuaSwRjnX-BCeQ3LNDyuw-sf527zuM4K2y4mwhhNjhK5xehdQt_bXsm0pusSfL4AAAD__w.fIxeWo0MVh2Rh-dilRePjsm6InCs0-x4ui0uNSwzPfU',
|
|
48
48
|
|
|
49
49
|
originalRequestURL: 'http://10.88.22.67:8080',
|
|
50
50
|
EstateInfo: '{"estateId":"FAF029E8-EC28-4297-83CF-B8FFD826DB91","estateName":"AABBCC"}',
|