前端
/components/basis/bo-action/method-call-do-action-popedom.js
/* eslint-disable no-unused-vars */
/* eslint-disable no-undef */
import $methodBsRule from "@/components/basis/bs-table/method-bs-rule-primary";
/**
* 执行修改操作
*/
export default {
//来至表格弹出框 bo-table
/**
* 直接点击后事件触发
* @param {*} item
* @param {bo-action} that
* @param {bo-table} thatRoot
* @param {bs-table} thatORoot
*/
callbackRootDataArray(item, that, thatRoot, thatORoot) {
let thatRootUsed = null;
let itemT = item;
if (item.fromCompTag === "bs-table-action") {
thatRootUsed = thatRoot;
if (!thatRootUsed.currentAction) {
thatRootUsed.currentAction = {};
}
thatRootUsed.currentAction.action = item.events.type;
//验证数据选中
if ($methodBsRule.rulePrimayId(thatRootUsed, "popedom") !== true) return;
// 选中:thatRootUsed.selectionRows
// 配置:thatRootUsed.value
// 主键:thatRootUsed.primaryData
thatRootUsed.$msgBox.error(JSON.stringify(thatRootUsed.selectionRows));
// thatRootUsed.$msgBox.error(JSON.stringify(thatRootUsed.value));
// thatRootUsed.$msgBox.error(JSON.stringify(thatRootUsed.primaryData));
}
},
}
SQL
\RG3.Web.Host.PaaS\Config\PFDefaultSql\mysql-data\3.bo-sys-function.sql
bridge_global-actions.json
RG3.Web.Host.PaaS\Config\Bridge\basis\bridge_global-actions.json
扩展按钮重命名
文档更新时间: 2024-05-02 11:20 作者:admin