# Repository Guidelines ## Project Structure & Module Organization - `pages/` hosts the multi-tab MES screens; treat each subdirectory as a self-contained feature view. - `components/` collects reusable modules such as `WorkOrder.vue`, `PrintInit.vue`, and Bluetooth helpers—prefer extending these before creating new ones. - `common/` exposes global mixins and permission utilities loaded in `main.js`; align new cross-cutting logic here. - `utils/` provides device integrations (Bluetooth, printing, scanning). Reuse these helpers instead of duplicating platform calls. - `store/index.js` defines runtime server endpoints; keep environment toggles (`serverInfo`) in sync with deployment plans. - `static/` and `unpackage/` store shared assets and build outputs—never edit generated files in `unpackage/`. ## Build, Test, and Development Commands - Day-to-day development: open the project in HBuilderX → `Run > Run to Mobile Device` for live debugging on an Android tablet. - Packaging: HBuilderX → `Build > Native App-Cloud Packaging` (select `App-Plus`). - CLI fallback: `npx @dcloudio/uni-cli-service dev -p app-plus` for local preview, `npx @dcloudio/uni-cli-service build -p app-plus` for production bundles. - Update API targets by editing `store/index.js` (`serverURL`, `serverAPI`) before each build. ## Coding Style & Naming Conventions - Vue 2 single-file components with `