Compare commits
2 Commits
1dca9c9fa4
...
908e37b8ae
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
908e37b8ae | ||
|
|
8250d0a4c8 |
32
src/files/list/LR026.js
Normal file
32
src/files/list/LR026.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: "LR/LRLaw/SyncToLocal",
|
||||
onComplete: (ret) => {
|
||||
if (ret) {
|
||||
message.success("同步成功!");
|
||||
params.clearSelectedRowKeys()
|
||||
params.props.data.close()
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user