doum
8 天以前 ad40905455f85a15031af88f03422aec03567ed5
admin/src/views/business/labelsBrandSerial.vue
@@ -84,7 +84,7 @@
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 {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('操作成功')
          })