doum
10 小时以前 5dbd5bdfc1a4de43722485b728f7d27f9b369eb9
admin/src/views/business/labelsBrandSerial.vue
@@ -83,8 +83,8 @@
import BaseTable from '@/components/base/BaseTable'
import TableLayout from '@/layouts/TableLayout'
import Pagination from '@/components/common/Pagination'
import OperaLabelsWindow from '@/components/business/OperaLabelsZhuanquWindow'
import { findAll as labelList } from '@/api/business/labels'
import OperaLabelsWindow from '@/components/business/OperaLabelsOtherWindow'
import {findAll as labelList, updateStatusById} from '@/api/business/labels'
export default {
  name: 'Labels',
  extends: BaseTable,
@@ -123,7 +123,7 @@
        })
    },
    statusChange (row) {
      this.api.updateById({ id: row.id, status: row.status })
      this.api.updateStatusById({ id: row.id, status: row.status })
          .then(() => {
            this.$message.success('操作成功')
          })