custom-联特

This commit is contained in:
lys 2025-05-13 16:09:43 +08:00
parent 9a99942af5
commit 358eb4834d
2 changed files with 12 additions and 1 deletions

View File

@ -8,7 +8,7 @@
* @description:
*/
import React, { Component } from "react";
import { WeaInputSearch, WeaLocaleProvider, WeaReqTop } from "ecCom";
import { WeaInputSearch, WeaLoadingGlobal, WeaLocaleProvider, WeaReqTop } from "ecCom";
import { Button, Col, Dropdown, Menu, message, Modal, Row } from "antd";
import { WeaForm, WeaSwitch } from "comsMobx";
import * as API from "../../../../apis/custom-apis/liante";
@ -44,7 +44,9 @@ class Index extends Component {
pushDataToCBS = (ids, isConfirm, key = "") => {
const payload = !!key ? { salaryCbsld: ids, isConfirm } : { ids, isConfirm };
const { isQuery } = this.state;
WeaLoadingGlobal.start();
API.pushDataToCBS(payload).then(({ status, data, errormsg }) => {
WeaLoadingGlobal.destroy();
if (status && !!data) {
Modal.confirm({
title: getLabel(111, "提示信息"),

View File

@ -18,6 +18,15 @@ export const conditions = [
labelcol: 6,
value: "",
viewAttr: 2
},
{
conditionType: "INPUT",
domkey: ["workcode"],
fieldcol: 14,
label: "工号",
labelcol: 6,
value: "",
viewAttr: 2
}
],
defaultshow: true