试题 同步
This commit is contained in:
parent
908e37b8ae
commit
51ed66d89c
32
src/files/list/SE074.js
Normal file
32
src/files/list/SE074.js
Normal file
@ -0,0 +1,32 @@
|
||||
|
||||
import React from 'react';
|
||||
import FormPage from '../../components/FormPage'
|
||||
import { ConfirmButton } from '@woowalker/feui'
|
||||
import { initQueryFilter } from "../../utils/common";
|
||||
import { message } from "antd/lib/index";
|
||||
import moment from 'moment';
|
||||
|
||||
//销售订单
|
||||
export default {
|
||||
btnImport: (params) => {
|
||||
var selectRows = params.getSelectedRecords()
|
||||
if (selectRows == null || selectRows.length < 1) {
|
||||
message.success("请勾选法律法规信息后再同步!");
|
||||
}
|
||||
var data = {
|
||||
ListModel: selectRows
|
||||
}
|
||||
params.dispatch({
|
||||
type: 'app/getDataByPost',
|
||||
payload: data,
|
||||
url: "SE/SETest/SyncToLocal",
|
||||
onComplete: (ret) => {
|
||||
if (ret) {
|
||||
message.success("同步成功!");
|
||||
params.clearSelectedRowKeys()
|
||||
params.props.data.close()
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user