| 12345678910111213141516171819202122 |
- //订单信息操作
- export default {
- state: {},
- actions: ({ model, setState }) => ({
- //商家手动接单(接单,拒单)
- receivedOrder(orderId, pass) {
- const { loading, success, warnning } = model("loadingModel");
- const { httpGet } = model("httpModel");
- const { orderSuceess } = model("wordsModel");
- return httpGet(
- "/orderInfo/received",
- {
- orderId,
- pass,
- },
- true
- ).then((res) => {
- success(orderSuceess);
- });
- },
- }),
- };
|