| | |
| | | <el-table-column prop="signDate" label="签到时间" min-width="150" /> |
| | | <el-table-column label="操作" align="center" width="100" fixed="right"> |
| | | <template slot-scope="{ row }"> |
| | | <el-button v-if="activeGroup != 2" type="text" @click="handleDetail(row)" v-permissions="['business:company:update']">运单详情</el-button> |
| | | <el-button v-if="activeGroup == 2" type="text" @click="subDetail(row)" v-permissions="['business:company:update']">预约详情</el-button> |
| | | <el-button v-if="activeGroup.type != 2" type="text" @click="handleDetail(row)" |
| | | v-permissions="['business:company:update']">运单详情</el-button> |
| | | <el-button v-if="activeGroup.type == 2" type="text" @click="subDetail(row)">预约详情</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | data() { |
| | | return { |
| | | filters: {}, |
| | | activeGroup: {}, |
| | | activeGroup: { |
| | | type: 2 |
| | | }, |
| | | PlatGroupList: [], |
| | | staticParam: {}, |
| | | dataList: [], |
| | |
| | | this.$nextTick(() => { |
| | | this.$refs.PlatformSignRef.isShowModal = true |
| | | this.$refs.PlatformSignRef.activePlat = this.activeGroup |
| | | this.$refs.PlatformSignRef.carCodeFront = '' |
| | | this.$refs.PlatformSignRef.pagination = { |
| | | total: 0, |
| | | pageSize: 10, |
| | | page: 1 |
| | | } |
| | | this.$refs.PlatformSignRef.getList() |
| | | }) |
| | | }, |
| | |
| | | } else { |
| | | this.activeGroup = res[0] |
| | | } |
| | | |
| | | this.getPlatformGroupWork() |
| | | this.getList() |
| | | } |
| | |
| | | this.getList() |
| | | }, |
| | | subDetail(row) { |
| | | this.isShowDriver = true |
| | | this.$nextTick(() => { |
| | | this.$refs.DriverDetailRef.id = row.objId |
| | | this.$refs.DriverDetailRef.type = row.objType |
| | | this.$refs.DriverDetailRef.getDetail() |
| | | this.$refs.DriverDetailRef.isShowModal = true |
| | | }) |
| | | this.isShowDriver = true |
| | | this.$nextTick(() => { |
| | | this.$refs.DriverDetailRef.id = row.bookId |
| | | this.$refs.DriverDetailRef.type = row.objType |
| | | this.$refs.DriverDetailRef.getDetail() |
| | | this.$refs.DriverDetailRef.isShowModal = true |
| | | }) |
| | | }, |
| | | handleDetail(row) { |
| | | this.isShowDetail = true |