Commit fd55275e by 张立顺

修复eslint 语法错误

1 parent 8c44908b
......@@ -97,7 +97,8 @@
align="center">
<template slot-scope="scope">
<span>{{new Date(scope.row.createdDate).toLocaleDateString()}}</span>
</template></el-table-column>
</template>
</el-table-column>
<el-table-column label="创建方式"
align="center"
prop="source">
......@@ -120,7 +121,8 @@
</template>
<script>
import { getList, exportFile, orderCount } from '@api/customerList'
// exportFile
import { getList, orderCount } from '@api/customerList'
import { getServiceStore, getParkStore } from '@api/editCustomer'
import { asyncExportEecel } from '@api/sys.base'
import { mapActions, mapState } from 'vuex'
......@@ -392,7 +394,7 @@ export default {
{
name: '客户列表',
uuid: JSON.parse(res).data,
ifSuccess: false,
ifSuccess: false
}
]
this.actionSetDownloadList({ list, type: 'dowloadList' })
......
......@@ -310,7 +310,7 @@ export default {
...mapActions({
close: 'd2admin/page/close'
}),
beforeSearchFn() {
return new Promise(resolve => {
this.tableSearchForm = _.cloneDeep(this.searchForm)
......
......@@ -161,7 +161,8 @@ import _ from 'lodash'
import { Util } from '@/common/util'
import { mapActions, mapState } from 'vuex'
import { getParkStore } from '@api/editCustomer'
import { getListApi, getCountApi, exportApi } from '@/api/account'
// exportApi
import { getListApi, getCountApi } from '@/api/account'
import { getPlatformMerchantList } from '@api/index'
import { orderTypeList } from '@/common/constants.js'
import { asyncExportEecel } from '@api/sys.base'
......@@ -398,7 +399,7 @@ export default {
{
name: '分账列表-线下分账(超管/园区店)',
uuid: JSON.parse(res).data,
ifSuccess: false,
ifSuccess: false
}
]
this.actionSetDownloadList({ list, type: 'dowloadList' })
......
......@@ -175,12 +175,13 @@
</template>
<script>
// exportApi
import _ from 'lodash'
import { Util } from '@/common/util'
import { mapActions, mapState } from 'vuex'
import { getParkStore } from '@api/editCustomer'
import { divisionStatusList, orderTypeList } from '@/common/constants.js'
import { getListApi, getCountApi, exportApi } from '@/api/account'
import { getListApi, getCountApi } from '@/api/account'
import { getPlatformMerchantList } from '@api/index'
import { asyncExportEecel } from '@api/sys.base'
export default {
......@@ -459,7 +460,7 @@ export default {
{
name: '分账列表-线上分账(超管/园区店)',
uuid: JSON.parse(res).data,
ifSuccess: false,
ifSuccess: false
}
]
this.actionSetDownloadList({ list, type: 'dowloadList' })
......
......@@ -39,8 +39,8 @@
import { mapActions, mapState } from 'vuex'
import { Util } from '@/common/util'
// import { divisionTypeList } from '@/common/constants.js'
// getSeviceCountApi, getSeviceListApi, exportSeviceApi,
import { getPartnerYqListApi, getSeviceList, getSeviceCount, getSeviceExport } from '@/api/account'
// getSeviceCountApi, getSeviceListApi, exportSeviceApi,getSeviceExport
import { getPartnerYqListApi, getSeviceList, getSeviceCount } from '@/api/account'
import { asyncExportEecel } from '@api/sys.base'
export default {
name: 'serviceOfflineList',
......@@ -281,7 +281,7 @@ export default {
{
name: '分账列表-线下分账(服务商)',
uuid: JSON.parse(res).data,
ifSuccess: false,
ifSuccess: false
}
]
this.actionSetDownloadList({ list, type: 'dowloadList' })
......
......@@ -82,7 +82,8 @@ import { mapActions, mapState } from 'vuex'
import { Util } from '@/common/util'
import cashDialog from './cashDialog'
import { divisionStatusList } from '@/common/constants.js'
import { getBankBalanceApi, getPartnerYqListApi, getSeviceList, getSeviceCount, getSeviceExport } from '@/api/account'
// getSeviceExport
import { getBankBalanceApi, getPartnerYqListApi, getSeviceList, getSeviceCount } from '@/api/account'
import { asyncExportEecel } from '@api/sys.base'
export default {
name: 'serviceOnlineList',
......@@ -399,7 +400,7 @@ export default {
{
name: '分账列表-线上分账(服务商)',
uuid: JSON.parse(res).data,
ifSuccess: false,
ifSuccess: false
}
]
this.actionSetDownloadList({ list, type: 'dowloadList' })
......
......@@ -858,7 +858,7 @@ export default {
{
name: '合并导出',
uuid: JSON.parse(res).data,
ifSuccess: false,
ifSuccess: false
}
]
this.actionSetDownloadList({ list, type: 'dowloadList' })
......
......@@ -439,8 +439,8 @@
import dayjs from 'dayjs'
import serviceDetailDialog from './serviceDetailDialog'
import warehouseDetail from './warehouseDetail'
// getServiceListApi getServiceListApi
import { exportFile, getListTotal, getServicerefApi, getServiceSummaryApi, getList } from '@api/finance'
// getServiceListApi getServiceListApi exportFile
import { getListTotal, getServicerefApi, getServiceSummaryApi, getList } from '@api/finance'
import { getPartnerYqListApi } from '@/api/account'
import { getServiceStore } from '@api/editCustomer'
import { mapActions, mapState } from 'vuex'
......@@ -719,7 +719,7 @@ export default {
{
name: '合并导出',
uuid: JSON.parse(res).data,
ifSuccess: false,
ifSuccess: false
}
]
this.actionSetDownloadList({ list, type: 'dowloadList' })
......
......@@ -93,10 +93,11 @@
</template>
<script>
import { getList, exportBaseList, baseGoodsUpOrDown, baseGoodsDelete, baseGoodsUpOrDownForChild } from '@api/commodity'
// exportBaseList
import { getList, baseGoodsUpOrDown, baseGoodsDelete, baseGoodsUpOrDownForChild } from '@api/commodity'
import { getParkStore } from '@api/editCustomer'
import { BaseData, brandMerchantList } from '@/common/constants.js'
import { exportJsonToExcel } from '@/common/Export2Excel.js'
// import { exportJsonToExcel } from '@/common/Export2Excel.js'
import { mapActions, mapState } from 'vuex'
import _ from 'lodash'
import storeDetail from './storeDetail'
......@@ -418,7 +419,7 @@ export default {
{
name: '基础商品列表',
uuid: JSON.parse(res).data,
ifSuccess: false,
ifSuccess: false
}
]
this.actionSetDownloadList({ list, type: 'dowloadList' })
......
......@@ -46,7 +46,7 @@
import storeList from './storeList'
import couponsDetail from './couponsDetail'
import editCouponsDialog from './editCouponsDialog'
import { exportListApi, exportDetailListApi } from '@api/coupons'
// import { exportListApi, exportDetailListApi } from '@api/coupons'
import { asyncExportEecel } from '@api/sys.base'
import { mapActions, mapState } from 'vuex'
export default {
......@@ -121,15 +121,13 @@ export default {
? 'dj.api.life.merchant.coupon.exportExcel'
: 'dj.api.life.customer.coupon.exportExcel'
var params = {
...this.parentSearchForm,
currentPage: 1,
method: method
}
console.log(params);
console.log(params)
asyncExportEecel({ exportParam: JSON.stringify(params) }).then(res => {
const list = [
......@@ -139,7 +137,7 @@ export default {
? '店面列表'
: '领用明细',
uuid: JSON.parse(res).data,
ifSuccess: false,
ifSuccess: false
}
]
this.actionSetDownloadList({ list, type: 'dowloadList' })
......
......@@ -55,7 +55,8 @@
<script>
import _ from 'lodash'
import { getList, deleteGoods, checkDeleteGoods, exportGoodsList } from '@api/product'
// exportGoodsList
import { getList, deleteGoods, checkDeleteGoods } from '@api/product'
import { BaseData, brandMerchantList } from '@/common/constants.js'
import { asyncExportEecel } from '@api/sys.base'
import { mapActions, mapState } from 'vuex'
......@@ -246,7 +247,7 @@ export default {
{
name: '素材列表',
uuid: JSON.parse(res).data,
ifSuccess: false,
ifSuccess: false
}
]
this.actionSetDownloadList({ list, type: 'dowloadList' })
......
......@@ -43,8 +43,8 @@
import outputValueDialog from './outputValueDialog'
// import moment from 'moment'
import dayjs from 'dayjs'
import { getExportDailyReport } from '@api/index'
import { downLoadFile } from '@/common/util'
// import { getExportDailyReport } from '@api/index'
// import { downLoadFile } from '@/common/util'
import { asyncExportEecel } from '@api/sys.base'
import { mapActions, mapState } from 'vuex'
export default {
......@@ -92,14 +92,14 @@ export default {
// console.log(result)
// downLoadFile(result)
// }
console.log(JSON.parse(result));
console.log(JSON.parse(result))
const list = [
...this.dowloadList,
{
name: '日报表',
uuid: JSON.parse(result).data,
ifSuccess: false,
ifSuccess: false
}
]
this.actionSetDownloadList({ list, type: 'dowloadList' })
......
......@@ -59,7 +59,8 @@ import { Util } from '@/common/util'
import _ from 'lodash'
import { mapActions, mapState } from 'vuex'
import { getParkStore } from '@api/editCustomer'
import { waitinputorderCount, waitinputorderPage, waitinputorderExport, getList } from '@api/order'
// waitinputorderExport
import { waitinputorderCount, waitinputorderPage, getList } from '@api/order'
import { asyncExportEecel } from '@api/sys.base'
export default {
name: 'orderSupplement',
......@@ -251,7 +252,6 @@ export default {
})
},
mounted() {
this.userInfo.beSuper && getParkStore({}).then(res => {
res.forEach(item => {
item.merchantId = item.merchantNo
......@@ -355,7 +355,7 @@ export default {
{
name: '订单补录列表',
uuid: JSON.parse(res).data,
ifSuccess: false,
ifSuccess: false
}
]
this.actionSetDownloadList({ list, type: 'dowloadList' })
......
......@@ -22,7 +22,7 @@
</template>
<script>
import { getMerchantPageSearch } from '@api/publicAccount'
// import { getMerchantPageSearch } from '@api/publicAccount'
import { markAsRefunded } from '@api/order'
export default {
name: 'signRefundDialog',
......@@ -30,12 +30,12 @@ export default {
return {
userInfo: this.$store.state.d2admin.user.info,
infoForm: {
remark: '',
remark: ''
},
formRules: {
remark: [{ required: true, message: '请输入备注信息', trigger: 'change' }],
},
remark: [{ required: true, message: '请输入备注信息', trigger: 'change' }]
}
}
},
......@@ -58,7 +58,7 @@ export default {
components: {},
mounted() {
console.log(this.detail);
console.log(this.detail)
},
methods: {
......
......@@ -3,9 +3,9 @@ const ThemeColorReplacer = require('webpack-theme-color-replacer')
const forElementUI = require('webpack-theme-color-replacer/forElementUI')
const HardPlugin = require('hard-source-webpack-plugin') // 使用缓存,优化启动速度
const SentryWebpackPlugin = require('@sentry/webpack-plugin')
const SpeedMeasurePlugin = require('speed-measure-webpack-plugin')
// const SpeedMeasurePlugin = require('speed-measure-webpack-plugin')
const CopyDir = require('./plugins/copyDir')
const AsyncRomveDir = require('./plugins/removeDir')
// const AsyncRomveDir = require('./plugins/removeDir')
const { resolve: assets } = require('path')
const os = require('os')
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!