zuoyeshipin

This commit is contained in:
shijing 2023-02-20 09:24:29 +08:00
parent de9dfdf3a9
commit f8ea630f61
3 changed files with 30 additions and 12 deletions

View File

@ -477,6 +477,17 @@
<span v-if="scope.row.dept_ter_">{{scope.row.dept_ter_.name}}</span> <span v-if="scope.row.dept_ter_">{{scope.row.dept_ter_.name}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="监控设备">
<template #default="scope">
<el-tag
v-for="item in scope.row.vchannels_"
:key="item.id"
@click="showVchannel(item)"
style="margin-right: 10px;margin-left:0"
>{{ item.name }}
</el-tag>
</template>
</el-table-column>
</el-table> </el-table>
</div> </div>
</div> </div>
@ -525,7 +536,7 @@
<span class="job-item-name">业务部门</span> <span class="job-item-name">业务部门</span>
<span class="job-item-info">{{screenJobItem.dept_bus_.name}}</span> <span class="job-item-info">{{screenJobItem.dept_bus_.name}}</span>
</div> </div>
<div class="job-item"> <!-- <div class="job-item">
<span class="job-item-name">监控设备</span> <span class="job-item-name">监控设备</span>
<el-tag <el-tag
v-for="item in screenJobItem.vchannels_" v-for="item in screenJobItem.vchannels_"
@ -534,8 +545,7 @@
style="margin-right: 10px;margin-left:0" style="margin-right: 10px;margin-left:0"
>{{ item.name }} >{{ item.name }}
</el-tag> </el-tag>
<!-- <span class="job-item-info">{{screenJobItem.vchannels_[0].name}}</span> --> </div> -->
</div>
</div> </div>
<div class="simple-title"> <div class="simple-title">
<div>作业票</div> <div>作业票</div>
@ -671,7 +681,7 @@
</template> </template>
<script> <script>
import flvjs from "../../utils/flv.js"; // import flvjs from "./../../utils/flv";
import { genTree } from "@/utils/verificate"; import { genTree } from "@/utils/verificate";
import sysConfig from "@/config"; import sysConfig from "@/config";
import videoView from "./../am/videoView"; import videoView from "./../am/videoView";
@ -835,13 +845,19 @@ export default {
channelName:'', channelName:'',
} }
}, },
// created() { created() {
// var scriptInfo = document.createElement("script"); const scriptInfo = document.createElement("script");
// scriptInfo.setAttribute("data-callType", "callScript"); scriptInfo.setAttribute("data-callType", "callScript");
// // scriptInfo.src = "https://cdn.bootcdn.net/ajax/libs/flv.js/1.6.2/flv.js"; scriptInfo.src = "https://cdn.bootcdn.net/ajax/libs/flv.js/1.6.2/flv.js";
// scriptInfo.src = "../../../src/utils/flv.js"; document.head.appendChild(scriptInfo);
// document.head.appendChild(scriptInfo);
// },
// var scriptInfo = document.createElement("script");
// scriptInfo.setAttribute("data-callType", "callScript");
// // scriptInfo.src = "https://cdn.bootcdn.net/ajax/libs/flv.js/1.6.2/flv.js";
// scriptInfo.src = "../../../src/utils/flv.js";
// document.head.appendChild(scriptInfo);
},
mounted() { mounted() {
let that = this; let that = this;
let date = new Date(); let date = new Date();

View File

@ -162,6 +162,7 @@
style="width: 100%" style="width: 100%"
v-model="addForm.participant" v-model="addForm.participant"
multiple multiple
filterable
placeholder="请选择参与者" placeholder="请选择参与者"
> >
<el-option <el-option

View File

@ -27,7 +27,8 @@ export default {
}; };
}, },
mounted() { mounted() {
this.workId = this.ticket?this.ticket:this.$route.query.id; // this.workId = this.ticket?this.ticket:this.$route.query.id;
this.workId = this.$route.query.id;
this.getFlowSteps(); this.getFlowSteps();
}, },
methods: { methods: {