diff --git a/src/api/daily/index.js b/src/api/daily/index.js index 5ca4e8d..b3a9d46 100644 --- a/src/api/daily/index.js +++ b/src/api/daily/index.js @@ -22,8 +22,18 @@ export function save(data) { method: 'post', data }) +} + + +export function delDep(id) { + return request({ + url: '/api/admin/task/task-department-destroy', + method: 'get', + params: { + id + } + }) } - export function del(safety_task_id) { return request({ url: '/api/admin/task/destroy', diff --git a/src/views/daily/index.vue b/src/views/daily/index.vue index 3f7fcf1..0658e39 100644 --- a/src/views/daily/index.vue +++ b/src/views/daily/index.vue @@ -38,11 +38,15 @@
- + {{tag.departments.name}}
+
+ {{scope.row[column.field]?scope.row[column.field].value:""}} +
{{scope.row[column.field]?scope.row[column.field].name:""}}
@@ -105,6 +109,8 @@
+ + @@ -115,12 +121,19 @@ range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"> - + + + + + +
+ + @@ -133,7 +146,8 @@
- {{dept.name}} + {{dept.name}}
@@ -153,6 +167,9 @@