|
|
@ -64,7 +64,7 @@ |
|
|
|
<script> |
|
|
|
import mixinViewModule from '@/mixins/view-module' |
|
|
|
import AddOrUpdate from './actbanner-add-or-update' |
|
|
|
import {debounce} from 'lodash' |
|
|
|
import { debounce } from 'lodash' |
|
|
|
export default { |
|
|
|
mixins: [mixinViewModule], |
|
|
|
data () { |
|
|
@ -86,7 +86,7 @@ export default { |
|
|
|
AddOrUpdate |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
changeGroundingText(status){ |
|
|
|
changeGroundingText (status) { |
|
|
|
let state = status |
|
|
|
if (state === '1') { |
|
|
|
return '下架' |
|
|
@ -104,7 +104,6 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
changeGroundingHandle: debounce(function (row) { |
|
|
|
|
|
|
|
this.$confirm(this.$t('prompt.info', { 'handle': this.changeGroundingText(row.status) }), this.$t('prompt.title'), { |
|
|
|
confirmButtonText: this.$t('confirm'), |
|
|
|
cancelButtonText: this.$t('cancel'), |
|
|
|