提交 efefed7b 编写于 作者: ibizdev's avatar ibizdev

lxm1993 发布系统代码 [TrainSys,网页端]

上级 e2889ccd
var F = Object.defineProperty;
var I = (l, d, e) => d in l ? F(l, d, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[d] = e;
var O = (l, d, e) => (I(l, typeof d != "symbol" ? d + "" : d, e), e);
import { defineComponent as T, getCurrentInstance as N, h as A } from "vue";
import { useControlController as z, useNamespace as M } from "@ibiz-template/vue-util";
import { ChartModel as D } from "@ibiz-template/model";
import { Neuron as j, ControlNerve as $, ControlController as q } from "@ibiz-template/controller";
import { createUUID as R } from "qx-util";
import { init as V } from "echarts";
import { mergeDeepRight as y } from "ramda";
import { ControlService as B } from "@ibiz-template/service";
class U extends j {
}
class X extends $ {
createNeuron() {
return new U(this.bindAbility());
}
bindAbility() {
return {
...super.bindAbility(),
load: this.controller.load.bind(this.controller)
};
}
}
function x(l) {
const d = {};
return l && Object.keys(l).forEach((e) => {
const s = e.indexOf(".");
if (s === -1)
return;
const r = e.slice(s + 1);
r && l[e] !== void 0 && (d[r] = JSON.parse(l[e]));
}), d;
}
function Y(l) {
var e;
const d = {};
if (l) {
d.show = l.showTitle, d.text = l.title, d.subtext = l.subTitle;
const s = (e = l.titlePos) == null ? void 0 : e.toLowerCase();
s === "left" || s === "right" ? d.left = s : (s === "bottom" || s === "top") && (d.left = "center", d.top = s);
}
return d;
}
function _(l) {
var e;
const d = {};
if (l) {
d.show = l.showLegend;
const s = (e = l.legendPos) == null ? void 0 : e.toLowerCase();
s === "left" || s === "right" ? (d.left = s, d.top = "middle", d.orient = "vertical") : s === "bottom" && (d.top = s);
}
return d;
}
function P(l) {
return {
axisLabel: {
formatter: (e) => l === 1 ? e.length > 4 ? `${e.slice(0, 4).split("").join(`
`)}
...` : e.split("").join(`
`) : l === 2 && e.length > 4 ? `${e.slice(0, 4)}...` : e,
rotate: l === 2 ? 45 : 0
}
};
}
function J(l) {
const d = [];
return l && l.length && l.forEach((e) => {
const { caption: s, minValue: r, maxValue: o, eChartsType: t, position: i } = e, n = {
name: s,
min: r,
max: o
};
Object.assign(n, {
type: t,
position: i,
...y(
P(e.dataShowMode),
x(e.userParams)
)
}), d.push(n);
}), d;
}
function K(l) {
const d = [];
return l && l.length && l.forEach((e) => {
const { caption: s, minValue: r, maxValue: o, eChartsType: t, position: i } = e, n = {
name: s,
min: r,
max: o
};
Object.assign(n, {
type: t,
position: i,
...y(
P(e.dataShowMode),
x(e.userParams)
)
}), d.push(n);
}), d;
}
class W extends B {
constructor(e) {
super(e);
/**
* 序列列表
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:38
* @type {IPSDEChartSeries[]}
*/
O(this, "seriesList", []);
const s = e.source.getPSDEChartSerieses();
if (!s || !s.length)
throw new Error("图表序列集合不能为空");
this.seriesList = s;
}
/**
* 获取数据
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:11
* @param {IContext} context
* @param {IParams} [params={}]
* @return {*} {Promise<IHttpResponse>}
*/
async fetch(e, s = {}) {
return await this.exec(this.model.fetchAction, e, s);
}
/**
* 获取所有代码表映射
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:21
* @param {IContext} context
* @param {IParams} params
* @return {*}
*/
async getAllCodeListMap(e, s) {
const r = [];
return await Promise.all(
this.seriesList.map(async (o, t) => {
var a, c, p, g;
const i = {}, n = (c = (a = o.getCatalogPSCodeList) == null ? void 0 : a.call(o)) == null ? void 0 : c.codeName, C = (g = (p = o.getSeriesPSCodeList) == null ? void 0 : p.call(o)) == null ? void 0 : g.codeName;
if (n) {
const u = await ibiz.codeListService.get(
n,
e,
s
);
if (u) {
const f = /* @__PURE__ */ new Map();
u.forEach((h) => {
f.set(h.value, h.text);
}), i.catalog = f;
}
}
if (C) {
const u = await ibiz.codeListService.get(
C,
e,
s
);
if (u) {
const f = /* @__PURE__ */ new Map();
u.forEach((h) => {
f.set(h.value, h.text);
}), i.series = f;
}
}
r[t] = i;
})
), r;
}
/**
* 生成数据集配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:37
* @param {IPSDEChartSeries} series
* @param {IData[]} data
* @param {CodeListMap} map
* @return {*}
*/
generateDatasetOption(e, s, r) {
var a;
const o = {}, t = [];
o.source = t;
const i = e.catalogField.toLowerCase(), n = e.valueField.toLowerCase(), C = (a = e.seriesField) == null ? void 0 : a.toLowerCase();
if (C) {
const c = /* @__PURE__ */ new Set();
s.forEach((p) => {
c.add(p[C]);
}), t.push([i, ...c]);
} else
t.push([i, n]);
t.push(
...s.map((c) => t[0].map((p, g) => g === 0 ? (r && r.catalog ? r.catalog.get(c[p]) : c[p]) || "未定义" : C ? p === c[C] && c[n] || 0 : c[n] || 0))
), r && r.series && (t[0] = t[0].map((c, p) => {
var g;
return p === 0 ? c : ((g = r.series) == null ? void 0 : g.get(c)) || c;
}));
for (let c = 1; c < t.length; c++)
for (let p = c + 1; p < t.length; p++)
t[p][0] === t[c][0] && (t[p].forEach((g, u) => {
u !== 0 && (t[c][u] += g);
}), t.splice(p, 1), p -= 1);
return o;
}
/**
* 生成图表配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:49
* @param {IData[]} data
* @param {IContext} context
* @param {IParams} params
* @return {*}
*/
async generateChartOption(e, s, r) {
const o = {};
o.dataset = [], o.series = [];
const t = await this.getAllCodeListMap(s, r);
return this.seriesList.forEach((i, n) => {
if (i.eChartsType === "radar") {
const { series: a, radar: c } = this.generateRadarSeriesOption(
i,
e,
t[n]
);
Array.isArray(o.series) && o.series.push(...a), o.radar = c;
return;
}
const C = this.generateDatasetOption(i, e, t[n]);
if (Array.isArray(o.dataset) && o.dataset.push(C), i.eChartsType === "bar") {
const a = this.generateBarSeriesOption(
i,
e,
t[n],
n
);
Array.isArray(o.series) && o.series.push(...a);
} else if (i.eChartsType === "line") {
const a = this.generateLineSeriesOption(
i,
e,
t[n],
n
);
Array.isArray(o.series) && o.series.push(...a);
} else if (i.eChartsType === "pie") {
const a = this.generatePieSeriesOption(
i,
e,
t[n],
n
);
Array.isArray(o.series) && o.series.push(...a);
} else if (i.eChartsType === "funnel") {
const a = this.generateFunnelSeriesOption(
i,
e,
t[n],
n
);
Array.isArray(o.series) && o.series.push(...a);
} else if (i.eChartsType === "scatter") {
const a = this.generateScatterSeriesOption(
i,
e,
t[n],
n
);
Array.isArray(o.series) && o.series.push(...a);
} else
throw new Error(`${i.eChartsType}类型的图表暂未实现`);
}), o;
}
/**
* 生成柱状图序列配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:13
* @param {IPSDEChartSeries} series
* @param {IData[]} data
* @param {CodeListMap} map
* @param {number} index
* @return {*}
*/
generateBarSeriesOption(e, s, r, o) {
var u, f, h, m, w, S, b;
const t = [], i = e.eChartsType, n = e.catalogField.toLowerCase(), C = e.valueField.toLowerCase(), a = (u = e.seriesField) == null ? void 0 : u.toLowerCase(), c = +((m = (h = (f = e.M) == null ? void 0 : f.getPSChartSeriesEncode) == null ? void 0 : h.getPSChartXAxis) == null ? void 0 : m.id) || 0, p = +((b = (S = (w = e.M) == null ? void 0 : w.getPSChartSeriesEncode) == null ? void 0 : S.getPSChartYAxis) == null ? void 0 : b.id) || 0, g = {};
if (a) {
const E = /* @__PURE__ */ new Set();
s.forEach((L) => {
const v = L[a];
E.add(r && r.series && r.series.get(v) || v);
}), t.push(
...[...E].map((L) => ({
type: i,
xAxisIndex: c,
yAxisIndex: p,
name: L,
datasetIndex: o,
encode: {
x: n,
y: L
},
...y(
g,
x(e.userParams)
)
}))
);
} else
t.push({
type: i,
xAxisIndex: c,
yAxisIndex: p,
name: e.caption || e.id,
datasetIndex: o,
encode: {
x: n,
y: C
},
...y(
g,
x(e.userParams)
)
});
return t;
}
/**
* 生成折线图序列配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:32
* @param {IPSDEChartSeries} series
* @param {IData[]} data
* @param {CodeListMap} map
* @param {number} index
* @return {*}
*/
generateLineSeriesOption(e, s, r, o) {
var u, f, h, m, w, S, b;
const t = [], i = e.eChartsType, n = e.catalogField.toLowerCase(), C = e.valueField.toLowerCase(), a = (u = e.seriesField) == null ? void 0 : u.toLowerCase(), c = +((m = (h = (f = e.M) == null ? void 0 : f.getPSChartSeriesEncode) == null ? void 0 : h.getPSChartXAxis) == null ? void 0 : m.id) || 0, p = +((b = (S = (w = e.M) == null ? void 0 : w.getPSChartSeriesEncode) == null ? void 0 : S.getPSChartYAxis) == null ? void 0 : b.id) || 0, g = {
emphasis: {
label: {
fontSize: 20,
show: !0
}
},
label: {
position: "top",
show: !0
}
};
if (a) {
const E = /* @__PURE__ */ new Set();
s.forEach((L) => {
const v = L[a];
E.add(r && r.series && r.series.get(v) || v);
}), t.push(
...[...E].map((L) => ({
type: i,
xAxisIndex: c,
yAxisIndex: p,
name: L,
datasetIndex: o,
encode: {
x: n,
y: L
},
stack: e.M.stack ? e.id : void 0,
step: e.M.step ? "middle" : !1,
...y(
g,
x(e.userParams)
)
}))
);
} else
t.push({
type: i,
xAxisIndex: c,
yAxisIndex: p,
name: e.caption || e.id,
datasetIndex: o,
encode: {
x: n,
y: C
},
...y(
g,
x(e.userParams)
)
});
return t;
}
/**
* 生成饼图序列配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:44
* @param {IPSDEChartSeries} series
* @param {IData[]} data
* @param {CodeListMap} map
* @param {number} index
* @return {*}
*/
generatePieSeriesOption(e, s, r, o) {
var p;
const t = [], i = e.eChartsType, n = e.catalogField.toLowerCase(), C = e.valueField.toLowerCase(), a = (p = e.seriesField) == null ? void 0 : p.toLowerCase(), c = {
emphasis: {
label: {
fontSize: 20,
show: !0
}
},
label: {
formatter: "{b}: {d}%({@age})",
position: "outside",
show: !0
}
};
if (a) {
const g = /* @__PURE__ */ new Set();
s.forEach((u) => {
const f = u[a];
g.add(r && r.series && r.series.get(f) || f);
}), t.push(
...[...g].map((u) => ({
type: i,
name: u,
datasetIndex: o,
encode: {
itemName: n,
value: u
},
...y(
c,
x(e.userParams)
)
}))
);
} else
t.push({
type: i,
name: e.caption || e.id,
datasetIndex: o,
encode: {
itemName: n,
value: C
},
...y(
c,
x(e.userParams)
)
});
return t;
}
/**
* 生成漏斗图序列配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:03
* @param {IPSDEChartSeries} series
* @param {IData[]} data
* @param {CodeListMap} map
* @param {number} index
* @return {*}
*/
generateFunnelSeriesOption(e, s, r, o) {
var p;
const t = [], i = e.eChartsType, n = e.catalogField.toLowerCase(), C = e.valueField.toLowerCase(), a = (p = e.seriesField) == null ? void 0 : p.toLowerCase(), c = {
emphasis: {
label: {
fontSize: 20,
show: !0
}
},
label: {
formatter: "{b}: {d}%({@age})",
position: "outside",
show: !0
}
};
if (a) {
const g = /* @__PURE__ */ new Set();
s.forEach((u) => {
const f = u[a];
g.add(r && r.series && r.series.get(f) || f);
}), t.push(
...[...g].map((u) => ({
type: i,
name: u,
datasetIndex: o,
encode: {
itemName: n,
value: u
},
...y(
c,
x(e.userParams)
)
}))
);
} else
t.push({
type: i,
name: e.caption || e.id,
datasetIndex: o,
encode: {
itemName: n,
value: C
},
...y(
c,
x(e.userParams)
)
});
return t;
}
/**
* 生成散点图序列配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:25
* @param {IPSDEChartSeries} series
* @param {IData[]} data
* @param {CodeListMap} map
* @param {number} index
* @return {*}
*/
generateScatterSeriesOption(e, s, r, o) {
var p;
const t = [], i = e.eChartsType, n = e.catalogField.toLowerCase(), C = e.valueField.toLowerCase(), a = (p = e.seriesField) == null ? void 0 : p.toLowerCase(), c = {
emphasis: {
label: {
fontSize: 20,
show: !0
}
},
label: {
position: "top",
show: !0
}
};
if (a) {
const g = /* @__PURE__ */ new Set();
s.forEach((u) => {
const f = u[a];
g.add(r && r.series && r.series.get(f) || f);
}), t.push(
...[...g].map((u) => ({
type: i,
name: u,
datasetIndex: o,
encode: {
x: n,
y: u
},
...y(
c,
x(e.userParams)
)
}))
);
} else
t.push({
type: i,
name: e.caption || e.id,
datasetIndex: o,
encode: {
x: n,
y: C
},
...y(
c,
x(e.userParams)
)
});
return t;
}
/**
* 生成雷达图序列配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:47
* @param {IPSDEChartSeries} series
* @param {IData[]} data
* @param {CodeListMap} map
* @return {*}
*/
generateRadarSeriesOption(e, s, r) {
var f;
const o = [], t = [], i = e.eChartsType, n = e.catalogField.toLowerCase(), C = e.valueField.toLowerCase(), a = (f = e.seriesField) == null ? void 0 : f.toLowerCase(), c = {
emphasis: {
label: {
fontSize: 20,
show: !0
}
},
label: {
position: "top",
show: !0
}
};
if (a) {
const h = /* @__PURE__ */ new Set();
s.forEach((m) => {
h.add(m[a]);
}), t.push([n, ...h]);
} else
t.push([n, C]);
t.push(
...s.map((h) => t[0].map((m, w) => w === 0 ? (r && r.catalog ? r.catalog.get(h[m]) : h[m]) || "未定义" : a ? m === h[a] ? h[C] : 0 : h[C]))
), r && r.series && (t[0] = t[0].map((h, m) => {
var w;
return m === 0 ? h : ((w = r.series) == null ? void 0 : w.get(h)) || h;
}));
for (let h = 1; h < t.length; h++)
for (let m = h + 1; m < t.length; m++)
t[m][0] === t[h][0] && (t[m].forEach((w, S) => {
S !== 0 && (t[h][S] += w);
}), t.splice(m, 1), m -= 1);
const p = t[0].slice(1).map((h, m) => t.slice(1).map((w) => w[m + 1]));
o.push({
type: i,
name: e.caption || e.id,
data: p,
...y(c, x(e.userParams))
});
let g = -1 / 0;
p.forEach((h) => {
h.forEach((m) => {
+m > g && (g = +m);
});
});
const u = t.slice(1).map((h) => ({
name: h[0],
max: g
}));
return {
series: o,
radar: {
indicator: u
}
};
}
}
class G extends q {
constructor() {
super(...arguments);
/**
* 图表实例
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:45
* @type {(EChartsType | null)}
*/
O(this, "chart", null);
/**
* 图表id
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:22
* @type {string}
*/
O(this, "chartId", `chart_${R()}`);
/**
* 图表静态配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:32
* @type {EChartsOption}
*/
O(this, "chartStaticOption", {});
/**
* 数据集合
*
* @author zhanghengfeng
* @date 2023-04-07 16:04:34
* @type {IData[]}
*/
O(this, "items", []);
/**
* 请求参数
*
* @author zhanghengfeng
* @date 2023-04-07 16:04:28
*/
O(this, "queryParams", {
page: 0,
size: 1e3,
query: ""
});
/**
* 图表部件宽度
*
* @author zhanghengfeng
* @date 2023-04-11 15:04:23
* @type {string}
*/
O(this, "width", "100%");
/**
* 图表部件高度
*
* @author zhanghengfeng
* @date 2023-04-11 15:04:37
* @type {string}
*/
O(this, "height", "100%");
}
/**
* 创建图表神经系统
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:24
* @protected
* @return {*} {ChartNerve}
*/
createNerve() {
return new X(this);
}
/**
* 初始化配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:41
* @protected
* @return {*} {Promise<void>}
*/
async onInit() {
await super.onInit(), this.service = new W(this.model), await this.service.init(this.context), this.initChartStaticOption(), this.resizeChart = this.resizeChart.bind(this), window.addEventListener("resize", this.resizeChart);
const { width: e, height: s } = this.model.source;
e && (this.width = `${e}px`), s && (this.height = `${s}px`);
}
/**
* 重新渲染图表
*
* @author zhanghengfeng
* @date 2023-04-03 18:04:35
*/
resizeChart() {
var e;
(e = this.chart) == null || e.resize();
}
/**
* 初始化图表静态配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:52
*/
initChartStaticOption() {
const e = {}, s = this.model.source.getPSDEChartTitle();
e.title = s ? Y(s) : {}, e.tooltip = {
show: !0
};
const r = this.model.source.getPSDEChartSerieses();
r && r.length && r[0].eChartsType === "bar" && (e.tooltip = {
show: !0,
padding: 0,
backgroundColor: "rgba(255, 255, 255, 0)",
borderWidth: 0,
className: "chart-tooltip",
borderRadius: 6,
extraCssText: "box-shadow: none;",
trigger: "axis",
axisPointer: {
type: "shadow"
},
appendToBody: !0,
formatter: (n) => {
const C = n, a = document.createElement("div");
if (a.classList.add("chart-tooltip-container"), Array.isArray(n)) {
const c = [], p = /* @__PURE__ */ new Map();
C.forEach((u) => {
const f = u.seriesName, h = u.dimensionNames;
h.slice(1).forEach((m, w) => {
const S = h.length === 2 ? f : m, b = u.value[w + 1];
p.has(S) || (c.push({
x: S,
y: b
}), p.set(S, b));
});
});
const g = document.createElement("div");
return g.classList.add("chart-tooltip-title"), g.textContent = C[0].value[0], a.appendChild(g), c.forEach((u) => {
const f = document.createElement("div");
f.classList.add("chart-tooltip-item");
const h = document.createElement("div");
h.classList.add("chart-tooltip-item-name"), h.textContent = u.x, f.appendChild(h);
const m = document.createElement("div");
m.classList.add("chart-tooltip-item-number"), m.textContent = u.y, f.appendChild(m), a.appendChild(f);
}), a;
}
return a;
}
});
const o = this.model.source.getPSDEChartLegend();
e.legend = o ? _(o) : {};
const t = this.model.source.getPSChartXAxises();
e.xAxis = t ? J(t) : [];
const i = this.model.source.getPSChartYAxises();
e.yAxis = i ? K(i) : [], Object.assign(
this.chartStaticOption,
y(e, x(this.model.source.userParams))
);
}
/**
* 加载数据
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:13
* @param {IParams} params
*/
async load() {
var e;
await this.startLoading();
try {
const { data: s } = await this.service.fetch(this.context, {
...this.params,
...this.queryParams
});
if (Array.isArray(s) && s.length) {
if (this.items = s, !this.chart) {
const o = document.querySelector(`#${this.chartId}`);
if (!o)
throw new Error("未找到ECharts绘制容器元素");
this.chart = V(o);
}
const r = await this.service.generateChartOption(
s,
this.context,
this.params
);
this.chart.setOption({
...this.chartStaticOption,
...r
});
} else
this.items = [], (e = this.chart) == null || e.clear();
} finally {
await this.endLoading();
}
}
destroy() {
var e;
super.destroy(), (e = this.chart) == null || e.dispose(), window.removeEventListener("resize", this.resizeChart);
}
}
function H(l, d, e, s = {}) {
return z(l, () => new G(d, e, s));
}
const ie = T({
name: "ChartControl",
props: {
modelData: {
type: D,
required: !0
},
context: {
type: Object,
required: !0
},
params: {
type: Object,
default: () => ({})
}
},
setup(l) {
const {
proxy: d
} = N(), e = M("chart");
return {
c: H(d, l.modelData, l.context, l.params),
ns: e
};
},
render() {
if (this.c.complete)
return A("control-layout", {
attrs: {
modelData: this.c.model
}
}, [A("div", {
class: this.ns.b(),
style: {
width: this.c.width,
height: this.c.height
}
}, [A("div", {
attrs: {
id: this.c.chartId
},
class: this.ns.b("content")
}), this.c.items.length ? null : A("div", {
class: this.ns.b("empty-content")
}, ["暂无数据"])])]);
}
});
export {
ie as default
};
import { PropType } from 'vue';
import { ChartModel } from '@ibiz-template/model';
declare const _default: import("vue").DefineComponent<{
modelData: {
type: typeof ChartModel;
required: true;
};
context: {
type: PropType<IContext>;
required: true;
};
params: {
type: PropType<IParams>;
default: () => {};
};
}, {
c: import("../../controller/chart-controller").ChartController;
ns: import("@ibiz-template/core").Namespace;
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
modelData: {
type: typeof ChartModel;
required: true;
};
context: {
type: PropType<IContext>;
required: true;
};
params: {
type: PropType<IParams>;
default: () => {};
};
}>>, {
params: IParams;
}>;
export default _default;
import { IModal } from '@ibiz-template/runtime';
import { PropType } from 'vue';
declare const _default: import("vue").DefineComponent<{
context: PropType<IContext>;
params: {
type: PropType<IParams>;
default: () => {};
};
modelPath: {
type: StringConstructor;
required: true;
};
modal: {
type: PropType<IModal>;
};
}, {
c: import("../../controller/chart-view-controller").ChartViewController;
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
context: PropType<IContext>;
params: {
type: PropType<IParams>;
default: () => {};
};
modelPath: {
type: StringConstructor;
required: true;
};
modal: {
type: PropType<IModal>;
};
}>>, {
params: IParams;
}>;
export default _default;
import { ControlController } from '@ibiz-template/controller';
import { EChartsOption, EChartsType } from 'echarts';
import { ChartModel } from '@ibiz-template/model';
import { ChartNerve } from './nerve/chart-nerve';
import { ChartService } from '../service/chart-service';
export declare class ChartController extends ControlController<ChartModel> {
/**
* 图表神经系统
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:02
* @type {ChartNerve}
*/
nerve: ChartNerve;
/**
* 图表服务
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:13
* @type {ChartService}
*/
service: ChartService;
/**
* 图表实例
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:45
* @type {(EChartsType | null)}
*/
chart: EChartsType | null;
/**
* 图表id
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:22
* @type {string}
*/
chartId: string;
/**
* 图表静态配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:32
* @type {EChartsOption}
*/
chartStaticOption: EChartsOption;
/**
* 数据集合
*
* @author zhanghengfeng
* @date 2023-04-07 16:04:34
* @type {IData[]}
*/
items: IData[];
/**
* 请求参数
*
* @author zhanghengfeng
* @date 2023-04-07 16:04:28
*/
queryParams: {
page: number;
size: number;
query: string;
};
/**
* 图表部件宽度
*
* @author zhanghengfeng
* @date 2023-04-11 15:04:23
* @type {string}
*/
width: string;
/**
* 图表部件高度
*
* @author zhanghengfeng
* @date 2023-04-11 15:04:37
* @type {string}
*/
height: string;
/**
* 创建图表神经系统
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:24
* @protected
* @return {*} {ChartNerve}
*/
protected createNerve(): ChartNerve;
/**
* 初始化配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:41
* @protected
* @return {*} {Promise<void>}
*/
protected onInit(): Promise<void>;
/**
* 重新渲染图表
*
* @author zhanghengfeng
* @date 2023-04-03 18:04:35
*/
resizeChart(): void;
/**
* 初始化图表静态配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:52
*/
initChartStaticOption(): void;
/**
* 加载数据
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:13
* @param {IParams} params
*/
load(): Promise<void>;
destroy(): void;
}
import { ViewController } from '@ibiz-template/controller';
import { ChartViewModel } from '@ibiz-template/model';
import { ChartViewNerve } from './nerve/chart-view-nerve';
/**
* 图表视图控制器
*
* @author zhanghengfeng
* @date 2023-04-03 17:04:29
* @export
* @class ChartViewController
* @extends {ViewController<ChartViewModel>}
*/
export declare class ChartViewController extends ViewController<ChartViewModel> {
nerve: ChartViewNerve;
protected createNerve(): ChartViewNerve;
protected onInit(): Promise<void>;
/**
* 视图加载方法
*
* @return {*} {Promise<IData[]>}
* @memberof ChartViewController
*/
load(): Promise<void>;
/**
* 刷新视图
*
* @author zhanghengfeng
* @date 2023-04-07 17:04:41
* @return {*} {Promise<void>}
*/
refresh(): Promise<void>;
}
import { IControlAbility } from '@ibiz-template/controller';
/**
* 图表能力
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:31
* @export
* @interface IChartAbility
* @extends {IControlAbility}
*/
export interface IChartAbility extends IControlAbility {
load(): Promise<void>;
}
import { IControlEvent } from '@ibiz-template/controller';
/**
* 图表事件
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:46
* @export
* @interface IChartEvent
* @extends {IControlEvent}
*/
export interface IChartEvent extends IControlEvent {
}
import { IViewAbility } from '@ibiz-template/controller';
/**
* 图表视图能力
*
* @author zhanghengfeng
* @date 2023-04-03 17:04:09
* @export
* @interface IChartViewAbility
* @extends {IViewAbility}
*/
export interface IChartViewAbility extends IViewAbility {
}
import { IViewEvent } from '@ibiz-template/controller';
/**
* 图表视图事件
*
* @author zhanghengfeng
* @date 2023-04-03 17:04:26
* @export
* @interface IChartViewEvent
* @extends {IViewEvent}
*/
export interface IChartViewEvent extends IViewEvent {
}
import { ControlNerve } from '@ibiz-template/controller';
import { ChartController } from '../chart-controller';
import { ChartNeuron } from '../neuron/chart-neuron';
/**
* 图表神经系统
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:03
* @export
* @class ChartNerve
* @extends {ControlNerve<ChartNeuron, ChartController>}
*/
export declare class ChartNerve extends ControlNerve<ChartNeuron, ChartController> {
protected createNeuron(): ChartNeuron;
protected bindAbility(): {
load: () => Promise<void>;
};
}
import { Neuron, ViewNerve } from '@ibiz-template/controller';
import { ChartViewController } from '../chart-view-controller';
import { ChartViewNeuron } from '../neuron/chart-view-neuron';
import { ChartNeuron } from '../neuron/chart-neuron';
/**
* 图表视图神经系统
*
* @author zhanghengfeng
* @date 2023-04-03 17:04:29
* @export
* @class ChartViewNerve
* @extends {ViewNerve<ChartViewNeuron, ChartViewController>}
*/
export declare class ChartViewNerve extends ViewNerve<ChartViewNeuron, ChartViewController> {
chart: ChartNeuron;
protected createNeuron(): ChartViewNeuron;
inclusive(name: string): boolean;
connect(name: string, neuron: Neuron): void;
destroy(): void;
}
import { Neuron } from '@ibiz-template/controller';
import { IChartAbility } from '../interface/i-chart-ability';
import { IChartEvent } from '../interface/i-chart-event';
/**
* 图表神经元
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:17
* @export
* @class ChartNeuron
* @extends {Neuron<IChartEvent, IChartAbility>}
*/
export declare class ChartNeuron extends Neuron<IChartEvent, IChartAbility> {
}
import { Neuron } from '@ibiz-template/controller';
import { IChartViewEvent } from '../interface/i-chart-view-event';
import { IChartViewAbility } from '../interface/i-chart-view-ability';
/**
* 图表视图神经元
*
* @author zhanghengfeng
* @date 2023-04-03 17:04:06
* @export
* @class ChartViewNeuron
* @extends {Neuron<IChartViewEvent, IChartViewAbility>}
*/
export declare class ChartViewNeuron extends Neuron<IChartViewEvent, IChartViewAbility> {
}
import { IPSChartAxis, IPSDEChartLegend, IPSDEChartTitle } from '@ibiz-template/model';
import { EChartsOption, LegendComponentOption, TitleComponentOption, XAXisComponentOption, YAXisComponentOption } from 'echarts';
/**
* 解析自定义配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:52
* @export
* @param {IModel} userParams
* @return {*}
*/
export declare function parseUserParams(userParams: IModel): EChartsOption;
/**
* 生成标题配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:06
* @export
* @param {IPSDEChartTitle} chartTitle
* @return {*}
*/
export declare function generateTitleOption(chartTitle: IPSDEChartTitle): TitleComponentOption;
/**
* 生成图例配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:21
* @export
* @param {IPSDEChartLegend} chartLegend
* @return {*}
*/
export declare function generateLegendOption(chartLegend: IPSDEChartLegend): LegendComponentOption;
/**
* 生成坐标轴label配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:37
* @export
* @param {number} dataShowMode
* @return {*}
*/
export declare function generateAxisLabelOption(dataShowMode: number): {
axisLabel: {
formatter: (value: string) => string;
rotate: number;
};
};
/**
* 生成x轴配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:57
* @export
* @param {IPSChartAxis[]} chartXAxisList
* @return {*}
*/
export declare function generateXAxisOption(chartXAxisList: IPSChartAxis[]): XAXisComponentOption[];
/**
* 生成y轴配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:16
* @export
* @param {IPSChartAxis[]} chartYAxisList
* @return {*}
*/
export declare function generateYAxisOption(chartYAxisList: IPSChartAxis[]): YAXisComponentOption[];
import { PluginStaticResource } from '@ibiz-template/runtime';
declare const resource: PluginStaticResource;
export { resource };
import { VueConstructor } from 'vue';
declare const _default: {
mateUrl: string;
install(vue: VueConstructor): void;
};
export default _default;
/**
* 代码表映射
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:42
* @export
* @interface CodeListMap
*/
export interface CodeListMap {
catalog?: Map<string | number, string>;
series?: Map<string | number, string>;
}
/**
* tooltip格式化函数参数
*
* @author zhanghengfeng
* @date 2023-04-19 09:04:04
* @export
* @interface TooltipFormatterParam
*/
export interface TooltipFormatterParam {
seriesName: string;
dimensionNames: string[];
value: string[];
}
import { IControlProvider } from '@ibiz-template/controller';
/**
* 图表适配器
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:11
* @export
* @class ChartProvider
* @implements {IControlProvider}
*/
export declare class ChartProvider implements IControlProvider {
component: string;
}
import { IViewProvider } from '@ibiz-template/controller';
/**
* 图表视图适配器
*
* @author zhanghengfeng
* @date 2023-04-03 17:04:29
* @export
* @class ChartViewProvider
* @implements {IViewProvider}
*/
export declare class ChartViewProvider implements IViewProvider {
component: string;
}
import { ControlService } from '@ibiz-template/service';
import { IHttpResponse } from '@ibiz-template/core';
import { ChartModel, IPSDEChartSeries } from '@ibiz-template/model';
import { DatasetComponentOption, EChartsOption, SeriesOption } from 'echarts';
import { CodeListMap } from '../interface/code-list-map';
/**
* 图表服务
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:23
* @export
* @class ChartService
* @extends {ControlService<ChartModel>}
*/
export declare class ChartService extends ControlService<ChartModel> {
/**
* 序列列表
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:38
* @type {IPSDEChartSeries[]}
*/
seriesList: IPSDEChartSeries[];
constructor(model: ChartModel);
/**
* 获取数据
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:11
* @param {IContext} context
* @param {IParams} [params={}]
* @return {*} {Promise<IHttpResponse>}
*/
fetch(context: IContext, params?: IParams): Promise<IHttpResponse>;
/**
* 获取所有代码表映射
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:21
* @param {IContext} context
* @param {IParams} params
* @return {*}
*/
getAllCodeListMap(context: IContext, params: IParams): Promise<CodeListMap[]>;
/**
* 生成数据集配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:37
* @param {IPSDEChartSeries} series
* @param {IData[]} data
* @param {CodeListMap} map
* @return {*}
*/
generateDatasetOption(series: IPSDEChartSeries, data: IData[], map: CodeListMap): DatasetComponentOption;
/**
* 生成图表配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:49
* @param {IData[]} data
* @param {IContext} context
* @param {IParams} params
* @return {*}
*/
generateChartOption(data: IData[], context: IContext, params: IParams): Promise<EChartsOption>;
/**
* 生成柱状图序列配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:13
* @param {IPSDEChartSeries} series
* @param {IData[]} data
* @param {CodeListMap} map
* @param {number} index
* @return {*}
*/
generateBarSeriesOption(series: IPSDEChartSeries, data: IData[], map: CodeListMap, index: number): SeriesOption[];
/**
* 生成折线图序列配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:32
* @param {IPSDEChartSeries} series
* @param {IData[]} data
* @param {CodeListMap} map
* @param {number} index
* @return {*}
*/
generateLineSeriesOption(series: IPSDEChartSeries, data: IData[], map: CodeListMap, index: number): SeriesOption[];
/**
* 生成饼图序列配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:44
* @param {IPSDEChartSeries} series
* @param {IData[]} data
* @param {CodeListMap} map
* @param {number} index
* @return {*}
*/
generatePieSeriesOption(series: IPSDEChartSeries, data: IData[], map: CodeListMap, index: number): SeriesOption[];
/**
* 生成漏斗图序列配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:03
* @param {IPSDEChartSeries} series
* @param {IData[]} data
* @param {CodeListMap} map
* @param {number} index
* @return {*}
*/
generateFunnelSeriesOption(series: IPSDEChartSeries, data: IData[], map: CodeListMap, index: number): SeriesOption[];
/**
* 生成散点图序列配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:25
* @param {IPSDEChartSeries} series
* @param {IData[]} data
* @param {CodeListMap} map
* @param {number} index
* @return {*}
*/
generateScatterSeriesOption(series: IPSDEChartSeries, data: IData[], map: CodeListMap, index: number): SeriesOption[];
/**
* 生成雷达图序列配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:47
* @param {IPSDEChartSeries} series
* @param {IData[]} data
* @param {CodeListMap} map
* @return {*}
*/
generateRadarSeriesOption(series: IPSDEChartSeries, data: IData[], map: CodeListMap): {
series: SeriesOption[];
radar: {
indicator: {
name: string;
max: number;
}[];
};
};
}
import { ChartModel } from '@ibiz-template/model';
import { ChartController } from '../controller/chart-controller';
export declare function useChartController(vue: Vue, model: ChartModel, context: IContext, params?: IParams): ChartController;
import { ChartViewController } from '../controller/chart-view-controller';
export declare function useChartViewController(vue: Vue, path: string): ChartViewController;
...@@ -55,12 +55,6 @@ ...@@ -55,12 +55,6 @@
git clone -b master $para2 trainsys/ git clone -b master $para2 trainsys/
export NODE_OPTIONS=--max-old-space-size=4096 export NODE_OPTIONS=--max-old-space-size=4096
cd trainsys/ cd trainsys/
mvn clean package -Ptrainsys
mvn install -Ptrainsys
cd trainsys-provider
mvn -Ptrainsys docker:build
mvn -Ptrainsys docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/trainsys-provider-trainsys.yaml ebsx --with-registry-auth
</command> </command>
</hudson.tasks.Shell> </hudson.tasks.Shell>
</builders> </builders>
......
...@@ -50,16 +50,16 @@ ...@@ -50,16 +50,16 @@
"path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/TEST.json" "path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/TEST.json"
}, },
"getPSControls" : [ { "getPSControls" : [ {
"codeName" : "MobTreeViewnode1_cm", "codeName" : "MobTreeViewnode3_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
"logicName" : "树上下文菜单", "logicName" : "树上下文菜单",
"name" : "node1_cm", "name" : "node3_cm",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/TEST.json" "path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/TEST.json"
}, },
"getPSControlParam" : { "getPSControlParam" : {
"id" : "node1_cm" "id" : "node3_cm"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
...@@ -76,11 +76,11 @@ ...@@ -76,11 +76,11 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node1_cm_deuiaction1" "id" : "node3_cm_deuiaction1"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"itemName" : "deuiaction1", "itemName" : "deuiaction1",
"logicTag" : "node1_cm", "logicTag" : "node3_cm",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "logic11", "name" : "logic11",
"scriptCode" : "true", "scriptCode" : "true",
...@@ -154,11 +154,11 @@ ...@@ -154,11 +154,11 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node1_cm_deuiaction2" "id" : "node3_cm_deuiaction2"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"itemName" : "deuiaction2", "itemName" : "deuiaction2",
"logicTag" : "node1_cm", "logicTag" : "node3_cm",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "logic222", "name" : "logic222",
"scriptCode" : "false", "scriptCode" : "false",
...@@ -232,7 +232,7 @@ ...@@ -232,7 +232,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node1_cm_deuiaction4" "id" : "node3_cm_deuiaction4"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf00d@FontAwesome", "glyph" : "xf00d@FontAwesome",
...@@ -287,7 +287,7 @@ ...@@ -287,7 +287,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node1_cm_deuiaction5" "id" : "node3_cm_deuiaction5"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"actionTarget" : "NONE", "actionTarget" : "NONE",
...@@ -318,7 +318,7 @@ ...@@ -318,7 +318,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node1_cm_deuiaction3" "id" : "node3_cm_deuiaction3"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf021@FontAwesome", "glyph" : "xf021@FontAwesome",
...@@ -361,16 +361,16 @@ ...@@ -361,16 +361,16 @@
"modelid" : "EE623BDE-0681-469C-BCA1-EA55F25E3732", "modelid" : "EE623BDE-0681-469C-BCA1-EA55F25E3732",
"modeltype" : "PSDETOOLBAR" "modeltype" : "PSDETOOLBAR"
}, { }, {
"codeName" : "MobTreeViewnode3_cm", "codeName" : "MobTreeViewnode1_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
"logicName" : "树上下文菜单", "logicName" : "树上下文菜单",
"name" : "node3_cm", "name" : "node1_cm",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/TEST.json" "path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/TEST.json"
}, },
"getPSControlParam" : { "getPSControlParam" : {
"id" : "node3_cm" "id" : "node1_cm"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
...@@ -387,11 +387,11 @@ ...@@ -387,11 +387,11 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node3_cm_deuiaction1" "id" : "node1_cm_deuiaction1"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"itemName" : "deuiaction1", "itemName" : "deuiaction1",
"logicTag" : "node3_cm", "logicTag" : "node1_cm",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "logic11", "name" : "logic11",
"scriptCode" : "true", "scriptCode" : "true",
...@@ -465,11 +465,11 @@ ...@@ -465,11 +465,11 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node3_cm_deuiaction2" "id" : "node1_cm_deuiaction2"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"itemName" : "deuiaction2", "itemName" : "deuiaction2",
"logicTag" : "node3_cm", "logicTag" : "node1_cm",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "logic222", "name" : "logic222",
"scriptCode" : "false", "scriptCode" : "false",
...@@ -543,7 +543,7 @@ ...@@ -543,7 +543,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node3_cm_deuiaction4" "id" : "node1_cm_deuiaction4"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf00d@FontAwesome", "glyph" : "xf00d@FontAwesome",
...@@ -598,7 +598,7 @@ ...@@ -598,7 +598,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node3_cm_deuiaction5" "id" : "node1_cm_deuiaction5"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"actionTarget" : "NONE", "actionTarget" : "NONE",
...@@ -629,7 +629,7 @@ ...@@ -629,7 +629,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node3_cm_deuiaction3" "id" : "node1_cm_deuiaction3"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf021@FontAwesome", "glyph" : "xf021@FontAwesome",
...@@ -1159,11 +1159,19 @@ ...@@ -1159,11 +1159,19 @@
"selected" : false, "selected" : false,
"id" : "node1" "id" : "node1"
}, { }, {
"getChildCntPSAppDEField" : {
"name" : "AMOUNT",
"codeName" : "Amount"
},
"counterMode" : 0, "counterMode" : 0,
"getIdPSAppDEField" : { "getIdPSAppDEField" : {
"name" : "TESTID", "name" : "TESTID",
"codeName" : "TESTId" "codeName" : "TESTId"
}, },
"getLeafFlagPSAppDEField" : {
"name" : "NUMBER1",
"codeName" : "Number1"
},
"maxSize" : -1, "maxSize" : -1,
"name" : "动态集合", "name" : "动态集合",
"nodeType" : "node3", "nodeType" : "node3",
......
...@@ -140,16 +140,16 @@ ...@@ -140,16 +140,16 @@
"id" : "TREE" "id" : "TREE"
}, },
"getPSControls" : [ { "getPSControls" : [ {
"codeName" : "MobPickupTreeViewnode1_cm", "codeName" : "MobPickupTreeViewnode3_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
"logicName" : "树上下文菜单", "logicName" : "树上下文菜单",
"name" : "node1_cm", "name" : "node3_cm",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/TEST.json" "path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/TEST.json"
}, },
"getPSControlParam" : { "getPSControlParam" : {
"id" : "node1_cm" "id" : "node3_cm"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"caption" : "二级", "caption" : "二级",
...@@ -167,7 +167,7 @@ ...@@ -167,7 +167,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node1_cm_deuiaction5" "id" : "node3_cm_deuiaction5"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"actionTarget" : "NONE", "actionTarget" : "NONE",
...@@ -198,7 +198,7 @@ ...@@ -198,7 +198,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node1_cm_deuiaction3" "id" : "node3_cm_deuiaction3"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf021@FontAwesome", "glyph" : "xf021@FontAwesome",
...@@ -241,16 +241,16 @@ ...@@ -241,16 +241,16 @@
"modelid" : "EE623BDE-0681-469C-BCA1-EA55F25E3732", "modelid" : "EE623BDE-0681-469C-BCA1-EA55F25E3732",
"modeltype" : "PSDETOOLBAR" "modeltype" : "PSDETOOLBAR"
}, { }, {
"codeName" : "MobPickupTreeViewnode3_cm", "codeName" : "MobPickupTreeViewnode1_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
"logicName" : "树上下文菜单", "logicName" : "树上下文菜单",
"name" : "node3_cm", "name" : "node1_cm",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/TEST.json" "path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/TEST.json"
}, },
"getPSControlParam" : { "getPSControlParam" : {
"id" : "node3_cm" "id" : "node1_cm"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"caption" : "二级", "caption" : "二级",
...@@ -268,7 +268,7 @@ ...@@ -268,7 +268,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node3_cm_deuiaction5" "id" : "node1_cm_deuiaction5"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"actionTarget" : "NONE", "actionTarget" : "NONE",
...@@ -299,7 +299,7 @@ ...@@ -299,7 +299,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node3_cm_deuiaction3" "id" : "node1_cm_deuiaction3"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf021@FontAwesome", "glyph" : "xf021@FontAwesome",
...@@ -619,11 +619,19 @@ ...@@ -619,11 +619,19 @@
"selected" : false, "selected" : false,
"id" : "node1" "id" : "node1"
}, { }, {
"getChildCntPSAppDEField" : {
"name" : "AMOUNT",
"codeName" : "Amount"
},
"counterMode" : 0, "counterMode" : 0,
"getIdPSAppDEField" : { "getIdPSAppDEField" : {
"name" : "TESTID", "name" : "TESTID",
"codeName" : "TESTId" "codeName" : "TESTId"
}, },
"getLeafFlagPSAppDEField" : {
"name" : "NUMBER1",
"codeName" : "Number1"
},
"maxSize" : -1, "maxSize" : -1,
"name" : "动态集合", "name" : "动态集合",
"nodeType" : "node3", "nodeType" : "node3",
......
...@@ -293,16 +293,16 @@ ...@@ -293,16 +293,16 @@
"id" : "TREEVIEW" "id" : "TREEVIEW"
}, },
"getPSControls" : [ { "getPSControls" : [ {
"codeName" : "MobTreeViewnode1_cm", "codeName" : "MobTreeViewnode3_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
"logicName" : "树上下文菜单", "logicName" : "树上下文菜单",
"name" : "node1_cm", "name" : "node3_cm",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/TEST.json" "path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/TEST.json"
}, },
"getPSControlParam" : { "getPSControlParam" : {
"id" : "node1_cm" "id" : "node3_cm"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
...@@ -319,11 +319,11 @@ ...@@ -319,11 +319,11 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node1_cm_deuiaction1" "id" : "node3_cm_deuiaction1"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"itemName" : "deuiaction1", "itemName" : "deuiaction1",
"logicTag" : "node1_cm", "logicTag" : "node3_cm",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "logic11", "name" : "logic11",
"scriptCode" : "true", "scriptCode" : "true",
...@@ -397,11 +397,11 @@ ...@@ -397,11 +397,11 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node1_cm_deuiaction2" "id" : "node3_cm_deuiaction2"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"itemName" : "deuiaction2", "itemName" : "deuiaction2",
"logicTag" : "node1_cm", "logicTag" : "node3_cm",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "logic222", "name" : "logic222",
"scriptCode" : "false", "scriptCode" : "false",
...@@ -475,7 +475,7 @@ ...@@ -475,7 +475,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node1_cm_deuiaction4" "id" : "node3_cm_deuiaction4"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf00d@FontAwesome", "glyph" : "xf00d@FontAwesome",
...@@ -530,7 +530,7 @@ ...@@ -530,7 +530,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node1_cm_deuiaction5" "id" : "node3_cm_deuiaction5"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"actionTarget" : "NONE", "actionTarget" : "NONE",
...@@ -561,7 +561,7 @@ ...@@ -561,7 +561,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node1_cm_deuiaction3" "id" : "node3_cm_deuiaction3"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf021@FontAwesome", "glyph" : "xf021@FontAwesome",
...@@ -604,16 +604,16 @@ ...@@ -604,16 +604,16 @@
"modelid" : "EE623BDE-0681-469C-BCA1-EA55F25E3732", "modelid" : "EE623BDE-0681-469C-BCA1-EA55F25E3732",
"modeltype" : "PSDETOOLBAR" "modeltype" : "PSDETOOLBAR"
}, { }, {
"codeName" : "MobTreeViewnode3_cm", "codeName" : "MobTreeViewnode1_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
"logicName" : "树上下文菜单", "logicName" : "树上下文菜单",
"name" : "node3_cm", "name" : "node1_cm",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/TEST.json" "path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/TEST.json"
}, },
"getPSControlParam" : { "getPSControlParam" : {
"id" : "node3_cm" "id" : "node1_cm"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
...@@ -630,11 +630,11 @@ ...@@ -630,11 +630,11 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node3_cm_deuiaction1" "id" : "node1_cm_deuiaction1"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"itemName" : "deuiaction1", "itemName" : "deuiaction1",
"logicTag" : "node3_cm", "logicTag" : "node1_cm",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "logic11", "name" : "logic11",
"scriptCode" : "true", "scriptCode" : "true",
...@@ -708,11 +708,11 @@ ...@@ -708,11 +708,11 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node3_cm_deuiaction2" "id" : "node1_cm_deuiaction2"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"itemName" : "deuiaction2", "itemName" : "deuiaction2",
"logicTag" : "node3_cm", "logicTag" : "node1_cm",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "logic222", "name" : "logic222",
"scriptCode" : "false", "scriptCode" : "false",
...@@ -786,7 +786,7 @@ ...@@ -786,7 +786,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node3_cm_deuiaction4" "id" : "node1_cm_deuiaction4"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf00d@FontAwesome", "glyph" : "xf00d@FontAwesome",
...@@ -841,7 +841,7 @@ ...@@ -841,7 +841,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node3_cm_deuiaction5" "id" : "node1_cm_deuiaction5"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"actionTarget" : "NONE", "actionTarget" : "NONE",
...@@ -872,7 +872,7 @@ ...@@ -872,7 +872,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node3_cm_deuiaction3" "id" : "node1_cm_deuiaction3"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf021@FontAwesome", "glyph" : "xf021@FontAwesome",
...@@ -1402,11 +1402,19 @@ ...@@ -1402,11 +1402,19 @@
"selected" : false, "selected" : false,
"id" : "node1" "id" : "node1"
}, { }, {
"getChildCntPSAppDEField" : {
"name" : "AMOUNT",
"codeName" : "Amount"
},
"counterMode" : 0, "counterMode" : 0,
"getIdPSAppDEField" : { "getIdPSAppDEField" : {
"name" : "TESTID", "name" : "TESTID",
"codeName" : "TESTId" "codeName" : "TESTId"
}, },
"getLeafFlagPSAppDEField" : {
"name" : "NUMBER1",
"codeName" : "Number1"
},
"maxSize" : -1, "maxSize" : -1,
"name" : "动态集合", "name" : "动态集合",
"nodeType" : "node3", "nodeType" : "node3",
......
...@@ -140,16 +140,16 @@ ...@@ -140,16 +140,16 @@
"id" : "TREE" "id" : "TREE"
}, },
"getPSControls" : [ { "getPSControls" : [ {
"codeName" : "TreeViewnode1_cm", "codeName" : "TreeViewnode3_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
"logicName" : "树上下文菜单", "logicName" : "树上下文菜单",
"name" : "node1_cm", "name" : "node3_cm",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/TEST.json" "path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/TEST.json"
}, },
"getPSControlParam" : { "getPSControlParam" : {
"id" : "node1_cm" "id" : "node3_cm"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
...@@ -166,11 +166,11 @@ ...@@ -166,11 +166,11 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node1_cm_deuiaction1" "id" : "node3_cm_deuiaction1"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"itemName" : "deuiaction1", "itemName" : "deuiaction1",
"logicTag" : "node1_cm", "logicTag" : "node3_cm",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "logic11", "name" : "logic11",
"scriptCode" : "true", "scriptCode" : "true",
...@@ -244,11 +244,11 @@ ...@@ -244,11 +244,11 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node1_cm_deuiaction2" "id" : "node3_cm_deuiaction2"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"itemName" : "deuiaction2", "itemName" : "deuiaction2",
"logicTag" : "node1_cm", "logicTag" : "node3_cm",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "logic222", "name" : "logic222",
"scriptCode" : "false", "scriptCode" : "false",
...@@ -322,7 +322,7 @@ ...@@ -322,7 +322,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node1_cm_deuiaction4" "id" : "node3_cm_deuiaction4"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf00d@FontAwesome", "glyph" : "xf00d@FontAwesome",
...@@ -377,7 +377,7 @@ ...@@ -377,7 +377,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node1_cm_deuiaction5" "id" : "node3_cm_deuiaction5"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"actionTarget" : "NONE", "actionTarget" : "NONE",
...@@ -408,7 +408,7 @@ ...@@ -408,7 +408,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node1_cm_deuiaction3" "id" : "node3_cm_deuiaction3"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf021@FontAwesome", "glyph" : "xf021@FontAwesome",
...@@ -451,16 +451,16 @@ ...@@ -451,16 +451,16 @@
"modelid" : "EE623BDE-0681-469C-BCA1-EA55F25E3732", "modelid" : "EE623BDE-0681-469C-BCA1-EA55F25E3732",
"modeltype" : "PSDETOOLBAR" "modeltype" : "PSDETOOLBAR"
}, { }, {
"codeName" : "TreeViewnode3_cm", "codeName" : "TreeViewnode1_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
"logicName" : "树上下文菜单", "logicName" : "树上下文菜单",
"name" : "node3_cm", "name" : "node1_cm",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/TEST.json" "path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/TEST.json"
}, },
"getPSControlParam" : { "getPSControlParam" : {
"id" : "node3_cm" "id" : "node1_cm"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
...@@ -477,11 +477,11 @@ ...@@ -477,11 +477,11 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node3_cm_deuiaction1" "id" : "node1_cm_deuiaction1"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"itemName" : "deuiaction1", "itemName" : "deuiaction1",
"logicTag" : "node3_cm", "logicTag" : "node1_cm",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "logic11", "name" : "logic11",
"scriptCode" : "true", "scriptCode" : "true",
...@@ -555,11 +555,11 @@ ...@@ -555,11 +555,11 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node3_cm_deuiaction2" "id" : "node1_cm_deuiaction2"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"itemName" : "deuiaction2", "itemName" : "deuiaction2",
"logicTag" : "node3_cm", "logicTag" : "node1_cm",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "logic222", "name" : "logic222",
"scriptCode" : "false", "scriptCode" : "false",
...@@ -633,7 +633,7 @@ ...@@ -633,7 +633,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node3_cm_deuiaction4" "id" : "node1_cm_deuiaction4"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf00d@FontAwesome", "glyph" : "xf00d@FontAwesome",
...@@ -688,7 +688,7 @@ ...@@ -688,7 +688,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node3_cm_deuiaction5" "id" : "node1_cm_deuiaction5"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"actionTarget" : "NONE", "actionTarget" : "NONE",
...@@ -719,7 +719,7 @@ ...@@ -719,7 +719,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node3_cm_deuiaction3" "id" : "node1_cm_deuiaction3"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf021@FontAwesome", "glyph" : "xf021@FontAwesome",
...@@ -1249,11 +1249,19 @@ ...@@ -1249,11 +1249,19 @@
"selected" : false, "selected" : false,
"id" : "node1" "id" : "node1"
}, { }, {
"getChildCntPSAppDEField" : {
"name" : "AMOUNT",
"codeName" : "Amount"
},
"counterMode" : 0, "counterMode" : 0,
"getIdPSAppDEField" : { "getIdPSAppDEField" : {
"name" : "TESTID", "name" : "TESTID",
"codeName" : "TESTId" "codeName" : "TESTId"
}, },
"getLeafFlagPSAppDEField" : {
"name" : "NUMBER1",
"codeName" : "Number1"
},
"maxSize" : -1, "maxSize" : -1,
"name" : "动态集合", "name" : "动态集合",
"nodeType" : "node3", "nodeType" : "node3",
......
...@@ -162,16 +162,16 @@ ...@@ -162,16 +162,16 @@
"id" : "TREE" "id" : "TREE"
}, },
"getPSControls" : [ { "getPSControls" : [ {
"codeName" : "MobPickupTreeViewnode1_cm", "codeName" : "MobPickupTreeViewnode3_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
"logicName" : "树上下文菜单", "logicName" : "树上下文菜单",
"name" : "node1_cm", "name" : "node3_cm",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/TEST.json" "path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/TEST.json"
}, },
"getPSControlParam" : { "getPSControlParam" : {
"id" : "node1_cm" "id" : "node3_cm"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"caption" : "二级", "caption" : "二级",
...@@ -189,7 +189,7 @@ ...@@ -189,7 +189,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node1_cm_deuiaction5" "id" : "node3_cm_deuiaction5"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"actionTarget" : "NONE", "actionTarget" : "NONE",
...@@ -220,7 +220,7 @@ ...@@ -220,7 +220,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node1_cm_deuiaction3" "id" : "node3_cm_deuiaction3"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf021@FontAwesome", "glyph" : "xf021@FontAwesome",
...@@ -263,16 +263,16 @@ ...@@ -263,16 +263,16 @@
"modelid" : "EE623BDE-0681-469C-BCA1-EA55F25E3732", "modelid" : "EE623BDE-0681-469C-BCA1-EA55F25E3732",
"modeltype" : "PSDETOOLBAR" "modeltype" : "PSDETOOLBAR"
}, { }, {
"codeName" : "MobPickupTreeViewnode3_cm", "codeName" : "MobPickupTreeViewnode1_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
"logicName" : "树上下文菜单", "logicName" : "树上下文菜单",
"name" : "node3_cm", "name" : "node1_cm",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/TEST.json" "path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/TEST.json"
}, },
"getPSControlParam" : { "getPSControlParam" : {
"id" : "node3_cm" "id" : "node1_cm"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"caption" : "二级", "caption" : "二级",
...@@ -290,7 +290,7 @@ ...@@ -290,7 +290,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node3_cm_deuiaction5" "id" : "node1_cm_deuiaction5"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"actionTarget" : "NONE", "actionTarget" : "NONE",
...@@ -321,7 +321,7 @@ ...@@ -321,7 +321,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node3_cm_deuiaction3" "id" : "node1_cm_deuiaction3"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf021@FontAwesome", "glyph" : "xf021@FontAwesome",
...@@ -641,11 +641,19 @@ ...@@ -641,11 +641,19 @@
"selected" : false, "selected" : false,
"id" : "node1" "id" : "node1"
}, { }, {
"getChildCntPSAppDEField" : {
"name" : "AMOUNT",
"codeName" : "Amount"
},
"counterMode" : 0, "counterMode" : 0,
"getIdPSAppDEField" : { "getIdPSAppDEField" : {
"name" : "TESTID", "name" : "TESTID",
"codeName" : "TESTId" "codeName" : "TESTId"
}, },
"getLeafFlagPSAppDEField" : {
"name" : "NUMBER1",
"codeName" : "Number1"
},
"maxSize" : -1, "maxSize" : -1,
"name" : "动态集合", "name" : "动态集合",
"nodeType" : "node3", "nodeType" : "node3",
......
...@@ -162,16 +162,16 @@ ...@@ -162,16 +162,16 @@
"id" : "TREE" "id" : "TREE"
}, },
"getPSControls" : [ { "getPSControls" : [ {
"codeName" : "MobPickupTreeViewnode1_cm", "codeName" : "MobPickupTreeViewnode3_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
"logicName" : "树上下文菜单", "logicName" : "树上下文菜单",
"name" : "node1_cm", "name" : "node3_cm",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/TEST.json" "path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/TEST.json"
}, },
"getPSControlParam" : { "getPSControlParam" : {
"id" : "node1_cm" "id" : "node3_cm"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"caption" : "二级", "caption" : "二级",
...@@ -189,7 +189,7 @@ ...@@ -189,7 +189,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node1_cm_deuiaction5" "id" : "node3_cm_deuiaction5"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"actionTarget" : "NONE", "actionTarget" : "NONE",
...@@ -220,7 +220,7 @@ ...@@ -220,7 +220,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node1_cm_deuiaction3" "id" : "node3_cm_deuiaction3"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf021@FontAwesome", "glyph" : "xf021@FontAwesome",
...@@ -263,16 +263,16 @@ ...@@ -263,16 +263,16 @@
"modelid" : "EE623BDE-0681-469C-BCA1-EA55F25E3732", "modelid" : "EE623BDE-0681-469C-BCA1-EA55F25E3732",
"modeltype" : "PSDETOOLBAR" "modeltype" : "PSDETOOLBAR"
}, { }, {
"codeName" : "MobPickupTreeViewnode3_cm", "codeName" : "MobPickupTreeViewnode1_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
"logicName" : "树上下文菜单", "logicName" : "树上下文菜单",
"name" : "node3_cm", "name" : "node1_cm",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/TEST.json" "path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/TEST.json"
}, },
"getPSControlParam" : { "getPSControlParam" : {
"id" : "node3_cm" "id" : "node1_cm"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"caption" : "二级", "caption" : "二级",
...@@ -290,7 +290,7 @@ ...@@ -290,7 +290,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node3_cm_deuiaction5" "id" : "node1_cm_deuiaction5"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"actionTarget" : "NONE", "actionTarget" : "NONE",
...@@ -321,7 +321,7 @@ ...@@ -321,7 +321,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node3_cm_deuiaction3" "id" : "node1_cm_deuiaction3"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf021@FontAwesome", "glyph" : "xf021@FontAwesome",
...@@ -641,11 +641,19 @@ ...@@ -641,11 +641,19 @@
"selected" : false, "selected" : false,
"id" : "node1" "id" : "node1"
}, { }, {
"getChildCntPSAppDEField" : {
"name" : "AMOUNT",
"codeName" : "Amount"
},
"counterMode" : 0, "counterMode" : 0,
"getIdPSAppDEField" : { "getIdPSAppDEField" : {
"name" : "TESTID", "name" : "TESTID",
"codeName" : "TESTId" "codeName" : "TESTId"
}, },
"getLeafFlagPSAppDEField" : {
"name" : "NUMBER1",
"codeName" : "Number1"
},
"maxSize" : -1, "maxSize" : -1,
"name" : "动态集合", "name" : "动态集合",
"nodeType" : "node3", "nodeType" : "node3",
......
...@@ -1481,16 +1481,16 @@ ...@@ -1481,16 +1481,16 @@
"codeName" : "VMGroup2", "codeName" : "VMGroup2",
"name" : "视图消息组2", "name" : "视图消息组2",
"getPSAppViewMsgGroupDetails" : [ { "getPSAppViewMsgGroupDetails" : [ {
"name" : "视图消息2", "name" : "视图消息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg3" "id" : "ViewMsg2"
} }
}, { }, {
"name" : "视图消息", "name" : "视图消息2",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg2" "id" : "ViewMsg3"
} }
} ] } ]
}, { }, {
......
...@@ -50,16 +50,16 @@ ...@@ -50,16 +50,16 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
}, },
"getPSControls" : [ { "getPSControls" : [ {
"codeName" : "ControlDefaultLoadTestnode1_cm", "codeName" : "ControlDefaultLoadTestnode3_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
"logicName" : "树上下文菜单", "logicName" : "树上下文菜单",
"name" : "node1_cm", "name" : "node3_cm",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
}, },
"getPSControlParam" : { "getPSControlParam" : {
"id" : "node1_cm" "id" : "node3_cm"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
...@@ -76,11 +76,11 @@ ...@@ -76,11 +76,11 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node1_cm_deuiaction1" "id" : "node3_cm_deuiaction1"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"itemName" : "deuiaction1", "itemName" : "deuiaction1",
"logicTag" : "node1_cm", "logicTag" : "node3_cm",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "logic11", "name" : "logic11",
"scriptCode" : "true", "scriptCode" : "true",
...@@ -154,11 +154,11 @@ ...@@ -154,11 +154,11 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node1_cm_deuiaction2" "id" : "node3_cm_deuiaction2"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"itemName" : "deuiaction2", "itemName" : "deuiaction2",
"logicTag" : "node1_cm", "logicTag" : "node3_cm",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "logic222", "name" : "logic222",
"scriptCode" : "false", "scriptCode" : "false",
...@@ -232,7 +232,7 @@ ...@@ -232,7 +232,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node1_cm_deuiaction4" "id" : "node3_cm_deuiaction4"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf00d@FontAwesome", "glyph" : "xf00d@FontAwesome",
...@@ -287,7 +287,7 @@ ...@@ -287,7 +287,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node1_cm_deuiaction5" "id" : "node3_cm_deuiaction5"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"actionTarget" : "NONE", "actionTarget" : "NONE",
...@@ -318,7 +318,7 @@ ...@@ -318,7 +318,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node1_cm_deuiaction3" "id" : "node3_cm_deuiaction3"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf021@FontAwesome", "glyph" : "xf021@FontAwesome",
...@@ -361,16 +361,16 @@ ...@@ -361,16 +361,16 @@
"modelid" : "EE623BDE-0681-469C-BCA1-EA55F25E3732", "modelid" : "EE623BDE-0681-469C-BCA1-EA55F25E3732",
"modeltype" : "PSDETOOLBAR" "modeltype" : "PSDETOOLBAR"
}, { }, {
"codeName" : "ControlDefaultLoadTestnode3_cm", "codeName" : "ControlDefaultLoadTestnode1_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
"logicName" : "树上下文菜单", "logicName" : "树上下文菜单",
"name" : "node3_cm", "name" : "node1_cm",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
}, },
"getPSControlParam" : { "getPSControlParam" : {
"id" : "node3_cm" "id" : "node1_cm"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
...@@ -387,11 +387,11 @@ ...@@ -387,11 +387,11 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node3_cm_deuiaction1" "id" : "node1_cm_deuiaction1"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"itemName" : "deuiaction1", "itemName" : "deuiaction1",
"logicTag" : "node3_cm", "logicTag" : "node1_cm",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "logic11", "name" : "logic11",
"scriptCode" : "true", "scriptCode" : "true",
...@@ -465,11 +465,11 @@ ...@@ -465,11 +465,11 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node3_cm_deuiaction2" "id" : "node1_cm_deuiaction2"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"itemName" : "deuiaction2", "itemName" : "deuiaction2",
"logicTag" : "node3_cm", "logicTag" : "node1_cm",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "logic222", "name" : "logic222",
"scriptCode" : "false", "scriptCode" : "false",
...@@ -543,7 +543,7 @@ ...@@ -543,7 +543,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node3_cm_deuiaction4" "id" : "node1_cm_deuiaction4"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf00d@FontAwesome", "glyph" : "xf00d@FontAwesome",
...@@ -598,7 +598,7 @@ ...@@ -598,7 +598,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node3_cm_deuiaction5" "id" : "node1_cm_deuiaction5"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"actionTarget" : "NONE", "actionTarget" : "NONE",
...@@ -629,7 +629,7 @@ ...@@ -629,7 +629,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node3_cm_deuiaction3" "id" : "node1_cm_deuiaction3"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf021@FontAwesome", "glyph" : "xf021@FontAwesome",
...@@ -1159,11 +1159,19 @@ ...@@ -1159,11 +1159,19 @@
"selected" : false, "selected" : false,
"id" : "node1" "id" : "node1"
}, { }, {
"getChildCntPSAppDEField" : {
"name" : "AMOUNT",
"codeName" : "Amount"
},
"counterMode" : 0, "counterMode" : 0,
"getIdPSAppDEField" : { "getIdPSAppDEField" : {
"name" : "TESTID", "name" : "TESTID",
"codeName" : "TESTId" "codeName" : "TESTId"
}, },
"getLeafFlagPSAppDEField" : {
"name" : "NUMBER1",
"codeName" : "Number1"
},
"maxSize" : -1, "maxSize" : -1,
"name" : "动态集合", "name" : "动态集合",
"nodeType" : "node3", "nodeType" : "node3",
......
...@@ -1423,16 +1423,16 @@ ...@@ -1423,16 +1423,16 @@
"id" : "TREEVIEW" "id" : "TREEVIEW"
}, },
"getPSControls" : [ { "getPSControls" : [ {
"codeName" : "ControlDefaultLoadTestnode1_cm", "codeName" : "ControlDefaultLoadTestnode3_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
"logicName" : "树上下文菜单", "logicName" : "树上下文菜单",
"name" : "node1_cm", "name" : "node3_cm",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
}, },
"getPSControlParam" : { "getPSControlParam" : {
"id" : "node1_cm" "id" : "node3_cm"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
...@@ -1449,11 +1449,11 @@ ...@@ -1449,11 +1449,11 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node1_cm_deuiaction1" "id" : "node3_cm_deuiaction1"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"itemName" : "deuiaction1", "itemName" : "deuiaction1",
"logicTag" : "node1_cm", "logicTag" : "node3_cm",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "logic11", "name" : "logic11",
"scriptCode" : "true", "scriptCode" : "true",
...@@ -1527,11 +1527,11 @@ ...@@ -1527,11 +1527,11 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node1_cm_deuiaction2" "id" : "node3_cm_deuiaction2"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"itemName" : "deuiaction2", "itemName" : "deuiaction2",
"logicTag" : "node1_cm", "logicTag" : "node3_cm",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "logic222", "name" : "logic222",
"scriptCode" : "false", "scriptCode" : "false",
...@@ -1605,7 +1605,7 @@ ...@@ -1605,7 +1605,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node1_cm_deuiaction4" "id" : "node3_cm_deuiaction4"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf00d@FontAwesome", "glyph" : "xf00d@FontAwesome",
...@@ -1660,7 +1660,7 @@ ...@@ -1660,7 +1660,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node1_cm_deuiaction5" "id" : "node3_cm_deuiaction5"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"actionTarget" : "NONE", "actionTarget" : "NONE",
...@@ -1691,7 +1691,7 @@ ...@@ -1691,7 +1691,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node1_cm_deuiaction3" "id" : "node3_cm_deuiaction3"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf021@FontAwesome", "glyph" : "xf021@FontAwesome",
...@@ -1734,16 +1734,16 @@ ...@@ -1734,16 +1734,16 @@
"modelid" : "EE623BDE-0681-469C-BCA1-EA55F25E3732", "modelid" : "EE623BDE-0681-469C-BCA1-EA55F25E3732",
"modeltype" : "PSDETOOLBAR" "modeltype" : "PSDETOOLBAR"
}, { }, {
"codeName" : "ControlDefaultLoadTestnode3_cm", "codeName" : "ControlDefaultLoadTestnode1_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
"logicName" : "树上下文菜单", "logicName" : "树上下文菜单",
"name" : "node3_cm", "name" : "node1_cm",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
}, },
"getPSControlParam" : { "getPSControlParam" : {
"id" : "node3_cm" "id" : "node1_cm"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
...@@ -1760,11 +1760,11 @@ ...@@ -1760,11 +1760,11 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node3_cm_deuiaction1" "id" : "node1_cm_deuiaction1"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"itemName" : "deuiaction1", "itemName" : "deuiaction1",
"logicTag" : "node3_cm", "logicTag" : "node1_cm",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "logic11", "name" : "logic11",
"scriptCode" : "true", "scriptCode" : "true",
...@@ -1838,11 +1838,11 @@ ...@@ -1838,11 +1838,11 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node3_cm_deuiaction2" "id" : "node1_cm_deuiaction2"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"itemName" : "deuiaction2", "itemName" : "deuiaction2",
"logicTag" : "node3_cm", "logicTag" : "node1_cm",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "logic222", "name" : "logic222",
"scriptCode" : "false", "scriptCode" : "false",
...@@ -1916,7 +1916,7 @@ ...@@ -1916,7 +1916,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node3_cm_deuiaction4" "id" : "node1_cm_deuiaction4"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf00d@FontAwesome", "glyph" : "xf00d@FontAwesome",
...@@ -1971,7 +1971,7 @@ ...@@ -1971,7 +1971,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node3_cm_deuiaction5" "id" : "node1_cm_deuiaction5"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"actionTarget" : "NONE", "actionTarget" : "NONE",
...@@ -2002,7 +2002,7 @@ ...@@ -2002,7 +2002,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node3_cm_deuiaction3" "id" : "node1_cm_deuiaction3"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf021@FontAwesome", "glyph" : "xf021@FontAwesome",
...@@ -2532,11 +2532,19 @@ ...@@ -2532,11 +2532,19 @@
"selected" : false, "selected" : false,
"id" : "node1" "id" : "node1"
}, { }, {
"getChildCntPSAppDEField" : {
"name" : "AMOUNT",
"codeName" : "Amount"
},
"counterMode" : 0, "counterMode" : 0,
"getIdPSAppDEField" : { "getIdPSAppDEField" : {
"name" : "TESTID", "name" : "TESTID",
"codeName" : "TESTId" "codeName" : "TESTId"
}, },
"getLeafFlagPSAppDEField" : {
"name" : "NUMBER1",
"codeName" : "Number1"
},
"maxSize" : -1, "maxSize" : -1,
"name" : "动态集合", "name" : "动态集合",
"nodeType" : "node3", "nodeType" : "node3",
......
...@@ -140,16 +140,16 @@ ...@@ -140,16 +140,16 @@
"id" : "TREE" "id" : "TREE"
}, },
"getPSControls" : [ { "getPSControls" : [ {
"codeName" : "TestTreeViewnode1_cm", "codeName" : "TestTreeViewnode3_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
"logicName" : "树上下文菜单", "logicName" : "树上下文菜单",
"name" : "node1_cm", "name" : "node3_cm",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
}, },
"getPSControlParam" : { "getPSControlParam" : {
"id" : "node1_cm" "id" : "node3_cm"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
...@@ -166,11 +166,11 @@ ...@@ -166,11 +166,11 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node1_cm_deuiaction1" "id" : "node3_cm_deuiaction1"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"itemName" : "deuiaction1", "itemName" : "deuiaction1",
"logicTag" : "node1_cm", "logicTag" : "node3_cm",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "logic11", "name" : "logic11",
"scriptCode" : "true", "scriptCode" : "true",
...@@ -244,11 +244,11 @@ ...@@ -244,11 +244,11 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node1_cm_deuiaction2" "id" : "node3_cm_deuiaction2"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"itemName" : "deuiaction2", "itemName" : "deuiaction2",
"logicTag" : "node1_cm", "logicTag" : "node3_cm",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "logic222", "name" : "logic222",
"scriptCode" : "false", "scriptCode" : "false",
...@@ -322,7 +322,7 @@ ...@@ -322,7 +322,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node1_cm_deuiaction4" "id" : "node3_cm_deuiaction4"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf00d@FontAwesome", "glyph" : "xf00d@FontAwesome",
...@@ -377,7 +377,7 @@ ...@@ -377,7 +377,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node1_cm_deuiaction5" "id" : "node3_cm_deuiaction5"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"actionTarget" : "NONE", "actionTarget" : "NONE",
...@@ -408,7 +408,7 @@ ...@@ -408,7 +408,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node1_cm_deuiaction3" "id" : "node3_cm_deuiaction3"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf021@FontAwesome", "glyph" : "xf021@FontAwesome",
...@@ -451,16 +451,16 @@ ...@@ -451,16 +451,16 @@
"modelid" : "EE623BDE-0681-469C-BCA1-EA55F25E3732", "modelid" : "EE623BDE-0681-469C-BCA1-EA55F25E3732",
"modeltype" : "PSDETOOLBAR" "modeltype" : "PSDETOOLBAR"
}, { }, {
"codeName" : "TestTreeViewnode3_cm", "codeName" : "TestTreeViewnode1_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
"logicName" : "树上下文菜单", "logicName" : "树上下文菜单",
"name" : "node3_cm", "name" : "node1_cm",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
}, },
"getPSControlParam" : { "getPSControlParam" : {
"id" : "node3_cm" "id" : "node1_cm"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
...@@ -477,11 +477,11 @@ ...@@ -477,11 +477,11 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node3_cm_deuiaction1" "id" : "node1_cm_deuiaction1"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"itemName" : "deuiaction1", "itemName" : "deuiaction1",
"logicTag" : "node3_cm", "logicTag" : "node1_cm",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "logic11", "name" : "logic11",
"scriptCode" : "true", "scriptCode" : "true",
...@@ -555,11 +555,11 @@ ...@@ -555,11 +555,11 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node3_cm_deuiaction2" "id" : "node1_cm_deuiaction2"
}, },
"getPSControlLogics" : [ { "getPSControlLogics" : [ {
"itemName" : "deuiaction2", "itemName" : "deuiaction2",
"logicTag" : "node3_cm", "logicTag" : "node1_cm",
"logicType" : "SCRIPT", "logicType" : "SCRIPT",
"name" : "logic222", "name" : "logic222",
"scriptCode" : "false", "scriptCode" : "false",
...@@ -633,7 +633,7 @@ ...@@ -633,7 +633,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node3_cm_deuiaction4" "id" : "node1_cm_deuiaction4"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf00d@FontAwesome", "glyph" : "xf00d@FontAwesome",
...@@ -688,7 +688,7 @@ ...@@ -688,7 +688,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node3_cm_deuiaction5" "id" : "node1_cm_deuiaction5"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"actionTarget" : "NONE", "actionTarget" : "NONE",
...@@ -719,7 +719,7 @@ ...@@ -719,7 +719,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node3_cm_deuiaction3" "id" : "node1_cm_deuiaction3"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf021@FontAwesome", "glyph" : "xf021@FontAwesome",
...@@ -1249,11 +1249,19 @@ ...@@ -1249,11 +1249,19 @@
"selected" : false, "selected" : false,
"id" : "node1" "id" : "node1"
}, { }, {
"getChildCntPSAppDEField" : {
"name" : "AMOUNT",
"codeName" : "Amount"
},
"counterMode" : 0, "counterMode" : 0,
"getIdPSAppDEField" : { "getIdPSAppDEField" : {
"name" : "TESTID", "name" : "TESTID",
"codeName" : "TESTId" "codeName" : "TESTId"
}, },
"getLeafFlagPSAppDEField" : {
"name" : "NUMBER1",
"codeName" : "Number1"
},
"maxSize" : -1, "maxSize" : -1,
"name" : "动态集合", "name" : "动态集合",
"nodeType" : "node3", "nodeType" : "node3",
......
...@@ -11221,16 +11221,16 @@ ...@@ -11221,16 +11221,16 @@
"codeName" : "VMGroup2", "codeName" : "VMGroup2",
"name" : "视图消息组2", "name" : "视图消息组2",
"getPSAppViewMsgGroupDetails" : [ { "getPSAppViewMsgGroupDetails" : [ {
"name" : "视图消息2", "name" : "视图消息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg3" "id" : "ViewMsg2"
} }
}, { }, {
"name" : "视图消息", "name" : "视图消息2",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg2" "id" : "ViewMsg3"
} }
} ] } ]
}, { }, {
...@@ -11259,10 +11259,10 @@ ...@@ -11259,10 +11259,10 @@
"codeName" : "VMGroup3", "codeName" : "VMGroup3",
"name" : "视图消息类型测试", "name" : "视图消息类型测试",
"getPSAppViewMsgGroupDetails" : [ { "getPSAppViewMsgGroupDetails" : [ {
"name" : "消息类型-常规信息", "name" : "消息类型-错误信息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg4" "id" : "ViewMsg6"
} }
}, { }, {
"name" : "消息类型-警告信息", "name" : "消息类型-警告信息",
...@@ -11271,10 +11271,10 @@ ...@@ -11271,10 +11271,10 @@
"id" : "ViewMsg5" "id" : "ViewMsg5"
} }
}, { }, {
"name" : "消息类型-错误信息", "name" : "消息类型-常规信息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg6" "id" : "ViewMsg4"
} }
} ] } ]
}, { }, {
...@@ -11291,16 +11291,16 @@ ...@@ -11291,16 +11291,16 @@
"codeName" : "VMGroup4", "codeName" : "VMGroup4",
"name" : "视图消息位置测试", "name" : "视图消息位置测试",
"getPSAppViewMsgGroupDetails" : [ { "getPSAppViewMsgGroupDetails" : [ {
"name" : "消息位置-视图下方", "name" : "消息位置-弹出",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg8" "id" : "ViewMsg10"
} }
}, { }, {
"name" : "消息位置-弹出", "name" : "消息位置-视图内容区",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg10" "id" : "ViewMsg9"
} }
}, { }, {
"name" : "消息位置-视图上方", "name" : "消息位置-视图上方",
...@@ -11309,44 +11309,45 @@ ...@@ -11309,44 +11309,45 @@
"id" : "ViewMsg7" "id" : "ViewMsg7"
} }
}, { }, {
"name" : "消息位置-视图内容区", "name" : "消息位置-视图下方",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg9" "id" : "ViewMsg8"
} }
} ] } ]
}, { }, {
"codeName" : "VMGroup8", "codeName" : "VMGroup8",
"name" : "【静态测试】", "name" : "【静态测试】",
"getPSAppViewMsgGroupDetails" : [ { "getPSAppViewMsgGroupDetails" : [ {
"name" : "消息位置-视图内容区", "name" : "关闭模式-本次删除-上方-警告",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg9" "id" : "ViewMsg13"
} }
}, { }, {
"name" : "关闭模式-默认删除-上方-错误", "name" : "消息位置-视图下方",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg12" "id" : "ViewMsg8"
} }
}, { }, {
"name" : "关闭模式-本次删除-上方-警告", "name" : "消息类型-错误信息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg13" "id" : "ViewMsg6"
} },
"position" : "POPUP"
}, { }, {
"name" : "消息位置-视图下方", "name" : "关闭模式-无删除-上方-常规",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg8" "id" : "ViewMsg11"
} }
}, { }, {
"name" : "消息类型-错误信息", "name" : "消息类型-常规信息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg6" "id" : "ViewMsg4"
}, },
"position" : "POPUP" "position" : "POPUP"
}, { }, {
...@@ -11357,29 +11358,22 @@ ...@@ -11357,29 +11358,22 @@
}, },
"position" : "POPUP" "position" : "POPUP"
}, { }, {
"name" : "消息类型-常规信息", "name" : "关闭模式-默认删除-上方-错误",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg4" "id" : "ViewMsg12"
}, }
"position" : "POPUP"
}, { }, {
"name" : "关闭模式-无删除-上方-常规", "name" : "消息位置-视图内容区",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg11" "id" : "ViewMsg9"
} }
} ] } ]
}, { }, {
"codeName" : "VMGroup5", "codeName" : "VMGroup5",
"name" : "视图消息关闭模式", "name" : "视图消息关闭模式",
"getPSAppViewMsgGroupDetails" : [ { "getPSAppViewMsgGroupDetails" : [ {
"name" : "关闭模式-本次删除",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg13"
}
}, {
"name" : "关闭模式-无删除", "name" : "关闭模式-无删除",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
...@@ -11391,6 +11385,12 @@ ...@@ -11391,6 +11385,12 @@
"modelref" : true, "modelref" : true,
"id" : "ViewMsg12" "id" : "ViewMsg12"
} }
}, {
"name" : "关闭模式-本次删除",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg13"
}
} ] } ]
}, { }, {
"codeName" : "VMGroup6", "codeName" : "VMGroup6",
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
<profiles> <profiles>
<profile> <profile>
<id>trainsys</id> <id>runtime</id>
<build> <build>
<resources> <resources>
<resource> <resource>
......
...@@ -10,6 +10,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \ ...@@ -10,6 +10,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \ sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Duser.timezone=$TZ -Djava.security.egd=file:/dev/./urandom -jar /trainsys-provider.jar java ${JAVA_OPTS} -Duser.timezone=$TZ -Djava.security.egd=file:/dev/./urandom -jar /trainsys-provider.jar
EXPOSE 50000 EXPOSE 8081
ADD trainsys-provider.jar /trainsys-provider.jar ADD trainsys-provider.jar /trainsys-provider.jar
...@@ -22,32 +22,7 @@ spec: ...@@ -22,32 +22,7 @@ spec:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/trainsys-provider:latest image: registry.cn-shanghai.aliyuncs.com/ibizsys/trainsys-provider:latest
imagePullPolicy: Always imagePullPolicy: Always
ports: ports:
- containerPort: 50000 - containerPort: 8081
env:
- name: SPRING_CLOUD_NACOS_DISCOVERY_IP
value: "172.16.240.140"
- name: SERVER_PORT
value: "50000"
- name: SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR
value: "172.16.240.140:8848"
- name: SPRING_REDIS_HOST
value: "127.0.0.1"
- name: SPRING_REDIS_PORT
value: "6379"
- name: SPRING_REDIS_DATABASE
value: "0"
- name: SPRING_DATASOURCE_USERNAME
value: "a_LAB01_d23cc850e"
- name: SPRING_DATASOURCE_PASSWORD
value: "f9Df4556"
- name: SPRING_DATASOURCE_URL
value: "jdbc:mysql://172.16.186.185:3306/a_LAB01_d23cc850e?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&serverTimezone=Asia/Shanghai&allowMultiQueries=true&serverTimezone=GMT%2B8"
- name: SPRING_DATASOURCE_DRIVER-CLASS-NAME
value: "com.mysql.jdbc.Driver"
- name: SPRING_DATASOURCE_DEFAULTSCHEMA
value: "a_LAB01_d23cc850e"
- name: NACOS
value: "172.16.240.140:8848"
--- ---
apiVersion: v1 apiVersion: v1
...@@ -60,9 +35,9 @@ spec: ...@@ -60,9 +35,9 @@ spec:
type: NodePort type: NodePort
ports: ports:
- name: http - name: http
port: 50000 port: 8081
targetPort: 50000 targetPort: 8081
nodePort: 50000 nodePort: 8081
protocol: TCP protocol: TCP
selector: selector:
app: trainsys-provider app: trainsys-provider
......
...@@ -3,23 +3,9 @@ services: ...@@ -3,23 +3,9 @@ services:
trainsys-provider: trainsys-provider:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/trainsys-provider:latest image: registry.cn-shanghai.aliyuncs.com/ibizsys/trainsys-provider:latest
ports: ports:
- "50000:50000" - "8081:8081"
networks: networks:
- agent_network - agent_network
environment:
- SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.140
- SERVER_PORT=50000
- SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.140:8848
- SPRING_CLOUD_NACOS_CONFIG_SERVER-ADDR=172.16.240.140:8848
- SPRING_REDIS_HOST=127.0.0.1
- SPRING_REDIS_PORT=6379
- SPRING_REDIS_DATABASE=0
- SPRING_DATASOURCE_USERNAME=a_LAB01_d23cc850e
- SPRING_DATASOURCE_PASSWORD=f9Df4556
- SPRING_DATASOURCE_URL=jdbc:mysql://172.16.186.185:3306/a_LAB01_d23cc850e?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&serverTimezone=Asia/Shanghai&allowMultiQueries=true&serverTimezone=GMT%2B8
- SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
- SPRING_DATASOURCE_DEFAULTSCHEMA=a_LAB01_d23cc850e
- NACOS=172.16.240.140:8848
deploy: deploy:
resources: resources:
limits: limits:
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册