|
|
@@ -1121,6 +1121,10 @@ import { EVEN_VAR } from "./EventBus.js";
|
|
|
//把"true"改为true Ben(20251209)
|
|
|
params.append("objectpickersearchAll", 0); //只查录入的值
|
|
|
params.append("objectpickerinput", inpTxt); //录入的值
|
|
|
+ // 功能说明:将输入值也加到 URL 参数,避免后端只读 URL 不读 body by xu 20250408
|
|
|
+ if (inpTxt) {
|
|
|
+ url += "&objectpickerinput=" + encodeURIComponent(inpTxt);
|
|
|
+ }
|
|
|
} else {
|
|
|
params.append("objectpickersearchAll", 1);
|
|
|
}
|
|
|
@@ -5863,6 +5867,7 @@ import { EVEN_VAR } from "./EventBus.js";
|
|
|
name: "SsCObjCardList",
|
|
|
props: {
|
|
|
ssObjName: { type: String, default: "" }, // 功能说明:业务对象名(用于默认缩略图 icon) by xu 20260115
|
|
|
+ dataType: { type: String, default: "" }, // 功能说明:页面类型(play=查看模式不显示右上角按钮) by xu 20250408
|
|
|
item: {
|
|
|
type: Object,
|
|
|
required: true,
|
|
|
@@ -5871,6 +5876,7 @@ import { EVEN_VAR } from "./EventBus.js";
|
|
|
emits: ["click", "change"],
|
|
|
setup(props, { emit }) {
|
|
|
const item = props.item;
|
|
|
+ const dataType = props.dataType; // 功能说明:页面类型 by xu 20250408
|
|
|
const cardType = Vue.computed(() => {
|
|
|
if (!item.thumb && !item.thumbType) return "";
|
|
|
return item.thumbType === "thumbnail" ? "card-thumbnail" : "card-photo";
|
|
|
@@ -5901,7 +5907,7 @@ import { EVEN_VAR } from "./EventBus.js";
|
|
|
e.stopPropagation();
|
|
|
props.item.buttons?.[0]?.onclick?.();
|
|
|
};
|
|
|
- return { item, cardType, statusClass, onItemClick, onItemChange };
|
|
|
+ return { item, dataType, cardType, statusClass, onItemClick, onItemChange };
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
@@ -6231,7 +6237,7 @@ import { EVEN_VAR } from "./EventBus.js";
|
|
|
})
|
|
|
)
|
|
|
),
|
|
|
- this.item?.buttons?.length > 0 &&
|
|
|
+ this.item?.buttons?.length > 0 && this.dataType !== "play" &&
|
|
|
Vue.h(
|
|
|
"div",
|
|
|
{
|