Browse Source

调度记录完善

wangqin
zhangzhang 8 months ago
parent
commit
2bd3f198bf
  1. 37
      ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DispatchLiaison/StatsDialogVisible/index.vue

37
ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DispatchLiaison/StatsDialogVisible/index.vue

@ -22,21 +22,43 @@
</el-table-column> </el-table-column>
<el-table-column label="人员" align="center"> <el-table-column label="人员" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-for="item in scope.row.shiftsMap"> <el-checkbox-group v-model="form.personnel">
<el-checkbox
v-for="item in scope.row.shiftsMap"
:label="item.shiftsName"
></el-checkbox>
</el-checkbox-group>
<!-- <span v-for="item in scope.row.shiftsMap">
{{ item.shiftsName }}</span {{ item.shiftsName }}</span
> > -->
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="车辆" align="center"> <el-table-column label="车辆" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-checkbox-group v-model="form.vehicle">
<el-checkbox
v-for="item in scope.row.shiftsMap"
:label="item.shiftsName"
></el-checkbox>
</el-checkbox-group>
<span v-for="item in scope.row.vehiclesMap"> <span v-for="item in scope.row.vehiclesMap">
{{ item.shiftsName }}</span {{ item.shiftsName }}</span
> >
</template> </template>
</el-table-column> </el-table-column>
</el-table></el-form </el-table>
> </el-form>
</div> </div>
<template #footer>
<Button
style="background-color: rgba(0, 179, 204, 0.3)"
@click.native="(modelVisible = false), (submitting = false)"
>
取消
</Button>
<Button @click.native="handleSubmit" :loading="submitting"> 确定 </Button>
</template>
</Dialog> </Dialog>
</template> </template>
@ -46,12 +68,14 @@ import InputSearch from "@screen/components/InputSearch/index.vue";
import Table from "@screen/components/Table.vue"; import Table from "@screen/components/Table.vue";
import { selectTollStation } from "@/api/event/governanceAnalysis"; import { selectTollStation } from "@/api/event/governanceAnalysis";
import request from "@/utils/request"; import request from "@/utils/request";
import Button from "@screen/components/Buttons/Button.vue";
export default { export default {
name: "StatsDetail", name: "StatsDetail",
components: { components: {
Dialog, Dialog,
InputSearch, InputSearch,
Table, Table,
Button,
}, },
model: { model: {
prop: "visible", prop: "visible",
@ -63,6 +87,7 @@ export default {
}, },
data() { data() {
return { return {
form: { personnel: [], vehicle: [] },
num: 0, num: 0,
tableData: [], tableData: [],
weatherNum: [], weatherNum: [],
@ -391,4 +416,8 @@ export default {
.el-table--border::after { .el-table--border::after {
background: none; background: none;
} }
.footer {
margin-top: 20px;
display: flex;
}
</style> </style>

Loading…
Cancel
Save