custom-联特
This commit is contained in:
parent
9a99942af5
commit
358eb4834d
|
|
@ -8,7 +8,7 @@
|
||||||
* @description:
|
* @description:
|
||||||
*/
|
*/
|
||||||
import React, { Component } from "react";
|
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 { Button, Col, Dropdown, Menu, message, Modal, Row } from "antd";
|
||||||
import { WeaForm, WeaSwitch } from "comsMobx";
|
import { WeaForm, WeaSwitch } from "comsMobx";
|
||||||
import * as API from "../../../../apis/custom-apis/liante";
|
import * as API from "../../../../apis/custom-apis/liante";
|
||||||
|
|
@ -44,7 +44,9 @@ class Index extends Component {
|
||||||
pushDataToCBS = (ids, isConfirm, key = "") => {
|
pushDataToCBS = (ids, isConfirm, key = "") => {
|
||||||
const payload = !!key ? { salaryCbsld: ids, isConfirm } : { ids, isConfirm };
|
const payload = !!key ? { salaryCbsld: ids, isConfirm } : { ids, isConfirm };
|
||||||
const { isQuery } = this.state;
|
const { isQuery } = this.state;
|
||||||
|
WeaLoadingGlobal.start();
|
||||||
API.pushDataToCBS(payload).then(({ status, data, errormsg }) => {
|
API.pushDataToCBS(payload).then(({ status, data, errormsg }) => {
|
||||||
|
WeaLoadingGlobal.destroy();
|
||||||
if (status && !!data) {
|
if (status && !!data) {
|
||||||
Modal.confirm({
|
Modal.confirm({
|
||||||
title: getLabel(111, "提示信息"),
|
title: getLabel(111, "提示信息"),
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,15 @@ export const conditions = [
|
||||||
labelcol: 6,
|
labelcol: 6,
|
||||||
value: "",
|
value: "",
|
||||||
viewAttr: 2
|
viewAttr: 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
conditionType: "INPUT",
|
||||||
|
domkey: ["workcode"],
|
||||||
|
fieldcol: 14,
|
||||||
|
label: "工号",
|
||||||
|
labelcol: 6,
|
||||||
|
value: "",
|
||||||
|
viewAttr: 2
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
defaultshow: true
|
defaultshow: true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue