doum
2 天以前 815e2cda769751dec5c1a1a71d0ff61b0d051d76
admin/src/views/platform/queueUp.vue
@@ -65,12 +65,13 @@
          <span v-if="row.status == 7" class="primaryColor">转移中</span>
        </template>
      </el-table-column>
      <el-table-column label="操作" align="center" width="200" fixed="right">
      <el-table-column label="操作" align="center" width="250" 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>
          <el-button type="text" class="red" @click="backSignin(row.id)">退回签到</el-button>
        </template>
      </el-table-column>
    </el-table>
@@ -120,7 +121,8 @@
  getPlatformGroupList,
  platformLineUpPage,
  getPlatformGroupWork,
  jobUrge
  jobUrge,
  backToWatiSign
} from '@/api'
import { queryQueueUpConfig } from './config'
import WaybillDetail from './components/WaybillDetail.vue'
@@ -151,7 +153,7 @@
      pagination: {
        pageSize: 10,
        page: 1,
        total: 0,
        total: 0
      },
      queryQueueUpConfig,
      isShowDetail: false, // 运单详情
@@ -188,18 +190,20 @@
          })
      }).catch(() => {
      });
      // this.$dialog.exportConfirm('确认加急吗?', {
      //   confirmButtonText: '确定',
      //   cancelButtonText: '取消',
      // })
      //   .then(() => {
      //     jobUrge({ id })
      //       .then(res => {
      //         this.getPlatGroupList()
      //       })
      //   })
      //   .catch(() => {})
      })
    },
    backSignin (id) {
      this.$confirm('确认重新签到吗?', '提示', {
        confirmButtonText: '确定',
        cancelButtonText: '取消',
        type: 'warning'
      }).then(() => {
        backToWatiSign({ id })
          .then(res => {
            this.getPlatGroupList()
          })
      }).catch(() => {
      })
    },
    getPlatGroupList() {
      getPlatformGroupList({
@@ -225,7 +229,7 @@
      platformLineUpPage({
        model: { platformGroupId: activeGroup.id, ...filters, callType: 3 },
        capacity: pagination.pageSize,
        page: pagination.page,
        page: pagination.page
      }).then(res => {
        this.loading = false
        this.dataList = res.records || []
@@ -276,7 +280,7 @@
        this.$refs.WaybillDetailRef.id = row.id
        this.$refs.WaybillDetailRef.getDetail()
      })
    },
    }
  }
}
</script>
@@ -345,7 +349,6 @@
    }
  }
}
.main_header {
  .platgroup_tabs {