diff --git a/client/src/api/video.js b/client/src/api/video.js index 8c53ae3..eef165e 100644 --- a/client/src/api/video.js +++ b/client/src/api/video.js @@ -42,3 +42,11 @@ export function getVideo(id) { method: 'get' }) } + +export function getMyView(id, data) { + return request({ + url: `/vod/video/${id}/myview/`, + method: 'put', + data + }) +} \ No newline at end of file diff --git a/client/src/views/qualityinspect/mytaskdo.vue b/client/src/views/qualityinspect/mytaskdo.vue index 3936473..fdd9c37 100644 --- a/client/src/views/qualityinspect/mytaskdo.vue +++ b/client/src/views/qualityinspect/mytaskdo.vue @@ -226,21 +226,8 @@ :model="inspectDept" > - - - - + +
@@ -461,7 +448,13 @@ export default { this.inspectitemList = res.data; }); }, + //组织级联选择 +handleChange(){ + + const obj = this.$refs['demoCascader'].getCheckedNodes() +this.inspectDept.dept = obj[0].data.value // 打印出当前选择的value所对应的对象 +}, handleCheck(scope) { this.readonly = false; this.dialog = true; diff --git a/client/src/views/testvideo/index.vue b/client/src/views/testvideo/index.vue index 2222dd7..6fbd01b 100644 --- a/client/src/views/testvideo/index.vue +++ b/client/src/views/testvideo/index.vue @@ -12,11 +12,11 @@
-
- +
+
-
+
@@ -32,6 +32,14 @@ {{ video.description }}
+
+ + +
+ 视频总播放量: + {{ video.views }} +
+
@@ -42,7 +50,7 @@