Ben Lin
2024-06-23 8cfe56d782e4f8cddf0fa8f0cff84a5b4034aa3d
src/views/tigerprojects/system/lowcode/detail/basLabelVar.ts
@@ -4,7 +4,7 @@
 * @version: 
 * @Date: 2024-06-13 16:18:39
 * @LastEditors: Ben Lin
 * @LastEditTime: 2024-06-22 00:09:13
 * @LastEditTime: 2024-06-22 23:39:08
 */
import { h, unref } from "vue";
import { BasicColumn, FormSchema } from "/@/components/Table";
@@ -164,51 +164,4 @@
        colProps: { span: 8 },
        component: 'Input',
    },
];
export function labelOpenSelectItem(openItemModal: Fn) {
    openItemModal(true, {
      title: '过程变量列表',
      schemas: [
        {
          field: 'VAR_CODE',
          component: 'Input',
          label: '过程变量编码',
          colProps: {
            span: 12,
          },
        },
      ],
      ItemColumns: [
        {
          title: t('过程变量编码'),
          dataIndex: 'VAR_CODE',
          resizable: true,
          sorter: true,
          width: 200,
        },
        {
          title: t('过程变量名称'),
          dataIndex: 'VAR_NAME',
          resizable: true,
          sorter: true,
          width: 180,
        },
      ],
      tableName: 'BAS_LABEL_PV',
      rowKey: 'VAR_CODE',
      searchInfo: {TABLE_NAME: 'BAS_LABEL_PV'}
    });
  }
  /**
   * @description: 选择过程变量弹出选择框成功返回赋值方法
   * @param {*} d
   * @param {*} u
   * @return {*}
   */
  export function labelGetSelectSuccess(d, u) {
    return {
        VAR_VALUE: d.values['val'],
    };
  }
];