centaline-data-driven 1.4.26 → 1.4.28
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/centaline/dynamicSearchList/src/dynamicSearchTable.vue +1 -1
- package/src/centaline/loader/src/ctl/Form.js +4 -0
- package/src/main.js +3 -3
- 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
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="'/salemanage/pointcontractbatchadjustform/readDetail'" :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
|
+
"actionType":2
|
|
16
16
|
},
|
|
17
17
|
topHeight:10,
|
|
18
18
|
}
|
|
@@ -640,6 +640,10 @@ const Form = function (source, callBack, apiParam, failCallBack, isFormList) {
|
|
|
640
640
|
hatchHandle(itemId, attrName, attrValue, item) {
|
|
641
641
|
switch (attrName) {
|
|
642
642
|
case 'code1':
|
|
643
|
+
if(item.type===Enum.ControlType.CheckBoxList){
|
|
644
|
+
item._checkedItemArr=item.getCheckedItemArr();
|
|
645
|
+
item.checkedItemArr=item.getCheckedItemArr();
|
|
646
|
+
}
|
|
643
647
|
rtn.validMrf(item);//验证必填关联组件
|
|
644
648
|
rtn.hiddenHandle(item, true);
|
|
645
649
|
rtn.requiredHandle(item);
|
package/src/main.js
CHANGED
|
@@ -43,14 +43,14 @@ 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-ydVbyZ72204ETGg4RJdZaChUiiQRC3B0QSZeeKaaY5r0nTMsANfgV3NFGF1dwRxud1hS95hYP0SckJotBp4CJONGpaW06NlCB3K9Qa_aKyRi2FYz9_AvOufANyyS3szz-ce4yj59ZVdwQhTMykUMSozEEK-iL5NyXXILK8HoDAAD__w.YOI-iTEmC14dJrB5IaET-5FJh3skNcbMOhfukxJPQSw',
|
|
47
47
|
|
|
48
48
|
originalRequestURL: 'http://10.88.22.67:8080',
|
|
49
49
|
EstateInfo: '{"estateId":"FAF029E8-EC28-4297-83CF-B8FFD826DB91","estateName":"AABBCC"}',
|
|
50
50
|
estateId: '20210729104021C49F04B55C50F6AF58',
|
|
51
51
|
|
|
52
|
-
authObject: '{"currentEstate":{"estateId":"
|
|
53
|
-
Authorization:'Bearer eyJhbGciOiJIUzUxMiJ9.
|
|
52
|
+
authObject: '{"currentEstate":{"estateId":"046CC756-4FBE-4289-8512-F05975EEF327","estateName":"%E5%8D%8A%E5%B2%9B1%E5%8F%B7"},"platform":1,"OSVersion":"","clientVersion":"","machineCode":""}',
|
|
53
|
+
Authorization:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjUyN2ZmMGIwLWEwZjktNDJlMy1iNWM1LTg1MGU2MzNjZDc2NCJ9.H6Th2eEV99mxEgZ91n9_6GidadA_y-piw-Bt-NQj5hDH9VdcspUyrNKm2karo0KxQaxrcrGw7TplzzTw2BCmaw',
|
|
54
54
|
};
|
|
55
55
|
},
|
|
56
56
|
// 请求完成事件,可判断是否登录过期执行响应操作
|