|
@@ -51,7 +51,7 @@
|
|
class="button-warning"
|
|
class="button-warning"
|
|
@click="handleExport"
|
|
@click="handleExport"
|
|
:disabled="disabled"
|
|
:disabled="disabled"
|
|
- v-if="$hasPermissions('B_ProductPriceExoprt')"
|
|
|
|
|
|
+ v-if="$hasPermissions('M_productOnlineExport')"
|
|
id="productInfoList-export">导出</a-button>
|
|
id="productInfoList-export">导出</a-button>
|
|
<a @click="advanced=!advanced" style="margin-left: 5px">
|
|
<a @click="advanced=!advanced" style="margin-left: 5px">
|
|
{{ advanced ? '收起' : '展开' }}
|
|
{{ advanced ? '收起' : '展开' }}
|
|
@@ -97,7 +97,7 @@ import { queryOnlinePage, excelOnlineList } from '@/api/product'
|
|
import ProductType from '@/views/common/productType.js'
|
|
import ProductType from '@/views/common/productType.js'
|
|
import ProductBrand from '@/views/common/productBrand.js'
|
|
import ProductBrand from '@/views/common/productBrand.js'
|
|
export default {
|
|
export default {
|
|
- name: 'ProductPricingList',
|
|
|
|
|
|
+ name: 'productNotOnlineList',
|
|
mixins: [commonMixin],
|
|
mixins: [commonMixin],
|
|
components: { STable, VSelect, rangeDate, ProductBrand, ProductType },
|
|
components: { STable, VSelect, rangeDate, ProductBrand, ProductType },
|
|
data () {
|
|
data () {
|
|
@@ -221,10 +221,12 @@ export default {
|
|
// 导出
|
|
// 导出
|
|
handleExport () {
|
|
handleExport () {
|
|
const _this = this
|
|
const _this = this
|
|
|
|
+ _this.$store.state.app.curActionPermission = 'M_productOnlineExport'
|
|
const params = this.queryParam
|
|
const params = this.queryParam
|
|
this.spinning = true
|
|
this.spinning = true
|
|
exportExcel(excelOnlineList, params, '产品状态信息导出', function () {
|
|
exportExcel(excelOnlineList, params, '产品状态信息导出', function () {
|
|
_this.spinning = false
|
|
_this.spinning = false
|
|
|
|
+ _this.$store.state.app.curActionPermission = ''
|
|
})
|
|
})
|
|
},
|
|
},
|
|
// 产品分类 change
|
|
// 产品分类 change
|