@ibiz-template/runtime 0.6.15 → 0.6.16
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/dist/index.esm.js +34 -2
- package/dist/index.system.min.js +1 -1
- package/out/interface/controller/controller/control/i-control.controller.d.ts +15 -0
- package/out/interface/controller/controller/control/i-control.controller.d.ts.map +1 -1
- package/out/interface/service/service/i-mark-open-data.service.d.ts +10 -1
- package/out/interface/service/service/i-mark-open-data.service.d.ts.map +1 -1
- package/out/service/service/mark-open-data/mark-open-data.service.d.ts +16 -0
- package/out/service/service/mark-open-data/mark-open-data.service.d.ts.map +1 -1
- package/out/service/service/mark-open-data/mark-open-data.service.js +19 -0
- package/out/ui-logic/ui-logic-param/ui-logic-param.d.ts.map +1 -1
- package/out/ui-logic/ui-logic-param/ui-logic-param.js +16 -2
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -12017,12 +12017,34 @@ var MarkOpenDataService = class {
|
|
|
12017
12017
|
}
|
|
12018
12018
|
});
|
|
12019
12019
|
}
|
|
12020
|
+
/**
|
|
12021
|
+
* 获取站内信的集合
|
|
12022
|
+
* @author lxm
|
|
12023
|
+
* @date 2023-11-15 10:55:25
|
|
12024
|
+
* @param {IParams} [params={}]
|
|
12025
|
+
* @return {*} {Promise<IHttpResponse>}
|
|
12026
|
+
*/
|
|
12020
12027
|
async action(deName, key, action) {
|
|
12021
12028
|
const res = await ibiz.net.get(
|
|
12022
12029
|
"".concat(this.baseUrl, "/").concat(deName, "/").concat(key, "/").concat(action)
|
|
12023
12030
|
);
|
|
12024
12031
|
return res;
|
|
12025
12032
|
}
|
|
12033
|
+
/**
|
|
12034
|
+
* 发送系统消息
|
|
12035
|
+
* @param name
|
|
12036
|
+
* @param key
|
|
12037
|
+
* @param action
|
|
12038
|
+
* @param data
|
|
12039
|
+
* @return {*} {Promise<IHttpResponse>}
|
|
12040
|
+
*/
|
|
12041
|
+
async send(name, key, action, data) {
|
|
12042
|
+
const res = await ibiz.net.post(
|
|
12043
|
+
"".concat(this.baseUrl, "/").concat(name, "/").concat(key, "/").concat(action),
|
|
12044
|
+
data
|
|
12045
|
+
);
|
|
12046
|
+
return res;
|
|
12047
|
+
}
|
|
12026
12048
|
/**
|
|
12027
12049
|
* 监听指定实体指定主键的消息
|
|
12028
12050
|
* @author lxm
|
|
@@ -19749,7 +19771,11 @@ var UILogicParam = class {
|
|
|
19749
19771
|
} else if (m.navViewParamParam) {
|
|
19750
19772
|
throw new ModelError24(m, "\u672A\u652F\u6301\u7684\u903B\u8F91\u53C2\u6570\u7C7B\u578B: \u89C6\u56FE\u8DEF\u7531\u53C2\u6570");
|
|
19751
19773
|
} else if (m.routeViewSessionParam) {
|
|
19752
|
-
|
|
19774
|
+
let value = parameters.view.getTopView().state;
|
|
19775
|
+
if (m.paramFieldName) {
|
|
19776
|
+
value = value[m.paramFieldName];
|
|
19777
|
+
}
|
|
19778
|
+
ctx.params[tag] = value;
|
|
19753
19779
|
} else if (m.simpleListParam) {
|
|
19754
19780
|
ctx.params[tag] = [];
|
|
19755
19781
|
} else if (m.simpleParam) {
|
|
@@ -19757,7 +19783,13 @@ var UILogicParam = class {
|
|
|
19757
19783
|
} else if (m.viewNavDataParam) {
|
|
19758
19784
|
ctx.params[tag] = params;
|
|
19759
19785
|
} else if (m.viewSessionParam) {
|
|
19760
|
-
|
|
19786
|
+
let value = parameters.view.state;
|
|
19787
|
+
if (m.paramFieldName) {
|
|
19788
|
+
value = value[m.paramFieldName];
|
|
19789
|
+
}
|
|
19790
|
+
ctx.params[tag] = value;
|
|
19791
|
+
} else if (m.filterParam) {
|
|
19792
|
+
ctx.params[tag] = {};
|
|
19761
19793
|
}
|
|
19762
19794
|
ibiz.log.debug("\u8BA1\u7B97\u754C\u9762\u903B\u8F91\u53C2\u6570\uFF0C\u6807\u8BC6\uFF1A".concat(tag), "-\u503C\uFF1A", ctx.params[tag]);
|
|
19763
19795
|
}
|