Authored by 陈峰

不支持tree shaking

Showing 48 changed files with 56 additions and 47 deletions
... ... @@ -16,7 +16,7 @@
<script>
import _ from 'lodash';
import {ColorService} from 'services/product';
import ColorService from 'services/product/color-service';
export default {
name: 'checkbox-color',
props: {
... ...
... ... @@ -8,7 +8,7 @@
<script>
import _ from 'lodash';
import {SizeService} from 'services/product';
import SizeService from 'services/product/size-service';
export default {
name: 'checkbox-size',
... ...
... ... @@ -23,7 +23,7 @@
<script>
import Vue from 'vue';
import {UserService} from 'services/user';
import UserService from 'services/user/user-service';
export default {
name: 'layout-user-info',
... ...
... ... @@ -41,7 +41,7 @@
<script>
import _ from 'lodash';
import {TradeService} from 'services/trade';
import TradeService from 'services/trade/trade-service';
export default {
name: 'modal-deliver',
... ...
... ... @@ -17,7 +17,7 @@
</template>
<script>
import {ProductService} from 'services/product';
import ProductService from 'services/product/product-service';
import _ from 'lodash';
export default {
... ...
... ... @@ -16,7 +16,7 @@
</template>
<script>
import {TradeService} from 'services/trade';
import TradeService from 'services/trade/trade-service';
import { CellInfo } from 'components/cell';
export default {
... ...
... ... @@ -8,7 +8,7 @@
<script>
import _ from 'lodash';
import {BrandService} from 'services/product';
import BrandService from 'services/product/brand-service';
export default {
name: 'select-brand',
... ...
... ... @@ -7,7 +7,7 @@
<script>
import _ from 'lodash';
import {SortService} from 'services/product';
import SortService from 'services/product/sort-service';
export default {
name: 'select-category',
... ...
... ... @@ -5,7 +5,7 @@
</template>
<script>
import {InvoiceService} from 'services/repository';
import InvoiceService from 'services/repository/invoice-service';
export default {
name: 'select-express',
... ...
... ... @@ -5,7 +5,7 @@
</template>
<script>
import {InvoiceService} from 'services/repository';
import InvoiceService from 'services/repository/invoice-service';
export default {
name: 'select-room',
... ...
... ... @@ -39,7 +39,7 @@
<script>
import _ from 'lodash';
import {FinanceService} from 'services/finance';
import FinanceService from 'services/finance/finance-service';
import {initialFields, tableCols, tableData, pageData} from './detail';
export default {
... ...
... ... @@ -34,7 +34,7 @@
<script>
import _ from 'lodash';
import {FinanceService} from 'services/finance';
import FinanceService from 'services/finance/finance-service';
import {initialFields, tableCols, tableData, pageData} from './detail';
export default {
... ...
... ... @@ -90,7 +90,7 @@
<script>
import _ from 'lodash';
import {ProductCreateService} from 'services/product';
import ProductCreateService from 'services/product/product-create-service';
import {CheckboxAge, CheckboxColor, CheckboxSize} from 'components/checkbox';
import {RadioSeason, RadioGender} from 'components/radio';
import {SelectSeason} from 'components/select';
... ...
... ... @@ -219,7 +219,7 @@
<script>
import {ProductCreateService} from 'services/product';
import ProductCreateService from 'services/product/product-create-service';
import {ModalExample} from 'components/modal';
export default {
... ...
... ... @@ -128,7 +128,8 @@ import { ImageGoodsMain } from 'components/image';
import {ModalExample} from 'components/modal';
import {ExamplePop} from 'components/pop';
import {ProductCreateService, ProductService} from 'services/product';
import ProductCreateService from 'services/product/product-create-service';
import ProductService from 'services/product/product-service';
export default {
props: {
... ...
... ... @@ -67,7 +67,7 @@
<script>
import _ from 'lodash';
import {ProductService} from 'services/product';
import ProductService from 'services/product/product-service';
import {ModalSizeEdit} from 'components/modal';
import {SelectBrand, SelectCategory} from 'components/select';
import offSaleStore from './store';
... ...
... ... @@ -59,7 +59,7 @@
<script>
import _ from 'lodash';
import {ProductService} from 'services/product';
import ProductService from 'services/product/product-service';
import {ModalSizeEdit} from 'components/modal';
import {SelectBrand, SelectCategory} from 'components/select';
import onSaleStore from './store';
... ...
... ... @@ -60,7 +60,7 @@
<script>
import _ from 'lodash';
import {ProductService} from 'services/product';
import ProductService from 'services/product/product-service';
import {SelectCategory} from 'components/select';
import {CellImage, CellInfo, CellPrice} from 'components/cell';
import vipStore from './store';
... ...
... ... @@ -19,7 +19,7 @@
</template>
<script>
import {ExpressService} from 'services/repository';
import ExpressService from 'services/repository/express-service';
import moment from 'moment';
import _ from 'lodash';
... ...
... ... @@ -39,7 +39,7 @@
<script>
import {tableCols, tableData, pageData} from './store/list-table';
import {ExpressService} from 'services/repository';
import ExpressService from 'services/repository/express-service';
export default {
created() {
... ...
... ... @@ -33,7 +33,7 @@
<script>
import {SelectBrand, SelectRoom} from 'components/select';
import {InvoiceService} from 'services/repository';
import InvoiceService from 'services/repository/invoice-service';
export default {
name: 'create-modal',
... ...
... ... @@ -13,7 +13,7 @@
</template>
<script>
import {InvoiceService} from 'services/repository';
import InvoiceService from 'services/repository/invoice-service';
export default {
name: 'order-info',
... ...
... ... @@ -10,7 +10,7 @@
</template>
<script>
import {InvoiceService} from 'services/repository';
import InvoiceService from 'services/repository/invoice-service';
import table from '../store/product-table';
export default {
... ...
... ... @@ -38,7 +38,7 @@
<script>
import {SelectExpress} from 'components/select';
import {InvoiceService} from 'services/repository';
import InvoiceService from 'services/repository/invoice-service';
export default {
name: 'send-modal',
... ...
... ... @@ -25,7 +25,7 @@
import {tableCols} from './store/deliver-table';
import SendModal from './components/send-modal';
import OrderInfo from './components/order-info';
import {InvoiceService} from 'services/repository';
import InvoiceService from 'services/repository/invoice-service';
import _ from 'lodash';
export default {
... ...
... ... @@ -42,7 +42,7 @@
import ProductList from './components/product-list';
import OrderInfo from './components/order-info';
import {SelectRoom} from 'components/select';
import {InvoiceService} from 'services/repository';
import InvoiceService from 'services/repository/invoice-service';
export default {
props: ['isEdit'],
... ...
... ... @@ -70,7 +70,7 @@
import _ from 'lodash';
import {tableCols, tableData, pageData} from './store/list-table';
import CreateModal from './components/create-modal';
import {InvoiceService} from 'services/repository';
import InvoiceService from 'services/repository/invoice-service';
export default {
created() {
... ...
... ... @@ -19,7 +19,7 @@
<script>
import {JitService} from 'services/repository';
import JitService from 'services/repository/jit-service';
import _ from 'lodash';
export default {
... ...
... ... @@ -33,7 +33,7 @@
<script>
import _ from 'lodash';
import {JitService} from 'services/repository';
import JitService from 'services/repository/jit-service';
import {SelectBrand, SelectCategory} from 'components/select';
import EditStore from './components/edit-store';
import ImportStore from './components/import-store';
... ...
... ... @@ -17,7 +17,7 @@
</template>
<script>
import {ReturnService} from 'services/repository';
import ReturnService from 'services/repository/return-service';
import _ from 'lodash';
import { detail } from './store';
... ...
... ... @@ -39,7 +39,7 @@
<script>
import _ from 'lodash';
import moment from 'moment';
import {ReturnService} from 'services/repository';
import ReturnService from 'services/repository/return-service';
import listStore from './store/list';
export default {
... ...
... ... @@ -24,7 +24,7 @@
</template>
<script>
import _ from 'lodash';
import {InvoiceService} from 'services/repository';
import InvoiceService from 'services/repository/invoice-service';
import timeFormat from 'filters/time-format';
export default {
... ...
... ... @@ -53,7 +53,7 @@
import _ from 'lodash';
import {SelectBrand, SelectCategory, SelectStockStatus} from 'components/select';
import {ModalInvoice} from './components';
import {InvoiceService} from 'services/repository';
import InvoiceService from 'services/repository/invoice-service';
import store from './store';
export default {
... ...
... ... @@ -21,7 +21,7 @@
<script>
import {ShopCategoryService} from 'services/shop';
import ShopCategoryService from 'services/shop/shop-category-service';
export default {
name: 'EditName',
... ...
... ... @@ -6,7 +6,7 @@
</template>
<script>
import {ShopCategoryService} from 'services/shop';
import ShopCategoryService from 'services/shop/shop-category-service';
export default {
name: 'Operator',
... ...
... ... @@ -44,7 +44,7 @@
import _ from 'lodash';
import {SelectCategory} from 'components/select';
import {CellImage} from 'components/cell';
import {ShopCategoryService} from 'services/shop';
import ShopCategoryService from 'services/shop/shop-category-service';
import Operator from './operator'; // eslint-disable-line
export default {
... ...
... ... @@ -14,7 +14,7 @@
<script>
import {ProductList} from './components';
import {ShopCategoryService} from 'services/shop';
import ShopCategoryService from 'services/shop/shop-category-service';
export default {
data() {
return {
... ...
... ... @@ -17,7 +17,7 @@
<script>
import {EditName} from './components';
import {ShopCategoryService} from 'services/shop';
import ShopCategoryService from 'services/shop/shop-category-service';
export default {
created() {
... ...
... ... @@ -5,7 +5,7 @@
</template>
<script>
import _ from 'lodash';
import {ShopService} from 'services/shop';
import ShopService from 'services/shop/shop-service';
export default {
created() {
this.shopService = new ShopService();
... ...
... ... @@ -39,7 +39,7 @@
<script>
import {ShopService} from 'services/shop';
import ShopService from 'services/shop/shop-service';
const SHOPNATURE = {
1: '旗舰店',
... ...
... ... @@ -28,7 +28,7 @@
import _ from 'lodash';
import moment from 'moment';
import allotStore from './store';
import {TradeService} from 'services/trade';
import TradeService from 'services/trade/trade-service';
export default {
data() {
... ...
... ... @@ -52,7 +52,7 @@
<script>
import _ from 'lodash';
import moment from 'moment';
import {TradeService} from 'services/trade';
import TradeService from 'services/trade/trade-service';
import dataStore from '../store/done';
export default {
... ...
... ... @@ -33,7 +33,7 @@
<script>
import _ from 'lodash';
import {TradeService} from 'services/trade';
import TradeService from 'services/trade/trade-service';
import dataStore from '../store/express';
export default {
... ...
... ... @@ -64,7 +64,7 @@
<script>
import _ from 'lodash';
import moment from 'moment';
import {TradeService} from 'services/trade';
import TradeService from 'services/trade/trade-service';
import dataStore from '../store/undone';
import { ModalDeliver, ModalStockOut } from 'components/modal';
... ...
... ... @@ -14,7 +14,7 @@
<script>
import moment from 'moment';
import {TradeService} from 'services/trade';
import TradeService from 'services/trade/trade-service';
export default {
data() {
... ...
... ... @@ -40,7 +40,7 @@
<script>
import _ from 'lodash';
import {TradeService} from 'services/trade';
import TradeService from 'services/trade/trade-service';
export default {
data() {
... ...
... ... @@ -3,7 +3,7 @@
*/
import _ from 'lodash';
import axios from 'axios';
import {UserService} from 'services/user';
import UserService from 'services/user/user-service';
import Rsa from 'rsa';
export default {
... ...
export function a1() {
console.log('a1111');
return 1;
}
export function a2() {
console.log('a2222');
return 2;
}
... ...