diff --git a/src/api/system/eqDown.js b/src/api/system/eqDown.js index fd830d0..de87953 100644 --- a/src/api/system/eqDown.js +++ b/src/api/system/eqDown.js @@ -18,11 +18,11 @@ export function getDownRecord(id) { } // 新增下发记录 -export function down(data) { +export function down(ids) { return request({ url: '/system/sysEqDownRecord/down', method: 'post', - data: data + data: ids }) } diff --git a/src/views/system/eqDown/index.vue b/src/views/system/eqDown/index.vue index 5eee3ca..836c9e5 100644 --- a/src/views/system/eqDown/index.vue +++ b/src/views/system/eqDown/index.vue @@ -37,22 +37,17 @@ v-hasPermi="['system:eqDown:down']" >重新下发 - - + + + {{scope.row.id}} + + + {{scope.row.peopleName}} @@ -85,7 +80,7 @@ - + 新增 @@ -95,9 +90,18 @@ - + - {{scope.row.msg}} + + + {{ scope.row.msg ? (scope.row.msg.length > 25 ? scope.row.msg.substring(0, 25) + '...' : scope.row.msg) : '' }} + 展开 + + + {{ scope.row.msg }} + 收起 + + @@ -131,9 +135,7 @@