CRMEB/backend/public/admin/system_static/order-DOX8rfsF.js
2026-10-22 10:04:43 +08:00

2 lines
1.2 KiB
JavaScript

import{x as L}from"./index-BzWqH73M.js";import{l as n}from"./element-plus-D1Ezoxxm.js";import{s as r}from"./screenfull-4lR0nMAj.js";import{a as N}from"./order-C0KLcSwW.js";const z=L("order",()=>{const l=n(""),o=n(""),s=n(""),u=n(0),c=n(""),f=n({}),d=n(!1),m=n([]),g=n(""),a=n(""),i=n("");function p(e){l.value=e}function y(e){a.value=e}function h(e){o.value=e}function O(e){s.value=e}function T(e){c.value=e}function S(e){i.value=e}function w(e){u.value=e}function v(e){f.value=e}function C(e){d.value=e}function F(e){m.value=e}function P(){u.value="",o.value="",s.value="",a.value="",i.value=""}function b(e){return new Promise((I,K)=>{N(e).then(async t=>{I(t),v(t.data)}).catch(t=>{K(t)})})}function x(){return new Promise(e=>{r.enabled&&r.on("change",()=>{r.isFullscreen}),e()})}function D(){return new Promise(e=>{r.isFullscreen?r.exit():r.request(),e()})}return{orderStatus:l,orderTime:o,orderNum:s,orderType:u,fieldKey:c,orderChartType:f,isDels:d,delIdList:m,iconsaaaa:g,orderPayType:a,real_name:i,getOrderStatus:p,getOrderType:y,getOrderTime:h,getOrderNum:O,getfieldKey:T,setOrderKeyword:S,onChangeTabs:w,onChangeChart:v,getIsDel:C,getisDelIdListl:F,resetSearch:P,getOrderTabs:b,listenFullscreen:x,toggleFullscreen:D}},{persist:!0});export{z as u};