MrShi
15 小时以前 1c20c8231980a8d4b91688ff8641a06d3b2f68ab
admin/src/views/platform/queueUp.vue
@@ -65,11 +65,12 @@
          <span v-if="row.status == 7" class="primaryColor">转移中</span>
        </template>
      </el-table-column>
      <el-table-column label="操作" align="center" width="100" fixed="right">
      <el-table-column label="操作" align="center" width="200" fixed="right">
        <template slot-scope="{ row }">
          <el-button v-if="row.billCode" type="text" @click="handleDetail(row)"
            v-permissions="['business:company:update']">运单详情</el-button>
          <el-button v-else type="text" @click="subDetail(row)">预约详情</el-button>
          <el-button type="text" @click="jiaji(row.id)">加急</el-button>
        </template>
      </el-table-column>
    </el-table>
@@ -118,7 +119,8 @@
import {
  getPlatformGroupList,
  platformLineUpPage,
  getPlatformGroupWork
  getPlatformGroupWork,
  jobUrge
} from '@/api'
import { queryQueueUpConfig } from './config'
import WaybillDetail from './components/WaybillDetail.vue'
@@ -174,6 +176,16 @@
        this.$refs.PlatformSignRef.getList()
      })
    },
    jiaji(id) {
      this.$dialog.exportConfirm('确认加急吗?')
        .then(() => {
          jobUrge({ id })
            .then(res => {
              this.getPlatGroupList()
            })
        })
        .catch(() => {})
    },
    getPlatGroupList() {
      getPlatformGroupList({
        queryData: 1,